diff --git a/source/game/game.cpp b/source/game/game.cpp index 5747c3504..4f634f965 100644 --- a/source/game/game.cpp +++ b/source/game/game.cpp @@ -113,8 +113,6 @@ #include "gfx\actor.h" -static const int RenderZ=378;//256; Increased to make depth less, and SB more visible - /*****************************************************************************/ FontBank *CGameScene::s_genericFont; @@ -805,8 +803,8 @@ void CGameScene::thinkCameraShake(int _frames) void CGameScene::setCameraMtx() { MATRIX CamMtx; - SetIdentTrans(&CamMtx,0,0,RenderZ); - SetGeomScreen(RenderZ); + SetIdentTrans(&CamMtx,0,0,RENDER_Z); + SetGeomScreen(RENDER_Z); SetRotMatrix(&CamMtx); SetTransMatrix(&CamMtx); diff --git a/source/game/game.h b/source/game/game.h index 956c27607..58ffe80e7 100644 --- a/source/game/game.h +++ b/source/game/game.h @@ -12,6 +12,9 @@ #include "game\event.h" #endif + +/*****************************************************************************/ +#define RENDER_Z (378) /*****************************************************************************/ class FontBank; class SpriteBank; diff --git a/source/system/vid.cpp b/source/system/vid.cpp index cbff419e8..132b11434 100644 --- a/source/system/vid.cpp +++ b/source/system/vid.cpp @@ -114,11 +114,12 @@ void StartLoad(int _loadX,int _loadY) /*****************************************************************************/ void StopLoad() { +#if !defined(__VERSION_DEBUG__) while(LoadTime) { VSync(0); } - +#endif Screen[0].Draw.isbg=Screen[1].Draw.isbg=1; DrawLoadIcon=0;