16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 01:19:18 +02:00

key binding lookup, ai vehicle activation delay

This commit is contained in:
tmj-fstate
2020-02-23 03:43:05 +01:00
parent fcc8460d88
commit 4e9eabbcfe
12 changed files with 73 additions and 28 deletions

View File

@@ -51,8 +51,11 @@ public:
on_scroll( double const Xoffset, double const Yoffset ) override;
void
on_event_poll() override;
// provides key code associated with specified command
int
key_binding( user_command const Command ) const override;
bool
is_command_processor() override;
is_command_processor() const override;
private:
// types
@@ -82,7 +85,7 @@ private:
bool init();
void poll();
std::string
command_hints( std::pair<user_command, user_command> const &Commands ) const;
binding_hints( std::pair<user_command, user_command> const &Commands ) const;
std::pair<user_command, user_command>
command_fallback( user_command const Command ) const;
};