summaryrefslogtreecommitdiff
path: root/Constructions.cpp
diff options
context:
space:
mode:
authorPetr Mrázek2012-02-27 17:44:09 +0100
committerPetr Mrázek2012-02-27 17:44:09 +0100
commitca35c82579d1e3e0ce227ccdaeb71c2a6dbf1cb9 (patch)
tree04052da84dee32c944dc3d8e9a4167102cc2b8e9 /Constructions.cpp
parent09476326db2b0613e6120fa83146e004b6d92dda (diff)
downloadstonesense-ca35c82579d1e3e0ce227ccdaeb71c2a6dbf1cb9.tar.gz
stonesense-ca35c82579d1e3e0ce227ccdaeb71c2a6dbf1cb9.tar.bz2
stonesense-ca35c82579d1e3e0ce227ccdaeb71c2a6dbf1cb9.tar.xz
Get rid of a bunch of things. Simpler map segment update mechanism.
Diffstat (limited to 'Constructions.cpp')
-rw-r--r--Constructions.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/Constructions.cpp b/Constructions.cpp
index def01af..487478a 100644
--- a/Constructions.cpp
+++ b/Constructions.cpp
@@ -24,39 +24,3 @@ void changeConstructionMaterials(WorldSegment* segment, vector<df::construction>
}
}
-
-bool IDisConstruction(int in){
- switch(in){
- case 495: //constructed pillar
- case 496: //constructed wall rd2
- case 497: //constructed wall r2d
- case 498: //constructed wall r2u
- case 499: //constructed wall ru2
- case 500: //constructed wall l2u
- case 501: //constructed wall lu2
- case 502: //constructed wall l2d
- case 503: //constructed wall ld2
- case 504: //constructed wall lrud
- case 505: //constructed wall rud
- case 506: //constructed wall lrd
- case 507: //constructed wall lru
- case 508: //constructed wall lud
- case 509: //constructed wall rd
- case 510: //constructed wall ru
- case 511: //constructed wall lu
- case 512: //constructed wall ld
- case 513: //constructed wall ud
- case 514: //constructed wall lr
-
- case 493: //constructed floor detailed
-
- case 494: //constructed fortification
-
- case ID_CNSTR_STAIR_UPDOWN:
- case ID_CNSTR_STAIR_DOWN:
- case ID_CNSTR_STAIR_UP:
- return true;
- break;
- }
- return 0;
-} \ No newline at end of file