const in wrong spot for TMXParser::GetOptimizedMap. Release Build 9666.

mac-build
sigonasr2 8 months ago
parent 753ecf766d
commit 4c93f5133c
  1. 4
      Adventures in Lestoria/TMXParser.h
  2. 2
      Adventures in Lestoria/Version.h
  3. BIN
      x64/Release/Adventures in Lestoria.exe

@ -151,7 +151,7 @@ public:
const std::string_view GetMapDisplayName()const; const std::string_view GetMapDisplayName()const;
const bool HasMoreSpawns()const; //Returns whether or not there are more spawns for the spawn controller. const bool HasMoreSpawns()const; //Returns whether or not there are more spawns for the spawn controller.
const int Spawn_pop(); //Grabs the next spawn controller ID and removes it from the stack. const int Spawn_pop(); //Grabs the next spawn controller ID and removes it from the stack.
const Renderable const*GetOptimizedMap()const; const Renderable*const GetOptimizedMap()const;
std::string FormatLayerData(std::ostream& os, std::vector<LayerTag>tiles); std::string FormatLayerData(std::ostream& os, std::vector<LayerTag>tiles);
std::string FormatSpawnerData(std::ostream& os, std::map<int,SpawnerTag>tiles); std::string FormatSpawnerData(std::ostream& os, std::map<int,SpawnerTag>tiles);
friend std::ostream& operator << (std::ostream& os, Map& rhs); friend std::ostream& operator << (std::ostream& os, Map& rhs);
@ -328,7 +328,7 @@ class TMXParser{
spawnControllerIDs.value().pop(); spawnControllerIDs.value().pop();
return nextSpawnId; return nextSpawnId;
} }
const Renderable const*Map::GetOptimizedMap()const{ const Renderable*const Map::GetOptimizedMap()const{
return optimizedTile; return optimizedTile;
} }
NPCData::NPCData(){} NPCData::NPCData(){}

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 1 #define VERSION_MAJOR 1
#define VERSION_MINOR 2 #define VERSION_MINOR 2
#define VERSION_PATCH 3 #define VERSION_PATCH 3
#define VERSION_BUILD 9665 #define VERSION_BUILD 9666
#define stringify(a) stringify_(a) #define stringify(a) stringify_(a)
#define stringify_(a) #a #define stringify_(a) #a

Loading…
Cancel
Save