Skip to content

Commit

Permalink
New install creates save directory
Browse files Browse the repository at this point in the history
Include files added for Windows compilation
  • Loading branch information
cyberfilth committed Nov 12, 2022
1 parent 66d8466 commit 3f5f493
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion source/Axes.lpi
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<Filename Value="Axes"/>
</Target>
<SearchPaths>
<IncludeFiles Value="$(ProjOutDir)"/>
<IncludeFiles Value="$(ProjOutDir);entities"/>
<OtherUnitFiles Value="dungeons;entities;items;player;screens;vision;entities/animals;entities/bugs;entities/fungus;entities/gnomes;entities/hobs;items/armour;items/macguffins;items/weapons;entities/bogles;entities/undead;entities/goblinkin;items/traps"/>
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
</SearchPaths>
Expand Down
2 changes: 1 addition & 1 deletion source/globalutils.pas
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ coordinates = record

const
(* Version info - a = Alpha, d = Debug, r = Release *)
VERSION = '56a';
VERSION = '57a';
(* Columns of the game map *)
MAXCOLUMNS = 80;
(* Rows of the game map *)
Expand Down
5 changes: 2 additions & 3 deletions source/main.pas
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ procedure initialise;
end
else
setSeed;
{ Start error logging }
logging.beginLogging;

(* Check for previous save file *)
if (FileExists(globalUtils.saveDirectory + DirectorySeparator +
Expand All @@ -107,9 +105,10 @@ procedure initialise;
ui.setupScreen(0);
end;
end;
{ Start error logging }
logging.beginLogging;
{ Initialise keyboard unit }
keyboardinput.setupKeyboard;

(* Set a Dwarven clan name *)
plot_gen.generateClanName;
end;
Expand Down

0 comments on commit 3f5f493

Please sign in to comment.