mirror of
https://github.com/minetest/minetest.git
synced 2025-07-06 01:40:21 +02:00
Add TOCLIENT_SHOW_FORMSPEC to display formspecs at client from lua
This commit is contained in:
@ -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
|
||||
@ -176,6 +177,9 @@ struct ClientEvent
|
||||
f32 camera_point_target_y;
|
||||
f32 camera_point_target_z;
|
||||
} deathscreen;
|
||||
struct{
|
||||
std::string* formspec;
|
||||
} show_formspec;
|
||||
struct{
|
||||
} textures_updated;
|
||||
};
|
||||
|
Reference in New Issue
Block a user