DEADSOFTWARE

map: move map loading to separate file
[flatwaifu.git] / src / items.h
index bf3bb8a1f6c5e6df034701a6bd68ad5d47c023e4..bebb46deba69132b05a024d6cb75a2d2d3de426e 100644 (file)
@@ -23,7 +23,6 @@
 #define ITEMS_H_INCLUDED
 
 #include "view.h" // obj_t
-#include <stdio.h> // FILE
 
 #define MAXITEM 300
 
@@ -34,22 +33,17 @@ enum {
   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];
 extern int itm_rtime;
 
-void IT_savegame (FILE *h);
-void IT_loadgame (FILE *h);
 void IT_alloc (void);
 void IT_init (void);
-int IT_load (FILE *h);
 void IT_act (void);
 void IT_spawn (int x, int y, int t);
 void IT_drop_ammo (int t, int n, int x, int y);