line endiing fiasco!
This commit is contained in:
parent
5155c4bd1f
commit
c4faafa8ca
@ -1 +1,12 @@
|
|||||||
Dependencies are now available from http://zengine.sourceforge.net/dependencies/
ZE_dependencies_src.tar.bz2 is the source to the LGPL dependencies.
ZE_dependencies_VC.zip contains prebuilt dependencies for Visual C++.
ZE_dependencies_wing++.zip contains prebuilt dependencies for GCC based
compilers (such as Dev-C++).
The home pages of each can be found:
SDL 1.2.6 (http://libsdl.org)
SDL_image 1.2.3 (http://libsdl.org/projects/SDL_image/)
SDL_ttf 2.0.6 (http://libsdl.org/projects/SDL_ttf/)
SDL_mixer 1.2.5 (http://libsdl.org/projects/SDL_mixer/)
|
Dependencies are now available from http://zengine.sourceforge.net/dependencies/
|
||||||
|
ZE_dependencies_src.tar.bz2 is the source to the LGPL dependencies.
|
||||||
|
ZE_dependencies_VC.zip contains prebuilt dependencies for Visual C++.
|
||||||
|
ZE_dependencies_wing++.zip contains prebuilt dependencies for GCC based
|
||||||
|
compilers (such as Dev-C++).
|
||||||
|
|
||||||
|
The home pages of each can be found:
|
||||||
|
SDL 1.2.6 (http://libsdl.org)
|
||||||
|
SDL_image 1.2.3 (http://libsdl.org/projects/SDL_image/)
|
||||||
|
SDL_ttf 2.0.6 (http://libsdl.org/projects/SDL_ttf/)
|
||||||
|
SDL_mixer 1.2.5 (http://libsdl.org/projects/SDL_mixer/)
|
||||||
|
|
||||||
|
@ -1 +1,112 @@
|
|||||||
/*******************************************************************************
This file is Part of the ZEngine Library for 2D game development.
Copyright (C) 2002, 2003 James Turk
Licensed under a BSD-style license.
The maintainer of this library is James Turk (james@conceptofzero.net)
and the home of this Library is http://www.zengine.sourceforge.net
*******************************************************************************/
/*!
\file ZE_ZTimer.h
\brief Definition file for ZTimer.
Definition file for ZTimer, the Timer class for ZEngine.
<br>$Id: ZE_ZTimer.h,v 1.9 2003/11/24 22:22:07 cozman Exp $<br>
\author James Turk
**/
#ifndef __ze_ztimer_h__
#define __ze_ztimer_h__
#include "ZE_ZEngine.h"
namespace ZE
{
/*!
\brief ZTimer class for Timer use.
ZTimer timing class, class wraps common features of SDL timer. Inherited from ZObject and tied to ZEngine main timer.
**/
class ZTimer
{
protected:
//! Pointer to ZEngine Object
ZEngine* rEngine;
//! Paused / Unpaused state of Timer
bool rPaused;
//! Using ZEngine timer or SDL global timer.
bool rUseZEngine;
//! Total time this timer has been paused.
Uint32 rPausedTime;
//! Time this Timer was paused.
Uint32 rLastPause;
/*!
\brief Get time from parent timer.
Protected method to get time from whichever timer is parent.
\return Time on parent timer.
**/
Uint32 GetParentTime() const;
public:
/*!
\brief Constructs a new Timer.
Sets TimePaused to current ZEngine time if useZEngine is true, otherwise uses SDL timer.
\param useZEngine Tells if timer should use ZEngine or SDL.
**/
ZTimer(bool useZEngine=true);
/*!
\brief Virtual Destructor.
Virtual destructor making future inheritance safe.
**/
virtual ~ZTimer();
/*!
\brief Reset Timer.
Set Timer back to Zero, will also unpause timer if it was paused.
**/
void Reset();
/*!
\brief Pause Timer.
Pause the timer if it is unpaused.
**/
void Pause();
/*!
\brief Unpause Timer.
Unpause the timer if it is paused.
**/
void Unpause();
/*!
\brief Get Time of Timer.
Get current time accounting for time paused.
\return Current Timer Time.
**/
Uint32 GetTime() const;
/*!
\brief Get paused state.
Find out paused state of timer.
\return Paused state for timer.
**/
bool IsPaused() const;
};
}
#endif //__ze_ztimer_h__
|
/*******************************************************************************
|
||||||
|
This file is Part of the ZEngine Library for 2D game development.
|
||||||
|
Copyright (C) 2002, 2003 James Turk
|
||||||
|
|
||||||
|
Licensed under a BSD-style license.
|
||||||
|
|
||||||
|
The maintainer of this library is James Turk (james@conceptofzero.net)
|
||||||
|
and the home of this Library is http://www.zengine.sourceforge.net
|
||||||
|
*******************************************************************************/
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\file ZE_ZTimer.h
|
||||||
|
\brief Definition file for ZTimer.
|
||||||
|
|
||||||
|
Definition file for ZTimer, the Timer class for ZEngine.
|
||||||
|
<br>$Id: ZE_ZTimer.h,v 1.10 2003/11/24 22:24:33 cozman Exp $<br>
|
||||||
|
\author James Turk
|
||||||
|
**/
|
||||||
|
|
||||||
|
#ifndef __ze_ztimer_h__
|
||||||
|
#define __ze_ztimer_h__
|
||||||
|
|
||||||
|
#include "ZE_ZEngine.h"
|
||||||
|
|
||||||
|
namespace ZE
|
||||||
|
{
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\brief ZTimer class for Timer use.
|
||||||
|
|
||||||
|
ZTimer timing class, class wraps common features of SDL timer. Inherited from ZObject and tied to ZEngine main timer.
|
||||||
|
**/
|
||||||
|
class ZTimer
|
||||||
|
{
|
||||||
|
protected:
|
||||||
|
//! Pointer to ZEngine Object
|
||||||
|
ZEngine* rEngine;
|
||||||
|
//! Paused / Unpaused state of Timer
|
||||||
|
bool rPaused;
|
||||||
|
//! Using ZEngine timer or SDL global timer.
|
||||||
|
bool rUseZEngine;
|
||||||
|
//! Total time this timer has been paused.
|
||||||
|
Uint32 rPausedTime;
|
||||||
|
//! Time this Timer was paused.
|
||||||
|
Uint32 rLastPause;
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\brief Get time from parent timer.
|
||||||
|
|
||||||
|
Protected method to get time from whichever timer is parent.
|
||||||
|
\return Time on parent timer.
|
||||||
|
**/
|
||||||
|
Uint32 GetParentTime() const;
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\brief Constructs a new Timer.
|
||||||
|
|
||||||
|
Sets TimePaused to current ZEngine time if useZEngine is true, otherwise uses SDL timer.
|
||||||
|
\param useZEngine Tells if timer should use ZEngine or SDL.
|
||||||
|
**/
|
||||||
|
ZTimer(bool useZEngine=true);
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\brief Virtual Destructor.
|
||||||
|
|
||||||
|
Virtual destructor making future inheritance safe.
|
||||||
|
**/
|
||||||
|
virtual ~ZTimer();
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\brief Reset Timer.
|
||||||
|
|
||||||
|
Set Timer back to Zero, will also unpause timer if it was paused.
|
||||||
|
**/
|
||||||
|
void Reset();
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\brief Pause Timer.
|
||||||
|
|
||||||
|
Pause the timer if it is unpaused.
|
||||||
|
**/
|
||||||
|
void Pause();
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\brief Unpause Timer.
|
||||||
|
|
||||||
|
Unpause the timer if it is paused.
|
||||||
|
**/
|
||||||
|
void Unpause();
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\brief Get Time of Timer.
|
||||||
|
|
||||||
|
Get current time accounting for time paused.
|
||||||
|
\return Current Timer Time.
|
||||||
|
**/
|
||||||
|
Uint32 GetTime() const;
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\brief Get paused state.
|
||||||
|
|
||||||
|
Find out paused state of timer.
|
||||||
|
\return Paused state for timer.
|
||||||
|
**/
|
||||||
|
bool IsPaused() const;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif //__ze_ztimer_h__
|
||||||
|
@ -1 +1,6 @@
|
|||||||
ZEngine makes use of Zlib along with code from Gilles Vollant's unzip which is
included with Zlib in the contrib/minizip directory. The Zlib license allows
the embedding which is done for user convinience (and since zlib is a reasonably
stable library). Information on ZLib's license can be found in zlib-license.txt
which applies to all files found within the include/zlib and src/zlib
directories.
|
ZEngine makes use of Zlib along with code from Gilles Vollant's unzip which is
|
||||||
|
included with Zlib in the contrib/minizip directory. The Zlib license allows
|
||||||
|
the embedding which is done for user convinience (and since zlib is a reasonably
|
||||||
|
stable library). Information on ZLib's license can be found in zlib-license.txt
|
||||||
|
which applies to all files found within the include/zlib and src/zlib
|
||||||
|
directories.
|
27
thanks.txt
27
thanks.txt
@ -1 +1,26 @@
|
|||||||
The following must be thanked for ZEngine:
Sam Lantinga and the SDL Crew - Creating and Maintaining such a great library and helping on the mailing list.
http://libsdl.org
Dimitri van Heesch and Everyone Associated with Doxygen - Providing such a great Documentation Tool.
http://doxygen.org
Everybody Associated with ConceptOfZero.net - Keeping Me Working on ZEngine.
http://conceptofzero.net
The people at the Kahvi Collective - Providing tons of free Ogg music.
http://www.kahvi.org
Sourceforge.net - Providing hosting for the project and CVS.
http://sourceforge.net
Some people at GameDev.net for helping out in OpenGL.
http://gamedev.net
gametutorials.com and nehe.gamedev.net for Linking to ZEngine and for their OpenGL support.
http://gametutorials.com & http://nehe.gamedev.net
People at Bloodshed and in charge of MingW for together providing a great free compiler and IDE based on GCC.
http://bloodshed.net & http://mingw.org
Makoto Matsumoto and Takuji Nishimura for authoring the Mersenne Twister algorithm, and making it freely available.
http://www.math.keio.ac.jp/~matumoto/emt.html
Authors of zlib for making a great library, and making it free and open source.
http://www.gzip.org/zlib/
Gilles Volant for making Unzip, making zlib so easy to use.
http://www.winimage.com/zLibDll/unzip.html
Also see the test/bin/readme.txt file for credits on the data used in the demos.
|
The following must be thanked for ZEngine:
|
||||||
|
|
||||||
|
Sam Lantinga and the SDL Crew - Creating and Maintaining such a great library and helping on the mailing list.
|
||||||
|
http://libsdl.org
|
||||||
|
Dimitri van Heesch and Everyone Associated with Doxygen - Providing such a great Documentation Tool.
|
||||||
|
http://doxygen.org
|
||||||
|
Everybody Associated with ConceptOfZero.net - Keeping Me Working on ZEngine.
|
||||||
|
http://conceptofzero.net
|
||||||
|
The people at the Kahvi Collective - Providing tons of free Ogg music.
|
||||||
|
http://www.kahvi.org
|
||||||
|
Sourceforge.net - Providing hosting for the project and CVS.
|
||||||
|
http://sourceforge.net
|
||||||
|
Some people at GameDev.net for helping out in OpenGL.
|
||||||
|
http://gamedev.net
|
||||||
|
gametutorials.com and nehe.gamedev.net for Linking to ZEngine and for their OpenGL support.
|
||||||
|
http://gametutorials.com & http://nehe.gamedev.net
|
||||||
|
People at Bloodshed and in charge of MingW for together providing a great free compiler and IDE based on GCC.
|
||||||
|
http://bloodshed.net & http://mingw.org
|
||||||
|
Makoto Matsumoto and Takuji Nishimura for authoring the Mersenne Twister algorithm, and making it freely available.
|
||||||
|
http://www.math.keio.ac.jp/~matumoto/emt.html
|
||||||
|
Authors of zlib for making a great library, and making it free and open source.
|
||||||
|
http://www.gzip.org/zlib/
|
||||||
|
Gilles Volant for making Unzip, making zlib so easy to use.
|
||||||
|
http://www.winimage.com/zLibDll/unzip.html
|
||||||
|
|
||||||
|
Also see the test/bin/readme.txt file for credits on the data used in the demos.
|
12
todo.txt
12
todo.txt
@ -1 +1,11 @@
|
|||||||
ZEngine Todo List
-'ZDisplayList' class or similar solution.
-Add Support for ZLib in ZMusic. (Waiting on SDL_mixer.)
-ZSprite class
-ZResourceFile class
-Entirely New ZFont class, using display lists (possible)
-OSX support
-Lua Scripting Integration
Things to add outside ZEngine:
Examples + Tutorials
|
ZEngine Todo List
|
||||||
|
-'ZDisplayList' class or similar solution.
|
||||||
|
-Add Support for ZLib in ZMusic. (Waiting on SDL_mixer.)
|
||||||
|
-ZSprite class
|
||||||
|
-ZResourceFile class
|
||||||
|
-Entirely New ZFont class, using display lists (possible)
|
||||||
|
-OSX support
|
||||||
|
-Lua Scripting Integration
|
||||||
|
|
||||||
|
Things to add outside ZEngine:
|
||||||
|
Examples + Tutorials
|
@ -1,7 +1,22 @@
|
|||||||
'zlib' general purpose compression library version 1.1.4, March 11th, 2002
Copyright (C) 1995-2002 Jean-loup Gailly and Mark Adler
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
|
'zlib' general purpose compression library version 1.1.4, March 11th, 2002
|
||||||
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
|
|
||||||
1. The origin of this software must not be misrepresented ; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
|
Copyright (C) 1995-2002 Jean-loup Gailly and Mark Adler
|
||||||
Jean-loup Gailly
jloup@gzip.org
Mark Adler
madler@alumni.caltech.edu
|
|
||||||
The data format used by the zlib library is described by RFCs (Request for Comments) 1950 to 1952 in the files ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format).
|
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
|
||||||
This manual is converted from zlib.h by piaip
|
|
||||||
|
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
|
||||||
|
|
||||||
|
1. The origin of this software must not be misrepresented ; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
|
||||||
|
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
|
||||||
|
3. This notice may not be removed or altered from any source distribution.
|
||||||
|
|
||||||
|
Jean-loup Gailly
|
||||||
|
jloup@gzip.org
|
||||||
|
Mark Adler
|
||||||
|
madler@alumni.caltech.edu
|
||||||
|
|
||||||
|
The data format used by the zlib library is described by RFCs (Request for Comments) 1950 to 1952 in the files ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format).
|
||||||
|
|
||||||
|
This manual is converted from zlib.h by piaip
|
||||||
|
|
||||||
Visit http://ftp.cdrom.com/pub/infozip/zlib/ for the official zlib web page.
|
Visit http://ftp.cdrom.com/pub/infozip/zlib/ for the official zlib web page.
|
Loading…
Reference in New Issue
Block a user