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:
37
scene/eu7/eu7_apply.h
Normal file
37
scene/eu7/eu7_apply.h
Normal 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
|
||||
Reference in New Issue
Block a user