This commit is contained in:
Charles 2001-06-26 14:21:22 +00:00
parent e62b71aeb3
commit 899ec275c8
2 changed files with 20 additions and 5 deletions

View File

@ -83,7 +83,9 @@ int ScaleHInc=(Scale*LegHInc)>>12;
POLY_FT4 *Ft4;
if ( XFlip )
//Ft4=SprBank->printFT4Scaled(FRM__LEG,RenderPos.vx,RenderPos.vy,XFlip,0,OtPos,Scale>>4);
if ( !XFlip )
{
Ft4=SprBank->printFT4Scaled(FRM__LEG,RenderPos.vx + 6 + ( spriteWidth >> 1 ),RenderPos.vy,XFlip,0,OtPos,Scale>>4);
}
@ -94,13 +96,21 @@ int ScaleHInc=(Scale*LegHInc)>>12;
if (!XFlip)
{
Ft4->x1-=WOfs;
Ft4->x3-=WOfs;
// Ft4->x1-=WOfs;
// Ft4->x3-=WOfs;
Ft4->x0+=WOfs/2;
Ft4->x2+=WOfs/2;
Ft4->x1-=WOfs/2;
Ft4->x3-=WOfs/2;
}
else
{
Ft4->x0+=WOfs;
Ft4->x2+=WOfs;
// Ft4->x0+=WOfs;
// Ft4->x2+=WOfs;
Ft4->x0+=WOfs/2;
Ft4->x2+=WOfs/2;
Ft4->x1-=WOfs/2;
Ft4->x3-=WOfs/2;
}

View File

@ -28,6 +28,9 @@ CPaulScene s_paulScene;
#include "paul\scenesel.h"
#endif
#ifdef __USER_charles__
#include "map\map.h"
#endif
#ifndef __SYSTEM_GSTATE_H__
@ -210,6 +213,8 @@ int main()
GameState::setNextScene( &SceneSelector );
#elif defined(__USER_daveo__)
GameState::setNextScene( &GameScene );
#elif defined(__USER_charles__)
GameState::setNextScene( &MapScene );
#else
GameState::setNextScene( &FrontEndScene );
#endif