diff options
author | Kahrl <kahrl@gmx.net> | 2011-09-07 19:21:28 +0200 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2011-09-07 19:21:28 +0200 |
commit | c0b35fa429c68b49b2d6a5124aff6dcc31400b63 (patch) | |
tree | 32a3c9856e7f34bf1055177ba3f939624dc0c695 /src/environment.h | |
parent | d28ea57083481bff8180249fc8b43f7ed7b18545 (diff) | |
download | minetest-c0b35fa429c68b49b2d6a5124aff6dcc31400b63.tar.gz minetest-c0b35fa429c68b49b2d6a5124aff6dcc31400b63.tar.bz2 minetest-c0b35fa429c68b49b2d6a5124aff6dcc31400b63.zip |
Removed unused camera_position and camera_direction fields from Client. Moved ClientEnvironment::drawPostFx to ClientMap::renderPostFx -- this will make the camera management classes easier to write, as ClientMap already knows the camera position but ClientEnvironment doesn't and has to be told about it. This also eliminates the need for Client::getEnv(). Made the post effect color a content feature defined in content_mapnode.h.
Diffstat (limited to 'src/environment.h')
-rw-r--r-- | src/environment.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/environment.h b/src/environment.h index d9248d2ad..055e2b1f6 100644 --- a/src/environment.h +++ b/src/environment.h @@ -406,9 +406,6 @@ public: // Get event from queue. CEE_NONE is returned if queue is empty. ClientEnvEvent getClientEvent(); - - // Post effects - void drawPostFx(video::IVideoDriver* driver, v3f camera_pos); private: ClientMap *m_map; |