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

Public Member Functions

bool init (Events *evt)
 
bool read_spell_list ()
 
void clear_cast_buffer ()
 
bool start_new_spell ()
 
Objbook_equipped ()
 
bool cast ()
 
void cast_spell_directly (uint8 spell_num)
 
uint16 callback (uint16 msg, CallBack *caller, void *data=nullptr) override
 
bool process_script_return (uint8 ret)
 
bool resume (const MapCoord &location)
 
bool resume (NuvieDir dir)
 
bool resume_with_spell_num (uint8 spell_num)
 
bool resume (Obj *obj)
 
bool resume ()
 
bool is_waiting_for_location () const
 
bool is_waiting_for_direction () const
 
bool is_waiting_for_inventory_obj () const
 
bool is_waiting_for_obj () const
 
bool is_waiting_to_talk () const
 
bool is_waiting_for_spell () const
 
bool is_selecting_spell () const
 
bool is_waiting_to_resume () const
 
Spellget_spell (uint8 spell_num)
 
Objget_spellbook_obj ()
 
Actorget_actor_from_script ()
 
void show_spell_description (uint8 index)
 
- 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)
 

Additional Inherited Members

- Protected Attributes inherited from Ultima::Nuvie::CallBack
char * callback_user_data
 
CallBackcallback_target
 

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