diff options
author | Simei Yin | 2017-07-20 10:39:24 +0200 |
---|---|---|
committer | Simei Yin | 2017-07-20 19:10:01 +0200 |
commit | caa51ef49af5f6e92169a2f8095c08325823cb44 (patch) | |
tree | 9e2b060bf7d325d84a9b212416b36916ceaad277 /engines/sludge/floor.cpp | |
parent | 9752d7bb43f41106147e7a39e0381fae51443c94 (diff) | |
download | scummvm-rg350-caa51ef49af5f6e92169a2f8095c08325823cb44.tar.gz scummvm-rg350-caa51ef49af5f6e92169a2f8095c08325823cb44.tar.bz2 scummvm-rg350-caa51ef49af5f6e92169a2f8095c08325823cb44.zip |
SLUDGE: Change all structure names to Uppercase
Diffstat (limited to 'engines/sludge/floor.cpp')
-rw-r--r-- | engines/sludge/floor.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/sludge/floor.cpp b/engines/sludge/floor.cpp index dc40ec7ac5..1884b449c8 100644 --- a/engines/sludge/floor.cpp +++ b/engines/sludge/floor.cpp @@ -32,9 +32,9 @@ namespace Sludge { -flor *currentFloor = NULL; +Floor *currentFloor = NULL; -bool pointInFloorPolygon(floorPolygon &floorPoly, int x, int y) { +bool pointInFloorPolygon(FloorPolygon &floorPoly, int x, int y) { int i = 0, j, c = 0; float xp_i, yp_i; float xp_j, yp_j; @@ -53,7 +53,7 @@ bool pointInFloorPolygon(floorPolygon &floorPoly, int x, int y) { return c; } -bool getMatchingCorners(floorPolygon &a, floorPolygon &b, int &cornerA, int &cornerB) { +bool getMatchingCorners(FloorPolygon &a, FloorPolygon &b, int &cornerA, int &cornerB) { int sharedVertices = 0; int i, j; @@ -73,7 +73,7 @@ bool getMatchingCorners(floorPolygon &a, floorPolygon &b, int &cornerA, int &cor return false; } -bool polysShareSide(floorPolygon &a, floorPolygon &b) { +bool polysShareSide(FloorPolygon &a, FloorPolygon &b) { int sharedVertices = 0; int i, j; @@ -97,7 +97,7 @@ void noFloor() { } bool initFloor() { - currentFloor = new flor; + currentFloor = new Floor; if (!checkNew(currentFloor)) return false; noFloor(); @@ -137,7 +137,7 @@ bool setFloor(int fileNum) { currentFloor->originalNum = fileNum; currentFloor->numPolygons = g_sludge->_resMan->getData()->readByte(); - currentFloor->polygon = new floorPolygon[currentFloor->numPolygons]; + currentFloor->polygon = new FloorPolygon[currentFloor->numPolygons]; if (!checkNew(currentFloor->polygon)) return false; |