# HG changeset patch # User koda # Date 1275606155 0 # Node ID 2adbae321127f6c4e612d443bc57ff529482f5f4 # Parent 07256e1ad55916ce463b904a7d31522363e20e26 fix iphone version for map preview add gl_priority constant (doesn't affect opengles) fix building hwlibrary diff -r 07256e1ad559 -r 2adbae321127 cocoaTouch/xib/MapConfigViewController-iPhone.xib --- a/cocoaTouch/xib/MapConfigViewController-iPhone.xib Thu Jun 03 18:31:56 2010 +0000 +++ b/cocoaTouch/xib/MapConfigViewController-iPhone.xib Thu Jun 03 23:02:35 2010 +0000 @@ -109,7 +109,6 @@ 15 16 - 1 3 MQA @@ -451,7 +450,6 @@ sizeLabel slider tableView - viewForTables YES @@ -461,7 +459,6 @@ UILabel UISlider UITableView - UIView diff -r 07256e1ad559 -r 2adbae321127 hedgewars/uConsts.pas --- a/hedgewars/uConsts.pas Thu Jun 03 18:31:56 2010 +0000 +++ b/hedgewars/uConsts.pas Thu Jun 03 23:02:35 2010 +0000 @@ -259,10 +259,11 @@ MAXNAMELEN = 192; // some opengl headers do not have these macros - GL_BGR = $80E0; - GL_BGRA = $80E1; - GL_CLAMP_TO_EDGE = $812F; - + GL_BGR = $80E0; + GL_BGRA = $80E1; + GL_CLAMP_TO_EDGE = $812F; + GL_TEXTURE_PRIORITY = $8066; + cSendCursorPosTime : LongWord = 50; cVisibleWater : LongInt = 128; cCursorEdgesDist : LongInt = 100; diff -r 07256e1ad559 -r 2adbae321127 hedgewars/uKeys.pas --- a/hedgewars/uKeys.pas Thu Jun 03 18:31:56 2010 +0000 +++ b/hedgewars/uKeys.pas Thu Jun 03 23:02:35 2010 +0000 @@ -61,7 +61,7 @@ DefaultBinds, CurrentBinds: TBinds; coeff: LongInt; -{$IFDEF IPHONEOS} +{$IFDEF HWLIBRARY} leftClick: boolean; middleClick: boolean; rightClick: boolean; @@ -86,9 +86,10 @@ cursorDown: boolean; cursorLeft: boolean; cursorRight: boolean; - +{$IFDEF IPHONEOS} procedure setiPhoneBinds; {$ENDIF} +{$ENDIF} implementation uses uTeams, uConsole, uMisc; //const KeyNumber = 1024; @@ -509,7 +510,7 @@ wheelUp:= false; wheelDown:= false; coeff:= 5; -{$IFDEF IPHONEOS} +{$IFDEF HWLIBRARY} // this function is called by HW_allKeysUp so be careful // mouse emulation