2003-10-06 00:10:44 +00:00
|
|
|
ZEngine Readme File
|
2002-12-29 06:24:15 +00:00
|
|
|
------------------------------------------------------------
|
|
|
|
I. About ZEngine
|
|
|
|
II. Getting ZEngine
|
|
|
|
III. Building ZEngine
|
|
|
|
IV. Using ZEngine
|
|
|
|
V. Legal Overview
|
|
|
|
VI. History of ZEngine
|
|
|
|
------------------------------------------------------------
|
|
|
|
I. About ZEngine 0.8
|
2002-12-04 22:12:24 +00:00
|
|
|
|
2003-12-31 12:59:36 +00:00
|
|
|
ZEngine is a game library which is designed for any platform that SDL and
|
|
|
|
OpenGL are available on. ZEngine is a set of classes and a main ZEngine class
|
2003-09-22 23:39:35 +00:00
|
|
|
which are designed to make game development easier and more organized. As of
|
|
|
|
0.7.7 ZEngine can use OpenGL to do the 2D display, so it is much faster and can
|
|
|
|
take advantage of hardware accelerated features. This file provides a simple
|
2003-01-03 03:48:01 +00:00
|
|
|
overview of using it, more on the subject can be found in the docs and at
|
2003-07-13 00:46:57 +00:00
|
|
|
http://zengine.sourceforge.net/tutorials/.
|
2002-12-29 06:24:15 +00:00
|
|
|
------------------------------------------------------------
|
|
|
|
II. Getting ZEngine:
|
2002-12-04 22:12:24 +00:00
|
|
|
|
2003-11-25 01:02:17 +00:00
|
|
|
Home page: http://zengine.sourceforge.net/
|
|
|
|
Forums: http://sourceforge.net/forum/?group_id=62098
|
|
|
|
Project page: http://sourceforge.net/projects/zengine/
|
|
|
|
CVS page: http://sourceforge.net/cvs/?group_id=62098
|
2002-12-29 06:24:15 +00:00
|
|
|
------------------------------------------------------------
|
|
|
|
III. Building ZEngine:
|
2002-12-04 22:12:24 +00:00
|
|
|
|
2003-08-01 22:00:17 +00:00
|
|
|
ZEngine can be built on any system any system that has SDL and OpenGL
|
|
|
|
available. If you are in VC++ the folder vc7 contains project files for use,
|
2003-09-07 18:28:01 +00:00
|
|
|
Dev-C++ project files are in the devcpp folder, and if you are in a gcc
|
|
|
|
compiler you can change the config & makefile to meet your needs.
|
2003-09-22 23:39:35 +00:00
|
|
|
-If you are using an IDE you will need to add the path to the dependencies (SDL
|
2002-12-04 22:12:24 +00:00
|
|
|
and others) as well as the path to ZEngine before building.
|
2003-07-12 09:22:13 +00:00
|
|
|
|
|
|
|
See dependencies.txt for information on obtaining the dependencies.
|
|
|
|
|
2003-08-01 22:00:17 +00:00
|
|
|
If you are having a problem building ask at the ZEngine forum.
|
2003-11-25 01:02:17 +00:00
|
|
|
(http://sourceforge.net/forum/?group_id=62098)
|
2002-12-29 06:24:15 +00:00
|
|
|
------------------------------------------------------------
|
|
|
|
IV. Using ZEngine:
|
2002-12-04 22:12:24 +00:00
|
|
|
|
|
|
|
Using ZEngine is as easy as having a look at the sample programs and nice
|
|
|
|
documentation provided and setting the compiler to link with the ZEngine lib
|
|
|
|
and include the ZEngine include files. ZEngine allows you to decide what
|
|
|
|
external libraries (other than SDL and OpenGL which are required) you want
|
|
|
|
to use when you build the library file. Depending on which libraries you are
|
|
|
|
using you will need to distribute various files with your program, but none
|
|
|
|
are part of ZEngine, but instead are files in use by the dependencies.
|
2002-12-29 06:24:15 +00:00
|
|
|
------------------------------------------------------------
|
|
|
|
V. Legal Overview:
|
2002-12-04 22:12:24 +00:00
|
|
|
|
|
|
|
The world of open source licenses can be confusing, if you are not familiar
|
|
|
|
with the LGPL I recommend reading it, as most libraries ZEngine makes use of
|
2003-07-12 09:22:13 +00:00
|
|
|
are licensed under it. (LGPL.txt is included) ZEngine itself has no real
|
|
|
|
restrictions on use, and is under the OSI-certified BSD license
|
|
|
|
(see licensing.txt). Below is a quick guide to how you would distribute
|
|
|
|
a package making use of ZEngine.
|
2002-12-04 22:12:24 +00:00
|
|
|
|
|
|
|
Closed-Source Application using ZEngine:
|
2003-01-12 04:40:51 +00:00
|
|
|
(see licensing-template.txt)
|
2002-12-29 06:24:15 +00:00
|
|
|
-Include required DLLs or dynamic modules
|
|
|
|
-Include notice of which libraries you used, and have a place for user to
|
2002-12-04 22:12:24 +00:00
|
|
|
dowload them from your website.
|
|
|
|
-If you are using non-LGPL libraries there may be other requirements.
|
2002-12-29 06:24:15 +00:00
|
|
|
|
2003-01-02 03:27:47 +00:00
|
|
|
(licensing-template.txt is included to help you comply with the LGPL)
|
|
|
|
|
2003-07-12 09:22:13 +00:00
|
|
|
See dependencies.txt for information on source to the dependencies.
|
|
|
|
|
2002-12-04 22:12:24 +00:00
|
|
|
Adding to ZEngine:
|
2003-07-12 09:22:13 +00:00
|
|
|
-This can currently be done with no restrictions, but I do ask that
|
|
|
|
you submit your changes back to the community if possible.
|
2002-12-29 06:24:15 +00:00
|
|
|
------------------------------------------------------------
|
2003-10-06 00:10:44 +00:00
|
|
|
VI. History of ZEngine:
|
2002-12-29 06:24:15 +00:00
|
|
|
The changelog may not show it but 0.1 to 0.6 were some of the biggest
|
|
|
|
changes, often I'd rewrite massive portions of code, I wasn't keeping the
|
|
|
|
changelog, and I wasn't testing for compatibility. ZEngine was still
|
|
|
|
designed to be an engine that only CoZ members used, hardly clean but useful
|
|
|
|
enough to speed up the process of making games, even if it was going to be
|
|
|
|
open source, I figured I'd put it out there as example code, but never really
|
|
|
|
make it an open source project.
|
|
|
|
By 0.5 and 0.6 I really got the idea that this could become something that
|
|
|
|
some other people may want to use, so I started to document everything and I
|
|
|
|
began to prepare for the Linux version. During 0.6.x I was struggling with
|
|
|
|
organizing the code as well as licensing, and SDL 1.2.5 was released which
|
|
|
|
turned into an unnecessary rewrite. (Honestly nothing changed in SDL that
|
|
|
|
affected ZEngine, but for some reason I felt ZEngine would be much better if
|
|
|
|
the code was cleaner and I tried to reduce the amount of legacy code left from
|
|
|
|
the early versions.)
|
|
|
|
0.6.3 made the jump to 0.7.0 because there really was a change in ZEngine,
|
|
|
|
the target audience as well as the code base. With ZConfigFile, ZEngine
|
|
|
|
started to gain features that SDL didn't have, so it wasn't just a SDL wrapper
|
|
|
|
anymore. 0.7.x turned into a series of major releases, with some major changes
|
|
|
|
including 0.7.3, 0.7.4, and the major 0.7.7, which almost became 0.8.0.
|
|
|
|
0.8.0 is a whole new ZEngine, I estimate that no more than 2% of the
|
|
|
|
original code remains, almost everything I added in 0.3.0 is still there, but
|
|
|
|
other than that, nothing stuck until 0.7 for example the ZEngine class itself
|
|
|
|
has gone 2 complete rewrites since 0.1. I used to work in DirectX a lot, and
|
|
|
|
ZEngine addresses a lot of grieviances I had with DirectX, ZEngine code is a
|
|
|
|
lot shorter, and is a good deal easier to read, everything is integrated,
|
2003-07-11 00:07:49 +00:00
|
|
|
unlike DirectX where Input and Graphics were entirely separate things. ZEngine
|
2002-12-29 06:24:15 +00:00
|
|
|
runs a lot faster on most systems now, due to the OpenGL rendering, and as a
|
|
|
|
little treat I threw in just in time for the 0.8.0 release, ZEngine attempts
|
|
|
|
to detect surface loss, and even provides methods to restore it.
|
2003-09-22 23:39:35 +00:00
|
|
|
From 0.8.0 to 0.8.5 some very large changes were made to separate ZEngine
|
|
|
|
from other simple 2D apis. Features such as an optional framerate limiter,
|
|
|
|
error handling, convenient overloads, an extremely extensible particle system,
|
2003-09-24 02:17:47 +00:00
|
|
|
and better support for more compilers. And one of the very useful
|
|
|
|
changes is that now, where the great but complex PhysFS used to be used, the
|
|
|
|
small and embeddable zlib has come to the rescue allowing compression of
|
|
|
|
resources in archives. Also as ZEngine stabilizes more small features,
|
|
|
|
bugfixes, cleanups and enhancements to existing code have been made and the
|
|
|
|
number of users (at least what is indicated by the number of emails and IMs
|
|
|
|
I've been getting) has been rising steadily.
|
2002-12-04 22:12:24 +00:00
|
|
|
|
2002-12-29 06:24:15 +00:00
|
|
|
-James Turk james@conceptofzero.net
|