Skip to content

Commit

Permalink
Merge pull request #20 from OutpostUniverse/BuildingBayEnum
Browse files Browse the repository at this point in the history
Add an enum to represent building bays
  • Loading branch information
Brett208 authored Dec 3, 2019
2 parents 0a935f4 + 347e545 commit c44dbb6
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
13 changes: 13 additions & 0 deletions BuildingBaysEnum.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#pragma once

// Represents one of the 6 bays available in different buildings such as the
// garage, spaceport, or structure factory.
enum BuildingBay
{
Bay0 = 0,
Bay1,
Bay2,
Bay3,
Bay4,
Bay5
};
1 change: 1 addition & 0 deletions OP2Helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <Outpost2DLL/Outpost2DLL.h>

// Include other helper header files
#include "BuildingBaysEnum.h"
#include "EnumTechID.h"
#include "EnumSoundID.h"
#include "BaseBuilder.h"
Expand Down
1 change: 1 addition & 0 deletions OP2Helper.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
</ItemGroup>
<ItemGroup>
<ClInclude Include="BaseBuilder.h" />
<ClInclude Include="BuildingBaysEnum.h" />
<ClInclude Include="Bulldozer.h" />
<ClInclude Include="ColonyType.h" />
<ClInclude Include="EnumSoundID.h" />
Expand Down
3 changes: 3 additions & 0 deletions OP2Helper.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,8 @@
<ClInclude Include="Bulldozer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="BuildingBaysEnum.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>

0 comments on commit c44dbb6

Please sign in to comment.