mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-02-20 11:03:09 +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;
|
idGameEditExt gameEditLocal;
|
||||||
idGameEdit * gameEdit = &gameEditLocal;
|
idGameEditBase * gameEdit = &gameEditLocal;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -126,7 +126,7 @@ unsigned int com_msgID = -1;
|
||||||
|
|
||||||
#ifdef __DOOM_DLL__
|
#ifdef __DOOM_DLL__
|
||||||
idGame * game = NULL;
|
idGame * game = NULL;
|
||||||
idGameEdit * gameEdit = NULL;
|
idGameEditBase * gameEdit = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// writes si_version to the config file - in a kinda obfuscated way
|
// 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;
|
virtual void MapEntityTranslate( const char *name, const idVec3 &v ) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
extern idGameEdit * gameEdit;
|
extern idGameEditBase * gameEdit;
|
||||||
|
|
||||||
// In game script Debugging Support
|
// In game script Debugging Support
|
||||||
class idGameEditExt : public idGameEdit {
|
class idGameEditExt : public idGameEdit {
|
||||||
|
@ -467,7 +467,7 @@ typedef struct {
|
||||||
|
|
||||||
int version; // API version
|
int version; // API version
|
||||||
idGame * game; // interface to run the game
|
idGame * game; // interface to run the game
|
||||||
idGameEdit * gameEdit; // interface for in-game editing
|
idGameEditBase * gameEdit; // interface for in-game editing
|
||||||
|
|
||||||
} gameExport_t;
|
} gameExport_t;
|
||||||
|
|
||||||
|
|
|
@ -670,8 +670,8 @@ void idEditEntities::DisplayEntities( void ) {
|
||||||
===============================================================================
|
===============================================================================
|
||||||
*/
|
*/
|
||||||
|
|
||||||
idGameEditExt gameEditLocal;
|
idGameEditExt gameEditLocal;
|
||||||
idGameEdit * gameEdit = &gameEditLocal;
|
idGameEditBase * gameEdit = &gameEditLocal;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue