Rename 'GlobalState' to 'SharedState' to avoid confusion with GLState

This was particularly nasty with the shorthand macros
'gState' and 'glState'. The former is now 'shState'.
This commit is contained in:
Jonas Kulla 2013-10-09 12:30:33 +02:00
parent 807bee5748
commit cb6f73f7df
32 changed files with 222 additions and 222 deletions

View file

@ -25,7 +25,7 @@
#include "SDL2/SDL_image.h"
#include "SDL2/SDL_ttf.h"
#include "globalstate.h"
#include "sharedstate.h"
#include "eventthread.h"
#include "debuglogger.h"
@ -100,7 +100,7 @@ int rgssThreadFun(void *userdata)
DebugLogger dLogger;
GlobalState::initInstance(threadData);
SharedState::initInstance(threadData);
/* Start script execution */
scriptBinding->execute();
@ -108,7 +108,7 @@ int rgssThreadFun(void *userdata)
threadData->rqTermAck = true;
threadData->ethread->requestTerminate();
GlobalState::finiInstance();
SharedState::finiInstance();
SDL_GL_DeleteContext(ctx);