add as many custom scenarios as possible
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -11,3 +11,6 @@
|
|||||||
[submodule "deps/fix-rpaths"]
|
[submodule "deps/fix-rpaths"]
|
||||||
path = deps/fix-rpaths
|
path = deps/fix-rpaths
|
||||||
url = https://gist.github.com/NQNStudios/7145bcf6621891f5176c8caa165d6b93
|
url = https://gist.github.com/NQNStudios/7145bcf6621891f5176c8caa165d6b93
|
||||||
|
[submodule "rsrc/scenarios/custom"]
|
||||||
|
path = rsrc/scenarios/custom
|
||||||
|
url = https://github.com/NQNStudios/cboe-scenarios
|
||||||
|
@@ -502,6 +502,7 @@
|
|||||||
<Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\valleydy $(SolutionDir)..\..\rsrc\scenarios\valleydy.boes" />
|
<Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\valleydy $(SolutionDir)..\..\rsrc\scenarios\valleydy.boes" />
|
||||||
<Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\stealth $(SolutionDir)..\..\rsrc\scenarios\stealth.boes" />
|
<Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\stealth $(SolutionDir)..\..\rsrc\scenarios\stealth.boes" />
|
||||||
<Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\zakhazi $(SolutionDir)..\..\rsrc\scenarios\zakhazi.boes" />
|
<Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\zakhazi $(SolutionDir)..\..\rsrc\scenarios\zakhazi.boes" />
|
||||||
|
<Exec Command='xcopy $(SolutionDir)..\..\rsrc\scenarios\custom "$(TargetDir)\Blades of Exile Scenarios\custom\" /S /Y' />
|
||||||
</Target>
|
</Target>
|
||||||
<!--COPY FILES TO OUTPUT DIRECTORY-->
|
<!--COPY FILES TO OUTPUT DIRECTORY-->
|
||||||
<Target Name="CopyFiles" AfterTargets="BuildScenarios">
|
<Target Name="CopyFiles" AfterTargets="BuildScenarios">
|
||||||
|
@@ -561,6 +561,7 @@
|
|||||||
<Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\valleydy $(SolutionDir)..\..\rsrc\scenarios\valleydy.boes" />
|
<Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\valleydy $(SolutionDir)..\..\rsrc\scenarios\valleydy.boes" />
|
||||||
<Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\stealth $(SolutionDir)..\..\rsrc\scenarios\stealth.boes" />
|
<Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\stealth $(SolutionDir)..\..\rsrc\scenarios\stealth.boes" />
|
||||||
<Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\zakhazi $(SolutionDir)..\..\rsrc\scenarios\zakhazi.boes" />
|
<Exec Command="$(SolutionDir)..\..\pkg\win\build-scen.bat $(SolutionDir)..\..\rsrc\scenarios\zakhazi $(SolutionDir)..\..\rsrc\scenarios\zakhazi.boes" />
|
||||||
|
<Exec Command='xcopy $(SolutionDir)..\..\rsrc\scenarios\custom "$(TargetDir)\Blades of Exile Scenarios\custom\" /S /Y' />
|
||||||
</Target>
|
</Target>
|
||||||
<!--COPY FILES TO OUTPUT DIRECTORY-->
|
<!--COPY FILES TO OUTPUT DIRECTORY-->
|
||||||
<Target Name="CopyFiles" AfterTargets="BuildScenarios">
|
<Target Name="CopyFiles" AfterTargets="BuildScenarios">
|
||||||
|
@@ -57,6 +57,7 @@ scen_env.BuildScenario('#build/rsrc/scenarios/stealth.boes', 'scenarios/stealth/
|
|||||||
scen_env.BuildScenario('#build/rsrc/scenarios/zakhazi.boes', 'scenarios/zakhazi/header.exs')
|
scen_env.BuildScenario('#build/rsrc/scenarios/zakhazi.boes', 'scenarios/zakhazi/header.exs')
|
||||||
|
|
||||||
env.Install(path.join(install_dir, "Blades of Exile Scenarios"), Glob("#build/rsrc/scenarios/*.boes"))
|
env.Install(path.join(install_dir, "Blades of Exile Scenarios"), Glob("#build/rsrc/scenarios/*.boes"))
|
||||||
|
env.Install(path.join(install_dir, "Blades of Exile Scenarios"), "scenarios/custom")
|
||||||
env.Install(path.join(install_dir, "Blades of Exile Base"), Glob("#build/rsrc/bases/*.boes"))
|
env.Install(path.join(install_dir, "Blades of Exile Base"), Glob("#build/rsrc/bases/*.boes"))
|
||||||
|
|
||||||
# Validate dialogs
|
# Validate dialogs
|
||||||
|
1
rsrc/scenarios/custom
Submodule
1
rsrc/scenarios/custom
Submodule
Submodule rsrc/scenarios/custom added at 0a6259c37f
@@ -79,6 +79,9 @@ std::vector<fs::path> all_scen_dirs() {
|
|||||||
scen_dirs.push_back(scen_dir);
|
scen_dirs.push_back(scen_dir);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Experimental: ship with the full scenario archive
|
||||||
|
scen_dirs.push_back(progDir/"Blades of Exile Scenarios/custom");
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
fs::path replay_scenarios_dir = boost::filesystem::current_path();
|
fs::path replay_scenarios_dir = boost::filesystem::current_path();
|
||||||
replay_scenarios_dir = replay_scenarios_dir/".."/".."/"test"/"replays"/"scenarios";
|
replay_scenarios_dir = replay_scenarios_dir/".."/".."/"test"/"replays"/"scenarios";
|
||||||
|
Reference in New Issue
Block a user