ScummVM API documentation
Ultima::Nuvie::Weather Class Reference
Inheritance diagram for Ultima::Nuvie::Weather:
Ultima::Nuvie::CallBack

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
 
- Public Member Functions inherited from Ultima::Nuvie::CallBack
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
 
- Protected Attributes inherited from Ultima::Nuvie::CallBack
char * callback_user_data
 
CallBackcallback_target
 

The documentation for this class was generated from the following file: