Go to file
Dennis Schridde f5439cfa16 - More cleanup
- Split the mainloop into several (run) subfunctions
- start/stop functions for (de)initialization. This replaces the !Restart part
- removed necessity of several variables
- This is the last step before the event based mainloop


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1622 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-12 21:47:06 +00:00
autopackage - Fix masterserver disconnect (patch by Gerard) 2007-04-21 13:46:28 +00:00
data - prevent AI scripts from building a truck for human players at startup 2007-05-10 13:28:59 +00:00
debian * Remove support for decoding (and encoding in case of screenshot dump code) of JPEG pictures 2007-04-17 18:24:31 +00:00
lib - More cleanup 2007-05-12 21:47:06 +00:00
m4 Add gettext.m4 for users who might now have it installed for some reason. 2007-04-03 18:25:40 +00:00
macosx Updates to Xcode project and associated README. 2007-05-07 20:02:52 +00:00
makerules * Remove support for decoding (and encoding in case of screenshot dump code) of JPEG pictures 2007-04-17 18:24:31 +00:00
nsis Make sure that files added by the installer are also removed by the uninstaller (Authors.txt and ChangeLog.txt) 2007-04-22 15:32:49 +00:00
po - Fix gameloop exit, broken in r1615 2007-05-12 15:54:35 +00:00
src - More cleanup 2007-05-12 21:47:06 +00:00
tools Fix "ghost" games, and allow for updating the game state when hosting a game without having to disconnect and reconnect. 2007-05-01 21:01:32 +00:00
win32 Per folder filters for MSVC project. Patch by vs2k5. 2007-05-12 08:07:12 +00:00
AUTHORS - Change droid->direction to float, this should fix issues with vtols entering a loop around the target (Original patch by The Noid, edited by me) 2007-04-27 10:25:03 +00:00
COMPILE * Remove support for decoding (and encoding in case of screenshot dump code) of JPEG pictures 2007-04-17 18:24:31 +00:00
COPYING Create final repository structure. 2007-06-28 17:47:08 +00:00
COPYING.README License clarification about original data files. 2006-11-19 17:32:15 +00:00
ChangeLog Gettext support (0.16.1 included) 2007-03-31 15:34:35 +00:00
Doxyfile Changed/unified namings. 2006-08-23 17:48:47 +00:00
INSTALL Another buildsystem update: 2007-03-29 12:41:18 +00:00
Makefile.am - Remove lots of inclusions of windows.h (and move inclusion of frame.h up) 2007-04-11 14:21:45 +00:00
Makefile.raw * add gettext generation support to raw makefiles (is far from nice, but works) 2007-04-06 01:51:07 +00:00
NEWS Another buildsystem update: 2007-03-29 12:41:18 +00:00
README * remove MP3 decoding support 2007-04-16 13:44:41 +00:00
ScriptingManual.htm * Add some info about revision info (last author, commit date and revision) through svn keywords 2007-04-08 14:41:25 +00:00
TODO - Remove all references to DBP0() 2006-08-31 20:14:21 +00:00
autogen.sh Require gettext 0.15 here, too. 2007-04-10 17:57:51 +00:00
config.rpath Add the missing file without autoconf won't succeed. Problem reported by Giel. 2007-04-05 23:27:10 +00:00
configure.ac Another try to workaround systems which usualy disable their POSIX extensions. AC_USE_SYSTEM_EXTENSIONS might have worked as well, but is not present before AC 2.61. 2007-05-06 17:51:04 +00:00
wscript * Remove support for decoding (and encoding in case of screenshot dump code) of JPEG pictures 2007-04-17 18:24:31 +00:00

README

Warzone 2100 by Warzone Resurrection Project


0) Welcome back !

Warzone 2100 was an innovative 3D real-time strategy game back in 1999, and most
will agree it didn't enjoy the commercial success it should have had. The game's
source code was liberated on December 6th, 2004, under a GPL license (see
COPYING in this directory for details). Soon after that, the Warzone 2100 ReDev
project was formed to take care of its future.

Our goal is to make warzone run on all possible platforms. Therefore, we
stripped the original code of all proprietary technologies and replaced them
with cross-platform and free equivalents, like OpenGL, OpenAL, etc... Right
now, Warzone 2100 works very well on Windows and GNU/Linux, and we have even
heard of it running on BSD with no particular issue.

What you get here is the early product of our collective work. We're not pros,
we just like the game, so bear with us, and feel free to join us if you think
you can do better. We can be found at :
http://wz2100.net/
You'll have most chances to find us in the development section.


1) Command-line options.

Once the game is installed (see INSTALL in this directory), you can run it by
changing to its directory and typing './warzone'. Here's a few of the most
common command line options :
	--fullscreen : runs in a full-screen window
	--window : runs in a window
	--resolution WIDTHxHEIGHT : runs at WIDTH times HEIGHT resolution, replace WIDTH
		and HEIGHT with your dimensions of choice. Beware, though,
		as it needs to be a resolution supported by your X server.

Note that you do need to type the dash in front of the option, like this :
		./warzone --fullscreen --viewport 1280x960
(this is my prefered mode).

The fullscreen/window modes and the resolution are stored, so they only need to
be specified once, or when you want to change them. So,
		./warzone
will start in fullscreen and in 1280x960 because this is what I specified just
before (remember ?).

For more commandline options see: http://wz2100.net/wiki/user:command_line_options

If you are on Linux and using X11, you can dynamically switch between windowed
mode and fullscreen using ALT+ENTER at any time.


2) Configuration

When you start Warzone 2100 for the first time, a '.warzone2100' directory
is created in your home directory. A certain number of files are also created in
it, the most important being the one called 'config'. In case you are upgrading
from a previous version and experience problems, try and remove this
'~/.warzone2100/config' file.


3) Music

As the original game music is part of the data that was not liberated, we are
reintroducing music, but in a different way. We use a playlist system that can
point to any ogg file in you filesystem. This is still experimental, and we are
gradually making this more useable.

The following playlists are read, in this order, and only the first playlist
found is used :
- ~/.warzone2100/music/music.wpl
- <whereverwarzoneisinstalled>/music/music.wpl

Playlist example :

--------------------------------------------------------------------------------
[game]
path=.
shuffle=yes
neos_aurore.ogg
neos_chocolat.ogg
neos_down.ogg
neos_esperance.ogg
neos_indy.ogg

[menu]
path=.
neos_symphonie_du_vide.ogg
--------------------------------------------------------------------------------

In this example, there are 6 songs played in random order while playing a game,
and one song only when going around in the menu.

"shuffle=yes" specifies you want the songs for a given category (game or menu)
to be played in random order. If you want it for both categories, you need to
specify it in both of them.

"path" can be anything you wish. If it's ".", the path is the directory where
the playlist is found. If no path is set, all filenames must be given with
absolute path. All filenames must be lowercase.

ogg files are supported (provided all necessary libs are installed).

                                                    The Warzone Resurrection Project