diff options
author | red-001 <red-001@outlook.ie> | 2017-01-24 16:26:15 +0000 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-03-13 23:56:05 +0100 |
commit | c42c53fccf87a3819ca78de52f8f20c47c4fbb9f (patch) | |
tree | 223bb0b18e989cfe7eb8f7d712bd606976be2c77 /src/client.h | |
parent | 2c19d51409ca903021e0b508e5bc15299c4e51dc (diff) | |
download | minetest-c42c53fccf87a3819ca78de52f8f20c47c4fbb9f.tar.gz minetest-c42c53fccf87a3819ca78de52f8f20c47c4fbb9f.tar.bz2 minetest-c42c53fccf87a3819ca78de52f8f20c47c4fbb9f.zip |
[CSM] Add local formspecs. (#5094)
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h index ff8aea591..d170f9a07 100644 --- a/src/client.h +++ b/src/client.h @@ -142,6 +142,7 @@ enum ClientEventType CE_PLAYER_FORCE_MOVE, CE_DEATHSCREEN, CE_SHOW_FORMSPEC, + CE_SHOW_LOCAL_FORMSPEC, CE_SPAWN_PARTICLE, CE_ADD_PARTICLESPAWNER, CE_DELETE_PARTICLESPAWNER, @@ -570,6 +571,11 @@ public: ClientScripting *getScript() { return m_script; } + inline void pushToEventQueue(const ClientEvent &event) + { + m_client_event_queue.push(event); + } + private: // Virtual methods from con::PeerHandler |