diff options
author | Stijn Buys <ingar@osirion.org> | 2009-08-18 09:24:15 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-08-18 09:24:15 +0000 |
commit | f030154fe727e25a2afe1f78b3998c2d2dba95e4 (patch) | |
tree | cd92baf9e4fa8a136523b9eb570e9811846c9250 /src/client/video.h | |
parent | 5636fad174f0bcff857c357c394c4cc8d424b302 (diff) |
astyle cleanup, corrects not loading of material textures
Diffstat (limited to 'src/client/video.h')
-rw-r--r-- | src/client/video.h | 67 |
1 files changed, 34 insertions, 33 deletions
diff --git a/src/client/video.h b/src/client/video.h index 978a876..93c3ce0 100644 --- a/src/client/video.h +++ b/src/client/video.h @@ -1,7 +1,7 @@ /* client/video.h - This file is part of the Osirion project and is distributed under - the terms and conditions of the GNU General Public License version 2 + This file is part of the Osirion project and is distributed under + the terms and conditions of the GNU General Public License version 2 */ #ifndef __INCLUDED_CLIENT_VIDEO_H__ @@ -9,40 +9,41 @@ #include "core/cvar.h" -namespace client { +namespace client +{ /// the video subsystem -namespace video +namespace video { - /// initialize the video subsystem - bool init(); - - /// shutdown the video subsystem - void shutdown(); - - /// re-initialize the video subsystems - /** the restart functions performs a full shutdown - * and re-initializes the video subsystem - */ - void restart(); - - /// application window resize event in windowed mode - void resize(int w, int h); - - /// draw the next client video frame - void frame(float elapsed); - - /// draw the loader screen - void frame_loader(); - - /// update the loader screen message - void set_loader_message(const std::string message); - - /// update the loader screen message - void set_loader_message(const char *message = 0); - - /// set the window caption - void set_caption(); +/// initialize the video subsystem +bool init(); + +/// shutdown the video subsystem +void shutdown(); + +/// re-initialize the video subsystems +/** the restart functions performs a full shutdown + * and re-initializes the video subsystem + */ +void restart(); + +/// application window resize event in windowed mode +void resize(int w, int h); + +/// draw the next client video frame +void frame(float elapsed); + +/// draw the loader screen +void frame_loader(); + +/// update the loader screen message +void set_loader_message(const std::string message); + +/// update the loader screen message +void set_loader_message(const char *message = 0); + +/// set the window caption +void set_caption(); } // namespace video |