#include <iregobjs.h>
Inheritance diagram for Ireg_game_object:
Public Member Functions | |
Ireg_game_object (int shapenum, int framenum, unsigned int tilex, unsigned int tiley, unsigned int lft=0) | |
Ireg_game_object (const Ireg_game_object &obj2) | |
Ireg_game_object () | |
virtual | ~Ireg_game_object () |
void | set_flags (uint32 f) |
virtual void | paint () |
virtual void | paint_terrain () |
virtual void | move (int newtx, int newty, int newlift) |
void | move (Tile_coord t) |
virtual void | remove_this (int nodel=0) |
virtual Container_game_object * | get_owner () |
virtual void | set_owner (Container_game_object *o) |
virtual int | is_dragable () const |
virtual void | set_flag (int flag) |
virtual void | clear_flag (int flag) |
virtual int | get_flag (int flag) const |
virtual void | set_flag_recursively (int flag) |
uint32 | get_flags () const |
uint32 | get_flags2 () const |
virtual void | write_ireg (DataSource *out) |
virtual int | get_ireg_size () |
virtual int | get_high_shape () const |
virtual void | set_high_shape (int s) |
virtual int | get_low_lift () const |
virtual void | set_low_lift (int l) |
Public Attributes | |
int | lowlift |
int | highshape |
Protected Attributes | |
unsigned | flags:32 |
unsigned | flags2:32 |
Private Attributes | |
Container_game_object * | owner |
Definition at line 31 of file iregobjs.h.
Ireg_game_object::Ireg_game_object | ( | int | shapenum, | |
int | framenum, | |||
unsigned int | tilex, | |||
unsigned int | tiley, | |||
unsigned int | lft = 0 | |||
) | [inline] |
Definition at line 38 of file iregobjs.h.
Ireg_game_object::Ireg_game_object | ( | const Ireg_game_object & | obj2 | ) | [inline] |
Definition at line 45 of file iregobjs.h.
Ireg_game_object::Ireg_game_object | ( | ) | [inline] |
Definition at line 50 of file iregobjs.h.
virtual Ireg_game_object::~Ireg_game_object | ( | ) | [inline, virtual] |
Definition at line 52 of file iregobjs.h.
void Ireg_game_object::set_flags | ( | uint32 | f | ) | [inline] |
void Ireg_game_object::paint | ( | ) | [virtual] |
Reimplemented from Game_object.
Reimplemented in Actor, Npc_actor, Monster_actor, Animated_ireg_object, Barge_object, Egglike_game_object, Egg_object, Animated_egg_object, and Mirror_object.
Definition at line 45 of file iregobjs.cc.
References Game_window::get_shape_location(), gwin, and Obj_flags::invisible.
Referenced by Mirror_object::paint(), Animated_egg_object::paint(), Barge_object::paint(), and Animated_ireg_object::paint().
Here is the call graph for this function:
virtual void Ireg_game_object::paint_terrain | ( | ) | [inline, virtual] |
void Ireg_game_object::move | ( | int | newtx, | |
int | newty, | |||
int | newlift | |||
) | [virtual] |
Reimplemented from Game_object.
Reimplemented in Main_actor, Npc_actor, Slime_actor, Monster_actor, Barge_object, and Egg_object.
Definition at line 62 of file iregobjs.cc.
References Game_object::move().
Referenced by Actor::die(), Move_actor_action::handle_event(), Path_walking_actor_action::handle_event(), Cheat::heal_party(), move(), Barge_object::move(), Npc_actor::move(), Main_actor::move(), Actor::set_schedule_and_loc(), Take_best_step(), Game_window::teleport_party(), Barge_object::turn_around(), Barge_object::turn_left(), and Barge_object::turn_right().
Here is the call graph for this function:
void Ireg_game_object::move | ( | Tile_coord | t | ) | [inline] |
Reimplemented from Game_object.
Definition at line 61 of file iregobjs.h.
References move(), Tile_coord::tx, Tile_coord::ty, and Tile_coord::tz.
Here is the call graph for this function:
void Ireg_game_object::remove_this | ( | int | nodel = 0 |
) | [virtual] |
Reimplemented from Game_object.
Reimplemented in Npc_actor, Slime_actor, Monster_actor, Container_game_object, and Egg_object.
Definition at line 82 of file iregobjs.cc.
References cheat, Cheat::clear_this_grabbed_actor(), Game_window::delete_object(), gwin, and Map_chunk::remove().
Referenced by Container_game_object::remove_this().
Here is the call graph for this function:
virtual Container_game_object* Ireg_game_object::get_owner | ( | ) | [inline, virtual] |
Reimplemented from Game_object.
Definition at line 65 of file iregobjs.h.
References owner.
Referenced by Container_game_object::extract_contents(), Container_game_object::remove_this(), and Actor::resurrect().
virtual void Ireg_game_object::set_owner | ( | Container_game_object * | o | ) | [inline, virtual] |
int Ireg_game_object::is_dragable | ( | ) | const [virtual] |
virtual void Ireg_game_object::set_flag | ( | int | flag | ) | [inline, virtual] |
Reimplemented from Game_object.
Reimplemented in Actor.
Definition at line 70 of file iregobjs.h.
Referenced by Egg_object::activate(), Actor::die(), and set_flag_recursively().
virtual void Ireg_game_object::clear_flag | ( | int | flag | ) | [inline, virtual] |
virtual int Ireg_game_object::get_flag | ( | int | flag | ) | const [inline, virtual] |
Reimplemented from Game_object.
Definition at line 84 of file iregobjs.h.
Referenced by Actor::activate(), Sign_gump::add_text(), CheatScreen::AdvancedFlagLoop(), Check_freezing(), Game_window::emulate_cache(), Field_object::field_effect(), Actor::figure_hit_points(), Combat_schedule::find_opponents(), CheatScreen::FlagActivate(), CheatScreen::FlagMenu(), Game_window::main_actor_dont_move(), CheatScreen::NPCDisplay(), Stats_gump::paint(), Portrait_button::Portrait_button(), Actor::set_actor_shape(), Actor::set_polymorph_default(), Game_clock::set_time_palette(), Conversation::show_avatar_choices(), Conversation::show_face(), Sign_gump::Sign_gump(), Cheat::toggle_Petra(), Usecode_internal::UI_book_mode(), and Portrait_button::update_widget().
virtual void Ireg_game_object::set_flag_recursively | ( | int | flag | ) | [inline, virtual] |
Reimplemented from Game_object.
Reimplemented in Container_game_object.
Definition at line 92 of file iregobjs.h.
References set_flag().
Here is the call graph for this function:
uint32 Ireg_game_object::get_flags | ( | ) | const [inline] |
uint32 Ireg_game_object::get_flags2 | ( | ) | const [inline] |
void Ireg_game_object::write_ireg | ( | DataSource * | out | ) | [virtual] |
Reimplemented from Game_object.
Reimplemented in Actor, Animated_ireg_object, Barge_object, Container_game_object, Egg_object, Field_object, Mirror_object, Spellbook_object, and Virtue_stone_object.
Definition at line 118 of file iregobjs.cc.
References Exult_server::info, Obj_flags::invisible, Obj_flags::is_temporary, Obj_flags::okay_to_take, DataSource::write(), and Game_map::write_scheduled().
Referenced by Mirror_object::write_ireg(), Field_object::write_ireg(), and Animated_ireg_object::write_ireg().
Here is the call graph for this function:
int Ireg_game_object::get_ireg_size | ( | ) | [virtual] |
Reimplemented from Game_object.
Reimplemented in Actor, Barge_object, Container_game_object, Egg_object, Field_object, Mirror_object, Spellbook_object, and Virtue_stone_object.
Definition at line 144 of file iregobjs.cc.
References Usecode_script::find(), Gump_manager::find_gump(), and Game_singletons::gumpman.
Referenced by Mirror_object::get_ireg_size(), and Field_object::get_ireg_size().
Here is the call graph for this function:
virtual int Ireg_game_object::get_high_shape | ( | ) | const [inline, virtual] |
virtual void Ireg_game_object::set_high_shape | ( | int | s | ) | [inline, virtual] |
virtual int Ireg_game_object::get_low_lift | ( | ) | const [inline, virtual] |
virtual void Ireg_game_object::set_low_lift | ( | int | l | ) | [inline, virtual] |
Container_game_object* Ireg_game_object::owner [private] |
Definition at line 33 of file iregobjs.h.
Referenced by Container_game_object::extract_contents(), get_owner(), and set_owner().
unsigned Ireg_game_object::flags [protected] |
Reimplemented in Egg_object.
Definition at line 35 of file iregobjs.h.
Referenced by clear_flag(), get_flag(), get_flags(), Actor::is_dead(), Actor::is_in_party(), set_flag(), and set_flags().
unsigned Ireg_game_object::flags2 [protected] |
Definition at line 36 of file iregobjs.h.
Referenced by clear_flag(), get_flag(), get_flags2(), and set_flag().