]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/client.h
Decoration: Change divlen to sidelen
[dragonfireclient.git] / src / client.h
index 696385a9ab6b9f1f9f4e1477e3be62360ab75894..f0cc5586816372c007532ef6101854491784ddca 100644 (file)
@@ -186,8 +186,8 @@ struct ClientEvent
                        f32 camera_point_target_z;
                } deathscreen;
                struct{
-                       std::stringformspec;
-                       std::stringformname;
+                       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;
-                       v2fv2fdata;
-                       std::stringsdata;
+                       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);