summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-15 13:13:18 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:43 +0200
commit01ae0daea501f47ec56a8368e530cb4176fc44cd (patch)
treee96893df69b86481dcc6d36d613d4b67e72c205f /src/client.h
parent45fc45a49e61c61646b9997840e92f25bb8ccde9 (diff)
downloadminetest-01ae0daea501f47ec56a8368e530cb4176fc44cd.tar.gz
minetest-01ae0daea501f47ec56a8368e530cb4176fc44cd.tar.bz2
minetest-01ae0daea501f47ec56a8368e530cb4176fc44cd.zip
Properly update textures in node definitions
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/client.h b/src/client.h
index abbbed2f8..148acc072 100644
--- a/src/client.h
+++ b/src/client.h
@@ -122,6 +122,7 @@ enum ClientEventType
CE_PLAYER_DAMAGE,
CE_PLAYER_FORCE_MOVE,
CE_DEATHSCREEN,
+ CE_TEXTURES_UPDATED
};
struct ClientEvent
@@ -143,6 +144,8 @@ struct ClientEvent
f32 camera_point_target_y;
f32 camera_point_target_z;
} deathscreen;
+ struct{
+ } textures_updated;
};
};
@@ -302,15 +305,11 @@ public:
ClientEvent getClientEvent();
inline bool accessDenied()
- {
- return m_access_denied;
- }
+ { return m_access_denied; }
inline std::wstring accessDeniedReason()
- {
- return m_access_denied_reason;
- }
-
+ { return m_access_denied_reason; }
+
float getRTT(void);
// IGameDef interface