Initial commit.
This commit is contained in:
35
code/ui/gameinfo.cpp
Normal file
35
code/ui/gameinfo.cpp
Normal file
@@ -0,0 +1,35 @@
|
||||
//
|
||||
// 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"
|
||||
#include "..\game\weapons.h"
|
||||
|
||||
|
||||
gameinfo_import_t gi;
|
||||
|
||||
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 ) {
|
||||
gi = *import;
|
||||
|
||||
WP_LoadWeaponParms ();
|
||||
}
|
||||
Reference in New Issue
Block a user