equal
deleted
inserted
replaced
224 {$ENDIF} |
224 {$ENDIF} |
225 var p: TPathType; |
225 var p: TPathType; |
226 s: shortstring; |
226 s: shortstring; |
227 begin |
227 begin |
228 {$IFDEF HWLIBRARY} |
228 {$IFDEF HWLIBRARY} |
229 initEverything(); |
229 // initEverything(); |
230 Randomize(); |
230 Randomize(); |
231 |
231 |
232 cBits:= 32; |
232 cBits:= 32; |
233 cFullScreen:= false; |
233 cFullScreen:= false; |
234 cVSyncInUse:= true; |
234 cVSyncInUse:= true; |
570 GetParams(); |
570 GetParams(); |
571 Randomize(); |
571 Randomize(); |
572 |
572 |
573 if GameType = gmtLandPreview then |
573 if GameType = gmtLandPreview then |
574 begin |
574 begin |
575 {$IFDEF HWLIBRARY} |
|
576 // initEverything(); TODO - Koda, please check to see if this is appropriate here |
|
577 {$ENDIF} |
|
578 GenLandPreview(); |
575 GenLandPreview(); |
579 // freeEverything() TODO - Koda, please check if this is also needed here. |
576 // freeEverything() TODO - Koda, please check if this is needed here. |
580 end |
577 end |
581 else if GameType = gmtSyntax then DisplayUsage() |
578 else if GameType = gmtSyntax then DisplayUsage() |
582 else Game(); |
579 else Game(); |
583 |
580 |
584 if GameType = gmtSyntax then |
581 if GameType = gmtSyntax then |