Commit 3e432268 authored by Florian Schulze's avatar Florian Schulze

Made type defines for map.

parent b4ab9902
......@@ -96,6 +96,12 @@
#define SFX_SPLASH_FREQ 12000
#define SFX_FLY_FREQ 12000
#define BAN_VOID 0
#define BAN_SOLID 1
#define BAN_WATER 2
#define BAN_ICE 3
#define BAN_SPRING 4
struct {
int joy_enabled, mouse_enabled;
......@@ -142,7 +148,7 @@ struct {
int anim;
int frame, ticks;
int image;
} objects[300];
} objects[NUM_OBJECTS];
struct {
int x, y;
......
This diff is collapsed.
......@@ -544,7 +544,7 @@ int menu_init(void)
player[c1].image = player_anims[player[c1].anim].frame[player[c1].frame].image;
}
for (c1 = 0; c1 < 300; c1++)
for (c1 = 0; c1 < NUM_OBJECTS; c1++)
objects[c1].used = 0;
main_info.page_info[0].num_pobs = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment