#include <egg.h>
Inheritance diagram for Field_object:
Public Member Functions | |
Field_object (int shapenum, int framenum, unsigned int tilex, unsigned int tiley, unsigned int lft, unsigned char ty) | |
virtual void | activate (int event=1) |
virtual void | activate (Game_object *obj, bool must=false) |
virtual void | write_ireg (DataSource *out) |
virtual int | get_ireg_size () |
Private Member Functions | |
bool | field_effect (Actor *actor) |
Definition at line 190 of file egg.h.
Field_object::Field_object | ( | int | shapenum, | |
int | framenum, | |||
unsigned int | tilex, | |||
unsigned int | tiley, | |||
unsigned int | lft, | |||
unsigned char | ty | |||
) | [inline] |
bool Field_object::field_effect | ( | Actor * | actor | ) | [private] |
Definition at line 1017 of file egg.cc.
References Obj_flags::asleep, Actor::clear_flag(), Ireg_game_object::get_flag(), Actor::get_property(), Actor::intelligence, Obj_flags::might, Obj_flags::poisoned, Actor::reduce_health(), and Actor::set_flag().
Here is the call graph for this function:
void Field_object::activate | ( | int | event = 1 |
) | [virtual] |
Reimplemented from Animated_egg_object.
Definition at line 1070 of file egg.cc.
References Game_object::activate(), Exult_queue< T >::begin(), Game_object::distance(), Exult_queue< T >::end(), Game_window::get_main_actor(), Game_window::get_nearby_npcs(), gwin, Actor::is_dead(), Usecode_machine::npc_proximity, and Exult_queue< T >::push().
Here is the call graph for this function:
void Field_object::activate | ( | Game_object * | obj, | |
bool | must = false | |||
) | [virtual] |
Reimplemented from Egg_object.
Definition at line 1103 of file egg.cc.
References Exult_server::obj.
void Field_object::write_ireg | ( | DataSource * | out | ) | [virtual] |
Reimplemented from Egg_object.
Definition at line 1117 of file egg.cc.
References Ireg_game_object::write_ireg().
Here is the call graph for this function:
int Field_object::get_ireg_size | ( | ) | [virtual] |
Reimplemented from Egg_object.
Definition at line 1125 of file egg.cc.
References Ireg_game_object::get_ireg_size().
Here is the call graph for this function: