ScummVM API documentation
Ultima::Nuvie::TimedRest Class Reference
Inheritance diagram for Ultima::Nuvie::TimedRest:
Ultima::Nuvie::TimedAdvance Ultima::Nuvie::TimedCallback Ultima::Nuvie::TimedEvent Ultima::Nuvie::CallBack

Public Member Functions

 TimedRest (uint8 hours, Actor *lookout, Obj *campfire_obj)
 
void timed (uint32 evtime) override
 
void eat (Actor *actor)
 
void bard_play ()
 
void sleep ()
 
- Public Member Functions inherited from Ultima::Nuvie::TimedAdvance
 TimedAdvance (uint8 hours, uint16 r=60)
 
 TimedAdvance (Std::string timestring, uint16 r=60)
 
void init (uint16 min, uint16 r)
 
bool time_passed () const
 
void get_time_from_string (uint8 &hour, uint8 &minute, Std::string timestring)
 
- Public Member Functions inherited from Ultima::Nuvie::TimedCallback
 TimedCallback (CallBack *t, void *d, uint32 wait_time, bool repeat=false)
 
void clear_target ()
 
- Public Member Functions inherited from Ultima::Nuvie::TimedEvent
 TimedEvent (uint32 reltime, bool immediate=false, bool realtime=true)
 
void queue ()
 
void dequeue ()
 
void set_time ()
 
void stop_timer ()
 
- Public Member Functions inherited from Ultima::Nuvie::CallBack
virtual uint16 callback (uint16 msg, CallBack *caller, void *data=nullptr)
 
uint16 message (uint16 msg, void *msg_data=nullptr, void *my_data=nullptr)
 
void set_user_data (void *user_data)
 
void set_target (CallBack *t)
 

Additional Inherited Members

- Protected Member Functions inherited from Ultima::Nuvie::TimedEvent
void stop ()
 
void repeat (uint32 count=1)
 
- Protected Attributes inherited from Ultima::Nuvie::TimedAdvance
uint16 minutes
 
uint16 rate
 
uint32 prev_evtime
 
- Protected Attributes inherited from Ultima::Nuvie::TimedEvent
TimeQueuetq
 
uint32 delay
 
uint32 time
 
sint8 repeat_count
 
bool ignore_pause
 
bool real_time
 
bool tq_can_delete
 
bool defunct
 
- Protected Attributes inherited from Ultima::Nuvie::CallBack
char * callback_user_data
 
CallBackcallback_target
 

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