Logo Search packages:      
Sourcecode: berusky version File versions  Download package

Public Member Functions | Private Attributes | Static Private Attributes

item_repository Class Reference

List of all members.

Public Member Functions

anim_template_handle animation_get (int item, int variant)
void create (int *p_indexes, int indexnum)
void draw (tpos x, tpos y, int item, int variation, int rotation, spr_handle dst=0)
bool item_can_rotate (int item)
int item_flag_get (int item, int variant)
int item_get_layer (int item)
char * item_get_name (int item)
char * item_get_rotation (int rot)
int item_num_get (void)
bool item_valid (int item)
int load (const char *p_item_definition_file, const char *p_item_animation_file, const char *p_dir)
spr_handle sprite_get (int item, int variant, int rotation)
anim_template_handle subitems_animation_get (int item, int variant, int sum_item)
item_handle subitems_item_get (int item, int variant, int sum_item)
int subitems_num_get (int item, int variant)
void subitems_position_get (int item, int variant, int sum_item, tpos *p_x, tpos *p_y)
spr_handle subitems_sprite_get (int item, int variant, int sum_item)
int subitems_variation_get (int item, int variant, int sum_item)
bool variant_valid (int item, int variant)
int variants_get (int item)

Private Attributes

int obj_num [GAME_ITEMS]
GAME_OBJECT * p_obj [GAME_ITEMS]

Static Private Attributes

static char * item_desc_name [MAX_ITEM_NAMES]
static char * item_desc_rotation [MAX_ITEM_ROTATIONS]

Detailed Description

Definition at line 91 of file level.h.


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

Generated by  Doxygen 1.6.0   Back to index