mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 15:09:19 +02:00
EU7 scenery format and models streaming
This commit is contained in:
30
scene/eu7/eu7_bake.h
Normal file
30
scene/eu7/eu7_bake.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
This Source Code Form is subject to the
|
||||
terms of the Mozilla Public License, v.
|
||||
2.0. If a copy of the MPL was not
|
||||
distributed with this file, You can
|
||||
obtain one at
|
||||
http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace scene::eu7 {
|
||||
|
||||
struct Eu7BakeOutcome {
|
||||
bool ok { false };
|
||||
bool regenerated { false };
|
||||
std::string message;
|
||||
};
|
||||
|
||||
// Czy wejscie to tekst SCM/SCN bez gotowego .eu7 przy wlaczonym auto-bake.
|
||||
[[nodiscard]] bool
|
||||
scenario_needs_eu7_regen( std::string const &ScenarioFile );
|
||||
|
||||
// Przed ladowaniem mapy: uzyj istniejacego <stem>.eu7 lub wygeneruj cale drzewo include.
|
||||
[[nodiscard]] Eu7BakeOutcome
|
||||
ensure_scenario_eu7( std::string const &ScenarioFile );
|
||||
|
||||
} // namespace scene::eu7
|
||||
Reference in New Issue
Block a user