mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-29 07:55:42 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f12be09007 |
@@ -172,7 +172,7 @@ auto SetUpController(
|
|||||||
const std::string &serializedRequest,
|
const std::string &serializedRequest,
|
||||||
const std::vector<std::pair<int32_t, std::vector<PlayerId>>> &watcherAllies)
|
const std::vector<std::pair<int32_t, std::vector<PlayerId>>> &watcherAllies)
|
||||||
-> std::shared_ptr<ShardokGameController> {
|
-> std::shared_ptr<ShardokGameController> {
|
||||||
auto unplacedUnits = std::vector<Unit>();
|
std::vector<Unit> unplacedUnits;
|
||||||
unplacedUnits.reserve(units.size() + TutorialReinforcementUnitCount(tutorialConfig));
|
unplacedUnits.reserve(units.size() + TutorialReinforcementUnitCount(tutorialConfig));
|
||||||
|
|
||||||
UnitId nextUnitId = 0;
|
UnitId nextUnitId = 0;
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ auto main(const int argc, char **argv) -> int {
|
|||||||
|
|
||||||
FilesystemUtils::SetExecPath(argv[0]);
|
FilesystemUtils::SetExecPath(argv[0]);
|
||||||
|
|
||||||
auto extraSettings = std::vector<std::string>();
|
std::vector<std::string> extraSettings;
|
||||||
extraSettings.reserve(argc - 1);
|
extraSettings.reserve(argc - 1);
|
||||||
for (int i = 1; i < argc; i++) { extraSettings.emplace_back(argv[i]); }
|
for (int i = 1; i < argc; i++) { extraSettings.emplace_back(argv[i]); }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user