# HG changeset patch # User koda # Date 1247407040 0 # Node ID 3dd028604cfd97a59b871eab845e832ac1992853 # Parent 7eb31efcfb9be2a7a9afdd41d24dbad7b2e14ce2 corrects a wrong binding diff -r 7eb31efcfb9b -r 3dd028604cfd hedgewars/uConsts.pas --- a/hedgewars/uConsts.pas Sun Jul 12 13:51:29 2009 +0000 +++ b/hedgewars/uConsts.pas Sun Jul 12 13:57:20 2009 +0000 @@ -24,7 +24,7 @@ {$IFDEF GLES11} gles11, {$ELSE} - GL, + GL, {$ENDIF} uLocale; @@ -164,8 +164,8 @@ ifTransparent = $00000004; // image uses transparent pixels (color keying) ifIgnoreCaps = $00000008; // ignore hardware capabilities when loading (i.e. image will not be drawn using OpenGL) ifLowRes = $00000010; // try loading a low resolution image when it is critical -const - cMaxPower = 1500; + +const cMaxPower = 1500; cMaxAngle = 2048; cPowerDivisor = 1500; @@ -199,7 +199,7 @@ COLOR_LAND = $FFFF; // white COLOR_INDESTRUCTIBLE = $88FF; // red - //some opengl headers do not have these macros (unused) + //some opengl headers do not have these macros GL_BGR = $80E0; GL_BGRA = $80E1; GL_CLAMP_TO_EDGE = $812F; diff -r 7eb31efcfb9b -r 3dd028604cfd hedgewars/uSound.pas --- a/hedgewars/uSound.pas Sun Jul 12 13:51:29 2009 +0000 +++ b/hedgewars/uSound.pas Sun Jul 12 13:57:20 2009 +0000 @@ -57,7 +57,7 @@ function AskForVoicepack(name: shortstring): Pointer; {*remember: LongInt = 32bit; integer = 16bit; byte = 8bit*} -function openal_init (memsize: LongInt) : boolean; cdecl; external OpenALBridge; +function openal_init (memsize: LongInt) : boolean; cdecl; external OpenALBridge; function openal_close : boolean; cdecl; external OpenALBridge; function openal_loadfile (const filename: PChar) : LongInt; cdecl; external OpenALBridge; function openal_toggleloop (index: LongInt) : boolean; cdecl; external OpenALBridge; diff -r 7eb31efcfb9b -r 3dd028604cfd hedgewars/uStore.pas --- a/hedgewars/uStore.pas Sun Jul 12 13:51:29 2009 +0000 +++ b/hedgewars/uStore.pas Sun Jul 12 13:57:20 2009 +0000 @@ -980,6 +980,9 @@ glScalef(f / cScreenWidth, -f / cScreenHeight, 1.0); //glTranslatef(-cScreenWidth / 2, -cScreenHeight / 2, 0); glTranslatef(0, -cScreenHeight / 2, 0); + +// glTranslatex(320, 0, 0); +// glRotatef(90.0, 0.0, 0.0, 1.0); end; ////////////////////////////////////////////////////////////////////////////////