This commit is contained in:
Daveo 2001-08-03 21:07:41 +00:00
parent d95c3a1178
commit f72c195aa9
3 changed files with 7 additions and 5 deletions

View file

@ -113,8 +113,6 @@
#include "gfx\actor.h" #include "gfx\actor.h"
static const int RenderZ=378;//256; Increased to make depth less, and SB more visible
/*****************************************************************************/ /*****************************************************************************/
FontBank *CGameScene::s_genericFont; FontBank *CGameScene::s_genericFont;
@ -805,8 +803,8 @@ void CGameScene::thinkCameraShake(int _frames)
void CGameScene::setCameraMtx() void CGameScene::setCameraMtx()
{ {
MATRIX CamMtx; MATRIX CamMtx;
SetIdentTrans(&CamMtx,0,0,RenderZ); SetIdentTrans(&CamMtx,0,0,RENDER_Z);
SetGeomScreen(RenderZ); SetGeomScreen(RENDER_Z);
SetRotMatrix(&CamMtx); SetRotMatrix(&CamMtx);
SetTransMatrix(&CamMtx); SetTransMatrix(&CamMtx);

View file

@ -12,6 +12,9 @@
#include "game\event.h" #include "game\event.h"
#endif #endif
/*****************************************************************************/
#define RENDER_Z (378)
/*****************************************************************************/ /*****************************************************************************/
class FontBank; class FontBank;
class SpriteBank; class SpriteBank;

View file

@ -114,11 +114,12 @@ void StartLoad(int _loadX,int _loadY)
/*****************************************************************************/ /*****************************************************************************/
void StopLoad() void StopLoad()
{ {
#if !defined(__VERSION_DEBUG__)
while(LoadTime) while(LoadTime)
{ {
VSync(0); VSync(0);
} }
#endif
Screen[0].Draw.isbg=Screen[1].Draw.isbg=1; Screen[0].Draw.isbg=Screen[1].Draw.isbg=1;
DrawLoadIcon=0; DrawLoadIcon=0;