17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-05 10:59:02 +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

@@ -33,6 +33,9 @@ public:
bool Init( std::string const &asName, TModel3d const *pModel, bool bNewOn = false );
void Load( cParser &Parser, TDynamicObject const *Owner );
void AssignBool(bool const *bValue);
// sounds of a lamp defined outside the .mmd file (vehicle graph), in the format of soundinc: and sounddec:,
// played when the lamp lights and goes out. assign them after Init(), to place them at the submodel
void AssignSounds( std::string const &Increase, std::string const &Decrease, TDynamicObject const *Owner );
// returns offset of submodel associated with the button from the model centre
glm::vec3 model_offset() const;
void gain(float new_volume);