2016-08-30 05:24:31 +00:00
|
|
|
//
|
|
|
|
// Created by koncord on 30.08.16.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef OPENMW_WORLD_HPP
|
|
|
|
#define OPENMW_WORLD_HPP
|
|
|
|
|
|
|
|
#define WORLDFUNCTIONS \
|
2016-11-16 14:52:16 +00:00
|
|
|
{"setHour", WorldFunctions::setHour},\
|
|
|
|
{"setMonth", WorldFunctions::setMonth},\
|
|
|
|
{"setDay", WorldFunctions::setDay}
|
2016-08-30 05:24:31 +00:00
|
|
|
|
|
|
|
class WorldFunctions
|
|
|
|
{
|
|
|
|
public:
|
2016-11-16 14:52:16 +00:00
|
|
|
static void setHour(unsigned short pid, double hour) noexcept;
|
|
|
|
static void setMonth(unsigned short pid, int month) noexcept;
|
|
|
|
static void setDay(unsigned short pid, int day) noexcept;
|
2016-08-30 05:24:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //OPENMW_WORLD_HPP
|