DEADSOFTWARE

fix palette
[flatwaifu.git] / src / items.h
index 1c4d1848c4dba4979d5d18a25eb46f60a8d46991..37eace4393b149553f75db38286a3373c38a73c4 100644 (file)
@@ -1,7 +1,6 @@
 /*
    Copyright (C) Prikol Software 1996-1997
    Copyright (C) Aleksey Volynskov 1996-1997
-   Copyright (C) <ARembo@gmail.com> 2011
 
    This file is part of the Doom2D:Rembo project.
 
@@ -32,11 +31,20 @@ enum{I_NONE,I_CLIP,I_SHEL,I_ROCKET,I_CELL,I_AMMO,I_SBOX,I_RBOX,I_CELP,
   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);