diff --git a/doc/html/SDLGL__Util_8h-source.html b/doc/html/SDLGL__Util_8h-source.html index 5adda14..93225c4 100755 --- a/doc/html/SDLGL__Util_8h-source.html +++ b/doc/html/SDLGL__Util_8h-source.html @@ -18,7 +18,7 @@ 00010 GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord); 00011 00012 #endif //__sdlgl_h__ -
Defines | |
-#define | USE_SDL_TTF |
+#define | USE_OPENGL |
Define to include OpenGL support (MUST be defined, may become optional in future). | |
+#define | USE_SDL_TTF |
Define to include font support. | |
-#define | USE_SDL_IMAGE |
+#define | USE_SDL_IMAGE |
Define to include non-bmp image file support. | |
-#define | USE_SDL_MIXER |
+#define | USE_SDL_MIXER |
Define to include sound support. | |
-#define | DEBUG_STREAM |
Undefine to disable debug streams for Error Handler. | |
-#define | VERSION "0.7.6" | VERSION "0.8.2" |
Version number. |
#include "SDL_mixer.h"
#include <string>
#include <vector>
#include <fstream>
#include <queue>
#include <list>
#include <fstream>
#include <cstdio>
#include <cstdlib>
#include <cstdarg>
+Source file containing open utilities for use inside and alongside ZEngine. +
+#include "ZE_Utility.h"
+
Namespaces | |
namespace | ZE |
00001 /******************************************************************************* +00002 This file is Part of the ZEngine Library for 2D game development. +00003 Copyright (C) 2002, 2003 James Turk +00004 +00005 Licensed under a BSD-style license. +00006 +00007 The maintainer of this library is James Turk (james@conceptofzero.net) +00008 and the home of this Library is http://www.zengine.sourceforge.net +00009 *******************************************************************************/ +00010 +00025 #ifndef __ze_utility_h__ +00026 #define __ze_utility_h__ +00027 +00028 #include "ZE_Includes.h" +00029 +00030 namespace ZE +00031 { +00032 +00042 string FormatStr(const char *fmtstr, ...); +00043 +00045 //Macros// +00047 +00051 #define FreeImage(image) if(image){SDL_FreeSurface(image); image = NULL;} +00052 +00053 #ifdef USE_SDL_MIXER +00054 +00057 #define FreeSound(sound) if(sound){Mix_FreeChunk(sound); sound = NULL;} +00058 +00061 #define FreeMusic(music) if(music){Mix_FreeMusic(music); music = NULL;} +00062 #endif +00063 +00064 #ifdef USE_SDL_TTF +00065 +00068 #define FreeFont(font) if(font){TTF_CloseFont(font); font = NULL;} +00069 #endif +00070 +00071 +00072 } +00073 +00074 #endif //__ze_utility_h__ +00075 +
+Definition file for ZEngine Utilities which are used throughout the engine and can be used in conjunction with ZEngine. +
+#include "ZE_Includes.h"
+
+
+Go to the source code of this file.
Namespaces | |
namespace | ZE |
Defines | |
#define | FreeImage(image) if(image){SDL_FreeSurface(image); image = NULL;} |
#define | FreeSound(sound) if(sound){Mix_FreeChunk(sound); sound = NULL;} |
#define | FreeMusic(music) if(music){Mix_FreeMusic(music); music = NULL;} |
#define | FreeFont(font) if(font){TTF_CloseFont(font); font = NULL;} |
+
+
|
+
+ + | +
+
+ +Safely free an SDL_Surface* and set it to NULL. |
+
+
+
|
+
+ + | +
+
+ +Safely free a Mix_Chunk* and set it to NULL. |
+
+
+
|
+
+ + | +
+
+ +Safely free a Mix_Music* and set it to NULL. |
+
+
+
|
+
+ + | +
+
+ +Safely free a TTF_Font and set it to NULL. |
+
-Actual implementation of ZEngine singleton class at heart of ZEngine. +Actual implementation of ZEngine singleton class, the core of ZEngine.
#include "ZE_ZEngine.h"
Namespaces | |
namespace | ZE |
ZEngine Game Engine core Engine definition.
-#include "ZE_Error.h"
#include "ZE_Defines.h"
-#include "ZE_Macros.h"
+#include "ZE_Utility.h"
#include "ZE_Includes.h"
+#include "ZE_ZError.h"
Go to the source code of this file.
Namespaces | |
namespace | ZE |
+Implementation of ZError, the ZEngine internal error information storage class. +
+#include "ZE_ZError.h"
+
Namespaces | |
namespace | ZE |
00001 /******************************************************************************* +00002 This file is Part of the ZEngine Library for 2D game development. +00003 Copyright (C) 2002, 2003 James Turk +00004 +00005 Licensed under a BSD-style license. +00006 +00007 The maintainer of this library is James Turk (james@conceptofzero.net) +00008 and the home of this Library is http://www.zengine.sourceforge.net +00009 *******************************************************************************/ +00010 +00025 #ifndef __ze_zerror_h__ +00026 #define __ze_zerror_h__ +00027 +00028 #include "ZE_Utility.h" +00029 #include <string> +00030 using namespace std; +00031 +00032 namespace ZE +00033 { +00034 +00036 +00040 enum ZErrorCode +00041 { +00042 ZERR_NONE, +00043 ZERR_SDL_INTERNAL, +00044 ZERR_SDL_INIT, +00045 ZERR_MIX_INIT, +00046 ZERR_TTF_INIT, +00047 ZERR_VIDMODE, +00048 ZERR_LOAD_IMAGE, +00049 ZERR_LOAD_SOUND, +00050 ZERR_LOAD_MUSIC, +00051 ZERR_LOAD_FONT, +00052 ZERR_NOIMAGE, +00053 ZERR_NOSOUND, +00054 ZERR_NOMUSIC, +00055 ZERR_NOFONT, +00056 ZERR_LAST +00057 }; +00058 +00065 class ZError +00066 { +00067 protected: +00069 static string sErrorDesc[ZERR_LAST]; +00071 ZErrorCode rCode; +00073 string rDescription; +00075 string rFilename; +00077 unsigned int rLine; +00078 +00079 public: +00089 ZError(ZErrorCode code=ZERR_NONE, string desc="", string file="", int line=0); +00090 +00100 void Create(ZErrorCode code, string desc="", string file="", int line=0); +00101 +00103 //Accessors// +00105 +00112 ZErrorCode Code() const; +00113 +00119 string LogString() const; +00120 }; +00121 +00122 } +00123 +00124 #endif //__ze_zerror_h__ +
+Definition file for ZError, the Error logging class for ZEngine. This class should never be used by the average user, it is used by ZEngine to store information on an error. +
+#include "ZE_Utility.h"
+#include <string>
+
+
+Go to the source code of this file.
Namespaces | |
namespace | ZE |
00001 -00052 #ifndef __zengine_h__ -00053 #define __zengine_h__ -00054 -00055 #include "ZE_ZEngine.h" -00056 #include "ZE_Macros.h" -00057 #include "ZE_ZImage.h" -00058 #include "ZE_ZTimer.h" -00059 #include "ZE_ZConfigFile.h" -00060 #include "ZE_ZRect.h" -00061 #ifdef USE_SDL_TTF -00062 #include "ZE_ZFont.h" -00063 #endif -00064 #ifdef USE_SDL_MIXER -00065 #include "ZE_ZSound.h" -00066 #include "ZE_ZMusic.h" -00067 #endif -00068 -00069 #endif //__zengine_h__ -
#include "ZE_ZEngine.h"
-#include "ZE_Macros.h"
+#include "ZE_Utility.h"
#include "ZE_ZImage.h"
#include "ZE_ZTimer.h"
#include "ZE_ZConfigFile.h"
@@ -31,7 +31,7 @@ Header file for ZEngine Game Engine from Concept of Zero, this is the file that
Go to the source code of this file.
CleanString(string str) | ZE::ZConfigFile | [private] |
CleanString(string str) const | ZE::ZConfigFile | [private] |
Close() | ZE::ZConfigFile | |
Exists(string sec) | ZE::ZConfigFile | [private] |
Exists(string sec, string var) | ZE::ZConfigFile | [private] |
Exists(string sec) const | ZE::ZConfigFile | [private] |
Exists(string sec, string var) const | ZE::ZConfigFile | [private] |
Flush() | ZE::ZConfigFile | |
GetBool(string section, string var, bool defVal) | ZE::ZConfigFile | |
GetInt(string section, string var, int defVal) | ZE::ZConfigFile | |
GetString(string section, string var, string defVal) | ZE::ZConfigFile | |
GetVariable(string sec, string var, string defVal) | ZE::ZConfigFile | [private] |
GetBool(string section, string var, bool defVal) const | ZE::ZConfigFile | |
GetInt(string section, string var, int defVal) const | ZE::ZConfigFile | |
GetString(string section, string var, string defVal) const | ZE::ZConfigFile | |
GetVariable(string sec, string var, string defVal) const | ZE::ZConfigFile | [private] |
mFileLayout | ZE::ZConfigFile | [private] |
mFilename | ZE::ZConfigFile | [private] |
Process(string filename) | ZE::ZConfigFile | |
ZObject() | ZE::ZObject | [inline] |
~ZConfigFile() | ZE::ZConfigFile | |
~ZObject() | ZE::ZObject | [inline, virtual] |
[private]
[private]
[private]
[private]
[private]
[private]
[private]
[private]
section | ZE::ZConfigFile::ZCF_Section | |
varList | ZE::ZConfigFile::ZCF_Section |
val | ZE::ZConfigFile::ZCF_Variable | |
var | ZE::ZConfigFile::ZCF_Variable |
void ZE::ZEngine::CreateDisplay | +bool ZE::ZEngine::CreateDisplay | ( | string | title, | @@ -426,7 +462,7 @@ Set sound settings to specified parameters. (called before CreateDisplay)
-SetupDisplay and SetupSound should be called prior to this to change settings, settings from those do not go into effect until this function is called. Specify no icon file to use default OS icon. +SetupDisplay and SetupSound should be called prior to this to change settings, settings from those do not go into effect until this function is called. Specify no icon file to use default icon. Returns result of setting up ZEngine, and logs error if false is returned (returns bool in versions >= 0.8.2).
|
@@ -752,11 +788,106 @@ Unpause ZEngine timer and all <
-Get double that describes the time passed between screen updates. (used for Framerate Independant Movement)
+
+
|
+
+ + | +
+
+ +Get double representing current (approximate) FPS. This value is always the same as 1/GetFrameTime().
|
+
+
+
|
+
+ + | +
+
+ +Sets desired framerate, if engine gets ahead of desired rate during a frame it will stall in Update until current framerate is closer to that desired. Acceptable values are 1-255, setting this value to 0 will disable this feature. (Desired framerate is disabled upon initialization of ZEngine.)
|
+
+
+
|
+
+ + | +
+
+ +Get desired framerate set by SetDesiredFramerate.
|
+
@@ -785,7 +916,7 @@ Find out if engine timer is paused.
|
@@ -814,7 +945,7 @@ Function to find out if application currently has focus.
|
@@ -842,7 +973,7 @@ Function to find out if application currently has focus.
|
@@ -867,11 +998,11 @@ Tell the engine that it should behave as if a Quit was requested, does not call |
-Function to find out if user or operating system has requested program cease execution, can be set by Alt-F4, SDL_Quit event or ZEngine::RequestQuit().
|
@@ -905,7 +1036,7 @@ Function to find out if user or operating system has requested program cease exe |
@@ -934,7 +1065,7 @@ Function that is good to call every frame to check if images should be reloaded, |
@@ -970,7 +1101,7 @@ Calls SDL_EnableKeyRepeat(rate,rate) because usually this is the desired movemen |
@@ -1005,7 +1136,7 @@ Function returns true/false based on if key is currently pressed or not. |
@@ -1040,7 +1171,7 @@ Function returns true/false based on if key has been pressed since last check. < |
@@ -1068,7 +1199,7 @@ Function returns true/false based on if key has been pressed since last check. < Hide the system mouse cursor. |
@@ -1096,7 +1227,7 @@ Hide the system mouse cursor. | Show the system mouse cursor.
@@ -1125,7 +1256,7 @@ Find X Position of Mouse on screen.
|
@@ -1154,7 +1285,7 @@ Find Y Position of Mouse on screen.
|
@@ -1183,7 +1314,7 @@ Get pressed status of left button of mouse.
|
@@ -1212,7 +1343,7 @@ Get pressed status of right button of mouse.
|
@@ -1247,7 +1378,7 @@ Return status of mouse in current rectangle (used for buttons)
|
@@ -1275,7 +1406,240 @@ Return status of mouse in current rectangle (used for buttons)
|
+
+
|
+
+ + | +
+
+ +Writes error to current error file.
|
+
+
+
|
+
+ + | +
+
+ +Change the way errors are logged and the file they are logged to, before calling this errors are logged to stderr. (SDL may define stderr.txt on some platforms.)
|
+
+
+
|
+
+ + | +
+
+ +Adds the error to the the error queue, and sets the current error to this error.
|
+
+
+
|
+
+ + | +
+
+ +Get the last error reported.
|
+
+
+
|
+
+ + | +
+
+ +Write a string to the log, allowing special usage of the error log.
|
+
+
+
|
+
+ + | +
+
+ +Write the error stack to the error log.
|
+
@@ -1310,7 +1674,7 @@ Loads an Image to an ImageData class which keeps vital information on the Image. |
@@ -1345,7 +1709,7 @@ Loads a Sound to a SoundData class which keeps vital information on the Sound |
@@ -1380,7 +1744,7 @@ Loads a Music Clip to a MusicData class which keeps vital information on the Mus |
@@ -1425,7 +1789,7 @@ Loads a Font to a FontData class which keeps vital information on the Font |
@@ -1454,7 +1818,7 @@ Get Width of Window or Fullscreen mode.
|
@@ -1483,7 +1847,7 @@ Get Height of Window or Fullscreen mode.
|
@@ -1512,7 +1876,7 @@ Get BPP of Window or Fullscreen mode.
|
@@ -1543,7 +1907,7 @@ Get Fullscreen setting of Display.
|
Code() const | ZE::ZError | |
Create(ZErrorCode code, string desc="", string file="", int line=0) | ZE::ZError | |
LogString() const | ZE::ZError | |
rCode | ZE::ZError | [protected] |
rDescription | ZE::ZError | [protected] |
rFilename | ZE::ZError | [protected] |
rLine | ZE::ZError | [protected] |
sErrorDesc | ZE::ZError | [protected, static] |
ZError(ZErrorCode code=ZERR_NONE, string desc="", string file="", int line=0) | ZE::ZError |
#include <ZE_ZError.h>
++
Public Methods | |
ZError (ZErrorCode code=ZERR_NONE, string desc="", string file="", int line=0) | |
Default constructor for ZError. | |
void | Create (ZErrorCode code, string desc="", string file="", int line=0) |
Set members of error object. | |
ZErrorCode | Code () const |
Get ZErrorCode of error. | |
string | LogString () const |
Get formatted string for log file. | |
Protected Attributes | |
+ZErrorCode | rCode |
Error ID. | |
+string | rDescription |
Error Description. | |
+string | rFilename |
File which error occured in. | |
+unsigned int | rLine |
Line which error occured on. | |
Static Protected Attributes | |
string | sErrorDesc [ZERR_LAST] |
Static Array of Error Identifiers. |
+
+
|
+
+ + | +
+
+ +Make new ZError object, by default set rCode to ZERR_NONE with no description.
|
+
+
+
|
+
+ + | +
+
+ +Set new values in ZError object.
|
+
+
+
|
+
+ + | +
+
+ +Access ZErrorCode of the ZError object.
|
+
+
+
|
+
+ + | +
+
+ +Return the string to be written to the logfile. Called by ZEngine in LogError. |
+
+
+
|
+
+ + | +
+
+ +Initial value: +{ + "No Error. [%s]", + "SDL Error. [%s]", + "Error Initializing SDL: %s", "Error Initializing SDL_mixer: %s", "Error Initializing SDL_ttf: %s", + "Error Creating Display: %s", + "Failed to load Image: %s", "Failed to load Sound: %s", "Failed to load Music: %s", "Failed to load Font: %s", + "Called ZImage::%s with no Image loaded.", "Called ZSound::%s with no Sound loaded.", + "Called ZMusic::%s with no Music loaded.", "Called ZFont::%s with no Font loaded." +} + |
+
DrawShadedText(string text, ZImage &image) | ZE::ZFont | |
DrawText(string text, ZImage &image) | ZE::ZFont | |
Height() | ZE::ZFont | |
IsBold() | ZE::ZFont | |
IsItalic() | ZE::ZFont | |
IsLoaded() | ZE::ZFont | |
IsUnderlined() | ZE::ZFont | |
LineSkip() | ZE::ZFont | |
DrawShadedText(string text, ZImage &image) const | ZE::ZFont | |
DrawText(string text, ZImage &image) const | ZE::ZFont | |
Height() const | ZE::ZFont | |
IsBold() const | ZE::ZFont | |
IsItalic() const | ZE::ZFont | |
IsLoaded() const | ZE::ZFont | |
IsUnderlined() const | ZE::ZFont | |
LineSkip() const | ZE::ZFont | |
Open(string filename, int size) | ZE::ZFont | |
rBGColor | ZE::ZFont | [protected] |
rColor | ZE::ZFont | [protected] |
SetBGColor(Uint8 r, Uint8 g, Uint8 b) | ZE::ZFont | |
SetColor(Uint8 r, Uint8 g, Uint8 b) | ZE::ZFont | |
SetStyle(bool bold, bool italic, bool underline) | ZE::ZFont | |
StringHeight(string text) | ZE::ZFont | |
StringWidth(string text) | ZE::ZFont | |
StringHeight(string text) const | ZE::ZFont | |
StringWidth(string text) const | ZE::ZFont | |
ZFont() | ZE::ZFont | |
ZFont(string filename, int size) | ZE::ZFont | |
ZObject() | ZE::ZObject | [inline] |
~ZFont() | ZE::ZFont | |
~ZObject() | ZE::ZObject | [inline, virtual] |
Attach(SDL_Surface *surface) | ZE::ZImage | |
Bind() | ZE::ZImage | |
Draw(float x, float y) | ZE::ZImage | |
DrawRotated(int x, int y, float angle) | ZE::ZImage | |
Flip(bool horizontal, bool vertical) | ZE::ZImage | |
Height() | ZE::ZImage | |
IsLoaded() | ZE::ZImage | |
Open(string filename) | ZE::ZImage | |
OpenFromImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h) | ZE::ZImage | |
Release() | ZE::ZImage | |
Reload() | ZE::ZImage | |
Attach(SDL_Surface *surface) | ZE::ZImage | |
Bind() const | ZE::ZImage | |
Draw(float x, float y) const | ZE::ZImage | |
DrawRotated(int x, int y, float angle) const | ZE::ZImage | |
Flip(bool horizontal, bool vertical) | ZE::ZImage | |
Height() const | ZE::ZImage | |
IsLoaded() const | ZE::ZImage | |
Open(string filename) | ZE::ZImage | |
OpenFromImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h) | ZE::ZImage | |
Release() | ZE::ZImage | |
Reload() | ZE::ZImage | |
rEngine | ZE::ZObject | [protected] |
Resize(unsigned int width, unsigned int height) | ZE::ZImage | |
Resize(unsigned int width, unsigned int height) | ZE::ZImage | |
rHeight | ZE::ZImage | [protected] |
rImage | ZE::ZImage | [protected] |
rTexID | ZE::ZImage | [protected] |
rTexMinX | ZE::ZImage | [protected] |
rTexMinY | ZE::ZImage | [protected] |
rWidth | ZE::ZImage | [protected] |
SetColorKey(Uint8 red, Uint8 green, Uint8 blue) | ZE::ZImage | |
Stretch(float xFactor, float yFactor) | ZE::ZImage | |
Surface() | ZE::ZImage | |
Width() | ZE::ZImage | |
SetColorKey(Uint8 red, Uint8 green, Uint8 blue) | ZE::ZImage | |
Stretch(float xFactor, float yFactor) | ZE::ZImage | |
Surface() const | ZE::ZImage | |
Width() const | ZE::ZImage | |
ZImage() | ZE::ZImage | |
ZImage(string filename) | ZE::ZImage | |
ZImage(SDL_Surface *surface) | ZE::ZImage | |
ZImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h) | ZE::ZImage | |
ZImage(string filename) | ZE::ZImage | |
ZImage(SDL_Surface *surface) | ZE::ZImage | |
ZImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h) | ZE::ZImage | |
ZImage::ZImage(const ZImage &rhs) | ZE::ZImage | |
ZObject() | ZE::ZObject | [inline] |
~ZImage() | ZE::ZImage | |
~ZImage() | ZE::ZImage | |
~ZObject() | ZE::ZObject | [inline, virtual] |
@@ -139,7 +141,7 @@ Default Constructor, initializes variables. |
-Constructor is same as calling ZImage::Open() on passed filename.
|
@@ -173,7 +175,7 @@ Constructor is same as calling ZI |
-Constructor is same as calling ZImage::Attach() on passed SDL_Surface*.
|
@@ -234,7 +236,7 @@ Constructor is same as calling ZI |
-Constructor is same as calling ZImage::OpenFromImage. +Constructor is same as calling ZImage::OpenFromImage.
|
@@ -699,7 +735,7 @@ OpenGL related bind call, only available in case you want to bind image in 3D. D | |||||
) | -+ | const |
@@ -749,7 +785,7 @@ Draw Image to screen at specified location.
|
@@ -784,7 +820,7 @@ Image is rotated about it's own center by specified angle, then drawn to screen. | ( | ) | -+ | const |
@@ -813,7 +849,7 @@ Check if surface is a valid GL texture. (does not detect surface loss)
|
) | -+ | const |
@@ -842,7 +878,7 @@ Check if surface is a valid GL texture. (does not detect surface loss)
|
) | -+ | const |
@@ -871,7 +907,7 @@ Get Current Width of Image.
|
IsLoaded() | ZE::ZMusic | |
IsPaused() | ZE::ZMusic | |
IsPlaying() | ZE::ZMusic | |
IsLoaded() const | ZE::ZMusic | |
IsPaused() const | ZE::ZMusic | |
IsPlaying() const | ZE::ZMusic | |
LoopInfinite | ZE::ZMusic | [static] |
Open(string filename) | ZE::ZMusic | |
Pause() | ZE::ZMusic | |
Play(int loopNum=0, int fadeTime=0) | ZE::ZMusic | |
Pause() const | ZE::ZMusic | |
Play(int loopNum=0, int fadeTime=0) const | ZE::ZMusic | |
Release() | ZE::ZMusic | |
rEngine | ZE::ZObject | [protected] |
Rewind() | ZE::ZMusic | |
Rewind() const | ZE::ZMusic | |
rMusic | ZE::ZMusic | [protected] |
SetVolume(int volume) | ZE::ZMusic | |
Stop(int fadeTime=0) | ZE::ZMusic | |
Unpause() | ZE::ZMusic | |
Volume() | ZE::ZMusic | |
Stop(int fadeTime=0) const | ZE::ZMusic | |
Unpause() const | ZE::ZMusic | |
Volume() const | ZE::ZMusic | |
ZMusic() | ZE::ZMusic | |
ZMusic(string filename) | ZE::ZMusic | |
ZObject() | ZE::ZObject | [inline] |
~ZMusic() | ZE::ZMusic | |
~ZObject() | ZE::ZObject | [inline, virtual] |
[protected]
[inline]
[inline, virtual]
IsLoaded() | ZE::ZSound | |
IsPaused() | ZE::ZSound | |
IsPlaying() | ZE::ZSound | |
IsLoaded() const | ZE::ZSound | |
IsPaused() const | ZE::ZSound | |
IsPlaying() const | ZE::ZSound | |
LoopInfinite | ZE::ZSound | [static] |
Open(string filename) | ZE::ZSound | |
Pause() | ZE::ZSound | |
Pause() const | ZE::ZSound | |
Play(int loopNum=0, int fadeTime=0) | ZE::ZSound | |
rChannelID | ZE::ZSound | [protected] |
Release() | ZE::ZSound | |
rEngine | ZE::ZObject | [protected] |
rSound | ZE::ZSound | [protected] |
SetVolume(int volume) | ZE::ZSound | |
Stop(int fadeTime=0) | ZE::ZSound | |
Unpause() | ZE::ZSound | |
Volume() | ZE::ZSound | |
Stop(int fadeTime=0) const | ZE::ZSound | |
Unpause() const | ZE::ZSound | |
Volume() const | ZE::ZSound | |
ZObject() | ZE::ZObject | [inline] |
ZSound() | ZE::ZSound | |
ZSound(string filename) | ZE::ZSound | |
~ZObject() | ZE::ZObject | [inline, virtual] |
~ZSound() | ZE::ZSound |
GetParentTime() | ZE::ZTimer | [protected] |
GetTime() | ZE::ZTimer | |
IsPaused() | ZE::ZTimer | |
GetParentTime() const | ZE::ZTimer | [protected] |
GetTime() const | ZE::ZTimer | |
IsPaused() const | ZE::ZTimer | |
Pause() | ZE::ZTimer | |
rEngine | ZE::ZObject | [protected] |
Reset() | ZE::ZTimer | |
ZObject() | ZE::ZObject | [inline] |
ZTimer(bool useZEngine=true) | ZE::ZTimer | |
~ZObject() | ZE::ZObject | [inline, virtual] |
[protected]
[protected]
/include/ZE_Defines.h [code] | Define file for ZEngine |
/include/ZE_Error.h [code] | Definition file for ZEngine Error Handling Functions |
/include/ZE_Includes.h [code] | Include file for SDL and C++ Includes that many ZEngine files need |
/include/ZE_Macros.h [code] | Definition file for ZEngine Macros |
/include/ZE_Utility.h [code] | Definition file for ZEngine Utilities |
/include/ZE_ZConfigFile.h [code] | Definition file for ZConfigFile |
/include/ZE_ZEngine.h [code] | Definition file for core ZEngine class |
/include/ZE_ZError.h [code] | Definition file for ZError |
/include/ZE_ZFont.h [code] | Definition file for ZFont |
/include/ZE_ZImage.h [code] | Definition file for ZImage |
/include/ZE_ZMusic.h [code] | Definition file for ZMusic |
/include/ZEngine.h [code] | Header file for ZEngine |
/include/external/physfsrwops.h [code] | |
/include/external/SDLGL_Util.h [code] | |
/src/ZE_Error.cpp | Source file for error logging utilities |
/src/ZE_Utility.cpp | Source file for ZEngine utility functions |
/src/ZE_ZConfigFile.cpp | Source file for ZConfigFile |
/src/ZE_ZEngine.cpp | Central source file for ZEngine |
/src/ZE_ZError.cpp | Source file for ZError |
/src/ZE_ZFont.cpp | Source file for ZFont |
/src/ZE_ZImage.cpp | Source file for ZImage |
/src/ZE_ZMusic.cpp | Source file for ZMusic |
/src/ZE_ZSound.cpp | Source file for ZSound |
/src/ZE_ZTimer.cpp | Source file for ZTimer |
-Here is a list of all documented file members with links to the documentation:
-
This file is Part of the ZEngine Library for 2D game development. @@ -36,7 +36,7 @@ Contributing Authors
+
+
|
+
+ + | +
+
+ +All the error codes currently possibly by ZEngine, note that ZERR_LAST is not used as an error code, but instead as a range check on the others.
|
+
-
-
|
-
- - | -
-
- -Get string describing error given appropriate details.
|
-
-
-
|
-
- - | -
-
- -Log error to stderr, describing error given appropriate details.
|
-
@@ -195,7 +170,7 @@ Takes identifiers out of fmtstr and parses them, replacing them with coorespond |
-Here is a list of all documented namespace members with links to the namespaces they belong to:
ZE | ZEngine Namespace |