mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-26 06:11:26 +00:00
Store gameEdit as idGameEditBase
This commit is contained in:
parent
d07ba42842
commit
7619985ad7
4 changed files with 7 additions and 7 deletions
|
@ -670,8 +670,8 @@ void idEditEntities::DisplayEntities( void ) {
|
|||
===============================================================================
|
||||
*/
|
||||
|
||||
idGameEditExt gameEditLocal;
|
||||
idGameEdit * gameEdit = &gameEditLocal;
|
||||
idGameEditExt gameEditLocal;
|
||||
idGameEditBase * gameEdit = &gameEditLocal;
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
@ -126,7 +126,7 @@ unsigned int com_msgID = -1;
|
|||
|
||||
#ifdef __DOOM_DLL__
|
||||
idGame * game = NULL;
|
||||
idGameEdit * gameEdit = NULL;
|
||||
idGameEditBase * gameEdit = NULL;
|
||||
#endif
|
||||
|
||||
// writes si_version to the config file - in a kinda obfuscated way
|
||||
|
|
|
@ -397,7 +397,7 @@ public:
|
|||
virtual void MapEntityTranslate( const char *name, const idVec3 &v ) const;
|
||||
};
|
||||
|
||||
extern idGameEdit * gameEdit;
|
||||
extern idGameEditBase * gameEdit;
|
||||
|
||||
// In game script Debugging Support
|
||||
class idGameEditExt : public idGameEdit {
|
||||
|
@ -467,7 +467,7 @@ typedef struct {
|
|||
|
||||
int version; // API version
|
||||
idGame * game; // interface to run the game
|
||||
idGameEdit * gameEdit; // interface for in-game editing
|
||||
idGameEditBase * gameEdit; // interface for in-game editing
|
||||
|
||||
} gameExport_t;
|
||||
|
||||
|
|
|
@ -670,8 +670,8 @@ void idEditEntities::DisplayEntities( void ) {
|
|||
===============================================================================
|
||||
*/
|
||||
|
||||
idGameEditExt gameEditLocal;
|
||||
idGameEdit * gameEdit = &gameEditLocal;
|
||||
idGameEditExt gameEditLocal;
|
||||
idGameEditBase * gameEdit = &gameEditLocal;
|
||||
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue