- Timestamp:
- Aug 10, 2024, 3:40:04 PM (4 months ago)
- Location:
- trunk/AI/StdAI
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AI/StdAI/AI.pas
r549 r592 289 289 end; 290 290 end; 291 //!!! assert(Quality>0);291 //!!!Assert(Quality > 0); 292 292 end; 293 293 -
trunk/AI/StdAI/CustomAI.pas
r531 r592 687 687 Result := True; 688 688 // always returns true so that it can be used like 689 // " assert(DebugMessage(...));" -> not compiled in release build689 // "Assert(DebugMessage(...));" -> not compiled in release build 690 690 end; 691 691 … … 696 696 Result := True; 697 697 // always returns true so that it can be used like 698 // " assert(SetDebugMap(...));" -> not compiled in release build698 // "Assert(SetDebugMap(...));" -> not compiled in release build 699 699 end; 700 700 -
trunk/AI/StdAI/StdAI.lpi
r289 r592 2 2 <CONFIG> 3 3 <ProjectOptions> 4 <Version Value="1 1"/>4 <Version Value="12"/> 5 5 <PathDelim Value="\"/> 6 6 <General> … … 9 9 <MainUnitHasCreateFormStatements Value="False"/> 10 10 <MainUnitHasTitleStatement Value="False"/> 11 <MainUnitHasScaledStatement Value="False"/> 12 <CompatibilityMode Value="True"/> 11 13 </Flags> 12 14 <SessionStorage Value="InProjectDir"/> 13 <MainUnit Value="0"/>14 15 <Title Value="StdAI"/> 15 16 <UseAppBundle Value="False"/> … … 40 41 </SyntaxOptions> 41 42 </Parsing> 42 <CodeGeneration>43 <Optimizations>44 <OptimizationLevel Value="3"/>45 </Optimizations>46 </CodeGeneration>47 43 <Linking> 48 44 <Debugging> … … 69 65 <RunParams> 70 66 <FormatVersion Value="2"/> 71 <Modes Count="0"/>72 67 </RunParams> 73 68 <RequiredPackages Count="1"> -
trunk/AI/StdAI/ToolAI.pas
r548 r592 652 652 MoveCost, RecoverCost: Integer; 653 653 begin 654 //IsCapture :=true;654 //IsCapture := True; 655 655 Assert(((FromTile and fTerrain <= fMountains) or (FromTile and 656 656 fTerrain = fUNKNOWN)) and ((ToTile and fTerrain <= fMountains) or
Note:
See TracChangeset
for help on using the changeset viewer.