mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 15:59:18 +02:00
milek7/sim branch network code import
This commit is contained in:
@@ -41,6 +41,8 @@ public:
|
||||
// input handlers
|
||||
void
|
||||
on_key( int const Key, int const Scancode, int const Action, int const Mods ) override;
|
||||
void
|
||||
on_char( unsigned int const Char ) override;
|
||||
void
|
||||
on_cursor_pos( double const Horizontal, double const Vertical ) override;
|
||||
void
|
||||
@@ -49,6 +51,8 @@ public:
|
||||
on_scroll( double const Xoffset, double const Yoffset ) override;
|
||||
void
|
||||
on_event_poll() override;
|
||||
bool
|
||||
is_command_processor() override;
|
||||
|
||||
private:
|
||||
// types
|
||||
@@ -109,4 +113,6 @@ private:
|
||||
double m_primaryupdateaccumulator { m_secondaryupdaterate }; // keeps track of elapsed simulation time, for core fixed step routines
|
||||
double m_secondaryupdateaccumulator { m_secondaryupdaterate }; // keeps track of elapsed simulation time, for less important fixed step routines
|
||||
int iPause { 0 }; // wykrywanie zmian w zapauzowaniu
|
||||
command_relay m_relay;
|
||||
std::string change_train; // train name awaiting entering
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user