mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Switched from unsigned int to int for spawn points
This commit is contained in:
@@ -18,8 +18,8 @@ public:
|
|||||||
void setRestrictSpawns(bool newRestrictSpawns) { restrictSpawns = newRestrictSpawns; }
|
void setRestrictSpawns(bool newRestrictSpawns) { restrictSpawns = newRestrictSpawns; }
|
||||||
void setRestrictToCoalition(bool newRestrictToCoalition) { restrictToCoalition = newRestrictToCoalition; }
|
void setRestrictToCoalition(bool newRestrictToCoalition) { restrictToCoalition = newRestrictToCoalition; }
|
||||||
void setSetupTime(unsigned int newSetupTime) { setupTime = newSetupTime; }
|
void setSetupTime(unsigned int newSetupTime) { setupTime = newSetupTime; }
|
||||||
void setBlueSpawnPoints(unsigned int newBlueSpawnPoints) { blueSpawnPoints = newBlueSpawnPoints; }
|
void setBlueSpawnPoints(int newBlueSpawnPoints) { blueSpawnPoints = newBlueSpawnPoints; }
|
||||||
void setRedSpawnPoints(unsigned int newRedSpawnPoints) { redSpawnPoints = newRedSpawnPoints; }
|
void setRedSpawnPoints(int newRedSpawnPoints) { redSpawnPoints = newRedSpawnPoints; }
|
||||||
void setEras(vector<string> newEras) { eras = newEras; }
|
void setEras(vector<string> newEras) { eras = newEras; }
|
||||||
void setCommandModeOptions(json::value newOptions);
|
void setCommandModeOptions(json::value newOptions);
|
||||||
|
|
||||||
@@ -28,8 +28,8 @@ public:
|
|||||||
bool getRestrictSpawns() { return restrictSpawns; }
|
bool getRestrictSpawns() { return restrictSpawns; }
|
||||||
bool getRestrictToCoalition() { return restrictToCoalition; }
|
bool getRestrictToCoalition() { return restrictToCoalition; }
|
||||||
unsigned int getSetupTime() { return setupTime; }
|
unsigned int getSetupTime() { return setupTime; }
|
||||||
unsigned int getBlueSpawnPoints() { return blueSpawnPoints; }
|
int getBlueSpawnPoints() { return blueSpawnPoints; }
|
||||||
unsigned int getRedSpawnPoints() { return redSpawnPoints; }
|
int getRedSpawnPoints() { return redSpawnPoints; }
|
||||||
vector<string> getEras() { return eras; }
|
vector<string> getEras() { return eras; }
|
||||||
json::value getCommandModeOptions();
|
json::value getCommandModeOptions();
|
||||||
|
|
||||||
@@ -41,8 +41,8 @@ private:
|
|||||||
bool restrictSpawns = false;
|
bool restrictSpawns = false;
|
||||||
bool restrictToCoalition = false;
|
bool restrictToCoalition = false;
|
||||||
unsigned int setupTime = 300;
|
unsigned int setupTime = 300;
|
||||||
unsigned int blueSpawnPoints = 10000;
|
int blueSpawnPoints = 10000;
|
||||||
unsigned int redSpawnPoints = 10000;
|
int redSpawnPoints = 10000;
|
||||||
vector<string> eras = { "WW2", "Early Cold War", "Mid Cold War", "Late Cold War", "Modern" };
|
vector<string> eras = { "WW2", "Early Cold War", "Mid Cold War", "Late Cold War", "Modern" };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user