Store gameEdit as idGameEditBase

This commit is contained in:
Turo Lamminen 2021-01-26 14:31:20 +02:00
parent d07ba42842
commit 7619985ad7
4 changed files with 7 additions and 7 deletions

View file

@ -670,8 +670,8 @@ void idEditEntities::DisplayEntities( void ) {
=============================================================================== ===============================================================================
*/ */
idGameEditExt gameEditLocal; idGameEditExt gameEditLocal;
idGameEdit * gameEdit = &gameEditLocal; idGameEditBase * gameEdit = &gameEditLocal;
/* /*

View file

@ -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

View file

@ -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;

View file

@ -670,8 +670,8 @@ void idEditEntities::DisplayEntities( void ) {
=============================================================================== ===============================================================================
*/ */
idGameEditExt gameEditLocal; idGameEditExt gameEditLocal;
idGameEdit * gameEdit = &gameEditLocal; idGameEditBase * gameEdit = &gameEditLocal;
/* /*