22 #ifndef CHEWY_OBJECT_H 23 #define CHEWY_OBJECT_H 25 #include "chewy/object_extra.h" 29 #define ENDLOS_FLIP_FLOP 255 31 #define LOAD_NEW_OBJ 1 44 int16 load(
const char *filename,
RoomExit *roomExit);
46 void free_inv_spr(byte **inv_spr_adr);
47 int16 is_sib_mouse(int16 mouse_x, int16 mouse_y);
48 int16 is_iib_mouse(int16 mouse_x, int16 mouse_y);
49 int16 iib_txt_nr(int16 inv_nr);
50 int16 sib_txt_nr(int16 sib_nr);
51 int16 action_iib_iib(int16 maus_obj_nr, int16 test_obj_nr);
52 int16 action_iib_sib(int16 maus_obj_nr, int16 test_obj_nr);
53 void hide_sib(int16 nr);
54 void show_sib(int16 nr);
55 void calc_all_static_detail();
56 void calc_static_detail(int16 det_nr);
57 int16 calc_static_use(int16 nr);
58 int16 del_obj_use(int16 nr);
59 int16 calc_rsi_flip_flop(int16 nr);
60 void set_rsi_flip_flop(int16 nr, int16 anz);
61 void addInventory(int16 nr,
RaumBlk *Rb);
62 void delInventory(int16 nr,
RaumBlk *Rb);
63 void changeInventory(int16 old_inv, int16 new_inv,
RaumBlk *Rb);
64 void setInventory(int16 nr, int16 x, int16 y, int16 automov,
RaumBlk *Rb);
65 bool checkInventory(int16 nr);
66 int16 is_exit(int16 mouse_x, int16 mouse_y);
67 uint8 mov_obj_room[MAX_MOV_OBJ + 1];
68 uint8 spieler_invnr[MAX_MOV_OBJ + 1];
71 int16 calc_rmo_flip_flop(int16 nr);
76 int16 _maxInventoryObj;
77 int16 _maxStaticInventory;
Definition: object_extra.h:81
Definition: object_extra.h:47
Definition: object_extra.h:113