ScummVM API documentation
Ultima::Nuvie::GameClock Class Reference

Public Member Functions

 GameClock (nuvie_game_t type)
 
bool load (NuvieIO *objlist)
 
bool save (NuvieIO *objlist)
 
void inc_move_counter ()
 
void inc_move_counter_by_a_minute ()
 
void advance_to_next_hour ()
 
void inc_minute (uint16 amount=1)
 
void inc_hour ()
 
void inc_day ()
 
void inc_month ()
 
void inc_year ()
 
uint32 get_move_count () const
 
const char * get_time_of_day_string ()
 
uint8 get_hour () const
 
uint8 get_minute () const
 
uint8 get_day () const
 
uint8 get_month () const
 
uint16 get_year () const
 
uint8 get_day_of_week () const
 
const char * get_date_string ()
 
const char * get_time_string ()
 
uint8 get_rest_counter () const
 
void set_rest_counter (uint8 value)
 
uint32 get_ticks () const
 
uint32 get_game_ticks () const
 
uint32 get_turn () const
 
void set_timer (uint8 timer_num, uint8 val)
 
uint8 get_timer (uint8 timer_num) const
 
void update_timers (uint8 amount)
 
uint8 get_purple_berry_counter (uint8 actor_num) const
 
uint8 get_green_berry_counter (uint8 actor_num) const
 
uint8 get_brown_berry_counter (uint8 actor_num) const
 

Protected Member Functions

void init ()
 
void update_day_of_week ()
 

Member Function Documentation

◆ get_game_ticks()

uint32 Ultima::Nuvie::GameClock::get_game_ticks ( ) const
inline

GAMECLOCK_TICKS_PER_MINUTE+tick_counter


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