diff options
| author | Jonas Ask | 2009-10-22 12:54:20 +0000 |
|---|---|---|
| committer | Jonas Ask | 2009-10-22 12:54:20 +0000 |
| commit | fb452ce9594ea297aea586512ee66d47f232add5 (patch) | |
| tree | aa60bdc48c6ce33dfcb169d2013de5175f019e77 /GameBuildings.h | |
| parent | 4bcc80edf1d438ce6718df4d580b2579ba22afa2 (diff) | |
| download | stonesense-fb452ce9594ea297aea586512ee66d47f232add5.tar.gz stonesense-fb452ce9594ea297aea586512ee66d47f232add5.tar.bz2 stonesense-fb452ce9594ea297aea586512ee66d47f232add5.tar.xz | |
Cleaning up and some heavy refactoring.
Added a safety so users can't scroll to negative z-levels
Diffstat (limited to 'GameBuildings.h')
| -rw-r--r-- | GameBuildings.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/GameBuildings.h b/GameBuildings.h index dc996fe..5e7750a 100644 --- a/GameBuildings.h +++ b/GameBuildings.h @@ -34,17 +34,17 @@ enum BuildingTypes{ -int BlockNeighbourhoodType_simple(DisplaySegment* segment, Block* b, bool validationFuctionProc(Block*) );
+int BlockNeighbourhoodType_simple(WorldSegment* segment, Block* b, bool validationFuctionProc(Block*) );
int getBuildingSprite(t_building &building, bool mirrored);
-void ReadBuildingsToSegment(DFHackAPI& DF, DisplaySegment* segment);
-void MergeBuildingsToSegment(vector<t_building>* buildings, DisplaySegment* segment);
+void ReadBuildingsToSegment(DFHackAPI& DF, WorldSegment* segment);
+void MergeBuildingsToSegment(vector<t_building>* buildings, WorldSegment* segment);
void ReadBuildings(DFHackAPI& DF, vector<t_building>* buildingHolder);
bool BlockHasSuspendedBuilding(vector<t_building>* buildingList, Block* b);
-dirTypes findWallCloseTo(DisplaySegment* segment, Block* b);
+dirTypes findWallCloseTo(WorldSegment* segment, Block* b);
extern vector<BuildingConfiguration> buildingTypes;
\ No newline at end of file |
