X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fclient.h;h=f0cc5586816372c007532ef6101854491784ddca;hb=56093b6614a47b181bbce6d4e35d213a4e04120c;hp=696385a9ab6b9f1f9f4e1477e3be62360ab75894;hpb=49f6e347f01f72e8854308d5a54aaae337489555;p=dragonfireclient.git diff --git a/src/client.h b/src/client.h index 696385a9a..f0cc55868 100644 --- a/src/client.h +++ b/src/client.h @@ -186,8 +186,8 @@ struct ClientEvent f32 camera_point_target_z; } deathscreen; struct{ - std::string* formspec; - std::string* formname; + std::string *formspec; + std::string *formname; } show_formspec; struct{ } textures_updated; @@ -221,24 +221,26 @@ struct ClientEvent u32 id; } delete_particlespawner; struct{ - u32 id; - u8 type; - v2f* pos; - std::string* name; - v2f* scale; - std::string* text; - u32 number; - u32 item; - u32 dir; + u32 id; + u8 type; + v2f *pos; + std::string *name; + v2f *scale; + std::string *text; + u32 number; + u32 item; + u32 dir; + v2f *align; + v2f *offset; } hudadd; struct{ u32 id; } hudrm; struct{ u32 id; - u8 stat; - v2f* v2fdata; - std::string* sdata; + HudElementStat stat; + v2f *v2fdata; + std::string *sdata; u32 data; } hudchange; }; @@ -383,7 +385,7 @@ class Client : public con::PeerHandler, public InventoryManager, public IGameDef bool nodedefReceived() { return m_nodedef_received; } - void afterContentReceived(); + void afterContentReceived(IrrlichtDevice *device, gui::IGUIFont* font); float getRTT(void);