mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 12:49:18 +02:00
EU7 scenery format and models streaming
This commit is contained in:
51
scene/eu7/eu7_parameters.h
Normal file
51
scene/eu7/eu7_parameters.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
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"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace scene::eu7 {
|
||||
|
||||
void
|
||||
bind_include_parameter( std::string &text, std::vector<std::string> const ¶meters, bool to_lower = false );
|
||||
|
||||
void
|
||||
apply_include_parameters_to_scene( Eu7Scene &scene, std::vector<std::string> const ¶meters );
|
||||
|
||||
void
|
||||
apply_include_parameters_to_models( std::vector<Eu7Model> &models, std::vector<std::string> const ¶meters );
|
||||
|
||||
// Placement z chunku PLAC (indeksy pN z origin/rotate w .inc) + wartosci z INCL.
|
||||
[[nodiscard]] Eu7TransformContext
|
||||
placement_transform_from_include_parameters(
|
||||
Eu7IncludePlacement const &binding,
|
||||
std::vector<std::string> const ¶meters );
|
||||
|
||||
void
|
||||
apply_include_placement_to_scene(
|
||||
Eu7Scene &scene,
|
||||
Eu7IncludePlacement const &binding,
|
||||
std::vector<std::string> const ¶meters );
|
||||
|
||||
void
|
||||
apply_include_placement_to_models(
|
||||
std::vector<Eu7Model> &models,
|
||||
Eu7IncludePlacement const &binding,
|
||||
std::vector<std::string> const ¶meters );
|
||||
|
||||
[[nodiscard]] std::string
|
||||
module_load_key(
|
||||
std::string const &resolved_path,
|
||||
std::vector<std::string> const ¶meters );
|
||||
|
||||
} // namespace scene::eu7
|
||||
Reference in New Issue
Block a user