jedi-academy/code/ui/gameinfo.cpp

38 lines
572 B
C++
Raw Normal View History

2013-04-19 02:52:48 +00:00
//
// gameinfo.c
//
// *** This file is used by both the game and the user interface ***
// ... and for that reason is excluded from PCH usage for the moment =Ste.
#include "gameinfo.h"
2013-04-19 03:47:29 +00:00
#include "../game/weapons.h"
2013-04-19 02:52:48 +00:00
extern gameinfo_import_t gi;
2013-04-19 02:52:48 +00:00
weaponData_t weaponData[WP_NUM_WEAPONS];
ammoData_t ammoData[AMMO_MAX];
extern void WP_LoadWeaponParms (void);
//
// Initialization - Read in files and parse into infos
//
/*
===============
GI_Init
===============
*/
void GI_Init( gameinfo_import_t *import ) {
#if 0
2013-04-19 02:52:48 +00:00
gi = *import;
#endif
2013-04-19 02:52:48 +00:00
WP_LoadWeaponParms ();
}