Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Variable.html b/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Variable.html
index 1a7f67c..9137d09 100755
--- a/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Variable.html
+++ b/doc/html/classZE_1_1ZConfigFile_1_1ZCF__Variable.html
@@ -21,7 +21,7 @@ string ZE_ZConfigFile.h
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/classZE_1_1ZEngine-members.html b/doc/html/classZE_1_1ZEngine-members.html
index 2fe9545..b274c5f 100644
--- a/doc/html/classZE_1_1ZEngine-members.html
+++ b/doc/html/classZE_1_1ZEngine-members.html
@@ -7,37 +7,35 @@
Main Page Namespace List Compound List File List Namespace Members Compound Members File Members
ZE::ZEngine Member ListThis is the complete list of members for ZE::ZEngine, including all inherited members.
- AddPhysFSDir(string dir) | ZE::ZEngine | |
- BPP() | ZE::ZEngine | |
+ BPP() | ZE::ZEngine | |
CheckEvents() | ZE::ZEngine | |
Clear(float red=0.0f, float green=0.0f, float blue=0.0f, float alpha=1.0f) | ZE::ZEngine | |
CloseDisplay() | ZE::ZEngine | |
CreateDisplay(string title, string icon="") | ZE::ZEngine | |
Delay(Uint32 milliseconds) | ZE::ZEngine | |
Display() | ZE::ZEngine | |
- FlushErrors() | ZE::ZEngine | |
+ FlushErrors() | ZE::ZEngine | |
GetDesiredFramerate() | ZE::ZEngine | |
GetFramerate() | ZE::ZEngine | |
GetFrameTime() | ZE::ZEngine | |
GetInstance() | ZE::ZEngine | [static] |
- GetLastError() | ZE::ZEngine | |
+ GetLastError() | ZE::ZEngine | |
GetTime() | ZE::ZEngine | |
GetVersion() | ZE::ZEngine | [static] |
- Height() | ZE::ZEngine | |
+ Height() | ZE::ZEngine | |
HideCursor() | ZE::ZEngine | |
ImagesNeedReload() | ZE::ZEngine | |
Initialized() | ZE::ZEngine | |
- InitPhysFS(string argv) | ZE::ZEngine | |
IsActive() | ZE::ZEngine | |
- IsFullscreen() | ZE::ZEngine | |
+ IsFullscreen() | ZE::ZEngine | |
IsPaused() | ZE::ZEngine | |
KeyIsPressed(SDLKey key) | ZE::ZEngine | |
KeyPress(SDLKey key) | ZE::ZEngine | |
LButtonPressed() | ZE::ZEngine | |
- LoadFont(string filename, int size) | ZE::ZEngine | |
- LoadImage(string filename) | ZE::ZEngine | |
- LoadMusic(string filename) | ZE::ZEngine | |
- LoadSound(string filename) | ZE::ZEngine | |
+ LoadFont(string filename, int size) | ZE::ZEngine | |
+ LoadImage(string filename) | ZE::ZEngine | |
+ LoadMusic(string filename) | ZE::ZEngine | |
+ LoadSound(string filename) | ZE::ZEngine | |
LogError(ZError error) | ZE::ZEngine | [private] |
mActive | ZE::ZEngine | [private] |
mBPP | ZE::ZEngine | [private] |
@@ -72,17 +70,17 @@
mWidth | ZE::ZEngine | [private] |
PauseTimer() | ZE::ZEngine | |
QuitRequested() | ZE::ZEngine | |
- RandDouble() | ZE::ZEngine | |
- RandDouble(double min, double max) | ZE::ZEngine | |
- RandLong(unsigned long max) | ZE::ZEngine | |
- RandLong(long min, long max) | ZE::ZEngine | |
+ RandDouble() | ZE::ZEngine | |
+ RandDouble(double min, double max) | ZE::ZEngine | |
+ RandLong(unsigned long max) | ZE::ZEngine | |
+ RandLong(long min, long max) | ZE::ZEngine | |
RButtonPressed() | ZE::ZEngine | |
ReleaseInstance() | ZE::ZEngine | [static] |
- ReportError(ZErrorCode code, string desc="", string file="", unsigned int line=0) | ZE::ZEngine | |
+ ReportError(ZErrorCode code, string desc="", string file="", unsigned int line=0) | ZE::ZEngine | |
RequestQuit() | ZE::ZEngine | |
- SeedRandom(unsigned long seed) | ZE::ZEngine | |
+ SeedRandom(unsigned long seed) | ZE::ZEngine | |
SetDesiredFramerate(Uint8 rate) | ZE::ZEngine | |
- SetErrorLog(bool logAll, string logFile="") | ZE::ZEngine | |
+ SetErrorLog(bool logAll, string logFile="") | ZE::ZEngine | |
SetEventFilter(SDL_EventFilter filter) | ZE::ZEngine | |
SetGL2D() | ZE::ZEngine | |
SetKeyRepeatRate(int rate) | ZE::ZEngine | |
@@ -94,10 +92,10 @@
ToggleFullscreen() | ZE::ZEngine | |
UnpauseTimer() | ZE::ZEngine | |
Update() | ZE::ZEngine | |
- Width() | ZE::ZEngine | |
- WriteLog(string str) | ZE::ZEngine | |
+ Width() | ZE::ZEngine | |
+ WriteLog(string str) | ZE::ZEngine | |
ZEngine() | ZE::ZEngine | [private] |
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/classZE_1_1ZEngine.html b/doc/html/classZE_1_1ZEngine.html
index ddb1fca..b908f16 100644
--- a/doc/html/classZE_1_1ZEngine.html
+++ b/doc/html/classZE_1_1ZEngine.html
@@ -86,46 +86,42 @@
| Check for Activation, Window Manager, and Quit Events.
|
void | SetEventFilter (SDL_EventFilter filter) |
| Add a SDL Event Filter for user processing of events.
|
-void | InitPhysFS (string argv) |
- | Initialize PhysicsFS.
|
-void | AddPhysFSDir (string dir) |
- | Add Directory to PhysFS Search Path.
|
-void | SetErrorLog (bool logAll, string logFile="") |
- | Modify Error Logging.
|
-void | ReportError (ZErrorCode code, string desc="", string file="", unsigned int line=0) |
- | Report an error.
|
-ZErrorCode | GetLastError () |
- | Get the last error.
|
-void | WriteLog (string str) |
- | Write to the log.
|
-void | FlushErrors () |
- | Flush Stack of Errors to file.
|
-void | SeedRandom (unsigned long seed) |
- | Seed random number generator.
|
-unsigned long | RandLong (unsigned long max) |
- | Obtain random integer [0,max).
|
-long | RandLong (long min, long max) |
- | Obtain random integer [min,max].
|
-double | RandDouble () |
- | Obtain random double [0,1).
|
-double | RandDouble (double min, double max) |
- | Obtain random double [min,max].
|
-SDL_Surface * | LoadImage (string filename) |
- | Load an Image.
|
-Mix_Chunk * | LoadSound (string filename) |
- | Load a Sound.
|
-Mix_Music * | LoadMusic (string filename) |
- | Load a Music File.
|
-TTF_Font * | LoadFont (string filename, int size) |
- | Load a Font.
|
-int | Width () |
- | Get Current Display Width.
|
-int | Height () |
- | Get Current Display Height.
|
-int | BPP () |
- | Get Current Display BPP.
|
-bool | IsFullscreen () |
- | Get Fullscreen setting.
|
+void | SetErrorLog (bool logAll, string logFile="") |
+ | Modify Error Logging.
|
+void | ReportError (ZErrorCode code, string desc="", string file="", unsigned int line=0) |
+ | Report an error.
|
+ZErrorCode | GetLastError () |
+ | Get the last error.
|
+void | WriteLog (string str) |
+ | Write to the log.
|
+void | FlushErrors () |
+ | Flush Stack of Errors to file.
|
+void | SeedRandom (unsigned long seed) |
+ | Seed random number generator.
|
+unsigned long | RandLong (unsigned long max) |
+ | Obtain random integer [0,max).
|
+long | RandLong (long min, long max) |
+ | Obtain random integer [min,max].
|
+double | RandDouble () |
+ | Obtain random double [0,1).
|
+double | RandDouble (double min, double max) |
+ | Obtain random double [min,max].
|
+SDL_Surface * | LoadImage (string filename) |
+ | Load an Image.
|
+Mix_Chunk * | LoadSound (string filename) |
+ | Load a Sound.
|
+Mix_Music * | LoadMusic (string filename) |
+ | Load a Music File.
|
+TTF_Font * | LoadFont (string filename, int size) |
+ | Load a Font.
|
+int | Width () |
+ | Get Current Display Width.
|
+int | Height () |
+ | Get Current Display Height.
|
+int | BPP () |
+ | Get Current Display BPP.
|
+bool | IsFullscreen () |
+ | Get Fullscreen setting.
|
Static Public Methods |
ZEngine * | GetInstance () |
| Get Instance.
|
@@ -1524,74 +1520,6 @@ This is only needed when you need tight control with
-
-
-
-
-
- void ZE::ZEngine::InitPhysFS |
- ( |
- string |
- argv |
- ) |
- |
-
-
-
- |
-
-
-
-
-
-
- |
-
-
-
-Sets up PhysicsFS, must be called when application is started. - Parameters:
-
-
- argv | argv[0] from application's main. |
-
-
- |
-
-
-
-
-
-
-
-
- void ZE::ZEngine::AddPhysFSDir |
- ( |
- string |
- dir |
- ) |
- |
-
-
-
- |
-
-
-
-
-
-
- |
-
-
-
-Add Directory to PhysicsFS search path, the path it looks in for files when attempting to load. - Parameters:
-
-
- dir | Directory to add to search path. |
-
-
- |
-
-
@@ -1627,7 +1555,7 @@ Writes error to current error file. - Since:
- 0.8.2
-
+
@@ -1672,7 +1600,7 @@ Change the way errors are logged and the file they are logged to, before calling
|
-
+
@@ -1680,7 +1608,7 @@ Change the way errors are logged and the file they are logged to, before calling
|
void ZE::ZEngine::ReportError |
( |
- ZErrorCode |
+ ZErrorCode |
code, |
@@ -1731,13 +1659,13 @@ Adds the error to the the error queue, and sets the current error to this error.
-
+
- ZErrorCode ZE::ZEngine::GetLastError |
+ ZErrorCode ZE::ZEngine::GetLastError |
( |
|
) |
@@ -1761,7 +1689,7 @@ Get the last error reported. - Since:
- 0.8.2
-
+
@@ -1796,7 +1724,7 @@ Write a string to the log, allowing special usage of the error log.
|
-
+
@@ -1825,7 +1753,7 @@ Write the error stack to the error log. - Since:
- 0.
|
-
+
@@ -1860,7 +1788,7 @@ Reseed Mersenne Twister (MT19937) random number generator. NOTE: Generator is in
|
-
+
@@ -1896,7 +1824,7 @@ Obtain random long l where 0 <= l < max. - Since:
|
-
+
@@ -1942,7 +1870,7 @@ Obtain random long l where min <= l <= max. - Since:<
|
-
+
@@ -1972,7 +1900,7 @@ Obtain random double d where 0 <= d < 1. - Since:
|
-
+
@@ -2018,7 +1946,7 @@ Obtain random double d where min <= d <= max. - Since:
|
-
+
@@ -2053,7 +1981,7 @@ Loads an Image to an ImageData class which keeps vital information on the Image.
|
-
+
@@ -2088,7 +2016,7 @@ Loads a Sound to a SoundData class which keeps vital information on the Sound
|
-
+
@@ -2123,7 +2051,7 @@ Loads a Music Clip to a MusicData class which keeps vital information on the Mus
|
-
+
@@ -2168,7 +2096,7 @@ Loads a Font to a FontData class which keeps vital information on the Font
|
-
+
@@ -2197,7 +2125,7 @@ Get Width of Window or Fullscreen mode. - Returns:
-
|
-
+
@@ -2226,7 +2154,7 @@ Get Height of Window or Fullscreen mode. - Returns:
-
|
-
+
@@ -2255,7 +2183,7 @@ Get BPP of Window or Fullscreen mode. - Returns:
- BP
|
-
+
@@ -2286,7 +2214,7 @@ Get Fullscreen setting of Display. - Returns:
- True
|
The documentation for this class was generated from the following files:
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/classZE_1_1ZError-members.html b/doc/html/classZE_1_1ZError-members.html
index 3923638..a3f5926 100755
--- a/doc/html/classZE_1_1ZError-members.html
+++ b/doc/html/classZE_1_1ZError-members.html
@@ -19,7 +19,7 @@
sErrorDesc | ZE::ZError | [protected, static] |
ZError(ZErrorCode code=ZERR_NONE, string desc="", string file="", int line=0) | ZE::ZError | |
~ZError() | ZE::ZError | [virtual] |
- | Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/classZE_1_1ZError.html b/doc/html/classZE_1_1ZError.html
index 05b2193..9496b65 100755
--- a/doc/html/classZE_1_1ZError.html
+++ b/doc/html/classZE_1_1ZError.html
@@ -15,13 +15,13 @@
|
Public Methods |
- | ZError (ZErrorCode code=ZERR_NONE, string desc="", string file="", int line=0) |
+ | ZError (ZErrorCode code=ZERR_NONE, string desc="", string file="", int line=0) |
| Default constructor for ZError.
|
virtual | ~ZError () |
| Virtual Destructor.
|
-void | Create (ZErrorCode code, string desc="", string file="", int line=0) |
+void | Create (ZErrorCode code, string desc="", string file="", int line=0) |
| Set members of error object.
|
-ZErrorCode | Code () const |
+ZErrorCode | Code () const |
| Get ZErrorCode of error.
|
string | LogString () const |
| Get formatted string for log file.
|
@@ -32,7 +32,7 @@
| Destroy string table of error strings.
|
Protected Attributes |
-ZErrorCode | rCode |
+ZErrorCode rCode |
| Error ID.
|
string | rDescription |
@@ -57,7 +57,7 @@ string * ZE::ZError::ZError |
( |
- ZErrorCode |
+ ZErrorCode |
code = ZERR_NONE, |
@@ -200,7 +200,7 @@ Properly delete the string table, freeing all memory used by the strings.
void ZE::ZError::Create |
( |
- ZErrorCode |
+ ZErrorCode |
code, |
@@ -256,7 +256,7 @@ Set new values in ZError object.
- ZErrorCode ZE::ZError::Code |
+ ZErrorCode ZE::ZError::Code |
( |
|
) |
@@ -309,7 +309,7 @@ Return the string to be written to the logfile. Called by ZE_ZError.h/src/ZE_ZError.cpp
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/classZE_1_1ZFont-members.html b/doc/html/classZE_1_1ZFont-members.html
index bccdb07..56fc6e9 100644
--- a/doc/html/classZE_1_1ZFont-members.html
+++ b/doc/html/classZE_1_1ZFont-members.html
@@ -31,7 +31,7 @@
ZFont() | ZE::ZFont | |
ZFont(string filename, int size) | ZE::ZFont | |
~ZFont() | ZE::ZFont | [virtual] |
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ | Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/classZE_1_1ZFont.html b/doc/html/classZE_1_1ZFont.html
index fb90e80..bbd308a 100644
--- a/doc/html/classZE_1_1ZFont.html
+++ b/doc/html/classZE_1_1ZFont.html
@@ -764,7 +764,7 @@ Get Height of String in Current Font in Pixels. - Parameters:
The documentation for this class was generated from the following file:
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/classZE_1_1ZImage-members.html b/doc/html/classZE_1_1ZImage-members.html
index 0723d06..aa65227 100644
--- a/doc/html/classZE_1_1ZImage-members.html
+++ b/doc/html/classZE_1_1ZImage-members.html
@@ -45,7 +45,7 @@
ZImage(SDL_Surface *img, Sint16 x, Sint16 y, Sint16 w, Sint16 h) | ZE::ZImage | |
ZImage(const ZImage &img, Sint16 x, Sint16 y, Sint16 w, Sint16 h) | ZE::ZImage | |
~ZImage() | ZE::ZImage | [virtual] |
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/classZE_1_1ZImage.html b/doc/html/classZE_1_1ZImage.html
index 4cce4f9..32ee1c3 100644
--- a/doc/html/classZE_1_1ZImage.html
+++ b/doc/html/classZE_1_1ZImage.html
@@ -1240,7 +1240,7 @@ Get current alpha value of image. - Since:
- 0.8.2
The documentation for this class was generated from the following files:
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/classZE_1_1ZMusic-members.html b/doc/html/classZE_1_1ZMusic-members.html
index 68a3fba..295c767 100644
--- a/doc/html/classZE_1_1ZMusic-members.html
+++ b/doc/html/classZE_1_1ZMusic-members.html
@@ -25,7 +25,7 @@
ZMusic() | ZE::ZMusic | |
ZMusic(string filename) | ZE::ZMusic | |
~ZMusic() | ZE::ZMusic | [virtual] |
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/classZE_1_1ZMusic.html b/doc/html/classZE_1_1ZMusic.html
index 838edf3..f069ee5 100644
--- a/doc/html/classZE_1_1ZMusic.html
+++ b/doc/html/classZE_1_1ZMusic.html
@@ -524,7 +524,7 @@ Get current volume of music represented as a value from 0-128. - <
The documentation for this class was generated from the following file:
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/classZE_1_1ZRect-members.html b/doc/html/classZE_1_1ZRect-members.html
index ef1df9a..5c89d6a 100644
--- a/doc/html/classZE_1_1ZRect-members.html
+++ b/doc/html/classZE_1_1ZRect-members.html
@@ -36,7 +36,7 @@
ZRect(const SDL_Rect &rect) | ZE::ZRect | |
ZRect(const ZRect &rhs) | ZE::ZRect | |
~ZRect() | ZE::ZRect | [virtual] |
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/classZE_1_1ZRect.html b/doc/html/classZE_1_1ZRect.html
index 06edfa4..39ac9fd 100644
--- a/doc/html/classZE_1_1ZRect.html
+++ b/doc/html/classZE_1_1ZRect.html
@@ -979,7 +979,7 @@ Access private height member. - Returns:
- Value of m
The documentation for this class was generated from the following files:
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/classZE_1_1ZSound-members.html b/doc/html/classZE_1_1ZSound-members.html
index 638c228..c64fad8 100644
--- a/doc/html/classZE_1_1ZSound-members.html
+++ b/doc/html/classZE_1_1ZSound-members.html
@@ -25,7 +25,7 @@
ZSound() | ZE::ZSound | |
ZSound(string filename) | ZE::ZSound | |
~ZSound() | ZE::ZSound | [virtual] |
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/classZE_1_1ZSound.html b/doc/html/classZE_1_1ZSound.html
index 5eddcfa..bb61f5e 100644
--- a/doc/html/classZE_1_1ZSound.html
+++ b/doc/html/classZE_1_1ZSound.html
@@ -497,7 +497,7 @@ Get current volume of sound channel represented as a value from 0-128.
The documentation for this class was generated from the following file:
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/classZE_1_1ZTimer-members.html b/doc/html/classZE_1_1ZTimer-members.html
index 7b53af3..2936bad 100644
--- a/doc/html/classZE_1_1ZTimer-members.html
+++ b/doc/html/classZE_1_1ZTimer-members.html
@@ -20,7 +20,7 @@
Unpause() | ZE::ZTimer | |
ZTimer(bool useZEngine=true) | ZE::ZTimer | |
~ZTimer() | ZE::ZTimer | [virtual] |
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/classZE_1_1ZTimer.html b/doc/html/classZE_1_1ZTimer.html
index 5d05692..14992fb 100644
--- a/doc/html/classZE_1_1ZTimer.html
+++ b/doc/html/classZE_1_1ZTimer.html
@@ -285,7 +285,7 @@ Find out paused state of timer. - Returns:
- Paused s
The documentation for this class was generated from the following files:
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/files.html b/doc/html/files.html
index 1cdddee..3749d68 100644
--- a/doc/html/files.html
+++ b/doc/html/files.html
@@ -38,7 +38,7 @@
/src/ZE_ZSound.cpp | Source file for ZSound |
/src/ZE_ZTimer.cpp | Source file for ZTimer |
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:34 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/functions.html b/doc/html/functions.html
index 840a91d..9fe51b9 100644
--- a/doc/html/functions.html
+++ b/doc/html/functions.html
@@ -12,8 +12,7 @@
Here is a list of all documented class members with links to the class documentation for each member:
- b -
@@ -21,21 +20,16 @@ Here is a list of all documented class members with links to the class documenta
- Bind()
: ZE::ZImage
- Bottom()
: ZE::ZRect
- BPP()
-: ZE::ZEngine
+: ZE::ZEngine
- GetBool()
@@ -71,7 +64,7 @@ Here is a list of all documented class members with links to the class documenta
: ZE::ZEngine
- GetInstance()
: ZE::ZEngine
- GetInt()
: ZE::ZConfigFile
- GetLastError()
-: ZE::ZEngine
- GetParentTime()
+: ZE::ZEngine
- GetParentTime()
: ZE::ZTimer
- GetString()
: ZE::ZConfigFile
- GetTime()
: ZE::ZTimer, ZE::ZEngine
- GetVariable()
@@ -80,19 +73,18 @@ Here is a list of all documented class members with links to the class documenta
@@ -174,21 +166,19 @@ Here is a list of all documented class members with links to the class documenta
- rAlpha
: ZE::ZImage
- RandDouble()
-: ZE::ZEngine
- RandLong()
-: ZE::ZEngine
- rBGColor
+: ZE::ZEngine
- RandLong()
+: ZE::ZEngine
- rBGColor
: ZE::ZFont
- RButtonPressed()
: ZE::ZEngine
- rChannelID
-: ZE::ZSound
- rClientSockets
-: ZE::ZServer
- rCode
+: ZE::ZSound
- rCode
: ZE::ZError
- rColor
: ZE::ZFont
- rDescription
-: ZE::ZError
- Receive()
-: ZE::ZClient
- Release()
+: ZE::ZError
- Release()
: ZE::ZSound, ZE::ZMusic, ZE::ZImage, ZE::ZFont
- ReleaseInstance()
: ZE::ZEngine
- Reload()
: ZE::ZImage
- rEngine
-: ZE::ZTimer, ZE::ZSound, ZE::ZServer, ZE::ZMusic, ZE::ZImage, ZE::ZFont, ZE::ZClient
- ReportError()
-: ZE::ZEngine
- RequestQuit()
+: ZE::ZTimer, ZE::ZSound, ZE::ZMusic, ZE::ZImage, ZE::ZFont
- ReportError()
+: ZE::ZEngine
- RequestQuit()
: ZE::ZEngine
- Reset()
: ZE::ZTimer
- Resize()
: ZE::ZRect, ZE::ZImage, ZE::ZFont
- ResizeRel()
@@ -201,22 +191,17 @@ Here is a list of all documented class members with links to the class documenta
: ZE::ZRect
- rImage
: ZE::ZImage
- rLastPause
: ZE::ZTimer
- rLine
-: ZE::ZError
- rMaxClients
-: ZE::ZServer
- rMusic
+: ZE::ZError
- rMusic
: ZE::ZMusic
- rPaused
: ZE::ZTimer
- rPausedTime
-: ZE::ZTimer
- rSocket
-: ZE::ZServer, ZE::ZClient
- rSocketSet
-: ZE::ZServer, ZE::ZClient
- rSound
+: ZE::ZTimer
- rSound
: ZE::ZSound
- rTexID
: ZE::ZImage
- rTexMaxX
: ZE::ZImage
- rTexMaxY
: ZE::ZImage
- rTexMinX
: ZE::ZImage
- rTexMinY
: ZE::ZImage
- rUseZEngine
-: ZE::ZTimer
- rVerbose
-: ZE::ZServer, ZE::ZClient
- rWaitTime
-: ZE::ZServer, ZE::ZClient
- rWidth
+: ZE::ZTimer
- rWidth
: ZE::ZRect, ZE::ZImage
- rX
: ZE::ZRect
- rY
: ZE::ZRect
@@ -225,8 +210,7 @@ Here is a list of all documented class members with links to the class documenta
- SDLrect()
: ZE::ZRect
- section
: ZE::ZConfigFile::ZCF_Section
- SeedRandom()
-: ZE::ZEngine
- Send()
-: ZE::ZClient
- sErrorDesc
+: ZE::ZEngine
- sErrorDesc
: ZE::ZError
- SetAlpha()
: ZE::ZImage
- SetBGColor()
: ZE::ZFont
- SetBool()
@@ -234,7 +218,7 @@ Here is a list of all documented class members with links to the class documenta
: ZE::ZFont
- SetColorKey()
: ZE::ZImage
- SetDesiredFramerate()
: ZE::ZEngine
- SetErrorLog()
-: ZE::ZEngine
- SetEventFilter()
+: ZE::ZEngine
- SetEventFilter()
: ZE::ZEngine
- SetFloat()
: ZE::ZConfigFile
- SetGL2D()
: ZE::ZEngine
- SetInt()
@@ -246,12 +230,10 @@ Here is a list of all documented class members with links to the class documenta
: ZE::ZEngine
- SetupSound()
: ZE::ZEngine
- SetVariable()
: ZE::ZConfigFile
- SetVolume()
-: ZE::ZSound, ZE::ZMusic
- SetWaitTime()
-: ZE::ZServer, ZE::ZClient
- ShowCursor()
+: ZE::ZSound, ZE::ZMusic
- ShowCursor()
: ZE::ZEngine
- sInstance
-: ZE::ZEngine
- Start()
-: ZE::ZServer
- Stop()
-: ZE::ZSound, ZE::ZServer, ZE::ZMusic
- Stretch()
+: ZE::ZEngine
- Stop()
+: ZE::ZSound, ZE::ZMusic
- Stretch()
: ZE::ZImage
- StringHeight()
: ZE::ZFont
- StringWidth()
: ZE::ZFont
- Surface()
@@ -276,10 +258,9 @@ Here is a list of all documented class members with links to the class documenta
: ZE::ZSound, ZE::ZMusic
+ - Width()
+: ZE::ZRect, ZE::ZImage, ZE::ZEngine
- WriteLog()
+: ZE::ZEngine
- X()
@@ -290,32 +271,28 @@ Here is a list of all documented class members with links to the class documenta
: ZE::ZRect
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/globals.html b/doc/html/globals.html
index 5e52252..39b2bd4 100644
--- a/doc/html/globals.html
+++ b/doc/html/globals.html
@@ -7,27 +7,18 @@
Main Page Namespace List Compound List File List Namespace Members Compound Members File Members
ZEngine File Members
-f | m | u | v | z
+m | u | v | z
-Here is a list of all documented file members with links to the documentation:
-- m -
+Here is a list of all documented file members with links to the documentation:
+: ZE_Defines.h
@@ -36,8 +27,8 @@ Here is a list of all documented file members with links to the documentation:- z -
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+: ZE_Defines.h
+ Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/index.html b/doc/html/index.html
index e1717ed..e67d11b 100644
--- a/doc/html/index.html
+++ b/doc/html/index.html
@@ -36,7 +36,7 @@ Contributing Authors
James Turk james@conceptofzero.net - Core Engine, Design, Docs, and Classes
Gamer Tazar tazar@conceptofzero.net - OpenGL assistance
Sean sean@conceptofzero.net - MSVC++6 Project Files
- Kevin Watters kwatters@adelphia.net - Fix to ZImage::SetColorKey<br> Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Kevin Watters kwatters@adelphia.net - Fix to ZImage::SetColorKey<br> Generated on Sun Apr 27 21:57:34 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/mt19937ar_8h-source.html b/doc/html/mt19937ar_8h-source.html
index 7c8c85b..35cb0b0 100755
--- a/doc/html/mt19937ar_8h-source.html
+++ b/doc/html/mt19937ar_8h-source.html
@@ -29,7 +29,7 @@
00021 double genrand_res53(void);
00022
00023 #endif //__mt19937ar__
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:34 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/namespaceZE.html b/doc/html/namespaceZE.html
index d0bc367..04a06aa 100644
--- a/doc/html/namespaceZE.html
+++ b/doc/html/namespaceZE.html
@@ -16,8 +16,6 @@ Namespace for ZEngine classes a
|
Compounds |
-class | ZClient |
- | ZEngine class for a simplified TCP client. More...
|
class | ZConfigFile |
| ZConfigFile Class for use in ZEngine. More...
|
class | ZCF_Variable |
@@ -36,46 +34,52 @@ Namespace for ZEngine classes a
| ZMusic class for playing full length music (eg. ogg or wav). More...
|
class | ZRect |
| ZEngine class for simplified rectangle use. More...
|
-class | ZServer |
- | ZEngine class for simplified TCP server. More...
|
class | ZSound |
| ZSound class for playing sound effects. (WAV). More...
|
class | ZTimer |
| ZTimer class for Timer use. More...
|
Enumerations |
-enum | ZErrorCode {
- ZERR_NONE,
-ZERR_SDL_INTERNAL,
-ZERR_SDL_INIT,
-ZERR_MIX_INIT,
+ | enum | ZErrorCode {
+ ZERR_NONE,
+ZERR_SDL_INTERNAL,
+ZERR_SDL_INIT,
+ZERR_MIX_INIT,
- ZERR_TTF_INIT,
-ZERR_NET_INIT,
-ZERR_VIDMODE,
-ZERR_LOAD_IMAGE,
+ ZERR_TTF_INIT,
+ZERR_NET_INIT,
+ZERR_VIDMODE,
+ZERR_LOAD_IMAGE,
- ZERR_LOAD_SOUND,
-ZERR_LOAD_MUSIC,
-ZERR_LOAD_FONT,
-ZERR_NOIMAGE,
+ ZERR_LOAD_SOUND,
+ZERR_LOAD_MUSIC,
+ZERR_LOAD_FONT,
+ZERR_NOIMAGE,
- ZERR_NOSOUND,
-ZERR_NOMUSIC,
-ZERR_NOFONT,
-ZERR_NOSOCKET,
+ ZERR_NOSOUND,
+ZERR_NOMUSIC,
+ZERR_NOFONT,
+ZERR_NOSOCKET,
- ZERR_NET_CLIENT,
-ZERR_NET_SERVER,
-ZERR_LAST
+ ZERR_NET_CLIENT,
+ZERR_NET_SERVER,
+ZERR_LAST
} |
- | Enumeration of ZEngine error codes. More...
|
+ | Enumeration of ZEngine error codes. More...
|
Functions |
string | FormatStr (const char *fmtstr,...) |
| Parses a string and interprets variable arguments, similar to sprintf.
|
+void | FreeImage (SDL_Surface *&image) |
+ | Properly free SDL_Surface.
|
+void | FreeSound (Mix_Chunk *&chunk) |
+ | Properly free Mix_Chunk.
|
+void | FreeMusic (Mix_Music *&music) |
+ | Properly free Mix_Music.
|
+void | FreeFont (TTF_Font *&font) |
+ | Properly free TTF_Font.
|
Enumeration Type Documentation
-
+
@@ -96,43 +100,43 @@ Namespace for ZEngine classes a
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. - Enumeration values:
-
-ZERR_NONE |
+ | ZERR_NONE |
No error has occured. |
-ZERR_SDL_INTERNAL |
+ | ZERR_SDL_INTERNAL |
Error internal to SDL has occured, usually more detail is given by SDL. |
-ZERR_SDL_INIT |
+ | ZERR_SDL_INIT |
Error Initializing SDL. |
-ZERR_MIX_INIT |
+ | ZERR_MIX_INIT |
Error Initializing SDL_mixer. |
-ZERR_TTF_INIT |
+ | ZERR_TTF_INIT |
Error Initializing SDL_ttf. |
-ZERR_NET_INIT |
+ | ZERR_NET_INIT |
Error Initializing SDL_net. |
-ZERR_VIDMODE |
+ | ZERR_VIDMODE |
Error setting up the display. |
-ZERR_LOAD_IMAGE |
+ | ZERR_LOAD_IMAGE |
Error loading an image. |
-ZERR_LOAD_SOUND |
+ | ZERR_LOAD_SOUND |
Error loading a sound sample. |
-ZERR_LOAD_MUSIC |
+ | ZERR_LOAD_MUSIC |
Error loading music. |
-ZERR_LOAD_FONT |
+ | ZERR_LOAD_FONT |
Error loading a font. |
-ZERR_NOIMAGE |
+ | ZERR_NOIMAGE |
Error trying to use a ZImage without properly loading an image. |
-ZERR_NOSOUND |
+ | ZERR_NOSOUND |
Error trying to use a ZSound without properly loading a sound. |
-ZERR_NOMUSIC |
+ | ZERR_NOMUSIC |
Error trying to use a ZMusic without properly loading music. |
-ZERR_NOFONT |
+ | ZERR_NOFONT |
Error trying to use a ZFont without properly loading a font. |
-ZERR_NOSOCKET |
-Error trying to use a ZClient without having an open socket. |
-ZERR_NET_CLIENT |
-Error using SDL_net in ZClient. |
-ZERR_NET_SERVER |
-Error using SDL_net in ZClient. |
-ZERR_LAST |
+ | ZERR_NOSOCKET |
+Error trying to use a ZClient without having an open socket. |
+ZERR_NET_CLIENT |
+Error using SDL_net in ZClient. |
+ZERR_NET_SERVER |
+Error using SDL_net in ZClient. |
+ZERR_LAST |
Value used as range index, not a valid error code. |
@@ -185,7 +189,143 @@ Takes identifiers out of fmtstr and parses them, replacing them with coorespond
|
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+
+
+
+
+
+
+ void ZE::FreeImage |
+ ( |
+ SDL_Surface *& |
+ image |
+ ) |
+ |
+
+
+
+ |
+
+
+
+
+
+
+ |
+
+
+
+Safely free an SDL_Surface* and set it to NULL. - Parameters:
-
+
+ image | Image to free and set to NULL. |
+
+
+ |
+
+
+
+
+
+
+
+
+ void FreeSound |
+ ( |
+ Mix_Chunk *& |
+ chunk |
+ ) |
+ |
+
+
+
+ |
+
+
+
+
+
+
+ |
+
+
+
+Safely free a Mix_Chunk* and set it to NULL. - Parameters:
-
+
+ chunk | Chunk to free and set to NULL. |
+
+
+ |
+
+
+
+
+
+
+
+
+ void FreeMusic |
+ ( |
+ Mix_Music *& |
+ music |
+ ) |
+ |
+
+
+
+ |
+
+
+
+
+
+
+ |
+
+
+
+Safely free a Mix_Music* and set it to NULL. - Parameters:
-
+
+ music | Music to free and set to NULL. |
+
+
+ |
+
+
+
+
+
+
+
+
+ void FreeFont |
+ ( |
+ TTF_Font *& |
+ font |
+ ) |
+ |
+
+
+
+ |
+
+
+
+
+
+
+ |
+
+
+
+Safely free a TTF_Font* and set it to NULL. - Parameters:
-
+
+ font | Font to free and set to NULL. |
+
+
+ |
+
+
+ Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/namespacemembers.html b/doc/html/namespacemembers.html
index 3bb7b44..8e33312 100644
--- a/doc/html/namespacemembers.html
+++ b/doc/html/namespacemembers.html
@@ -13,31 +13,35 @@
Here is a list of all documented namespace members with links to the namespaces they belong to:
+: ZE- FreeFont()
+: ZE
- FreeImage()
+: ZE
- FreeMusic()
+: ZE
- FreeSound()
+: ZE
- ZERR_LAST
-: ZE
- ZERR_LOAD_FONT
-: ZE
- ZERR_LOAD_IMAGE
-: ZE
- ZERR_LOAD_MUSIC
-: ZE
- ZERR_LOAD_SOUND
-: ZE
- ZERR_MIX_INIT
-: ZE
- ZERR_NET_CLIENT
-: ZE
- ZERR_NET_INIT
-: ZE
- ZERR_NET_SERVER
-: ZE
- ZERR_NOFONT
-: ZE
- ZERR_NOIMAGE
-: ZE
- ZERR_NOMUSIC
-: ZE
- ZERR_NONE
-: ZE
- ZERR_NOSOCKET
-: ZE
- ZERR_NOSOUND
-: ZE
- ZERR_SDL_INIT
-: ZE
- ZERR_SDL_INTERNAL
-: ZE
- ZERR_TTF_INIT
-: ZE
- ZERR_VIDMODE
-: ZE
- ZErrorCode
-: ZE
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+: ZE- ZERR_LOAD_FONT
+: ZE
- ZERR_LOAD_IMAGE
+: ZE
- ZERR_LOAD_MUSIC
+: ZE
- ZERR_LOAD_SOUND
+: ZE
- ZERR_MIX_INIT
+: ZE
- ZERR_NET_CLIENT
+: ZE
- ZERR_NET_INIT
+: ZE
- ZERR_NET_SERVER
+: ZE
- ZERR_NOFONT
+: ZE
- ZERR_NOIMAGE
+: ZE
- ZERR_NOMUSIC
+: ZE
- ZERR_NONE
+: ZE
- ZERR_NOSOCKET
+: ZE
- ZERR_NOSOUND
+: ZE
- ZERR_SDL_INIT
+: ZE
- ZERR_SDL_INTERNAL
+: ZE
- ZERR_TTF_INIT
+: ZE
- ZERR_VIDMODE
+: ZE
- ZErrorCode
+: ZE
+
Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/namespaces.html b/doc/html/namespaces.html
index b148871..1c5e673 100644
--- a/doc/html/namespaces.html
+++ b/doc/html/namespaces.html
@@ -9,7 +9,7 @@
ZEngine Namespace ListHere is a list of all documented namespaces with brief descriptions:
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:35 2003 for ZEngine by
1.3-rc2
diff --git a/doc/html/physfsrwops_8h-source.html b/doc/html/physfsrwops_8h-source.html
index e9a7b33..7c731e2 100644
--- a/doc/html/physfsrwops_8h-source.html
+++ b/doc/html/physfsrwops_8h-source.html
@@ -46,7 +46,7 @@
00078
00079
00080
- Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
+ Generated on Sun Apr 27 21:57:34 2003 for ZEngine by
1.3-rc2
diff --git a/include/ZE_Utility.h b/include/ZE_Utility.h
index c655bf5..4ded00b 100755
--- a/include/ZE_Utility.h
+++ b/include/ZE_Utility.h
@@ -13,7 +13,7 @@
File: ZE_Utility.h
Description: Header file for ZEngine Utilities.
Author(s): James Turk
-$Id: ZE_Utility.h,v 1.1 2003/01/15 05:31:51 cozman Exp $
+$Id: ZE_Utility.h,v 1.2 2003/04/28 02:01:20 cozman Exp $
\file ZE_Utility.h
\brief Definition file for ZEngine Utilities.
@@ -42,30 +42,45 @@ namespace ZE
string FormatStr(const char *fmtstr, ...);
//////////
-//Macros//
+//Memory//
//////////
/*!
+ \brief Properly free SDL_Surface.
+
Safely free an SDL_Surface* and set it to NULL.
+ \param image Image to free and set to NULL.
**/
-#define FreeImage(image) if(image){SDL_FreeSurface(image); image = NULL;}
+void FreeImage(SDL_Surface *&image);
#ifdef USE_SDL_MIXER
+
/*!
+ \brief Properly free Mix_Chunk.
+
Safely free a Mix_Chunk* and set it to NULL.
+ \param chunk Chunk to free and set to NULL.
**/
-#define FreeSound(sound) if(sound){Mix_FreeChunk(sound); sound = NULL;}
+void FreeSound(Mix_Chunk *&chunk);
+
/*!
+ \brief Properly free Mix_Music.
+
Safely free a Mix_Music* and set it to NULL.
+ \param music Music to free and set to NULL.
**/
-#define FreeMusic(music) if(music){Mix_FreeMusic(music); music = NULL;}
+void FreeMusic(Mix_Music *&music);
+
#endif
#ifdef USE_SDL_TTF
/*!
- Safely free a TTF_Font and set it to NULL.
+ \brief Properly free TTF_Font.
+
+ Safely free a TTF_Font* and set it to NULL.
+ \param font Font to free and set to NULL.
**/
-#define FreeFont(font) if(font){TTF_CloseFont(font); font = NULL;}
+void FreeFont(TTF_Font *&font);
#endif
diff --git a/src/ZE_Utility.cpp b/src/ZE_Utility.cpp
index 4c6ceda..ca69892 100755
--- a/src/ZE_Utility.cpp
+++ b/src/ZE_Utility.cpp
@@ -13,7 +13,7 @@
File: ZE_Utility.cpp
Description: Implementation source file for ZEngine Utilities.
Author(s): James Turk
-$Id: ZE_Utility.cpp,v 1.4 2003/01/19 01:03:57 cozman Exp $
+$Id: ZE_Utility.cpp,v 1.5 2003/04/28 02:01:20 cozman Exp $
\file ZE_Utility.cpp
\brief Source file for ZEngine utility functions.
@@ -37,5 +37,49 @@ string FormatStr(const char *fmtstr, ...)
return buf;
}
+void FreeImage(SDL_Surface *&image)
+{
+ if(image)
+ {
+ SDL_FreeSurface(image);
+ image = NULL;
+ }
+}
+
+#ifdef USE_SDL_MIXER
+
+void FreeSound(Mix_Chunk *&chunk)
+{
+ if(chunk)
+ {
+ Mix_FreeChunk(chunk);
+ chunk = NULL;
+ }
+}
+
+void FreeMusic(Mix_Music *&music)
+{
+ if(music)
+ {
+ Mix_FreeMusic(music);
+ music = NULL;
+ }
+}
+
+#endif
+
+#ifdef USE_SDL_TTF
+
+void FreeFont(TTF_Font *&font)
+{
+ if(font)
+ {
+ TTF_CloseFont(font);
+ font = NULL;
+ }
+}
+
+#endif
+
}
|