diff --git a/src/items.h b/src/items.h
index 2eff458258fd8e766aca9886309c21cd1b97253d..37eace4393b149553f75db38286a3373c38a73c4 100644 (file)
--- a/src/items.h
+++ b/src/items.h
I_RTORCH,I_GTORCH,I_BTORCH,I_GOR1,I_FCAN,I_GUN2
};
+#pragma pack(1)
+typedef struct{
+ obj_t o;
+ int t;
+ int s;
+}item_t;
+#pragma pack()
+
+extern item_t it[MAXITEM];
+
void IT_init(void);
void IT_alloc(void);
int IT_load(FILE*);
void IT_act(void);
-void IT_draw(void);
void IT_spawn(int x,int y,int i);
void IT_drop_ammo(int i,int n,int x,int y);