Restructure bm.c for merging

This commit is contained in:
Kp 2013-11-10 03:31:22 +00:00
parent ca4f9e8b30
commit 4411532b6a

View file

@ -60,13 +60,15 @@ ubyte AltSounds[MAX_SOUNDS];
int Num_object_subtypes = 1;
#endif
//the polygon model number to use for the marker
int Marker_model_num = -1;
int N_ObjBitmaps;
static void bm_free_extra_objbitmaps();
//for each model, a model number for dying & dead variants, or -1 if none
int Dying_modelnums[MAX_POLYGON_MODELS];
int Dead_modelnums[MAX_POLYGON_MODELS];
//the polygon model number to use for the marker
int Marker_model_num = -1;
//right now there's only one player ship, but we can have another by
//adding an array and setting the pointer to the active ship.
player_ship only_player_ship,*Player_ship=&only_player_ship;
@ -83,12 +85,9 @@ tmap_info TmapInfo[MAX_TEXTURES];
int First_multi_bitmap_num=-1;
int N_ObjBitmaps;
bitmap_index ObjBitmaps[MAX_OBJ_BITMAPS];
ushort ObjBitmapPtrs[MAX_OBJ_BITMAPS]; // These point back into ObjBitmaps, since some are used twice.
static void bm_free_extra_objbitmaps();
/*
* reads n tmap_info structs from a PHYSFS_file
*/