diff --git a/src/items.h b/src/items.h
index 1c4d1848c4dba4979d5d18a25eb46f60a8d46991..37eace4393b149553f75db38286a3373c38a73c4 100644 (file)
--- a/src/items.h
+++ b/src/items.h
/*
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.
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);