#include "objs.h"#include "chunks.h"#include "objiter.h"#include "egg.h"#include "gamewin.h"#include "gamemap.h"#include "actors.h"#include "ucmachine.h"#include "items.h"#include "dir.h"#include "ordinfo.h"#include "game.h"#include "Gump_manager.h"#include "effects.h"#include "databuf.h"#include <cstring>#include <cstdio>#include <algorithm>#include "find_nearby.h"Include dependency graph for objs.cc:

Go to the source code of this file.
Classes | |
| class | Object_closest_sorter |
Defines | |
| #define | FN_VECTOR Egg_vector |
| #define | FN_OBJECT Egg_object |
| #define | FN_CAST ->as_egg() |
| #define | FN_VECTOR Actor_vector |
| #define | FN_OBJECT Actor |
| #define | FN_CAST ->as_actor() |
| #define | FN_VECTOR Game_object_vector |
| #define | FN_OBJECT Game_object |
| #define | FN_CAST |
Functions | |
| static int | Has_quantity (int shnum) |
| static int | Has_hitpoints (int shnum) |
| static int | Check_mask (Game_window *gwin, Game_object *obj, int mask) |
| void | Compare_ranges (int from1, int to1, int from2, int to2, int &cmp, bool &overlap) |
Variables | |
| bool | combat_trace |
| const int | MAX_QUANTITY = 100 |
| #define FN_OBJECT Game_object |
| #define FN_OBJECT Egg_object |
| #define FN_VECTOR Game_object_vector |
| #define FN_VECTOR Actor_vector |
| #define FN_VECTOR Egg_vector |
| static int Check_mask | ( | Game_window * | gwin, | |
| Game_object * | obj, | |||
| int | mask | |||
| ) | [static] |
Definition at line 369 of file objs.cc.
References Shape_info::barge, Shape_info::hatchable, Obj_flags::in_party, Exult_server::info, Obj_flags::invisible, and Exult_server::obj.
| void Compare_ranges | ( | int | from1, | |
| int | to1, | |||
| int | from2, | |||
| int | to2, | |||
| int & | cmp, | |||
| bool & | overlap | |||
| ) | [inline] |
| static int Has_hitpoints | ( | int | shnum | ) | [static] |
Definition at line 128 of file objs.cc.
References Shape_info::container, ShapeID::get_info(), Shape_info::has_hp, and Exult_server::info.
Referenced by Game_object::get_obj_hp(), and Game_object::set_obj_hp().
Here is the call graph for this function:

| static int Has_quantity | ( | int | shnum | ) | [static] |
Definition at line 120 of file objs.cc.
References ShapeID::get_info(), and Exult_server::info.
Referenced by Game_object::drop(), Game_object::get_quantity(), Game_object::get_weight(), and Game_object::modify_quantity().
Here is the call graph for this function:

| bool combat_trace |
| const int MAX_QUANTITY = 100 |
1.5.1