18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-22 02:05:01 +01:00

First implementation of graph vehicles

This commit is contained in:
2026-10-14 12:20:49 +02:00
parent 70abf879b3
commit 1ef465264c
121 changed files with 12292 additions and 729 deletions

View File

@@ -55,6 +55,10 @@ public:
void AssignBool(bool *bValue);
void UpdateValue();
void AssignState( bool const *State );
// sounds of a control defined outside the cab section of the .mmd file (vehicle graph): Increase and Decrease in the
// format of soundinc: and sounddec:, Positions as the soundN: entries of a control block (e.g. "sound0: a.wav sound1: b.wav").
// to take their place in the cab from the submodel, assign them before Init()
void AssignSounds( std::string const &Increase, std::string const &Decrease, std::string const &Positions, TDynamicObject const *Owner );
// returns offset of submodel associated with the button from the model centre
glm::vec3 model_offset() const;
TGaugeType type() const;