diff options
author | sapier <Sapier at GMX dot net> | 2013-01-02 19:45:04 +0000 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2013-01-02 20:59:37 +0200 |
commit | da9707950e0f69d8a906572fc55f516277e057c4 (patch) | |
tree | c8991d2c8f650d0735e69ff93fc9ebe0b32b141c /src/client.h | |
parent | 36f03a7f4ae81e8735328a38c9415b6e7081c37c (diff) | |
download | minetest-da9707950e0f69d8a906572fc55f516277e057c4.tar.gz minetest-da9707950e0f69d8a906572fc55f516277e057c4.tar.bz2 minetest-da9707950e0f69d8a906572fc55f516277e057c4.zip |
Add TOCLIENT_SHOW_FORMSPEC to display formspecs at client from lua
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client.h b/src/client.h index 155b4386b..e46da6b0e 100644 --- a/src/client.h +++ b/src/client.h @@ -154,7 +154,8 @@ enum ClientEventType CE_PLAYER_DAMAGE, CE_PLAYER_FORCE_MOVE, CE_DEATHSCREEN, - CE_TEXTURES_UPDATED + CE_TEXTURES_UPDATED, + CE_SHOW_FORMSPEC }; struct ClientEvent @@ -177,6 +178,9 @@ struct ClientEvent f32 camera_point_target_z; } deathscreen; struct{ + std::string* formspec; + } show_formspec; + struct{ } textures_updated; }; }; |