mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Add wiper animation
This commit is contained in:
@@ -375,6 +375,8 @@ commanddescription_sequence Commands_descriptions = {
|
||||
{ "spawntrainset", command_target::simulation, command_mode::oneoff },
|
||||
{ "destroytrainset", command_target::simulation, command_mode::oneoff },
|
||||
{ "quitsimulation", command_target::simulation, command_mode::oneoff },
|
||||
{"wiperswitchincrease", command_target::vehicle, command_mode::oneoff},
|
||||
{"wiperswitchdecrease", command_target::vehicle, command_mode::oneoff},
|
||||
};
|
||||
|
||||
// Maps of command and coresponding strings
|
||||
@@ -729,6 +731,8 @@ std::unordered_map<std::string, user_command> commandMap = {
|
||||
{"spawntrainset", user_command::spawntrainset},
|
||||
{"destroytrainset", user_command::destroytrainset},
|
||||
{"quitsimulation", user_command::quitsimulation},
|
||||
{"wiperswitchincrease", user_command::wiperswitchincrease},
|
||||
{"wiperswitchdecrease", user_command::wiperswitchdecrease},
|
||||
{"none", user_command::none}};
|
||||
|
||||
} // simulation
|
||||
|
||||
Reference in New Issue
Block a user