# HG changeset patch # User Xeli # Date 1308914537 -7200 # Node ID 86b76c93a6122e8473f0f94bccb6c723373a7c38 # Parent bf058f0a77d63094d45889fc50ca5786a438b5b7 put back GLUnit in the uses clause, indentation fix, path fix diff -r bf058f0a77d6 -r 86b76c93a612 hedgewars/hwengine.pas --- a/hedgewars/hwengine.pas Fri Jun 24 13:21:02 2011 +0200 +++ b/hedgewars/hwengine.pas Fri Jun 24 13:22:17 2011 +0200 @@ -31,7 +31,7 @@ uses SDLh, uMisc, uConsole, uGame, uConsts, uLand, uAmmos, uVisualGears, uGears, uStore, uWorld, uKeys, uSound, uScript, uTeams, uStats, uIO, uLocale, uChat, uAI, uAIMisc, uRandom, uLandTexture, uCollisions, - sysutils, uTypes, uVariables, uCommands, uUtils, uCaptions, uDebug, uCommandHandlers, uLandPainted; + sysutils, uTypes, uVariables, uCommands, uUtils, uCaptions, uDebug, uCommandHandlers, uLandPainted {$IFDEF ANDROID}, GLUnit {$ENDIF}; {$IFDEF HWLIBRARY} procedure initEverything(complete:boolean); @@ -217,7 +217,7 @@ cBits:= 32; cFullScreen:= false; cTimerInterval:= 8; - PathPrefix:= 'Data'; + PathPrefix:= '/sdcard/Data'; UserPathPrefix:= '.'; cShowFPS:= {$IFDEF DEBUGFILE}true{$ELSE}false{$ENDIF}; val(gameArgs[0], ipcPort); @@ -345,9 +345,9 @@ if complete then begin - {$IFDEF ANDROID} +{$IFDEF ANDROID} GLUnit.init; - {$ENDIF} +{$ENDIF} uAI.initModule; //uAIActions does not need initialization //uAIAmmoTests does not need initialization