TONY: Rename two variables

This commit is contained in:
Strangerke 2012-06-18 08:03:02 +02:00
parent 6a7fa693ef
commit bb55045cc8
3 changed files with 6 additions and 6 deletions

View File

@ -408,8 +408,8 @@ DECLARE_CUSTOM_FUNCTION(SendFullscreenMsgStart)(CORO_PARAM, uint32 nMsg, uint32
_ctx->msg = new RMMessage(nMsg);
GLOBALS.SFM_nLoc = GLOBALS._loc->TEMPGetNumLoc();
GLOBALS.SFM_pt = GLOBALS._tony->position();
GLOBALS._fullScreenMessageLoc = GLOBALS._loc->TEMPGetNumLoc();
GLOBALS._fullScreenMessagePt = GLOBALS._tony->position();
if (GLOBALS._bSkipIdle)
return;
@ -478,7 +478,7 @@ DECLARE_CUSTOM_FUNCTION(ClearScreen)(CORO_PARAM, uint32, uint32, uint32, uint32)
DECLARE_CUSTOM_FUNCTION(SendFullscreenMsgEnd)(CORO_PARAM, uint32 bNotEnableTony, uint32, uint32, uint32) {
GLOBALS.Freeze();
GLOBALS.LoadLocation(GLOBALS.SFM_nLoc, RMPoint(GLOBALS.SFM_pt._x, GLOBALS.SFM_pt._y), RMPoint(-1, -1));
GLOBALS.LoadLocation(GLOBALS._fullScreenMessageLoc, RMPoint(GLOBALS._fullScreenMessagePt._x, GLOBALS._fullScreenMessagePt._y), RMPoint(-1, -1));
if (!bNotEnableTony)
GLOBALS._tony->show();
GLOBALS.Unfreeze();

View File

@ -74,7 +74,7 @@ Globals::Globals() {
_lastMusic = 0;
_lastTappeto = 0;
Common::fill(&_tappeti[0], &_tappeti[200], 0);
SFM_nLoc = 0;
_fullScreenMessageLoc = 0;
// MPAL global variables
_mpalError = 0;

View File

@ -246,8 +246,8 @@ public:
int _lastMusic, _lastTappeto;
int _tappeti[200];
RMPoint SFM_pt;
int SFM_nLoc;
RMPoint _fullScreenMessagePt;
int _fullScreenMessageLoc;
/**
* @defgroup MPAL variables