16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 13:59:19 +02:00

EU7 scenery format and models streaming

This commit is contained in:
maj00r
2026-06-13 15:43:44 +02:00
parent f07c8fdcd2
commit 876a4c7c18
171 changed files with 27924 additions and 281 deletions

37
scene/eu7/eu7_apply.h Normal file
View File

@@ -0,0 +1,37 @@
/*
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 "scene/eu7/eu7_types.h"
namespace scene {
class scratch_data;
}
namespace simulation {
class state_serializer;
}
namespace scene::eu7 {
[[nodiscard]] bool
is_model_only_module( Eu7Module const &module );
void
compose_models_with_prefix( std::vector<Eu7Model> &models, Eu7TransformContext const &prefix );
// Wczytuje zawartosc Eu7Module do symulacji (bez ponownego INCL i bez petli include).
void
apply_module(
Eu7Module const &Module,
simulation::state_serializer &Serializer,
scene::scratch_data &Scratch );
} // namespace scene::eu7