Public Member Functions | |
Weather (const Configuration *cfg, GameClock *c, nuvie_game_t type) | |
bool | load (NuvieIO *objlist) |
bool | save (NuvieIO *objlist) |
Std::string | get_wind_dir_str () const |
NuvieDir | get_wind_dir () const |
bool | is_displaying_from_wind_dir () const |
bool | set_wind_dir (NuvieDir new_wind_dir) |
bool | add_wind_change_notification_callback (CallBack *caller) |
bool | set_moonstone (uint8 moonstone, MapCoord where) |
MapCoord | get_moonstone (uint8 moonstone) |
void | update_moongates () |
bool | is_eclipse () const |
bool | is_moon_visible () const |
uint16 | callback (uint16 msg, CallBack *caller, void *data=nullptr) override |
![]() | |
uint16 | message (uint16 msg, void *msg_data=nullptr, void *my_data=nullptr) |
void | set_user_data (void *user_data) |
void | set_target (CallBack *t) |
Protected Member Functions | |
NuvieDir | load_wind (NuvieIO *objlist) |
bool | save_wind (NuvieIO *objlist) |
void | change_wind_dir () |
void | set_wind_change_callback () |
void | send_wind_change_notification_callback () |
void | clear_wind () |
Protected Attributes | |
bool | display_from_wind_dir |
![]() | |
char * | callback_user_data |
CallBack * | callback_target |