Compare commits
60 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
9651a4047b | ||
|
d49709be9f | ||
|
2e67967796 | ||
|
0c3a8ae750 | ||
|
cda30e9c2b | ||
|
6f05d774d0 | ||
|
36fee85d0c | ||
|
11d486e7f7 | ||
|
a0266e9238 | ||
|
aca3410e70 | ||
|
4d5ecddec4 | ||
|
38ecef48be | ||
|
29ef09cc66 | ||
|
aa35344294 | ||
|
cd9ada7c29 | ||
|
89d6f4efe6 | ||
|
5e93f9c104 | ||
|
aaf47b349c | ||
|
f06bdd8470 | ||
|
a198d51da4 | ||
|
b229c0c8c5 | ||
|
6257af9430 | ||
|
42d9272265 | ||
|
f3234e534d | ||
|
8e7746f19a | ||
|
ce6a6d6431 | ||
|
1afe67ac11 | ||
|
3ad9c312a4 | ||
|
df630e4558 | ||
|
82db256061 | ||
|
0e4451533e | ||
|
78fe3cc638 | ||
|
0fdb483ad8 | ||
|
6157d3939b | ||
|
4ecb73f791 | ||
|
aeb085c66e | ||
|
c0d43a3a5c | ||
|
bc48a89e9f | ||
|
9c3d2ddab5 | ||
|
32cace87e8 | ||
|
f938977d84 | ||
|
36d2cfd5bd | ||
|
d5a23f89ca | ||
|
13a3e70255 | ||
|
099a32bd25 | ||
|
0e94312ca8 | ||
|
235e416a11 | ||
|
780afe9b45 | ||
|
f253d3f30d | ||
|
9f459add49 | ||
|
1fc43e7dc2 | ||
|
be147c93f9 | ||
|
0bace5fc68 | ||
|
a49c632977 | ||
|
fd3b4036ce | ||
|
27ff6d594d | ||
|
cbebdfd847 | ||
|
d8dd675fa7 | ||
|
05c536d680 | ||
|
6ec70b8585 |
12
COPYING
Normal file → Executable file
@@ -1,13 +1,15 @@
|
|||||||
|
|
||||||
The SuperTuxKart code is released under GNU GPL (see full text below).
|
The SuperTuxKart code is released under GNU GPL (see full text below).
|
||||||
SuperTuxKart data files (textures, models, sounds, music, etc.) are released under various licenses, see 'license.txt' files
|
SuperTuxKart data files (textures, models, sounds, music, etc.) are released under various licenses, see 'license.txt' files through the various data subdirectories. Data files are released under a mixture of the following licenses :
|
||||||
through the various data subdirectories. Data files are released under a mixture of the following licenses :
|
|
||||||
|
|
||||||
Gnu GPL 2.0 and 3.0+
|
GPL
|
||||||
Creative-Commons-BY(-SA) 3.0
|
Creative-Commons-Attribution
|
||||||
Creative-Commons-Sampling+ 1.0
|
Creative-Commons-BY-SA
|
||||||
|
Creative-Commons-Sampling+
|
||||||
|
FreeArt License
|
||||||
SoundSnap license
|
SoundSnap license
|
||||||
Public Domain
|
Public Domain
|
||||||
|
Image*After terms
|
||||||
|
|
||||||
________________________________________________________________________________
|
________________________________________________________________________________
|
||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
59
ChangeLog
Normal file → Executable file
@@ -1,61 +1,6 @@
|
|||||||
SuperTuxKart 0.7.2
|
|
||||||
~~~~~~~~~~~~~~~~~~
|
|
||||||
* Added in-game addon manager
|
|
||||||
* Fixed major memory leaks
|
|
||||||
* New Snow Peak track by Samuncle
|
|
||||||
* Improved star track UFO by Rudy
|
|
||||||
* New Beastie kart.
|
|
||||||
* Show when you get a highscore
|
|
||||||
* Improve gamepad configuration under Windows (add ability to tell gamepads apart)
|
|
||||||
* Various other tweaks done and glitches fixed
|
|
||||||
|
|
||||||
SuperTuxkart 0.7.1b
|
|
||||||
~~~~~~~~~~~~~~~~~~~
|
|
||||||
* Fix circular dependency in challenges
|
|
||||||
* Updated translations
|
|
||||||
|
|
||||||
SuperTuxKart 0.7.1
|
|
||||||
~~~~~~~~~~~~~~~~~~
|
|
||||||
* Particle (smoke, splash, fire) and weather effects
|
|
||||||
* New Fort Magma by Samuncle, new Shiny Suburbs track by Horace
|
|
||||||
* New Beagle kart by wolterh
|
|
||||||
* Added internet news
|
|
||||||
* Support for live language switch
|
|
||||||
* Added optional minimal race UI
|
|
||||||
* Temporary invincibility after being hit
|
|
||||||
* Added support for full-screen anti-aliasing
|
|
||||||
* Clearer multiplayer setup
|
|
||||||
* Renamed many tracks to nicer names
|
|
||||||
* Basic level-of-detail (LOD) support
|
|
||||||
* Debug features for track makers
|
|
||||||
* Update to bullet 2.77
|
|
||||||
* Replace more sounds to be DFSG-compliant
|
|
||||||
* Fixed character names that contain non-ASCII characters
|
|
||||||
* Full RTL (right to left) support
|
|
||||||
* Various other tweaks done and glitches fixed
|
|
||||||
|
|
||||||
SuperTuxKart 0.7 (December 2010)
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
Too many to list them all. Main points:
|
|
||||||
* Irrlicht:
|
|
||||||
- Ported from plib to irrlicht
|
|
||||||
- Added animations to karts and some tracks
|
|
||||||
* GUI
|
|
||||||
- Completely new designed GUI
|
|
||||||
* Other improvements
|
|
||||||
- Allowed alternative ways/shortcuts in tracks
|
|
||||||
- New item 'switch'
|
|
||||||
* New art:
|
|
||||||
- New tracks farm, hacienda, scotland, secret garden
|
|
||||||
|
|
||||||
SuperTuxKart 0.6.2a (October 2009)
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
* Bugfix: STK would crash while trying to save the config file
|
|
||||||
on Windows Vista.
|
|
||||||
|
|
||||||
SuperTuxKart 0.6.2 (July 2009)
|
SuperTuxKart 0.6.2 (July 2009)
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
* Bugfix: Game could crash in rare circumstances.
|
* Bugfix: game could crash in rare circumstances.
|
||||||
* Bugfix: Restarting a GP (with the in-race menu ESC) would
|
* Bugfix: Restarting a GP (with the in-race menu ESC) would
|
||||||
not subtract already allocated points.
|
not subtract already allocated points.
|
||||||
* Bugfix: A race could be finished with an invalid shortcut.
|
* Bugfix: A race could be finished with an invalid shortcut.
|
||||||
|
42
INSTALL
Normal file → Executable file
@@ -7,7 +7,8 @@ General
|
|||||||
First, make sure that you have the following packages installed:
|
First, make sure that you have the following packages installed:
|
||||||
|
|
||||||
* OpenGL (or Mesa 3.0 or later)
|
* OpenGL (or Mesa 3.0 or later)
|
||||||
* Irrlicht 1.7 or later
|
* PLIB version 1.8.4 or later
|
||||||
|
* SDL 1.2 or later
|
||||||
* OpenAL
|
* OpenAL
|
||||||
|
|
||||||
Unpack the files from the tarball like this:
|
Unpack the files from the tarball like this:
|
||||||
@@ -35,44 +36,28 @@ location, use the "--prefix" option of configure, e.g. --prefix=/usr
|
|||||||
See the --help output of configure for further options.
|
See the --help output of configure for further options.
|
||||||
|
|
||||||
|
|
||||||
SVN STK on Ubuntu
|
SVN STK on Ubuntu Edgy
|
||||||
-----------------
|
----------------------
|
||||||
Here are the compilation instructions for the current svn(2009-10-15) of
|
Here are the compilation instructions for the current svn(05 oct. 2006) of
|
||||||
Super Tux Kart originally contributed by Damien for Ubuntu Edgy, and updated
|
Super Tux Kart on Ubuntu Edgy, contributed by Damien:
|
||||||
to 9.04 version:
|
|
||||||
|
|
||||||
install following packages:
|
install following packages:
|
||||||
# apt-get install libtool libxxf86vm-dev libopenal-dev
|
# apt-get install libopenal-dev libmikmod2-dev plib1.8.4-dev
|
||||||
libglu1-mesa-dev subversion autoconf automake1.9 g++ gcc
|
libglu1-mesa-dev subversion autoconf automake1.9 g++ gcc
|
||||||
|
|
||||||
do a:
|
do a:
|
||||||
$ svn checkout https://supertuxkart.svn.sourceforge.net/svnroot/supertuxkart/main/trunk
|
$ svn checkout http://supertuxkart.svn.sourceforge.net/svnroot/supertuxkart/trunk/supertuxkart
|
||||||
|
|
||||||
Get irrlicht-1.x.zip and unzip it, compile irrlicht:
|
then:
|
||||||
$ cd irrlicht-1.x/source/Irrlicht/
|
|
||||||
$ make
|
|
||||||
$ cd ../../..
|
|
||||||
$ pwd
|
|
||||||
/some/path/
|
|
||||||
|
|
||||||
then we can move to stk, remember to replace the output of pwd below:
|
|
||||||
$ cd trunk
|
$ cd trunk
|
||||||
note that the "--with-irrlicht" argument below is only required if you didn't install irrlicht to /usr/[local]
|
$ ./autogen.sh && ./configure && make
|
||||||
$ ./autogen.sh && ./configure --with-irrlicht=/some/path/irrlicht-1.x/ && make
|
and if all went well:
|
||||||
and if all went well run the game:
|
|
||||||
$ src/supertuxkart
|
$ src/supertuxkart
|
||||||
|
|
||||||
tested with g++ 3.3 and 4.1 , both succeeded.
|
tested with g++ 3.3 and 4.1 , both succeeded.
|
||||||
|
|
||||||
If you want to install the game system-wide, do 'make install'.
|
If you want to install the game system-wide, do 'make install'.
|
||||||
|
|
||||||
To update the source from inside trunk directory, one simple command:
|
|
||||||
$ svn up
|
|
||||||
and then, in most cases, just rebuild:
|
|
||||||
$ make
|
|
||||||
with the exception of changes to any Makefile.am, in which case:
|
|
||||||
$ ./autogen.sh && ./configure --with-irrlicht=/some/path/irrlicht-1.x/ && make
|
|
||||||
|
|
||||||
|
|
||||||
But it didn't work!
|
But it didn't work!
|
||||||
-------------------
|
-------------------
|
||||||
@@ -86,11 +71,14 @@ http://supertuxkart.sourceforge.net/
|
|||||||
|
|
||||||
|
|
||||||
Also, the most common (by FAR) reason for problems is that your OpenGL/Mesa
|
Also, the most common (by FAR) reason for problems is that your OpenGL/Mesa
|
||||||
is incorrectly installed - so before you complain to any of the Irrlicht or
|
is incorrectly installed - so before you complain to any of the PLIB or
|
||||||
Supertuxkart mailing lists, first try running one of the example programs
|
Supertuxkart mailing lists, first try running one of the example programs
|
||||||
that comes with your OpenGL implementation - or one of the Mesa or GLUT
|
that comes with your OpenGL implementation - or one of the Mesa or GLUT
|
||||||
sample programs.
|
sample programs.
|
||||||
|
|
||||||
|
If you those examples run OK - then go to the PLIB home page and download
|
||||||
|
the PLIB examples.
|
||||||
|
|
||||||
If THOSE run correctly - but Supertuxkart doesn't then please get in touch
|
If THOSE run correctly - but Supertuxkart doesn't then please get in touch
|
||||||
with the SupertuxKart mailing list and we'll do our best to get you up and
|
with the SupertuxKart mailing list and we'll do our best to get you up and
|
||||||
racing.
|
racing.
|
||||||
|
5
Makefile.am
Normal file → Executable file
@@ -2,6 +2,11 @@ ACLOCAL_AMFLAGS = -I m4
|
|||||||
|
|
||||||
SUBDIRS = $(BULLETTREE) $(ENETTREE) src doc data
|
SUBDIRS = $(BULLETTREE) $(ENETTREE) src doc data
|
||||||
|
|
||||||
|
EXTRA_DIST = \
|
||||||
|
README.cygwin \
|
||||||
|
README.macosx \
|
||||||
|
README.windows
|
||||||
|
|
||||||
pkgdatadir=$(datadir)/doc/$(PACKAGE)
|
pkgdatadir=$(datadir)/doc/$(PACKAGE)
|
||||||
dist_pkgdata_DATA=AUTHORS ChangeLog COPYING README
|
dist_pkgdata_DATA=AUTHORS ChangeLog COPYING README
|
||||||
# NEWS only contains "see changelog"
|
# NEWS only contains "see changelog"
|
||||||
|
171
NEWS
Executable file
@@ -0,0 +1,171 @@
|
|||||||
|
SuperTuxkart 0.6.2 (July 2009)
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
* Bugfix: battle mode would not display track groups.
|
||||||
|
|
||||||
|
SuperTuxkart 0.6.1 (Feburary 2009)
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
* Added new kart ("Puffy"), new battle map ("Cave"), and new music
|
||||||
|
for Snow Mountain.
|
||||||
|
* Added slow-down for karts driving backwards.
|
||||||
|
* Somewhat reduced 'shaking' of AI driven karts.
|
||||||
|
* Fixed several bugs, including incorrect rescues, and track
|
||||||
|
and kart selection issues.
|
||||||
|
|
||||||
|
SuperTuxKart 0.5 (May 2008)
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
* Six new tracks and one improved track: Fort Magma, SnowTux Peak, Amazonian Journey, City,
|
||||||
|
Canyon, Crescent Crossing and StarTrack
|
||||||
|
* Complete Challenges to unlock game modes, new tracks and a skidding preview
|
||||||
|
* New Follow the Leader game mode
|
||||||
|
* New Grand Prix
|
||||||
|
* Improved User Interface
|
||||||
|
* Improved game pad/joystick handling
|
||||||
|
* German, French, Dutch, Spanish, Italian and Swedish translations
|
||||||
|
* Additional music
|
||||||
|
* Many Bugfixes including:
|
||||||
|
a memory leak fix (Charlie Head)
|
||||||
|
an AI crash fix (Chris Morris)
|
||||||
|
|
||||||
|
|
||||||
|
SuperTuxKart 0.4 (February 2008)
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
* New physics handling using the bullet physics engine
|
||||||
|
* New kart: wilber
|
||||||
|
* Improved 'Shifting Sands' and 'Lighthouse' tracks
|
||||||
|
* Improved AI
|
||||||
|
* New GUI handling, including resolution switching GUI
|
||||||
|
* Improved input handling
|
||||||
|
* Jump and look-back featue
|
||||||
|
* Additional music and main theme
|
||||||
|
|
||||||
|
|
||||||
|
SuperTuxKart 0.3 (May 2007)
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
* Highscore lists
|
||||||
|
* Shortcut detection
|
||||||
|
* Improved AI
|
||||||
|
* Fullscreen support
|
||||||
|
* New track: the island
|
||||||
|
* New penalty: bomb
|
||||||
|
* MacOSX support
|
||||||
|
* OpenAL and ogg-vorbis support
|
||||||
|
* Two new Grand Prixs
|
||||||
|
* Improved user interface:
|
||||||
|
- New racing interface
|
||||||
|
- Better track map
|
||||||
|
- Player kart dots in the track map are bigger than AI dots
|
||||||
|
- Track selection screen has topview pictures
|
||||||
|
- Added "Setup new race" option when a track is finished
|
||||||
|
- Added "Restart race" option when a track is finished
|
||||||
|
- The keyboard can skip vertical spaces between buttons
|
||||||
|
- Better control configuration
|
||||||
|
- Better in-game help
|
||||||
|
- Added .desktop file for menus and icon
|
||||||
|
* Bugfixes:
|
||||||
|
- Fixed bug in ssg_help::MinMax, which could cause a significant performance loss.
|
||||||
|
- Fixed bug that allowed the joystick to erase the main menu
|
||||||
|
- Fixed bug that allowed the joystick to "play the game while paused"
|
||||||
|
- Fixed screen_manager assert failure bug
|
||||||
|
- Fixed sound_manager assert failure bug
|
||||||
|
- Fixed keyboard keys unable to work on the first key press bug
|
||||||
|
- And others
|
||||||
|
|
||||||
|
SuperTuxKart 0.2 (22. Sep 2006)
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
* Significant performance improvement by using display lists
|
||||||
|
* Improved AI
|
||||||
|
* Support for different grand prixs
|
||||||
|
* Too many bug fixes to list them all, but the important ones:
|
||||||
|
* Work around for 'karts fall through track' compiler bug
|
||||||
|
* Fixed rescue mode
|
||||||
|
* Two new collectables: parachute and anvil
|
||||||
|
* Track screen shots in the track select screen
|
||||||
|
* Keyboard handling allows gradual turning
|
||||||
|
* Improved physics (still work in progress)
|
||||||
|
* All hard-coded properties like maximum velocity have
|
||||||
|
been replaced by dynamically computed data dependent
|
||||||
|
on kart parameters, allowing for karts having different
|
||||||
|
characteristics.
|
||||||
|
* Added help and about screens, added credits to track designer
|
||||||
|
* Items were added to all tracks
|
||||||
|
|
||||||
|
SuperTuxKart 0.1 (04. May 2006) (not officially released)
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
* Significant speedup by using a new HOT and collision algorithm
|
||||||
|
--> all tracks are now playable
|
||||||
|
* Removed all SDL dependencies, only plib is needed
|
||||||
|
* Single and multi-window menu can be used
|
||||||
|
* Code structure changes
|
||||||
|
* Some bug fixes and small improvements
|
||||||
|
* Added profile option to support automatic profiling
|
||||||
|
|
||||||
|
SuperTuxKart 0.0.0 (22. Dec 2004)
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
* new tracks
|
||||||
|
* new characters and karts
|
||||||
|
* new user-interface
|
||||||
|
* some additional effects (skid-marks, smoke)
|
||||||
|
|
||||||
|
TuxKart v0.4.0 (March 19th 2004)
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
* Changes for compatibility with PLIB 1.8.0 and later.
|
||||||
|
* Removed some features that were only there to support
|
||||||
|
truly ancient graphics cards like 3Dfx Voodoo-1/2.
|
||||||
|
|
||||||
|
TuxKart v0.3.0 (??)
|
||||||
|
~~~~~~~~~~~~~~~~~~~
|
||||||
|
* Converted to use the new PLIB/PW library and thus
|
||||||
|
avoid the need to link to GLUT.
|
||||||
|
|
||||||
|
TuxKart v0.2.0 (Sept 3rd 2002)
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
* Changes for compatibility with PLIB 1.6.0 and later.
|
||||||
|
|
||||||
|
TuxKart v0.0.5 (??)
|
||||||
|
~~~~~~~~~~~~~~~~~~~
|
||||||
|
* Changes for compatibility with PLIB 1.4.0 and later.
|
||||||
|
|
||||||
|
TuxKart v0.0.4 (??)
|
||||||
|
~~~~~~~~~~~~~~~~~~~
|
||||||
|
* Changes to suit rassin-frassin-Windoze-junk.
|
||||||
|
|
||||||
|
* Steady-cam camera - courtesy of cowtan@ysbl.york.ac.uk
|
||||||
|
|
||||||
|
* Changes for compatibility with PLIB 1.3.1 and later.
|
||||||
|
|
||||||
|
* Added new music courtesy of Matt Thomas.
|
||||||
|
|
||||||
|
TuxKart v0.0.3 (July 4th 2000)
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
* Fixed bug in Keyboard driver when no
|
||||||
|
joystick driver is installed.
|
||||||
|
|
||||||
|
* More CygWin fixes.
|
||||||
|
|
||||||
|
* Started new feature to allow you to be
|
||||||
|
rescued from lava, etc.
|
||||||
|
|
||||||
|
TuxKart v0.0.2 (July 2nd 2000)
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
* Added ability to add new tracks without
|
||||||
|
recompiling.
|
||||||
|
|
||||||
|
* Can now drive using keyboard only - no joystick
|
||||||
|
required.
|
||||||
|
|
||||||
|
* Should compile and run under Windoze using CygWin.
|
||||||
|
|
||||||
|
TuxKart v0.0.1 (July 1st 2000)
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
* Fixed a couple of files missing in initial
|
||||||
|
Distro.
|
||||||
|
|
||||||
|
TuxKart v0.0.0 (June 29th 2000)
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
* First CVS release.
|
||||||
|
|
||||||
|
TuxKart (unnumbered) (April 13th 2000)
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
* First hack.
|
||||||
|
|
||||||
|
# EOF #
|
108
README
Normal file → Executable file
@@ -1,54 +1,92 @@
|
|||||||
SuperTuxKart
|
SuperTuxKart
|
||||||
============
|
==============
|
||||||
SuperTuxKart is a free kart racing game. It is focusing on fun and
|
SuperTuxKart is a free kart racing game. It is focusing on fun and
|
||||||
not on realistic kart physics. Instruction can be found on the
|
not on realistic kart physics. The SuperTuxKart homepage can be found at:
|
||||||
in-game help page.
|
|
||||||
|
|
||||||
The SuperTuxKart homepage can be found at:
|
|
||||||
|
|
||||||
http://supertuxkart.sourceforge.net
|
http://supertuxkart.sourceforge.net
|
||||||
|
|
||||||
The official SuperTuxKart forum is at. If you need support,
|
The official SuperTuxKart forum is at:
|
||||||
this would be the best place to start.
|
|
||||||
|
|
||||||
http://supertuxkart.sourceforge.net/forum
|
http://supertuxkart.sourceforge.net/forum
|
||||||
|
|
||||||
|
A big "thank you" to Steve Baker for designing and implementing the
|
||||||
|
original TuxKart, and to the GotM team for their invaluable work.
|
||||||
|
See the data/CREDITS file for individual credits.
|
||||||
|
|
||||||
Hope you enjoy the game.
|
Hope you enjoy the game.
|
||||||
- The SuperTuxKart development team.
|
- The SuperTuxKart development team.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
HARDWARE REQUIREMENTS
|
HARDWARE REQUIREMENTS
|
||||||
=====================
|
=====================
|
||||||
* You need a 3D graphics card that supports OpenGL or Mesa.
|
* You need a 3D graphics card that supports OpenGL or Mesa.
|
||||||
* You should have a CPU that's running at 450MHz or better.
|
* You should have a CPU that's running at 450MHz or better.
|
||||||
* You'll need at least 600 MB of free RAM.
|
* You'll need at least 128Mb RAM.
|
||||||
|
* A sound card would be nice - but it's not essential.
|
||||||
* Ideally, you want a joystick with at least 6 buttons.
|
* Ideally, you want a joystick with at least 6 buttons.
|
||||||
|
|
||||||
|
PLAYING THE GAME
|
||||||
|
================
|
||||||
|
SuperTuxKart is a kart racing game. Basically you run around the track,
|
||||||
|
and give your best shot at reaching the goal before your opponents. The ?
|
||||||
|
boxes can help you, and collection coins can build up your power, so you can
|
||||||
|
grab more than one collectable! But avoid the bananas, since they might
|
||||||
|
give you a nasty surprise.
|
||||||
|
|
||||||
COMPILING SuperTuxkart
|
Controls can be configured from the game, here are the defaults mappings:
|
||||||
======================
|
|
||||||
|
|
||||||
WINDOWS
|
Player 1:
|
||||||
-------
|
Steer : Left / Right arrow
|
||||||
A project file for Visual Studio 9 (e.g. the free 2008 express
|
Accelerate : Up arrow
|
||||||
edition) is included in the sources in src/ide/vc9. A separate
|
Brake : Down arrow
|
||||||
dependency package is available on SuperTuxKart's sourceforge
|
Use item : Right control
|
||||||
page, which includes all necessary libraries, header files,
|
Sharp Turn : Right shift
|
||||||
and dlls to compile and run the source code.
|
Rescue : Backspace
|
||||||
|
Nitro : - (minus key)
|
||||||
|
Look back : Right alt
|
||||||
|
|
||||||
While compilation with cygwin is not officially supported,
|
Player 2:
|
||||||
this has been done (check with the forum for details).
|
Steer : A / D key
|
||||||
|
Accelerate : W key
|
||||||
|
Brake : S key
|
||||||
|
Use item : Left control
|
||||||
|
Sharp Turn : Left shift
|
||||||
|
Rescue : Q key
|
||||||
|
Nitro : Caps lock
|
||||||
|
Look back : Left alt
|
||||||
|
|
||||||
MAC OSX
|
Player 3:
|
||||||
-------
|
Steer : F / H key
|
||||||
The latest information about compilation on Mac are on our wiki:
|
Accelerate : T key
|
||||||
http://supertuxkart.sourceforge.net/Building_and_packaging_on_OSX
|
Brake : G key
|
||||||
The Xcode project file is in /src/ide/Xcode/, but it still
|
Use item : N key
|
||||||
requires that all dependencies are installed as explained on the wiki.
|
Sharp Turn : C key
|
||||||
|
Rescue : R key
|
||||||
|
Nitro : V key
|
||||||
|
Look back : N key
|
||||||
|
|
||||||
UNIX
|
Player 4:
|
||||||
----
|
Steer : J / L key
|
||||||
See INSTALL for details.
|
Accelerate : I key
|
||||||
|
Brake : K key
|
||||||
|
Use item : . key
|
||||||
|
Sharp Turn : M key
|
||||||
|
Rescue : u key
|
||||||
|
Nitro : , key
|
||||||
|
Look back : / key
|
||||||
|
|
||||||
|
The Escape key pauses the game and shows the race menu.
|
||||||
|
|
||||||
|
|
||||||
|
SUPPORT
|
||||||
|
=======
|
||||||
|
The main webpage is at:
|
||||||
|
|
||||||
|
http://supertuxkart.sourceforge.net
|
||||||
|
|
||||||
|
If you have any problems, please go to the official SuperTuxKart Forum at:
|
||||||
|
|
||||||
|
http://supertuxkart.sourceforge.net/forum
|
||||||
|
|
||||||
|
|
||||||
LICENSE
|
LICENSE
|
||||||
@@ -57,15 +95,3 @@ This software is released under the GNU General Public License (GPL) which
|
|||||||
can be found in the file 'LICENSE' in the same directory as this file.
|
can be found in the file 'LICENSE' in the same directory as this file.
|
||||||
Information about the licenses for artwork are contained in
|
Information about the licenses for artwork are contained in
|
||||||
data/licenses.
|
data/licenses.
|
||||||
|
|
||||||
|
|
||||||
3D COORDINATES
|
|
||||||
==============
|
|
||||||
A reminder for those looking at the code and 3d models:
|
|
||||||
|
|
||||||
STK : X right, Y up, Z forwards
|
|
||||||
Blender: X right, Y forwards, Z up
|
|
||||||
|
|
||||||
The exporters perform the needed transform, so in Blender you just work
|
|
||||||
with XY plane as ground, and things will appear fine in STK (using XZ
|
|
||||||
as ground in the code, obviously).
|
|
||||||
|
31
README.cygwin
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
Some short instruction on how to compile supertuxkart with cygwin:
|
||||||
|
|
||||||
|
1) You have to use supertuxkart revision 593 or later (which you are
|
||||||
|
probably doing since you are reading this readme :) ).
|
||||||
|
|
||||||
|
2) Install freeglut
|
||||||
|
This is part of the cygwin packages, so just select this in
|
||||||
|
the cygwin setup program.
|
||||||
|
|
||||||
|
3) Compile and install plib
|
||||||
|
This should work straight out of the box.
|
||||||
|
|
||||||
|
4) Install OpenAL
|
||||||
|
We have had some problems with this, so this might be the most difficult stage.
|
||||||
|
|
||||||
|
4) Unpack superuxkart and run ./configure and make.
|
||||||
|
|
||||||
|
That should be all.
|
||||||
|
|
||||||
|
|
||||||
|
Comments:
|
||||||
|
1) A -DNOMINMAX is added for cygwin compilations, since otherwise
|
||||||
|
min and max are #defined, causing problems with all std::min and
|
||||||
|
std::max constructs.
|
||||||
|
2) The order in which plib/pu.h and plib/pw.h are included appears
|
||||||
|
to be important - pw should be included first.
|
||||||
|
|
||||||
|
If you have any problems, please post on the mailing list - I am
|
||||||
|
not a regular windows user, so am probably not able to help you.
|
||||||
|
|
||||||
|
hiker
|
530
README.macosx
Normal file
@@ -0,0 +1,530 @@
|
|||||||
|
(*) The latest information about compilation on Mac are on our wiki:
|
||||||
|
http://supertuxkart.sourceforge.net/Building_and_packaging_on_OSX
|
||||||
|
(*) There is an experimental Xcode project in /src/ide/Xcode/. It will still require that all dependencies are installed as explained on the wiki.
|
||||||
|
|
||||||
|
The older instructions should still work, and are quite detailed.
|
||||||
|
Note that we supply a modified version of plib (on our download page
|
||||||
|
at http://sourceforge.net/project/showfiles.php?group_id=202302)
|
||||||
|
which fixes a few compilation problems on Macs. We strongly recommend
|
||||||
|
to use this version (unless a newer plib version is released).
|
||||||
|
|
||||||
|
System requirements Mac:
|
||||||
|
PowerPC- or Intel-Mac with 800 MHz or more,
|
||||||
|
1 GHz recommended 3D-graphics card with 32 MB or more.
|
||||||
|
100 MB free disk space. Supporting Mac OS X 10.3.9 or later.
|
||||||
|
|
||||||
|
Compiling SuperTuxKart on OS X 10.4.x
|
||||||
|
|
||||||
|
01. Install all updates for OS X.
|
||||||
|
|
||||||
|
02. Download xcode 2.4.1_8m1910_6936315 from http://developer.apple.com/macosx/
|
||||||
|
|
||||||
|
You must be an Apple Developer Connection member to download this package.
|
||||||
|
|
||||||
|
03. Installing XCode.
|
||||||
|
|
||||||
|
04. Edit "/etc/profile":
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# System-wide .profile for sh(1)
|
||||||
|
|
||||||
|
PATH="/sw/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin"
|
||||||
|
|
||||||
|
export PATH
|
||||||
|
|
||||||
|
PKG_CONFIG_PATH="/sw/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X11R6/lib/pkgconfig:/usr/local/lib/pkgconfig"
|
||||||
|
|
||||||
|
export PKG_CONFIG_PATH
|
||||||
|
|
||||||
|
if [ "${BASH-no}" != "no" ]; then [ -r /etc/bashrc ] && . /etc/bashrc fi
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
05. Download Fink from http://www.finkproject.org/download/index.php?phpLang=en
|
||||||
|
|
||||||
|
06. Installing Fink.
|
||||||
|
|
||||||
|
07. Copy the FinkCommander folder to Applications and launch FinkCommander.
|
||||||
|
|
||||||
|
08. Run selfupdate.
|
||||||
|
|
||||||
|
09. Run update-all.
|
||||||
|
|
||||||
|
10. Run the index command.
|
||||||
|
|
||||||
|
11. Installing the following 'fink' packages:
|
||||||
|
|
||||||
|
|
||||||
|
11.01 SDL
|
||||||
|
|
||||||
|
11.02 audiofile
|
||||||
|
|
||||||
|
11.03 esound
|
||||||
|
|
||||||
|
11.04 svn
|
||||||
|
|
||||||
|
11.05 svn-client
|
||||||
|
|
||||||
|
|
||||||
|
12. Download the SDL framework from http://www.libsdl.org/download-1.2.php and copy it to /Library/Frameworks.
|
||||||
|
|
||||||
|
13. Installing Vorbis.framework and Ogg.framework:
|
||||||
|
|
||||||
|
13.01 Download SuperTux from http://developer.berlios.de/project/showfiles.php?group_id=3467&release_id=11879
|
||||||
|
|
||||||
|
13.02 Right-click the SuperTux icon and select Show Package Contents from the context menu.
|
||||||
|
|
||||||
|
13.03 Change in the folder Contents:Frameworks. And copy Vorbis.framework and Ogg.framework to <hd>:Library:Frameworks.
|
||||||
|
|
||||||
|
|
||||||
|
14. Installing plib: ////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
|
14.01 Download PLIB from http://plib.sourceforge.net/download.html
|
||||||
|
|
||||||
|
|
||||||
|
14.02 Unpack plib-1.8.4.tar.gz.
|
||||||
|
|
||||||
|
|
||||||
|
14.03 Change in the folder PLIB.
|
||||||
|
|
||||||
|
|
||||||
|
14.04 Download "pwMacOSX.cxx"-patch from ftp://ftp.berlios.de/pub/supertuxkart/plib_patch_for_osx.zip
|
||||||
|
|
||||||
|
|
||||||
|
14.05 Installing pwMacOSX.cxx-patch.
|
||||||
|
|
||||||
|
|
||||||
|
14.06 Run ./configure --prefix=<..... Universal/plib_ppc>" in the folder PLIB.
|
||||||
|
|
||||||
|
|
||||||
|
e.g.: /Users/christian/Desktop/Universal/plib_ppc.
|
||||||
|
|
||||||
|
|
||||||
|
14.07 Modify the plib:
|
||||||
|
|
||||||
|
|
||||||
|
jsMacOSX.cxx:
|
||||||
|
|
||||||
|
|
||||||
|
#include <IOKit/IOkitLib.h>
|
||||||
|
|
||||||
|
|
||||||
|
replace with:
|
||||||
|
|
||||||
|
|
||||||
|
#include <IOKit/IOKitLib.h>
|
||||||
|
|
||||||
|
|
||||||
|
14.08 jsMacOSX.cxx:
|
||||||
|
|
||||||
|
|
||||||
|
static void os_specific_s::elementEnumerator( const void *element, void* vjs)
|
||||||
|
|
||||||
|
|
||||||
|
replace with:
|
||||||
|
|
||||||
|
|
||||||
|
void os_specific_s::elementEnumerator( const void *element, void* vjs)
|
||||||
|
|
||||||
|
|
||||||
|
14.09 make
|
||||||
|
|
||||||
|
14.10 make install
|
||||||
|
|
||||||
|
14.11 make clean
|
||||||
|
|
||||||
|
|
||||||
|
14.12 Run "./configure --prefix=<..... Universal/plib_x86>" in the folder PLIB.
|
||||||
|
|
||||||
|
e.g.: /Users/christian/Desktop/Universal/plib_x86.
|
||||||
|
|
||||||
|
14.13 Edit the following Makefiles:
|
||||||
|
|
||||||
|
<PLIB-Ordner>/Makefile
|
||||||
|
|
||||||
|
<PLIB-Ordner>/src/Makefile
|
||||||
|
|
||||||
|
<PLIB-Ordner>/src/fnt/Makefile
|
||||||
|
|
||||||
|
<PLIB-Ordner>/src/js/Makefile
|
||||||
|
|
||||||
|
<PLIB-Ordner>/src/net/Makefile
|
||||||
|
|
||||||
|
<PLIB-Ordner>/src/psl/Makefile
|
||||||
|
|
||||||
|
<PLIB-Ordner>/src/puAux/Makefile
|
||||||
|
|
||||||
|
<PLIB-Ordner>/src/pui/Makefile
|
||||||
|
|
||||||
|
<PLIB-Ordner>/src/pw/Makefile
|
||||||
|
|
||||||
|
<PLIB-Ordner>/src/sg/Makefile
|
||||||
|
|
||||||
|
<PLIB-Ordner>/src/sl/Makefile
|
||||||
|
|
||||||
|
<PLIB-Ordner>/src/ssg/Makefile
|
||||||
|
|
||||||
|
<PLIB-Ordner>/src/ssgAux/Makefile
|
||||||
|
|
||||||
|
<PLIB-Ordner>/src/util/Makefile
|
||||||
|
|
||||||
|
replace the line: "CXXFLAGS =" with "CXXFLAGS = -g -O2 -Wall -arch i386"
|
||||||
|
|
||||||
|
14.14 make install
|
||||||
|
|
||||||
|
14.15 Create a universal (multi-architecture) plib:
|
||||||
|
|
||||||
|
lipo -create /Users/christian/Desktop/Universal/plib_ppc/lib/libplibfnt.a /Users/christian/Desktop/Universal/
|
||||||
|
|
||||||
|
plib_x86/lib/libplibfnt.a -output /usr/lib/libplibfnt.a
|
||||||
|
|
||||||
|
Repeat this step for all libraries.
|
||||||
|
|
||||||
|
15. Installing Freealut-1.1.0 from OpenAL.org ////////////////////
|
||||||
|
|
||||||
|
15.01 Makefile.in:
|
||||||
|
|
||||||
|
Replace the line:
|
||||||
|
|
||||||
|
SUBDIRS = admin src include examples test_suite
|
||||||
|
|
||||||
|
with
|
||||||
|
|
||||||
|
SUBDIRS = admin src include
|
||||||
|
|
||||||
|
|
||||||
|
15.02 configure:
|
||||||
|
|
||||||
|
Replace the line
|
||||||
|
|
||||||
|
for ac_header in AL/alc.h AL/al.h basetsd.h ctype.h math.h stdio.h time.h
|
||||||
|
|
||||||
|
with
|
||||||
|
|
||||||
|
for ac_header in OpenAL/alc.h OpenAL/al.h basetsd.h ctype.h math.h stdio.h time.h
|
||||||
|
|
||||||
|
|
||||||
|
15.03 export CXXFLAGS="-framework OpenAL"
|
||||||
|
|
||||||
|
|
||||||
|
15.04 export LDFLAGS="-framework OpenAL"
|
||||||
|
|
||||||
|
|
||||||
|
15.05 ./configure --prefix=/usr
|
||||||
|
|
||||||
|
|
||||||
|
15.06 make
|
||||||
|
|
||||||
|
|
||||||
|
15.07 Open admin/pkgconfig/freealut.pc
|
||||||
|
|
||||||
|
Replace the line
|
||||||
|
|
||||||
|
Requires: openal
|
||||||
|
|
||||||
|
with
|
||||||
|
|
||||||
|
Requires:
|
||||||
|
|
||||||
|
|
||||||
|
15.08 Replace the line:
|
||||||
|
|
||||||
|
Libs: -L${libdir} -lalut Cflags: -I${includedir}
|
||||||
|
|
||||||
|
with
|
||||||
|
|
||||||
|
Libs: -framework OpenAL -L${libdir} -lalut Cflags: -framework OpenAL -I${includedir}
|
||||||
|
|
||||||
|
|
||||||
|
15.09 sudo make install
|
||||||
|
|
||||||
|
|
||||||
|
16. Copy the plib files to "/usr/local":
|
||||||
|
|
||||||
|
16.01 sudo cp /usr/lib/libplib* /usr/local/lib/
|
||||||
|
|
||||||
|
16.02 sudo cp -R /usr/include/plib /usr/local/include/
|
||||||
|
|
||||||
|
|
||||||
|
Installing SuperTuxKart //////////
|
||||||
|
|
||||||
|
|
||||||
|
1. Copy the following code and paste it in the new file "buildUB.sh".
|
||||||
|
|
||||||
|
|
||||||
|
buildUB.sh:
|
||||||
|
|
||||||
|
---------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -r ./configure ]; then
|
||||||
|
|
||||||
|
echo "Configure found!"
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
echo "No Config file found! Runing autogen.sh..."
|
||||||
|
|
||||||
|
sh autogen.sh
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if [ -r ./config.guess ]; then
|
||||||
|
|
||||||
|
echo "config.guess found!"
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
echo "config.guess not present! Copying it..."
|
||||||
|
|
||||||
|
cp /usr/share/libtool/config.guess ./config.guess
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if [ -r ./config.sub ]; then
|
||||||
|
|
||||||
|
echo "config.sub found!"
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
echo "config.sub not present! Copying it..."
|
||||||
|
|
||||||
|
cp /usr/share/libtool/config.sub ./config.sub
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if [ -r ./Makefile ]; then
|
||||||
|
|
||||||
|
echo "Makefile found!"
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
echo "Makefile missing! Running ./configure..."
|
||||||
|
|
||||||
|
./configure
|
||||||
|
|
||||||
|
if [ -r ./Makefile ]; then
|
||||||
|
|
||||||
|
echo "Makefile present, ready to compile!"
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
echo "Configure not completed, Makefile still missing! Exiting..."
|
||||||
|
|
||||||
|
exit 1
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
echo "Setting environment variables..."
|
||||||
|
|
||||||
|
export sdl_LIBS=""
|
||||||
|
|
||||||
|
export LDFLAGS="-framework OpenAL -Wl,-framework,Cocoa -framework SDL -framework Cocoa -lSDLmain
|
||||||
|
|
||||||
|
-framework Vorbis -framework Ogg -L/usr/local/lib -L/opt/local/lib -L/sw/lib"
|
||||||
|
|
||||||
|
export openal_LIBS="/usr/local/lib/libmikmod.a"
|
||||||
|
|
||||||
|
|
||||||
|
if [ -r ./bin/supertuxkartPPC ]; then
|
||||||
|
|
||||||
|
echo "supertuxkartPPC is present, nothing to do."
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
echo "Cleaning up..."
|
||||||
|
|
||||||
|
make clean -s
|
||||||
|
|
||||||
|
|
||||||
|
echo "Building PPC Binary..."
|
||||||
|
|
||||||
|
make -e -s
|
||||||
|
|
||||||
|
|
||||||
|
echo "Copying PPC Binary..."
|
||||||
|
|
||||||
|
mkdir ./bin
|
||||||
|
|
||||||
|
if [ -r ./src/supertuxkart ]; then
|
||||||
|
|
||||||
|
cp ./src/supertuxkart ./bin/supertuxkartPPC
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
echo "Error!"
|
||||||
|
|
||||||
|
exit 1
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if [ -r ./bin/supertuxkartx86 ]; then
|
||||||
|
|
||||||
|
echo "supertuxkartx86 is present, nothing to do."
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
echo "Cleaning up..."
|
||||||
|
|
||||||
|
make clean -s
|
||||||
|
|
||||||
|
|
||||||
|
echo "Building x86 Binary..."
|
||||||
|
|
||||||
|
export CXXFLAGS="-g -O2 -Wall -arch i386 `sdl-config --cflags`"
|
||||||
|
|
||||||
|
export LDFLAGS=$LDFLAGS" -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -L/usr/local/lib -L/opt/local/lib -L/sw/lib"
|
||||||
|
|
||||||
|
make -e -s
|
||||||
|
|
||||||
|
|
||||||
|
echo "Copying x86 Binary..."
|
||||||
|
|
||||||
|
if [ -r ./src/supertuxkart ]; then
|
||||||
|
|
||||||
|
cp ./src/supertuxkart ./bin/supertuxkartx86
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
echo "Error!"
|
||||||
|
|
||||||
|
exit 1
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
echo "Creating Universal Binary..."
|
||||||
|
|
||||||
|
lipo -create ./bin/supertuxkartPPC ./bin/supertuxkartx86 -output ./bin/supertuxkart
|
||||||
|
|
||||||
|
|
||||||
|
echo "Done!"
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
2. Set the permissions for the script "buildUB.sh"
|
||||||
|
|
||||||
|
e.g.: chmod 744 buildUB.sh
|
||||||
|
|
||||||
|
|
||||||
|
3. Download SuperTuxKart-Source from "http://sourceforge.net/project/showfiles.php?group_id=202302".
|
||||||
|
|
||||||
|
|
||||||
|
4. Go in the folder SuperTuxKart.
|
||||||
|
|
||||||
|
|
||||||
|
5. Copy the script "buildUB.sh" in the directory "SuperTuxKart".
|
||||||
|
|
||||||
|
|
||||||
|
6. ./buildUB.sh
|
||||||
|
|
||||||
|
|
||||||
|
7. Check-up:
|
||||||
|
|
||||||
|
|
||||||
|
7.01 Go in the folder "bin".
|
||||||
|
|
||||||
|
|
||||||
|
7.02 ./supertuxkart --version
|
||||||
|
|
||||||
|
Print version information
|
||||||
|
|
||||||
|
e.g.:
|
||||||
|
-------------------------------------------------------------------------
|
||||||
|
SuperTuxKart, 0.3alpha.
|
||||||
|
|
||||||
|
SuperTuxKart, SVN revision number '975M'.
|
||||||
|
-------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
7.03 Is this a universal binary?
|
||||||
|
|
||||||
|
file supertuxkart
|
||||||
|
|
||||||
|
|
||||||
|
e.g.:
|
||||||
|
-------------------------------------------------------------------------
|
||||||
|
supertuxkart: Mach-O fat file with 2 architectures
|
||||||
|
|
||||||
|
supertuxkart (for architecture ppc): Mach-O executable ppc
|
||||||
|
|
||||||
|
supertuxkart (for architecture i386): Mach-O executable i386
|
||||||
|
-------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
7.04 otool -L supertuxkart
|
||||||
|
|
||||||
|
Print shared library dependencies.
|
||||||
|
|
||||||
|
e.g.:
|
||||||
|
------------------------------------------------------------------------------------------------
|
||||||
|
supertuxkart:
|
||||||
|
|
||||||
|
/System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL (compatibility version 1.0.0,
|
||||||
|
|
||||||
|
current version 1.0.0)
|
||||||
|
|
||||||
|
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0,
|
||||||
|
|
||||||
|
current version 11.0.0)
|
||||||
|
|
||||||
|
@executable_path/../Frameworks/SDL.framework/Versions/A/SDL (compatibility version 1.0.0, current
|
||||||
|
|
||||||
|
version 1.0.0)
|
||||||
|
|
||||||
|
@executable_path/../Frameworks/Vorbis.framework/Versions/A/Vorbis (compatibility version 1.0.0,
|
||||||
|
|
||||||
|
current version 1.0.0)
|
||||||
|
|
||||||
|
@executable_path/../Frameworks/Ogg.framework/Versions/A/Ogg (compatibility version 1.0.0, current
|
||||||
|
|
||||||
|
version 1.0.0)
|
||||||
|
|
||||||
|
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current
|
||||||
|
|
||||||
|
version 128.0.0)
|
||||||
|
|
||||||
|
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current
|
||||||
|
|
||||||
|
version 1.0.0)
|
||||||
|
|
||||||
|
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current
|
||||||
|
|
||||||
|
version 275.0.0)
|
||||||
|
|
||||||
|
/System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version
|
||||||
|
|
||||||
|
1.0.0)
|
||||||
|
|
||||||
|
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
|
||||||
|
|
||||||
|
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
|
||||||
|
|
||||||
|
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.8)
|
||||||
|
---------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
************* S T A R T T H E G A M E A N D H A V E F U N! **************
|
||||||
|
|
||||||
|
|
||||||
|
Please post to the development list if you have any problems.
|
||||||
|
|
||||||
|
|
||||||
|
|
71
README.windows
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
NOTE
|
||||||
|
====
|
||||||
|
If you have downloaded the 0.4 version and it does not start, please
|
||||||
|
install the Microsoft Visual C++ redistributable package ('vcredist_x86.exe')
|
||||||
|
included in this directory.
|
||||||
|
|
||||||
|
If you don't hear any sound, you have to install OpenAL (see http://ww.openal.org).
|
||||||
|
Simply install the OpenAL redistributable ('oalinst.exe').
|
||||||
|
|
||||||
|
The release comes with a full installer, which includes these redistributables.
|
||||||
|
|
||||||
|
|
||||||
|
If you are downloading a source version and want to compile it yourself:
|
||||||
|
|
||||||
|
There are two documented ways to compile an executable for windows: using
|
||||||
|
cygwin, and using visual c++ (tested with the free Express version).
|
||||||
|
|
||||||
|
If you have any problems, please post on the mailing list, and we will
|
||||||
|
do our best to help you.
|
||||||
|
|
||||||
|
|
||||||
|
Cygwin
|
||||||
|
======
|
||||||
|
1) Install freeglut
|
||||||
|
This is part of the cygwin packages, so just select this in
|
||||||
|
the cygwin setup program.
|
||||||
|
|
||||||
|
2) Compile and install plib
|
||||||
|
This should work straight out of the box.
|
||||||
|
|
||||||
|
3) Install OpenAL
|
||||||
|
We have had some problems with this in the past, so it might be tricky.
|
||||||
|
|
||||||
|
4) Unpack supertuxkart and run ./configure and make.
|
||||||
|
|
||||||
|
That should be all.
|
||||||
|
|
||||||
|
Comments:
|
||||||
|
1) A -DNOMINMAX is added for cygwin compilations, since otherwise
|
||||||
|
min and max are #defined, causing problems with all std::min and
|
||||||
|
std::max constructs. This is done automatically by the configure
|
||||||
|
script.
|
||||||
|
2) The order in which plib/pu.h and plib/pw.h are included appears
|
||||||
|
to be important - pw should be included first.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Visual C++ Express
|
||||||
|
==================
|
||||||
|
There are now project files included for building SuperTuxKart with
|
||||||
|
Visual C++ - have a look at the src/ide/vc8 folder.
|
||||||
|
Since version r793 SuperTuxKart compiles with Visual C++ Express,
|
||||||
|
version 8.0, since rev 1267 Visual C++ project files are included.
|
||||||
|
The main project file is .../src/ide/vc8/supertuxkart.vcproj,
|
||||||
|
and it includes a sub project for the bullet library. More details
|
||||||
|
can be found in .../src/ide/vc8/README.
|
||||||
|
|
||||||
|
You still have to install all dependencies, and:
|
||||||
|
1) Modify plib:
|
||||||
|
Best choice would be to use the plib version from our download page,
|
||||||
|
since it contains all bugfixes that are necessary. The latest
|
||||||
|
release (1.8.5) might work, if you are using 1.8.4:
|
||||||
|
In src/ssg/ssgLoadAC.cxx replace:
|
||||||
|
loader_fd = fopen ( filename, "ra" ) ;
|
||||||
|
with
|
||||||
|
loader_fd = fopen ( filename, "r" ) ;
|
||||||
|
This patch will be submitted to PLIB, but we don't know if and
|
||||||
|
when it will be applied.
|
||||||
|
|
||||||
|
2) Compile plib (project files for visual c++ are included)
|
||||||
|
|
34
SVN-CONFIG
@@ -1,34 +0,0 @@
|
|||||||
# Please, make sure your SVN client uses something that matches the
|
|
||||||
# following config. Specially the autoprops part, that way new files
|
|
||||||
# will be added with the right settings. Default config for command line
|
|
||||||
# svn is in ~/.subversion/config. If you use SVN for multiple projects
|
|
||||||
# simultaneously, remember you can use different configs, at least in
|
|
||||||
# cmd line (via --config-dir and for example ~/.subversion/supertuxkart/
|
|
||||||
# with a new config file inside).
|
|
||||||
|
|
||||||
[miscellany]
|
|
||||||
global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* ._* .DS_Store
|
|
||||||
enable-auto-props = yes
|
|
||||||
|
|
||||||
[auto-props]
|
|
||||||
*.c = svn:eol-style=native;svn:keywords=Author Date Id Revision
|
|
||||||
*.cpp = svn:eol-style=native;svn:keywords=Author Date Id Revision
|
|
||||||
*.h = svn:eol-style=native;svn:keywords=Author Date Id Revision
|
|
||||||
*.hpp = svn:eol-style=native;svn:keywords=Author Date Id Revision
|
|
||||||
*.dsp = svn:eol-style=CRLF
|
|
||||||
*.dsw = svn:eol-style=CRLF
|
|
||||||
*.sh = svn:eol-style=native;svn:executable;svn:keywords=Author Date Id Revision
|
|
||||||
*.txt = svn:eol-style=native
|
|
||||||
*.png = svn:mime-type=image/png
|
|
||||||
*.jpg = svn:mime-type=image/jpeg
|
|
||||||
Makefile = svn:eol-style=native;svn:keywords=Author Date Id Revision
|
|
||||||
*.jpeg = svn:mime-type=image/jpeg
|
|
||||||
*.gif = svn:mime-type=image/gif
|
|
||||||
*.svg = svn:mime-type=image/svg+xml
|
|
||||||
*.htm = svn:mime-type=text/html
|
|
||||||
*.html = svn:mime-type=text/html
|
|
||||||
*.css = svn:mime-type=text/css
|
|
||||||
*.pdf = svn:mime-type=application/pdf
|
|
||||||
SConstruct = svn:eol-style=native;svn:keywords=Author Date Id Revision
|
|
||||||
*.xml = svn:eol-style=native;svn:mime-type=text/xml
|
|
||||||
*.py = svn:eol-style=native;svn:keywords=Author Date Id Revision
|
|
52
TODO
@@ -39,5 +39,53 @@ Thanks in advance!
|
|||||||
The SuperTuxKart-Team
|
The SuperTuxKart-Team
|
||||||
|
|
||||||
|
|
||||||
For details, see
|
********************************
|
||||||
http://supertuxkart.sourceforge.net/Get_involved
|
********************************
|
||||||
|
** **
|
||||||
|
** Incomplete(!!) TODO List **
|
||||||
|
** **
|
||||||
|
********************************
|
||||||
|
********************************
|
||||||
|
|
||||||
|
Things that would be nice to fix, but are not urgent
|
||||||
|
=====================================================
|
||||||
|
- Write some documentation.
|
||||||
|
- Display skid marks again (currently disabled due to problems of
|
||||||
|
skid marks being 'in the air').
|
||||||
|
- Added settings menu (e.g. for MPH vs KPH (vs. KM/H), ...)
|
||||||
|
- Add a tutorial course
|
||||||
|
- Valgrind for memory bugs.
|
||||||
|
- Update the web page, make more screen shots, ...
|
||||||
|
- Tight/wide corner steering for AI. The AI is hitting the wall
|
||||||
|
in very tight corners (e.g. subseatrack) [coz]
|
||||||
|
|
||||||
|
|
||||||
|
long term
|
||||||
|
=========
|
||||||
|
- Add network multiplayer
|
||||||
|
- Make full use of OpenAL
|
||||||
|
- Performance tuning
|
||||||
|
- Support for multi-core CPUs
|
||||||
|
(while this is not strictly necessary, it might be a nice headline
|
||||||
|
for news entries. The physics/collision detection would be
|
||||||
|
easy to parallelise)
|
||||||
|
- More gadgets
|
||||||
|
- Positive: - squirt oil on track to make karts slip, ...
|
||||||
|
- Negative: - 'dirt on windscreen' - partial blackout of screen
|
||||||
|
- More flexibility for items. E.g.
|
||||||
|
- Tracks might hard code some items, change the distribution of some
|
||||||
|
others (e.g. only a rocket at a certain location, but random choice
|
||||||
|
which one the kart gets. Instead of just specifying
|
||||||
|
GREENHERRING, one could write: ZIPPER:ANVIL and one of the listed
|
||||||
|
things would be picked randomly)
|
||||||
|
- Grand prixs might want to overwrite this, e.g.:
|
||||||
|
"war" grand prix: only rockets for all gadgets
|
||||||
|
- Perhaps make good and bad things indistinguishable?
|
||||||
|
- sound/music manager needed
|
||||||
|
Make it easy to replace sounds (which are currently hardcoded), e.g
|
||||||
|
via a config file. Sound/music should be selectable for a track,
|
||||||
|
but a grand prix should be able to overwrite this to create a consistent
|
||||||
|
ambience, ...
|
||||||
|
- More tracks
|
||||||
|
- More grand prixs
|
||||||
|
- Code cleanup
|
||||||
|
0
acinclude.m4
Normal file → Executable file
425
configure.ac
@@ -1,45 +1,51 @@
|
|||||||
# Process this file with autogen.sh to produce a configure script.
|
dnl Process this file with autogen.sh to produce a configure script.
|
||||||
|
|
||||||
AC_INIT(supertuxkart,0.7.2)
|
AC_INIT(supertuxkart, 0.6.2)
|
||||||
AC_CONFIG_SRCDIR([src/main.cpp])
|
AC_CONFIG_SRCDIR([src/main.cpp])
|
||||||
|
|
||||||
AC_PREREQ(2.61)
|
AC_PREREQ(2.61)
|
||||||
|
|
||||||
# ================================================
|
dnl ================================================
|
||||||
# Initialize the automake stuff
|
dnl Initialize the automake stuff
|
||||||
# set the $host variable based on local machine/os
|
dnl set the $host variable based on local machine/os
|
||||||
# ================================================
|
dnl ================================================
|
||||||
AC_CANONICAL_HOST
|
AC_CANONICAL_HOST
|
||||||
AM_INIT_AUTOMAKE([foreign tar-ustar])
|
AM_INIT_AUTOMAKE([foreign tar-ustar])
|
||||||
|
|
||||||
|
|
||||||
# =====================================================
|
dnl =====================================================
|
||||||
# Set the default CFLAGS/CXXFLAGS
|
dnl Set the default CFLAGS/CXXFLAGS
|
||||||
# If these were not set, the AC_PROG_CC and AC_PROG_CXX
|
dnl If these were not set, the AC_PROG_CC and AC_PROG_CXX
|
||||||
# scripts set them to "-g -O2".
|
dnl scripts set them to "-g -O2".
|
||||||
# =====================================================
|
dnl =====================================================
|
||||||
CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes"
|
CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes"
|
||||||
CXXFLAGS="$CXXFLAGS -Wall"
|
CXXFLAGS="$CXXFLAGS -Wall"
|
||||||
|
|
||||||
# ===================
|
dnl ===================
|
||||||
# Check for compilers
|
dnl Check for compilers
|
||||||
# ===================
|
dnl ===================
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_CPP
|
AC_PROG_CPP
|
||||||
AC_PROG_CXX
|
AC_PROG_CXX
|
||||||
|
|
||||||
# This macro defines WORDS_BIGENDIAN if building for a big endian machine.
|
# This macro defines WORDS_BIGENDIAN if building for a big endian machine.
|
||||||
|
# This is required by ov_read (Ogg Vorbis)
|
||||||
AC_C_BIGENDIAN
|
AC_C_BIGENDIAN
|
||||||
|
|
||||||
|
|
||||||
AC_LANG(C++)
|
AC_LANG(C++)
|
||||||
|
|
||||||
|
|
||||||
# ===========================
|
dnl ===========================
|
||||||
# Check for `configure' flags
|
dnl Check for `configure' flags
|
||||||
# ===========================
|
dnl ===========================
|
||||||
SUMMARY="\nSummary of optional components:\n==============================="
|
SUMMARY="\nSummary of optional components:\n==============================="
|
||||||
|
|
||||||
|
if test "x$with_plib" != "x" ; then
|
||||||
|
echo "plib prefix is $with_plib"
|
||||||
|
EXTRA_DIRS="${EXTRA_DIRS} $with_plib"
|
||||||
|
fi
|
||||||
|
|
||||||
AC_ARG_ENABLE(debug, [AS_HELP_STRING(--enable-debug,
|
AC_ARG_ENABLE(debug, [AS_HELP_STRING(--enable-debug,
|
||||||
[enable debugging info])])
|
[enable debugging info])])
|
||||||
if test x$enable_debug = xyes; then
|
if test x$enable_debug = xyes; then
|
||||||
@@ -63,57 +69,56 @@ else
|
|||||||
SUMMARY="$SUMMARY\nDisabled compiler optimizations."
|
SUMMARY="$SUMMARY\nDisabled compiler optimizations."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ===================
|
dnl ===================
|
||||||
# Checks for programs.
|
dnl Checks for programs.
|
||||||
# ===================
|
dnl ===================
|
||||||
AC_PROG_MAKE_SET
|
AC_PROG_MAKE_SET
|
||||||
AC_PROG_RANLIB
|
AC_PROG_RANLIB
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
|
|
||||||
# ===============================
|
dnl ===============================
|
||||||
# Check for MS Windows environment
|
dnl Check for MS Windows environment
|
||||||
# ================================
|
dnl ================================
|
||||||
AC_CHECK_HEADER(windows.h)
|
AC_CHECK_HEADER(windows.h)
|
||||||
|
|
||||||
# ==================================
|
dnl ==================================
|
||||||
# check for OpenGL related libraries
|
dnl check for OpenGL related libraries
|
||||||
# ==================================
|
dnl ==================================
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
*darwin*|*macosx*)
|
*darwin*|*macosx*)
|
||||||
opengl_LIBS="$LIBS -framework Carbon -framework OpenGL -framework IOKit -framework AGL"
|
opengl_LIBS="$LIBS -framework Carbon -framework OpenGL -framework IOKit -framework AGL"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*-*-cygwin* | *-*-mingw32*)
|
*-*-cygwin* | *-*-mingw32*)
|
||||||
# CygWin under Windoze.
|
dnl CygWin under Windoze.
|
||||||
|
|
||||||
echo Win32 specific hacks...
|
echo Win32 specific hacks...
|
||||||
AC_DEFINE([WIN32], 1, [Define for Win32 platforms])
|
AC_DEFINE([WIN32], 1, [Define for Win32 platforms])
|
||||||
AC_DEFINE([NOMINMAX], 1, [Define for Win32 platforms])
|
AC_DEFINE([NOMINMAX], 1, [Define for Win32 platforms])
|
||||||
|
|
||||||
opengl_LIBS="-lopengl32 -luser32 -lgdi32 -lm -lwinmm"
|
opengl_LIBS="-lglut32 -lglu32 -lopengl32 -luser32 -lgdi32 -lm -lwinmm"
|
||||||
joystick_LIBS="$joystick_LIBS -lwinmm"
|
joystick_LIBS="$joystick_LIBS -lwinmm"
|
||||||
LDFLAGS="$LDFLAGS -mwindows"
|
|
||||||
|
|
||||||
echo "Will link apps with $LIBS"
|
echo "Will link apps with $LIBS"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
# X-Windows based machines
|
dnl X-Windows based machines
|
||||||
|
|
||||||
save_LIBS=$LIBS
|
save_LIBS=$LIBS
|
||||||
AC_SEARCH_LIBS(glNewList, [ GL GLcore MesaGL ])
|
AC_SEARCH_LIBS(glNewList, [ GL GLcore MesaGL ])
|
||||||
opengl_LIBS="$LIBS"
|
opengl_LIBS="$LIBS"
|
||||||
LIBS=$save_LIBS
|
LIBS=$save_LIBS
|
||||||
if test "x$ac_cv_search_glNewList" = "x-lGLcore"; then
|
if test "x$ac_cv_search_glNewList" = "x-lGLcore"; then
|
||||||
# if GLcore found, then also check for GL
|
dnl if GLcore found, then also check for GL
|
||||||
AC_SEARCH_LIBS(glXCreateContext, GL)
|
AC_SEARCH_LIBS(glXCreateContext, GL)
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# ========================================
|
dnl ========================================
|
||||||
# check for OpenAL libraries
|
dnl check for OpenAL libraries
|
||||||
# ========================================
|
dnl ========================================
|
||||||
save_LIBS=$LIBS
|
save_LIBS=$LIBS
|
||||||
|
|
||||||
case "${host}" in
|
case "${host}" in
|
||||||
@@ -152,15 +157,11 @@ LIBS="$save_LIBS"
|
|||||||
|
|
||||||
save_LIBS=$LIBS
|
save_LIBS=$LIBS
|
||||||
|
|
||||||
# also check in /usr/local
|
dnl search for the libraries needed to use ogg vorbis
|
||||||
CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
|
AC_SEARCH_LIBS(ov_open, vorbisfile, have_vorbisfile_lib=yes)
|
||||||
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
|
||||||
|
|
||||||
# search for the libraries needed to use ogg vorbis
|
|
||||||
AC_SEARCH_LIBS(ov_open, [vorbisfile], have_vorbisfile_lib=yes, have_vorbisfile_lib=no, [-lvorbis])
|
|
||||||
|
|
||||||
if test x$have_vorbisfile_lib = xyes; then
|
if test x$have_vorbisfile_lib = xyes; then
|
||||||
# check for the headers needed by ogg vorbis
|
dnl check for the headers needed by ogg vorbis
|
||||||
AC_CHECK_HEADER(vorbis/vorbisfile.h, have_vorbisfile_hdr=yes)
|
AC_CHECK_HEADER(vorbis/vorbisfile.h, have_vorbisfile_hdr=yes)
|
||||||
AC_CHECK_HEADER(ogg/ogg.h, have_ogg_hdr=yes)
|
AC_CHECK_HEADER(ogg/ogg.h, have_ogg_hdr=yes)
|
||||||
fi
|
fi
|
||||||
@@ -183,200 +184,153 @@ LIBS=$save_LIBS
|
|||||||
AC_LANG_PUSH(C++)
|
AC_LANG_PUSH(C++)
|
||||||
|
|
||||||
|
|
||||||
# ==================
|
# ==============================================
|
||||||
# Check for irrlicht
|
# Check for "plib" without which we cannot go on
|
||||||
# ==================
|
# ==============================================
|
||||||
AC_ARG_WITH(irrlicht, [AS_HELP_STRING(--with-irrlicht=PREFIX,
|
# specify the plib location
|
||||||
[specify the prefix path to irrlicht])])
|
AC_ARG_WITH(plib, [AS_HELP_STRING(--with-plib=PREFIX,
|
||||||
if test "x$with_irrlicht" != "x" ; then
|
[specify the prefix path to plib])])
|
||||||
CPPFLAGS="${CPPFLAGS} -I $with_irrlicht/include -I $with_irrlicht/include/irrlicht"
|
if test "x$with_plib" != "x" ; then
|
||||||
AC_CHECK_HEADER(irrlicht.h, have_irrlicht_hdr=yes)
|
echo "plib prefix is $with_plib"
|
||||||
if test x$have_irrlicht_hdr != xyes; then
|
EXTRA_DIRS="${EXTRA_DIRS} $with_plib"
|
||||||
AC_MSG_ERROR([Can't find irrlicht in $with_irrlicht.])
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
CPPFLAGS_Save=$CPPFLAGS
|
|
||||||
|
|
||||||
# check in /usr
|
|
||||||
echo " in /usr/ : "
|
|
||||||
|
|
||||||
CPPFLAGS="${CPPFLAGS_Save} -I/usr/include/irrlicht"
|
|
||||||
AC_CHECK_HEADER(irrlicht.h, irrlicht_found_in_usr=yes, irrlicht_found_in_usr=no)
|
|
||||||
|
|
||||||
# if it's not found there, try /usr/local instead
|
|
||||||
if test x$irrlicht_found_in_usr == xyes; then
|
|
||||||
with_irrlicht="/usr"
|
|
||||||
else
|
|
||||||
|
|
||||||
# I'd like to fall back to check /usr/local second, but stupid autotools does not support
|
|
||||||
# checking for a header in 2 directories because it caches results
|
|
||||||
#AC_MSG_ERROR([Can't find irrlicht installation in /usr, use --with-irrlicht...])
|
|
||||||
|
|
||||||
# erase cached result
|
|
||||||
unset ac_cv_header_irrlicht_h
|
|
||||||
|
|
||||||
echo " in /usr/local/ : "
|
|
||||||
CPPFLAGS="${CPPFLAGS_Save} -I/usr/local/include/irrlicht"
|
|
||||||
AC_CHECK_HEADER(irrlicht.h, irrlicht_found_in_usr_local=yes, irrlicht_found_in_usr_local=no)
|
|
||||||
|
|
||||||
if test x$irrlicht_found_in_usr_local == xyes; then
|
|
||||||
with_irrlicht="/usr/local"
|
|
||||||
else
|
|
||||||
AC_MSG_ERROR([Can't find irrlicht installation in standard prefixes, use --with-irrlicht...])
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CPPFLAGS="${CPPFLAGS_Save} -I ${with_irrlicht}/include/irrlicht"
|
AC_CHECK_HEADER(plib/ul.h)
|
||||||
|
if test "x$ac_cv_header_plib_ul_h" != "xyes"; then
|
||||||
|
AC_MSG_ERROR([[cannot find useable plib installation. You need to install plib 1.8.4 or newer.]])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "${host}" in
|
AC_MSG_CHECKING([for plib 1.8.4 or newer])
|
||||||
*-*-linux* )
|
|
||||||
irrlicht_LIBS="-L/$with_irrlicht/lib/Linux -L/$with_irrlicht/lib -lIrrlicht"
|
|
||||||
;;
|
|
||||||
*darwin*|*macosx*)
|
|
||||||
irrlicht_LIBS="-L/$with_irrlicht/lib/ -lIrrlicht -framework Cocoa"
|
|
||||||
;;
|
|
||||||
*freebsd*)
|
|
||||||
irrlicht_LIBS="-L/$with_irrlicht/lib/ -lIrrlicht -lpthread"
|
|
||||||
esac
|
|
||||||
|
|
||||||
# ---- Check these flags do work by building a small irrLicht sample
|
|
||||||
echo "checking for irrlicht libraries..."
|
|
||||||
save_LIBS=$LIBS
|
|
||||||
LIBS="$LIBS $irrlicht_LIBS $opengl_LIBS"
|
|
||||||
|
|
||||||
irrlicht_sample_built_fine="false"
|
|
||||||
|
|
||||||
AC_TRY_RUN(
|
|
||||||
[
|
|
||||||
# include "irrlicht.h"
|
|
||||||
int main() {
|
|
||||||
irr::createDevice(irr::video::EDT_NULL);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
],
|
|
||||||
irrlicht_sample_built_fine="true",
|
|
||||||
irrlicht_sample_built_fine="false"
|
|
||||||
)
|
|
||||||
|
|
||||||
case "${host}" in
|
|
||||||
*-*-linux* )
|
|
||||||
# If base irrLicht flags failed, try again with Xxf86vm
|
|
||||||
# FIXME: this program when run prints out two lines (version numbers) to stdout
|
|
||||||
if test x$irrlicht_sample_built_fine = xfalse; then
|
|
||||||
LIBS="$LIBS -lXxf86vm"
|
|
||||||
works_with_Xxf86vm="false"
|
|
||||||
AC_TRY_RUN([
|
AC_TRY_RUN([
|
||||||
# include "irrlicht.h"
|
# include <plib/ul.h>
|
||||||
|
|
||||||
|
# define MIN_PLIB_VERSION 184
|
||||||
int main() {
|
int main() {
|
||||||
irr::createDevice(irr::video::EDT_NULL);
|
if ( PLIB_VERSION < MIN_PLIB_VERSION ) {
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
works_with_Xxf86vm="true",
|
AC_MSG_RESULT(yes),
|
||||||
|
[ AC_MSG_RESULT(wrong version);
|
||||||
|
AC_MSG_ERROR([plib 1.8.4 or later is needed. Please intall it first.])],
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
)
|
)
|
||||||
|
|
||||||
if test x$works_with_Xxf86vm = xtrue; then
|
|
||||||
irrlicht_LIBS="$irrlicht_LIBS -lXxf86vm"
|
|
||||||
irrlicht_sample_built_fine="true"
|
dnl =======================
|
||||||
|
dnl check for SDL libraries
|
||||||
|
dnl =======================
|
||||||
|
dnl Potentially sdl-config could be used, but apparently that might not
|
||||||
|
dnl exist on all platforms, so doing the 'classical' test is safer :(
|
||||||
|
case "${host}" in
|
||||||
|
*)
|
||||||
|
dnl default unix style machines
|
||||||
|
|
||||||
|
dnl check for libraries
|
||||||
|
save_LIBS=$LIBS
|
||||||
|
AC_SEARCH_LIBS(SDL_Init, SDL, have_SDL_lib=yes)
|
||||||
|
sdl_LIBS="$LIBS"
|
||||||
|
LIBS=$save_LIBS
|
||||||
|
|
||||||
|
dnl check for header files
|
||||||
|
AC_CHECK_HEADER(SDL/SDL.h, have_SDL_hdr=yes)
|
||||||
|
|
||||||
|
if test x$have_SDL_hdr != xyes -o x$have_SDL_lib != xyes; then
|
||||||
|
AC_MSG_ERROR([Install SDL first...])
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
;;
|
AC_TRY_RUN([
|
||||||
|
# include <SDL/SDL.h>
|
||||||
|
int main() {
|
||||||
|
if ( SDL_VERSION_ATLEAST(1,2,10)) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
],
|
||||||
|
:,
|
||||||
|
AC_MSG_WARN([Your SDL version uses deprecated
|
||||||
|
headers. Please update to version 1.2.10 or higher if possible.
|
||||||
|
Currently this doesn't affects the game at all.])
|
||||||
|
)
|
||||||
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if test x$irrlicht_sample_built_fine = xfalse; then
|
|
||||||
AC_MSG_ERROR([Can't build test irrLicht program. Check config.log to see the errors])
|
|
||||||
fi
|
|
||||||
|
|
||||||
# ---- Check we have the minimum required irrLicht version
|
dnl ======================================================
|
||||||
echo -n "checking irrlicht version is recent enough... "
|
dnl Try to supply the SVN revision number for the compiler
|
||||||
|
dnl ======================================================
|
||||||
irrlicht_min_version_met="false"
|
|
||||||
|
|
||||||
# Note that irrlicht 1.8 potentially needs additional flags (-lXcursor, or
|
|
||||||
# undefine _IRR_LINUX_XCURSOR_ # in IrrCompileConfig.h). Since there might
|
|
||||||
# be other changes, for now I remove support for irrlicht trunk/1.8
|
|
||||||
|
|
||||||
AC_TRY_RUN(
|
|
||||||
[
|
|
||||||
# include "irrlicht.h"
|
|
||||||
int main() {
|
|
||||||
#if (IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR == 7)
|
|
||||||
#error "STK needs irrlicht 1.8* to work properly (which might be only available"
|
|
||||||
#error "as svn trunk atm"
|
|
||||||
#else
|
|
||||||
// ok
|
|
||||||
#endif
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
],
|
|
||||||
irrlicht_min_version_met="true",
|
|
||||||
irrlicht_min_version_met="false"
|
|
||||||
)
|
|
||||||
|
|
||||||
if test x$irrlicht_min_version_met = xfalse; then
|
|
||||||
AC_MSG_ERROR([Your irrLicht is too old, please update irrLicht.
|
|
||||||
You need irrlicht 1.8.
|
|
||||||
While irrlicht 1.8 is not released, we recommend using version 3843 from irrlicht SVN trunk.])
|
|
||||||
else
|
|
||||||
echo "yes"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LIBS=$save_LIBS
|
|
||||||
|
|
||||||
# ==================
|
|
||||||
# Check for Fribidi
|
|
||||||
# ==================
|
|
||||||
|
|
||||||
save_LIBS=$LIBS
|
|
||||||
|
|
||||||
# also check in /usr/local
|
|
||||||
CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
|
|
||||||
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
|
||||||
|
|
||||||
# search for the libraries needed to use ogg vorbis
|
|
||||||
AC_SEARCH_LIBS(fribidi_log2vis, [fribidi], have_fribidi=yes, have_fribidi=no)
|
|
||||||
|
|
||||||
if test x$have_fribidi = xyes; then
|
|
||||||
AC_CHECK_HEADER(fribidi/fribidi.h, have_fribidi_hdr=yes)
|
|
||||||
fi
|
|
||||||
SUMMARY="$SUMMARY\n"
|
|
||||||
|
|
||||||
if test x$have_fribidi = xyes -a x$have_fribidi_hdr = xyes; then
|
|
||||||
AC_DEFINE([ENABLE_BIDI], 1, [Defined when Fribidi is available])
|
|
||||||
SUMMARY="$SUMMARY\nFribidi (RTL languages support) support enabled."
|
|
||||||
fribidi_LIBS="$LIBS"
|
|
||||||
else
|
|
||||||
SUMMARY="$SUMMARY\nFribidi (RTL languages support) support disabled."
|
|
||||||
fribidi_LIBS=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
LIBS=$save_LIBS
|
|
||||||
|
|
||||||
# Libcurl is needed in all build modes
|
|
||||||
PKG_CHECK_MODULES(LIBCURL, libcurl >= 0.1)
|
|
||||||
|
|
||||||
# ======================================================
|
|
||||||
# Try to supply the SVN revision number for the compiler
|
|
||||||
# ======================================================
|
|
||||||
AC_CHECK_PROGS(have_svnversion,[svnversion],"no")
|
AC_CHECK_PROGS(have_svnversion,[svnversion],"no")
|
||||||
if test x$have_svnversion != xno; then
|
if test x$have_svnversion != xno; then
|
||||||
SVNVERSION="`svnversion $srcdir`"
|
SVNVERSION="`svnversion $srcdir`"
|
||||||
AC_DEFINE_UNQUOTED([SVNVERSION],"$SVNVERSION",["SVN revision number"])
|
AC_DEFINE_UNQUOTED([SVNVERSION],"$SVNVERSION",["SVN revision number"])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ==============
|
AC_MSG_CHECKING([for gcc -fno-regmove option ])
|
||||||
# Bullet physics
|
|
||||||
# ==============
|
dnl =========================
|
||||||
|
dnl test regmove compiler bug
|
||||||
|
dnl =========================
|
||||||
|
dnl Test if -fno-regmove is supported, since -fregmove (which is part of -O2 on
|
||||||
|
dnl g++) triggers an optimisation problem with static_ssg:
|
||||||
|
ORIGCXXFLAGS="$CXXFLAGS"
|
||||||
|
CXXFLAGS="$CXXFLAGS -fno-regmove"
|
||||||
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
|
||||||
|
AC_MSG_RESULT(yes); NOREGMOVE=-fno-regmove,
|
||||||
|
AC_MSG_RESULT(no); NOREGMOVE="")
|
||||||
|
CXXFLAGS="$ORIGCXXFLAGS"
|
||||||
|
AC_SUBST(NOREGMOVE)
|
||||||
|
|
||||||
|
dnl ==============================================
|
||||||
|
dnl Glut (optional), used by bullet debugging only
|
||||||
|
dnl ==============================================
|
||||||
|
save_LIBS=$LIBS
|
||||||
|
save_LDFLAGS=$LDFLAGS
|
||||||
|
save_CXXFLAGS=$CXXFLAGS
|
||||||
|
case "${host}" in
|
||||||
|
*darwin*|*macosx*)
|
||||||
|
dnl Apparently -framework is needed for include files and libraries
|
||||||
|
CXXFLAGS="$CXXFLAGS -framework GLUT"
|
||||||
|
LDFLAGS="$LDFLAGS -framework GLUT"
|
||||||
|
esac
|
||||||
|
AC_SEARCH_LIBS(glutInit, [glut], have_glut_lib=yes)
|
||||||
|
|
||||||
|
if test x$have_glut_lib = xyes; then
|
||||||
|
# Apple has the headers in GLUT/glut.h instead of GL/glut.h
|
||||||
|
AC_CHECK_HEADERS([GL/glut.h GLUT/glut.h], have_glut_hdr=yes)
|
||||||
|
fi
|
||||||
|
if test x$have_glut_hdr = xyes; then
|
||||||
|
AC_DEFINE(HAVE_GLUT)
|
||||||
|
SUMMARY="$SUMMARY\nGlut found, enabling optional bullet debug"
|
||||||
|
else
|
||||||
|
SUMMARY="$SUMMARY\nNo glut found, disabling bullet debug"
|
||||||
|
dnl Remove the unnecessary -framework GLUT on Macs (no impact
|
||||||
|
dnl of this on any other platforms)
|
||||||
|
CXXFLAGS=$save_CSSFLAGS
|
||||||
|
LDFLAGS=$save_LDFLAGS
|
||||||
|
fi
|
||||||
|
glut_LIBS="$LIBS"
|
||||||
|
LIBS=$save_LIBS
|
||||||
|
|
||||||
|
dnl ==============
|
||||||
|
dnl Bullet physics
|
||||||
|
dnl ==============
|
||||||
AC_DEFINE([BT_NO_PROFILE], [], [Disable bullet internal profiling])
|
AC_DEFINE([BT_NO_PROFILE], [], [Disable bullet internal profiling])
|
||||||
|
SUMMARY="$SUMMARY\nUsing bullet physics."
|
||||||
BULLETTREE="src/bullet"
|
BULLETTREE="src/bullet"
|
||||||
bullet_LIBS="-Lbullet/src -lbulletdynamics -lbulletcollision -lbulletmath"
|
bullet_LIBS=""
|
||||||
|
if test x$have_glut_hdr = xyes; then
|
||||||
|
bullet_LIBS="-Lbullet/Demos/OpenGL -lbulletopenglsupport"
|
||||||
|
fi
|
||||||
|
bullet_LIBS="$bullet_LIBS -Lbullet/src -lbulletdynamics -lbulletcollision -lbulletmath"
|
||||||
|
|
||||||
|
|
||||||
# ====
|
dnl ====
|
||||||
# enet
|
dnl enet
|
||||||
# ====
|
dnl ====
|
||||||
AC_CHECK_FUNC(gethostbyaddr_r, [AC_DEFINE(HAS_GETHOSTBYADDR_R)])
|
AC_CHECK_FUNC(gethostbyaddr_r, [AC_DEFINE(HAS_GETHOSTBYADDR_R)])
|
||||||
AC_CHECK_FUNC(gethostbyname_r, [AC_DEFINE(HAS_GETHOSTBYNAME_R)])
|
AC_CHECK_FUNC(gethostbyname_r, [AC_DEFINE(HAS_GETHOSTBYNAME_R)])
|
||||||
AC_CHECK_FUNC(poll, [AC_DEFINE(HAS_POLL)])
|
AC_CHECK_FUNC(poll, [AC_DEFINE(HAS_POLL)])
|
||||||
@@ -402,45 +356,55 @@ case "${host}" in
|
|||||||
enet_LIBS="-Lenet -lenet"
|
enet_LIBS="-Lenet -lenet"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
SUMMARY="$SUMMARY\nUsing enet network support."
|
||||||
ENETTREE="src/enet"
|
ENETTREE="src/enet"
|
||||||
|
|
||||||
# ==========================================
|
# Check for gettext
|
||||||
# Check for a known compiler bug, details in
|
CHECK_GETTEXT(external)
|
||||||
# src/bullet/src/Makefile.am
|
|
||||||
# ==========================================
|
dnl =======================================================
|
||||||
ORIGCXXFLAGS="$CXXFLAGS"
|
dnl Add special compiler flags for SDL on certain platforms
|
||||||
CXXFLAGS="$CXXFLAGS -fno-elide-constructors"
|
dnl =======================================================
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
|
case "${host}" in
|
||||||
AC_MSG_RESULT(yes); NOELIDE=-fno-elide-constructors,
|
*darwin*|*macosx*)
|
||||||
AC_MSG_RESULT(no); NOELIDE="")
|
dnl SDL on Macs needs to link in SDLmain, since it includes the
|
||||||
CXXFLAGS="$ORIGCXXFLAGS"
|
dnl actual main program (on Macs #include "SDL/SDL.h" renames
|
||||||
AC_SUBST(NOELIDE)
|
dnl main into SDL_main, which then gets called from the new
|
||||||
|
dnl main program included in SDLmain. This is necessary to
|
||||||
|
dnl install a proper framework for SDL).
|
||||||
|
dnl This can't be done earlier, since all SDL tests program
|
||||||
|
dnl from configure do NOT include SDL/SDL.h, therefore the
|
||||||
|
dnl main program gets not replaced, and then getting an linking
|
||||||
|
dnl error about main defined twice :((
|
||||||
|
AC_CHECK_PROGS(have_sdl_config,[sdl-config],"no")
|
||||||
|
if test x$have_sdl_config != xno; then
|
||||||
|
LDFLAGS="$LDFLAGS `sdl-config --libs`"
|
||||||
|
CXXFLAGS="$CXXFLAGS `sdl-config --cflags`"
|
||||||
|
fi
|
||||||
|
esac
|
||||||
|
|
||||||
# =========================
|
# =========================
|
||||||
# subst bars in Makefile.am
|
# subst bars in Makefile.am
|
||||||
# =========================
|
# =========================
|
||||||
|
|
||||||
AC_SUBST(irrlicht_LIBS)
|
|
||||||
AC_SUBST(fribidi_LIBS)
|
|
||||||
AC_SUBST(bullet_LIBS)
|
AC_SUBST(bullet_LIBS)
|
||||||
AC_SUBST(enet_LIBS)
|
AC_SUBST(enet_LIBS)
|
||||||
AC_SUBST(opengl_LIBS)
|
AC_SUBST(opengl_LIBS)
|
||||||
AC_SUBST(openal_LIBS)
|
AC_SUBST(openal_LIBS)
|
||||||
AC_SUBST(oggvorbis_LIBS)
|
AC_SUBST(oggvorbis_LIBS)
|
||||||
|
AC_SUBST(glut_LIBS)
|
||||||
|
AC_SUBST(sdl_LIBS)
|
||||||
AC_SUBST(BULLETTREE)
|
AC_SUBST(BULLETTREE)
|
||||||
AC_SUBST(ENETTREE)
|
AC_SUBST(ENETTREE)
|
||||||
|
|
||||||
# ================
|
dnl ================
|
||||||
# Create makefiles
|
dnl Create makefiles
|
||||||
# ================
|
dnl ================
|
||||||
AC_CONFIG_FILES([ \
|
AC_CONFIG_FILES([ \
|
||||||
Makefile \
|
Makefile \
|
||||||
data/Makefile \
|
data/Makefile \
|
||||||
data/challenges/Makefile \
|
|
||||||
data/fonts/Makefile \
|
data/fonts/Makefile \
|
||||||
data/gfx/Makefile \
|
|
||||||
data/grandprix/Makefile \
|
data/grandprix/Makefile \
|
||||||
data/gui/Makefile \
|
data/items/Makefile \
|
||||||
data/karts/Makefile \
|
data/karts/Makefile \
|
||||||
data/models/Makefile \
|
data/models/Makefile \
|
||||||
data/music/Makefile \
|
data/music/Makefile \
|
||||||
@@ -453,6 +417,7 @@ AC_CONFIG_FILES([ \
|
|||||||
src/ide/Makefile \
|
src/ide/Makefile \
|
||||||
src/bullet/Makefile \
|
src/bullet/Makefile \
|
||||||
src/bullet/src/Makefile \
|
src/bullet/src/Makefile \
|
||||||
|
src/bullet/Demos/OpenGL/Makefile \
|
||||||
src/enet/Makefile \
|
src/enet/Makefile \
|
||||||
])
|
])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
BIN
data/CREDITS
@@ -1,6 +1,6 @@
|
|||||||
# data/
|
# data/
|
||||||
|
|
||||||
SUBDIRS = challenges fonts gfx gui karts models music po sfx textures tracks grandprix
|
SUBDIRS = fonts items karts models music po sfx textures tracks grandprix
|
||||||
pkgdatadir = $(datadir)/games/$(PACKAGE)/data
|
pkgdatadir = $(datadir)/games/$(PACKAGE)/data
|
||||||
|
|
||||||
dist_pkgdata_DATA = \
|
dist_pkgdata_DATA = \
|
||||||
@@ -10,7 +10,7 @@ dist_pkgdata_DATA = \
|
|||||||
$(shell find $(srcdir) -name "*.cup") \
|
$(shell find $(srcdir) -name "*.cup") \
|
||||||
$(shell find $(srcdir) -maxdepth 1 -name "*.challenge") \
|
$(shell find $(srcdir) -maxdepth 1 -name "*.challenge") \
|
||||||
$(shell find $(srcdir) -name "*.collectable") \
|
$(shell find $(srcdir) -name "*.collectable") \
|
||||||
stk_config.xml powerup.xml items.xml \
|
$(shell find $(srcdir) -name "*.projectile") \
|
||||||
CREDITS
|
CREDITS
|
||||||
|
|
||||||
desktopdir = $(prefix)/share/applications
|
desktopdir = $(prefix)/share/applications
|
||||||
|
9
data/anvil.collectable
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
;; -*- mode: lisp -*-
|
||||||
|
|
||||||
|
(tuxkart-collectable
|
||||||
|
(name "anvil")
|
||||||
|
(model "anvil.ac")
|
||||||
|
(icon "anchor-icon.rgb")
|
||||||
|
)
|
||||||
|
|
||||||
|
;; EOF ;;
|
20
data/bowling.projectile
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
;; -*- mode: lisp -*-
|
||||||
|
|
||||||
|
(tuxkart-collectable
|
||||||
|
(name "Bowling")
|
||||||
|
(model "bowling.ac")
|
||||||
|
(icon "bowling-icon.rgb")
|
||||||
|
(speed 4.0)
|
||||||
|
(min-height 0.2) ; height above terrain below which a ball is
|
||||||
|
; started to be pulled up
|
||||||
|
(max-height 1.0) ; height above terrain at which a ball is
|
||||||
|
; started to be pulled back to ground
|
||||||
|
(force-updown 1.0) ; force pushing the ball down
|
||||||
|
; when it's too high above ground
|
||||||
|
(force-to-target 40) ; force with which a bowling ball flies towards
|
||||||
|
; the nearest kart
|
||||||
|
(max-distance 25) ; maximum distance the ball can be away
|
||||||
|
; from a kart when accelerating towards it
|
||||||
|
)
|
||||||
|
|
||||||
|
;; EOF ;;
|
13
data/bubblegum.projectile
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
;; -*- mode: lisp -*-
|
||||||
|
|
||||||
|
(tuxkart-collectable
|
||||||
|
(name "Bubble Gum")
|
||||||
|
(model "../items/bubblegum.ac")
|
||||||
|
(icon "bubblegum-icon.rgb")
|
||||||
|
(speed 50.0)
|
||||||
|
(min-height 0.3)
|
||||||
|
(max-height 1.0)
|
||||||
|
(force-updown 20)
|
||||||
|
)
|
||||||
|
|
||||||
|
;; EOF ;;
|
14
data/cake.projectile
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
;; -*- mode: lisp -*-
|
||||||
|
|
||||||
|
(tuxkart-collectable
|
||||||
|
(name "cake")
|
||||||
|
(model "cake.ac")
|
||||||
|
(icon "cake-icon.rgb")
|
||||||
|
(speed 50.0)
|
||||||
|
(min-height 0.2)
|
||||||
|
(max-height 1.0)
|
||||||
|
(force-updown 25.0) ;; force raising/lowering the homing missile if it's too low/high
|
||||||
|
(max-distance 90.0) ;; maximum distance at which a kart is still followed
|
||||||
|
)
|
||||||
|
|
||||||
|
;; EOF ;;
|
@@ -1,5 +0,0 @@
|
|||||||
# challenges/
|
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/games/$(PACKAGE)/data/challenges
|
|
||||||
|
|
||||||
nobase_dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.challenge")
|
|
@@ -1,17 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<challenge
|
|
||||||
version="1"
|
|
||||||
id="worldsend"
|
|
||||||
name="Win the At World's End Grand Prix"
|
|
||||||
description="Come first in the At World's End Grand Prix with 3 Expert AI karts."
|
|
||||||
unlock-gp="alltracks"
|
|
||||||
depend-on="islandfollow minestime"
|
|
||||||
major="grandprix"
|
|
||||||
minor="quickrace"
|
|
||||||
gp="atworldsend"
|
|
||||||
difficulty="hard"
|
|
||||||
karts="4"
|
|
||||||
position="1"
|
|
||||||
/>
|
|
||||||
|
|
@@ -1,19 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<challenge
|
|
||||||
version="1"
|
|
||||||
id="islandfollow"
|
|
||||||
name="Follow the Leader on a Desert Island"
|
|
||||||
description="Win a Follow the Leader race with 3 AI karts on a Desert Island."
|
|
||||||
unlock-gp="atworldsend"
|
|
||||||
depend-on="canyon"
|
|
||||||
major="single"
|
|
||||||
minor="followtheleader"
|
|
||||||
track="islandtrack"
|
|
||||||
difficulty="hard"
|
|
||||||
laps="3"
|
|
||||||
karts="4"
|
|
||||||
position="2"
|
|
||||||
/>
|
|
||||||
|
|
||||||
|
|
@@ -1,18 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<challenge
|
|
||||||
version="1"
|
|
||||||
id="tollway"
|
|
||||||
name="Win a race on Tux Tollway"
|
|
||||||
description="Win a 3 lap race on Tux Tollway against 4 Expert level AI karts."
|
|
||||||
depend-on="lighthousetime tothemoonandbackgp"
|
|
||||||
unlock-track="canyon"
|
|
||||||
major="single"
|
|
||||||
minor="quickrace"
|
|
||||||
track="tuxtollway"
|
|
||||||
difficulty="hard"
|
|
||||||
laps="3"
|
|
||||||
karts="5"
|
|
||||||
position="1"
|
|
||||||
/>
|
|
||||||
|
|
@@ -1,19 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<challenge
|
|
||||||
version="1"
|
|
||||||
id="energymathclass"
|
|
||||||
name="Collect Nitro in Math Class"
|
|
||||||
description="Finish with at least 10 points of nitro on three laps of Oliver's Math Class in under 55 seconds."
|
|
||||||
unlock-track="crescentcrossing"
|
|
||||||
depend-on="penguinplaygroundgp"
|
|
||||||
major="single"
|
|
||||||
minor="quickrace"
|
|
||||||
track="olivermath"
|
|
||||||
difficulty="hard"
|
|
||||||
laps="3"
|
|
||||||
karts="1"
|
|
||||||
energy="10"
|
|
||||||
time="55"
|
|
||||||
/>
|
|
||||||
|
|
@@ -1,16 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<challenge
|
|
||||||
version="1"
|
|
||||||
id="penguinplaygroundgp"
|
|
||||||
name="Win Penguin Playground Grand Prix"
|
|
||||||
description="Win Penguin Playground Grand Prix with 3 Expert Level AI karts."
|
|
||||||
unlock-mode="FOLLOW_LEADER"
|
|
||||||
major="grandprix"
|
|
||||||
minor="quickrace"
|
|
||||||
gp="penguinplayground"
|
|
||||||
difficulty="hard"
|
|
||||||
karts="4"
|
|
||||||
position="1"
|
|
||||||
/>
|
|
||||||
|
|
@@ -1,18 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<challenge
|
|
||||||
version="1"
|
|
||||||
id="minestime"
|
|
||||||
name="Finish Mines in 3:00"
|
|
||||||
description="Finish 3 laps in mines with 3 expert AI karts in under 3:00 minutes."
|
|
||||||
depend-on="energyxr591"
|
|
||||||
unlock-track="fortmagma"
|
|
||||||
major="single"
|
|
||||||
minor="quickrace"
|
|
||||||
track="mines"
|
|
||||||
difficulty="hard"
|
|
||||||
laps="3"
|
|
||||||
karts="4"
|
|
||||||
time="180"
|
|
||||||
/>
|
|
||||||
|
|
@@ -1,18 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<challenge
|
|
||||||
version="1"
|
|
||||||
id="fortmagma"
|
|
||||||
name="Win a race on Fort Magma"
|
|
||||||
description="Win a 3 lap race on Fort Magma against 3 Expert level AI karts."
|
|
||||||
depend-on="worldsend"
|
|
||||||
unlock-kart="gnu"
|
|
||||||
major="single"
|
|
||||||
minor="quickrace"
|
|
||||||
track="fortmagma"
|
|
||||||
difficulty="hard"
|
|
||||||
laps="3"
|
|
||||||
karts="4"
|
|
||||||
position="1"
|
|
||||||
/>
|
|
||||||
|
|
@@ -1,17 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<challenge
|
|
||||||
version="1"
|
|
||||||
id="farmtracktime"
|
|
||||||
name="Finish Farm in 2:30"
|
|
||||||
description="Finish 3 laps in Farm with 3 easy AI karts in under 2:30 minutes."
|
|
||||||
unlock-track="hacienda"
|
|
||||||
major="single"
|
|
||||||
minor="quickrace"
|
|
||||||
track="farm"
|
|
||||||
difficulty="easy"
|
|
||||||
laps="3"
|
|
||||||
karts="4"
|
|
||||||
time="150"
|
|
||||||
/>
|
|
||||||
|
|
@@ -1,17 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<challenge
|
|
||||||
version="1"
|
|
||||||
id="snowmountain"
|
|
||||||
name="Win a race on Snow Mountain"
|
|
||||||
description="Win a 3 lap race on Snow Mountain under 3:05 against 3 medium AI karts."
|
|
||||||
unlock-track="islandtrack"
|
|
||||||
major="single"
|
|
||||||
minor="quickrace"
|
|
||||||
track="snowmountain"
|
|
||||||
difficulty="medium"
|
|
||||||
laps="3"
|
|
||||||
karts="4"
|
|
||||||
time="185"
|
|
||||||
/>
|
|
||||||
|
|
@@ -1,19 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<challenge
|
|
||||||
version="1"
|
|
||||||
id="starfollow"
|
|
||||||
name="Follow the Leader around the Solar System"
|
|
||||||
description="Win a Follow the Leader race with 5 AI karts on Star track"
|
|
||||||
unlock-track="lighthouse"
|
|
||||||
depend-on="farmtracktime penguinplaygroundgp"
|
|
||||||
major="single"
|
|
||||||
minor="followtheleader"
|
|
||||||
track="startrack"
|
|
||||||
difficulty="medium"
|
|
||||||
laps="3"
|
|
||||||
karts="6"
|
|
||||||
position="2"
|
|
||||||
/>
|
|
||||||
|
|
||||||
|
|
@@ -1,19 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<challenge
|
|
||||||
version="1"
|
|
||||||
id="energyxr591"
|
|
||||||
name="Collect fuel for your rocket"
|
|
||||||
description="Finish with at least 16 nitro points on 2 laps of XR591 in under 2:30 minutes."
|
|
||||||
unlock-track="mines"
|
|
||||||
depend-on="lighthousetime canyon"
|
|
||||||
major="single"
|
|
||||||
minor="quickrace"
|
|
||||||
track="xr591"
|
|
||||||
difficulty="hard"
|
|
||||||
karts="1"
|
|
||||||
laps="2"
|
|
||||||
energy="16"
|
|
||||||
time="150"
|
|
||||||
/>
|
|
||||||
|
|
@@ -1,18 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<challenge
|
|
||||||
version="1"
|
|
||||||
id="gardenhead"
|
|
||||||
name="Win a Head to Head in the Secret Garden"
|
|
||||||
description="Win a 1 lap Head to Head in the Secret Garden against 1 easy level AI kart."
|
|
||||||
depend-on="snowmountain"
|
|
||||||
unlock-track="skyline"
|
|
||||||
major="single"
|
|
||||||
minor="timetrial"
|
|
||||||
track="secretgarden"
|
|
||||||
difficulty="easy"
|
|
||||||
laps="1"
|
|
||||||
karts="2"
|
|
||||||
position="1"
|
|
||||||
/>
|
|
||||||
|
|
@@ -1,17 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<challenge
|
|
||||||
version="1"
|
|
||||||
id="tothemoonandbackgp"
|
|
||||||
name="Win To the Moon and Back Grand Prix"
|
|
||||||
description="Win the To the Moon and Back Grand Prix with 3 Expert Level AI karts."
|
|
||||||
unlock-gp="snagdrive"
|
|
||||||
depend-on="energyshiftingsands starfollow gardenhead"
|
|
||||||
major="grandprix"
|
|
||||||
minor="quickrace"
|
|
||||||
gp="tothemoonandback"
|
|
||||||
difficulty="hard"
|
|
||||||
karts="4"
|
|
||||||
position="1"
|
|
||||||
/>
|
|
||||||
|
|
@@ -1,18 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<challenge
|
|
||||||
version="1"
|
|
||||||
id="lighthousetime"
|
|
||||||
name="Finish Lighthouse in 1:30"
|
|
||||||
description="Finish 3 laps in Lighthouse with 3 Expert AI karts in under 1:30 minutes."
|
|
||||||
unlock-track="tuxtollway"
|
|
||||||
depend-on="starfollow"
|
|
||||||
major="single"
|
|
||||||
minor="quickrace"
|
|
||||||
track="lighthouse"
|
|
||||||
difficulty="hard"
|
|
||||||
laps="3"
|
|
||||||
karts="4"
|
|
||||||
time="90"
|
|
||||||
/>
|
|
||||||
|
|
@@ -1,19 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<challenge
|
|
||||||
version="1"
|
|
||||||
id="energyshiftingsands"
|
|
||||||
name="Collect the Pharaohs Treasure"
|
|
||||||
description="Finish with at least 12 nitro points on 3 laps of Shifting Sands in under 2:20 minutes."
|
|
||||||
unlock-gp="tothemoonandback"
|
|
||||||
depend-on="energymathclass farmtracktime"
|
|
||||||
major="single"
|
|
||||||
minor="quickrace"
|
|
||||||
track="sandtrack"
|
|
||||||
difficulty="medium"
|
|
||||||
karts="1"
|
|
||||||
laps="3"
|
|
||||||
energy="12"
|
|
||||||
time="140"
|
|
||||||
/>
|
|
||||||
|
|
@@ -1,18 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<challenge
|
|
||||||
version="1"
|
|
||||||
id="canyon"
|
|
||||||
name="Win a race on Canyon"
|
|
||||||
description="Win a 3 lap race on Canyon against 4 Expert level AI karts."
|
|
||||||
depend-on="tollway"
|
|
||||||
unlock-track="xr591"
|
|
||||||
major="single"
|
|
||||||
minor="quickrace"
|
|
||||||
track="canyon"
|
|
||||||
difficulty="hard"
|
|
||||||
laps="3"
|
|
||||||
karts="5"
|
|
||||||
position="1"
|
|
||||||
/>
|
|
||||||
|
|
10
data/coin_sign.items
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
;; -*- mode: lisp -*-
|
||||||
|
|
||||||
|
(item
|
||||||
|
(gold "nitrotank-big" )
|
||||||
|
(silver "nitrotank-small")
|
||||||
|
(green "warning" )
|
||||||
|
(red "bonusblock2")
|
||||||
|
)
|
||||||
|
|
||||||
|
;; EOF ;;
|
17
data/followtheleader.challenge
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
;; -*- mode: lisp -*-
|
||||||
|
|
||||||
|
(challenge
|
||||||
|
(id "penguinplaygroundgp")
|
||||||
|
(name _("Win Penguin Playground Grand\nPrix"))
|
||||||
|
(description _("Win Penguin Playground Grand\nPrix with 3 'Racer' Level AI karts."))
|
||||||
|
(unlock-mode "followtheleader" _("Follow the Leader"))
|
||||||
|
(major "grandprix")
|
||||||
|
(minor "quickrace")
|
||||||
|
(gp "penguinplayground")
|
||||||
|
(difficulty "hard")
|
||||||
|
(karts 4)
|
||||||
|
(position 1)
|
||||||
|
)
|
||||||
|
|
||||||
|
;; EOF ;;
|
||||||
|
|
Before Width: | Height: | Size: 46 KiB |
BIN
data/fonts/AvantGarde-Demi.txf
Normal file
BIN
data/fonts/DomesticManners.txf
Normal file
BIN
data/fonts/DomesticMannersLatin1.txf
Normal file
Before Width: | Height: | Size: 50 KiB |
@@ -2,5 +2,4 @@
|
|||||||
|
|
||||||
pkgdatadir = $(datadir)/games/$(PACKAGE)/data/fonts
|
pkgdatadir = $(datadir)/games/$(PACKAGE)/data/fonts
|
||||||
|
|
||||||
dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.png") \
|
dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.txf")
|
||||||
$(shell find $(srcdir) -name "*.xml")
|
|
||||||
|
Before Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 186 KiB |
Before Width: | Height: | Size: 155 KiB |
Before Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 29 KiB |
@@ -1,5 +0,0 @@
|
|||||||
#data/gfx
|
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/games/$(PACKAGE)/data/gfx
|
|
||||||
dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.xml")
|
|
||||||
|
|
@@ -1,30 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<particles emitter="box" box_x="0.75" box_y="0.75" box_z="0.75">
|
|
||||||
|
|
||||||
<spreading angle="25" />
|
|
||||||
|
|
||||||
<velocity x="0.000"
|
|
||||||
y="0.002"
|
|
||||||
z="0.000" />
|
|
||||||
|
|
||||||
<material file="smoke_acid.png" />
|
|
||||||
|
|
||||||
<!-- Amount of particles emitted per second -->
|
|
||||||
<rate min="300"
|
|
||||||
max="400" />
|
|
||||||
|
|
||||||
<!-- Minimal and maximal lifetime of a particle, in milliseconds. -->
|
|
||||||
<lifetime min="1000"
|
|
||||||
max="1000" />
|
|
||||||
|
|
||||||
<!-- Size of the particles -->
|
|
||||||
<size min="0.2"
|
|
||||||
max="0.66" />
|
|
||||||
|
|
||||||
<color min="255 255 255"
|
|
||||||
max="0 0 0" />
|
|
||||||
|
|
||||||
<!-- How much time in milliseconds before the particle is fully faded out -->
|
|
||||||
<fadeout time="500" />
|
|
||||||
|
|
||||||
</particles>
|
|
@@ -1,29 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<particles emitter="point">
|
|
||||||
|
|
||||||
<spreading angle="24" />
|
|
||||||
|
|
||||||
<velocity x="0.000"
|
|
||||||
y="0.005"
|
|
||||||
z="0.000" />
|
|
||||||
|
|
||||||
<material file="explode.png" />
|
|
||||||
|
|
||||||
<!-- Amount of particles emitted per second -->
|
|
||||||
<rate min="30"
|
|
||||||
max="50" />
|
|
||||||
|
|
||||||
<!-- Minimal and maximal lifetime of a particle, in milliseconds. -->
|
|
||||||
<lifetime min="300"
|
|
||||||
max="500" />
|
|
||||||
|
|
||||||
<!-- Size of the particles -->
|
|
||||||
<size min="0.6"
|
|
||||||
max="0.8" />
|
|
||||||
|
|
||||||
<color min="255 255 255"
|
|
||||||
max="255 255 255" />
|
|
||||||
|
|
||||||
<fadeout time="300" />
|
|
||||||
|
|
||||||
</particles>
|
|
@@ -1,30 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<particles emitter="box" box_x="0.35" box_y="0.2" box_z="0.2">
|
|
||||||
|
|
||||||
<spreading angle="30" />
|
|
||||||
|
|
||||||
<velocity x="0.0"
|
|
||||||
y="0.001"
|
|
||||||
z="-0.003" />
|
|
||||||
|
|
||||||
<material file="nitro-particle.png" />
|
|
||||||
|
|
||||||
<!-- Amount of particles emitted per second -->
|
|
||||||
<rate min="400"
|
|
||||||
max="600" />
|
|
||||||
|
|
||||||
<!-- Minimal and maximal lifetime of a particle, in milliseconds. -->
|
|
||||||
<lifetime min="400"
|
|
||||||
max="600" />
|
|
||||||
|
|
||||||
<!-- Size of the particles -->
|
|
||||||
<size min="0.20"
|
|
||||||
max="0.40" />
|
|
||||||
|
|
||||||
<color min="255 255 255"
|
|
||||||
max="255 255 255" />
|
|
||||||
|
|
||||||
<!-- How much time in milliseconds before the particle is fully faded out -->
|
|
||||||
<fadeout time="100" />
|
|
||||||
|
|
||||||
</particles>
|
|
@@ -1,40 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<!--
|
|
||||||
Particle system to simulate it's raining heavily in the ground.
|
|
||||||
Current tests done as kart particles, but this should be per camera
|
|
||||||
and placed like the cylinders that have rain drop textures, maybe
|
|
||||||
with some speed compensation, so it never wastes particles (out
|
|
||||||
of view) when camera moves really fast. Then rate can be trimmed
|
|
||||||
down to 150/180 or 100/120, with smaller box.
|
|
||||||
-->
|
|
||||||
<particles emitter="box" box_x="12.0" box_y="0.5" box_z="12.0">
|
|
||||||
|
|
||||||
<spreading angle="20" />
|
|
||||||
|
|
||||||
<velocity x="0.000"
|
|
||||||
y="0.005"
|
|
||||||
z="0.000" />
|
|
||||||
|
|
||||||
<material file="water-splash.png" />
|
|
||||||
|
|
||||||
<!-- Amount of particles emitted per second -->
|
|
||||||
<rate min="200"
|
|
||||||
max="240" />
|
|
||||||
|
|
||||||
<!-- Minimal and maximal lifetime of a particle, in milliseconds. -->
|
|
||||||
<lifetime min="1000"
|
|
||||||
max="1000" />
|
|
||||||
|
|
||||||
<!-- Size of the particles -->
|
|
||||||
<size min="0.35"
|
|
||||||
max="0.70" />
|
|
||||||
|
|
||||||
<color min="255 255 255"
|
|
||||||
max="255 255 255" />
|
|
||||||
|
|
||||||
<!-- How much time in milliseconds before the particle is fully faded out -->
|
|
||||||
<fadeout time="750" />
|
|
||||||
|
|
||||||
<gravity strength="-0.01"
|
|
||||||
only-force-time="500" />
|
|
||||||
</particles>
|
|
@@ -1,39 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<!--
|
|
||||||
Particle system to simulate it's raining heavily over an item/kart.
|
|
||||||
It should be applied no matter if kart is flying or on (any) ground,
|
|
||||||
and rotate to always fire up, it just simulates the rain bouncing
|
|
||||||
off the kart and being fired by wheels. It could also be applied to
|
|
||||||
bowling balls, for example.
|
|
||||||
-->
|
|
||||||
<particles emitter="box" box_x="0.5" box_y="1.0" box_z="1.0">
|
|
||||||
|
|
||||||
<spreading angle="10" />
|
|
||||||
|
|
||||||
<velocity x="0.000"
|
|
||||||
y="0.009"
|
|
||||||
z="0.000" />
|
|
||||||
|
|
||||||
<material file="water-splash.png" />
|
|
||||||
|
|
||||||
<!-- Amount of particles emitted per second -->
|
|
||||||
<rate min="50"
|
|
||||||
max="60" />
|
|
||||||
|
|
||||||
<!-- Minimal and maximal lifetime of a particle, in milliseconds. -->
|
|
||||||
<lifetime min="1000"
|
|
||||||
max="1000" />
|
|
||||||
|
|
||||||
<!-- Size of the particles -->
|
|
||||||
<size min="0.35"
|
|
||||||
max="0.70" />
|
|
||||||
|
|
||||||
<color min="255 255 255"
|
|
||||||
max="255 255 255" />
|
|
||||||
|
|
||||||
<!-- How much time in milliseconds before the particle is fully faded out -->
|
|
||||||
<fadeout time="750" />
|
|
||||||
|
|
||||||
<gravity strength="-0.01"
|
|
||||||
only-force-time="500" />
|
|
||||||
</particles>
|
|
@@ -1,30 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<particles emitter="point">
|
|
||||||
|
|
||||||
<spreading angle="90" />
|
|
||||||
|
|
||||||
<velocity x="0.003"
|
|
||||||
y="0.003"
|
|
||||||
z="0.003" />
|
|
||||||
|
|
||||||
<material file="smoke.png" />
|
|
||||||
|
|
||||||
<!-- Amount of particles emitted per second -->
|
|
||||||
<rate min="100"
|
|
||||||
max="250" />
|
|
||||||
|
|
||||||
<!-- Minimal and maximal lifetime of a particle, in milliseconds. -->
|
|
||||||
<lifetime min="300"
|
|
||||||
max="500" />
|
|
||||||
|
|
||||||
<!-- Size of the particles -->
|
|
||||||
<size min="0.2"
|
|
||||||
max="0.66" />
|
|
||||||
|
|
||||||
<color min="255 255 255"
|
|
||||||
max="255 255 255" />
|
|
||||||
|
|
||||||
<!-- How much time in milliseconds before the particle is fully faded out -->
|
|
||||||
<fadeout time="500" />
|
|
||||||
|
|
||||||
</particles>
|
|
@@ -1,30 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<particles emitter="point">
|
|
||||||
|
|
||||||
<spreading angle="90" />
|
|
||||||
|
|
||||||
<velocity x="0.003"
|
|
||||||
y="0.0047"
|
|
||||||
z="0.003" />
|
|
||||||
|
|
||||||
<material file="smoke_brown.png" />
|
|
||||||
|
|
||||||
<!-- Amount of particles emitted per second -->
|
|
||||||
<rate min="150"
|
|
||||||
max="300" />
|
|
||||||
|
|
||||||
<!-- Minimal and maximal lifetime of a particle, in milliseconds. -->
|
|
||||||
<lifetime min="300"
|
|
||||||
max="500" />
|
|
||||||
|
|
||||||
<!-- Size of the particles -->
|
|
||||||
<size min="0.6"
|
|
||||||
max="0.9" />
|
|
||||||
|
|
||||||
<color min="255 255 255"
|
|
||||||
max="255 255 255" />
|
|
||||||
|
|
||||||
<!-- How much time in milliseconds before the particle is fully faded out -->
|
|
||||||
<fadeout time="500" />
|
|
||||||
|
|
||||||
</particles>
|
|
@@ -1,30 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<particles emitter="point">
|
|
||||||
|
|
||||||
<spreading angle="90" />
|
|
||||||
|
|
||||||
<velocity x="0.003"
|
|
||||||
y="0.0047"
|
|
||||||
z="0.003" />
|
|
||||||
|
|
||||||
<material file="smoke_red.png" />
|
|
||||||
|
|
||||||
<!-- Amount of particles emitted per second -->
|
|
||||||
<rate min="150"
|
|
||||||
max="300" />
|
|
||||||
|
|
||||||
<!-- Minimal and maximal lifetime of a particle, in milliseconds. -->
|
|
||||||
<lifetime min="300"
|
|
||||||
max="500" />
|
|
||||||
|
|
||||||
<!-- Size of the particles -->
|
|
||||||
<size min="0.6"
|
|
||||||
max="0.9" />
|
|
||||||
|
|
||||||
<color min="255 255 255"
|
|
||||||
max="255 255 255" />
|
|
||||||
|
|
||||||
<!-- How much time in milliseconds before the particle is fully faded out -->
|
|
||||||
<fadeout time="500" />
|
|
||||||
|
|
||||||
</particles>
|
|
@@ -1,30 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<particles emitter="point">
|
|
||||||
|
|
||||||
<spreading angle="90" />
|
|
||||||
|
|
||||||
<velocity x="0.003"
|
|
||||||
y="0.0047"
|
|
||||||
z="0.003" />
|
|
||||||
|
|
||||||
<material file="smoke_yellow.png" />
|
|
||||||
|
|
||||||
<!-- Amount of particles emitted per second -->
|
|
||||||
<rate min="150"
|
|
||||||
max="300" />
|
|
||||||
|
|
||||||
<!-- Minimal and maximal lifetime of a particle, in milliseconds. -->
|
|
||||||
<lifetime min="300"
|
|
||||||
max="500" />
|
|
||||||
|
|
||||||
<!-- Size of the particles -->
|
|
||||||
<size min="0.6"
|
|
||||||
max="0.9" />
|
|
||||||
|
|
||||||
<color min="255 255 255"
|
|
||||||
max="255 255 255" />
|
|
||||||
|
|
||||||
<!-- How much time in milliseconds before the particle is fully faded out -->
|
|
||||||
<fadeout time="500" />
|
|
||||||
|
|
||||||
</particles>
|
|
@@ -1,32 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<!-- For sky particles, the size of the box is ignored -->
|
|
||||||
<particles emitter="box">
|
|
||||||
|
|
||||||
<spreading angle="3" />
|
|
||||||
|
|
||||||
<velocity x="0.0"
|
|
||||||
y="-0.01"
|
|
||||||
z="0.0" />
|
|
||||||
|
|
||||||
<material file="snowflake.png"/>
|
|
||||||
|
|
||||||
<!-- Amount of particles emitted per second -->
|
|
||||||
<rate min="400"
|
|
||||||
max="500" />
|
|
||||||
|
|
||||||
<!-- Minimal and maximal lifetime of a particle, in milliseconds. -->
|
|
||||||
<lifetime min="9000"
|
|
||||||
max="9000" />
|
|
||||||
|
|
||||||
<!-- Size of the particles -->
|
|
||||||
<size min="0.40"
|
|
||||||
max="0.60" />
|
|
||||||
|
|
||||||
<color min="255 255 255"
|
|
||||||
max="255 255 255" />
|
|
||||||
|
|
||||||
<!-- How much time in milliseconds before the particle is fully faded out -->
|
|
||||||
<fadeout time="100" />
|
|
||||||
|
|
||||||
</particles>
|
|
@@ -1,32 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<particles emitter="box" box_x="0.75" box_y="0.75" box_z="0.75">
|
|
||||||
|
|
||||||
<spreading angle="120" />
|
|
||||||
|
|
||||||
<velocity x="0.000"
|
|
||||||
y="0.009"
|
|
||||||
z="0.000" />
|
|
||||||
|
|
||||||
<material file="water-splash.png" />
|
|
||||||
|
|
||||||
<!-- Amount of particles emitted per second -->
|
|
||||||
<rate min="1000"
|
|
||||||
max="1200" />
|
|
||||||
|
|
||||||
<!-- Minimal and maximal lifetime of a particle, in milliseconds. -->
|
|
||||||
<lifetime min="1600"
|
|
||||||
max="1900" />
|
|
||||||
|
|
||||||
<!-- Size of the particles -->
|
|
||||||
<size min="0.60"
|
|
||||||
max="0.90" />
|
|
||||||
|
|
||||||
<color min="255 255 255"
|
|
||||||
max="255 255 255" />
|
|
||||||
|
|
||||||
<!-- How much time in milliseconds before the particle is fully faded out -->
|
|
||||||
<fadeout time="500" />
|
|
||||||
|
|
||||||
<gravity strength="-0.01"
|
|
||||||
only-force-time="1000" />
|
|
||||||
</particles>
|
|
@@ -3,5 +3,4 @@
|
|||||||
pkgdatadir = $(datadir)/games/$(PACKAGE)/data/grandprix
|
pkgdatadir = $(datadir)/games/$(PACKAGE)/data/grandprix
|
||||||
|
|
||||||
dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.grandprix") \
|
dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.grandprix") \
|
||||||
$(shell find $(srcdir) -name "*.challenge") \
|
$(shell find $(srcdir) -name "*.challenge")
|
||||||
$(shell find $(srcdir) -name "*.tutorial" )
|
|
||||||
|
18
data/grandprix/alltracks.challenge
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
;; -*- mode: lisp -*-
|
||||||
|
|
||||||
|
(challenge
|
||||||
|
(id "worldsend")
|
||||||
|
(name _("Win the At World's End\nGrand Prix"))
|
||||||
|
(description _("Come first in the At World's End\nGrand Prix with 3 'Racer'\nLevel AI karts."))
|
||||||
|
(unlock-gp "alltracks")
|
||||||
|
(depend-on "islandfollow")
|
||||||
|
(major "grandprix")
|
||||||
|
(minor "quickrace")
|
||||||
|
(gp "atworldsend")
|
||||||
|
(difficulty "hard")
|
||||||
|
(karts 4)
|
||||||
|
(position 1)
|
||||||
|
)
|
||||||
|
|
||||||
|
;; EOF ;;
|
||||||
|
|
@@ -1,25 +1,10 @@
|
|||||||
|
;; -*- mode: lisp -*-
|
||||||
|
|
||||||
<supertuxkart_grand_prix name="All Tracks">
|
(supertuxkart-grand-prix
|
||||||
|
(name _("All tracks"))
|
||||||
|
(description _("All tracks included in SuperTuxKart"))
|
||||||
|
(tracks "beach" "startrack" "lighthouse" "jungle" "mines" "islandtrack" "sandtrack" "fortmagma" "snowtuxpeak" "crescentcrossing" "olivermath" "racetrack" "city" "xr591" "canyon" "snowmountain" "tuxtollway" "skyline")
|
||||||
|
(laps 2 3 4 3 3 2 3 3 3 2 4 3 2 3 2 3 2 3)
|
||||||
|
)
|
||||||
|
|
||||||
<track id="hacienda" laps="3" />
|
;; EOF ;;
|
||||||
<track id="scotland" laps="3" />
|
|
||||||
<track id="startrack" laps="3" />
|
|
||||||
<track id="lighthouse" laps="4" />
|
|
||||||
<track id="jungle" laps="3" />
|
|
||||||
<track id="mines" laps="3" />
|
|
||||||
<track id="islandtrack" laps="2" />
|
|
||||||
<track id="sandtrack" laps="3" />
|
|
||||||
<track id="fortmagma" laps="3" />
|
|
||||||
<track id="snowtuxpeak" laps="3" />
|
|
||||||
<track id="crescentcrossing" laps="2" />
|
|
||||||
<track id="olivermath" laps="4" />
|
|
||||||
<track id="farm" laps="3" />
|
|
||||||
<track id="secretgarden" laps="3" />
|
|
||||||
<track id="city" laps="3" />
|
|
||||||
<track id="xr591" laps="3" />
|
|
||||||
<track id="canyon" laps="2" />
|
|
||||||
<track id="snowmountain" laps="3" />
|
|
||||||
<track id="tuxtollway" laps="2" />
|
|
||||||
<track id="skyline" laps="3" />
|
|
||||||
|
|
||||||
</supertuxkart_grand_prix>
|
|
||||||
|
19
data/grandprix/atworldsend.challenge
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
;; -*- mode: lisp -*-
|
||||||
|
|
||||||
|
(challenge
|
||||||
|
(id "islandfollow")
|
||||||
|
(name _("Follow the Leader on a\nDesert Island"))
|
||||||
|
(description _("Win a Follow the Leader race\nwith 3 AI karts\non a Desert Island."))
|
||||||
|
(unlock-gp "atworldsend")
|
||||||
|
(depend-on "tothemoonandbackgp" "tollwayhead2head" "tollwaytime" "citytime")
|
||||||
|
(major "single")
|
||||||
|
(minor "followtheleader")
|
||||||
|
(track "islandtrack")
|
||||||
|
(difficulty "easy")
|
||||||
|
(laps 3)
|
||||||
|
(karts 4)
|
||||||
|
(position 2)
|
||||||
|
)
|
||||||
|
|
||||||
|
;; EOF ;;
|
||||||
|
|
@@ -1,11 +1,10 @@
|
|||||||
|
;; -*- mode: lisp -*-
|
||||||
|
|
||||||
<supertuxkart_grand_prix name="At World's End">
|
(supertuxkart-grand-prix
|
||||||
|
(name _("At world's end"))
|
||||||
<track id="fortmagma" laps="3" />
|
(description _("Last grand prix, longer and harder"))
|
||||||
<track id="canyon" laps="2" />
|
(tracks "fortmagma" "canyon" "city" "snowtuxpeak" "racetrack")
|
||||||
<track id="xr591" laps="3" />
|
(laps 3 2 2 3 3)
|
||||||
<track id="mines" laps="3" />
|
)
|
||||||
<track id="city" laps="3" />
|
|
||||||
|
|
||||||
</supertuxkart_grand_prix>
|
|
||||||
|
|
||||||
|
;; EOF ;;
|
||||||
|
@@ -1,14 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<tutorial
|
|
||||||
id="basicdriving"
|
|
||||||
name="Win the At World's End Grand Prix"
|
|
||||||
description="Come first in the At World's End Grand Prix with 3 Expert AI karts."
|
|
||||||
major="single"
|
|
||||||
minor="normal"
|
|
||||||
gp="canyon"
|
|
||||||
difficulty="easy"
|
|
||||||
karts="1"
|
|
||||||
position="1"
|
|
||||||
num_laps="99"
|
|
||||||
num_players="1"
|
|
||||||
/>
|
|
@@ -1,10 +1,10 @@
|
|||||||
|
;; -*- mode: lisp -*-
|
||||||
|
|
||||||
<supertuxkart_grand_prix name="Penguin Playground">
|
(supertuxkart-grand-prix
|
||||||
|
(name _("Penguin Playground"))
|
||||||
|
(description _("First grand prix, easy to get started"))
|
||||||
|
(tracks "sandtrack" "snowmountain" "olivermath" "jungle")
|
||||||
|
(laps 3 3 4 2 )
|
||||||
|
)
|
||||||
|
|
||||||
<track id="sandtrack" laps="3" />
|
;; EOF ;;
|
||||||
<track id="snowmountain" laps="3" />
|
|
||||||
<track id="olivermath" laps="4" />
|
|
||||||
<track id="scotland" laps="3" />
|
|
||||||
<track id="jungle" laps="2" />
|
|
||||||
|
|
||||||
</supertuxkart_grand_prix>
|
|
||||||
|
18
data/grandprix/snagdrive.challenge
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
;; -*- mode: lisp -*-
|
||||||
|
|
||||||
|
(challenge
|
||||||
|
(id "tothemoonandbackgp")
|
||||||
|
(name _("Win To the Moon and Back\nGrand Prix"))
|
||||||
|
(description _("Win the To the Moon and Back\nGrand Prix with 3 'Racer'\nLevel AI karts."))
|
||||||
|
(unlock-gp "snagdrive")
|
||||||
|
(depend-on "energyshiftingsands" "junglefollow")
|
||||||
|
(major "grandprix")
|
||||||
|
(minor "quickrace")
|
||||||
|
(gp "tothemoonandback")
|
||||||
|
(difficulty "hard")
|
||||||
|
(karts 4)
|
||||||
|
(position 1)
|
||||||
|
)
|
||||||
|
|
||||||
|
;; EOF ;;
|
||||||
|
|
@@ -1,11 +1,10 @@
|
|||||||
|
;; -*- mode: lisp -*-
|
||||||
|
|
||||||
<supertuxkart_grand_prix name="Snag Drive">
|
(supertuxkart-grand-prix
|
||||||
|
(name _("Snag Drive"))
|
||||||
<track id="islandtrack" laps="2" />
|
(description _("Third grand prix"))
|
||||||
<track id="tuxtollway" laps="2" />
|
(tracks "islandtrack" "tuxtollway" "mines" "crescentcrossing")
|
||||||
<track id="crescentcrossing" laps="2" />
|
(laps 2 2 3 2)
|
||||||
<track id="snowtuxpeak" laps="3" />
|
)
|
||||||
<track id="skyline" laps="3" />
|
|
||||||
|
|
||||||
</supertuxkart_grand_prix>
|
|
||||||
|
|
||||||
|
;; EOF ;;
|
||||||
|
20
data/grandprix/tothemoonandback.challenge
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
;; -*- mode: lisp -*-
|
||||||
|
|
||||||
|
(challenge
|
||||||
|
(id "energyshiftingsands")
|
||||||
|
(name _("Collect the Pharaohs Treasure"))
|
||||||
|
(description _("Finish with at least 9 nitro \npoints on 3 laps of Shifting Sands\nin under 2:20 minutes."))
|
||||||
|
(unlock-gp "tothemoonandback")
|
||||||
|
(depend-on "energymathclass" "racetracktime")
|
||||||
|
(major "single")
|
||||||
|
(minor "quickrace")
|
||||||
|
(track "sandtrack")
|
||||||
|
(difficulty "medium")
|
||||||
|
(karts 1)
|
||||||
|
(laps 3)
|
||||||
|
(energy 9)
|
||||||
|
(time 140)
|
||||||
|
)
|
||||||
|
|
||||||
|
;; EOF ;;
|
||||||
|
|
@@ -1,10 +1,10 @@
|
|||||||
|
;; -*- mode: lisp -*-
|
||||||
|
|
||||||
<supertuxkart_grand_prix name="To the Moon and Back">
|
(supertuxkart-grand-prix
|
||||||
|
(name _("To the Moon and Back"))
|
||||||
|
(description _("Second grand prix"))
|
||||||
|
(tracks "lighthouse" "skyline" "startrack" "xr591" "beach")
|
||||||
|
(laps 4 3 3 3 2 )
|
||||||
|
)
|
||||||
|
|
||||||
<track id="lighthouse" laps="4" />
|
;; EOF ;;
|
||||||
<track id="startrack" laps="3" />
|
|
||||||
<track id="hacienda" laps="3" />
|
|
||||||
<track id="secretgarden" laps="2" />
|
|
||||||
<track id="farm" laps="3" />
|
|
||||||
|
|
||||||
</supertuxkart_grand_prix>
|
|
||||||
|
@@ -1,25 +0,0 @@
|
|||||||
All icons come from Open Game Art (art by onyum.com, comissionned by Bart Kelsey)
|
|
||||||
released under CC-BY-SA 3+
|
|
||||||
* options_players & random_kart were tweaked by Marianne Gagnon
|
|
||||||
|
|
||||||
|
|
||||||
Except :
|
|
||||||
main_*.png icons, hourglass, back, back_addons, next_addons, package.png
|
|
||||||
released under Creative-Commons BY-SA 3, By yeKcim (Anthony Carré)
|
|
||||||
|
|
||||||
mode_tt, released under Creative-Commons BY-SA 3, incorporatings artwork from yeKcim and onyum.com
|
|
||||||
|
|
||||||
Logo and Logo_slim : under CC-BY-SA 3.0+ by 'rastapax'
|
|
||||||
|
|
||||||
difficulty_*.png icons, released under Creative-Commons BY-SA 3, By Conso (Constantin Pelikan)
|
|
||||||
|
|
||||||
title_font, by Marianne Gagnon (Auria), released under CC-BY-SA 3+
|
|
||||||
|
|
||||||
screen*.png, by Marianne Gagnon (Auria), including elements from the public domain Tango icon set
|
|
||||||
|
|
||||||
Gauge and bar by Dakal, released under CC-BY-SA 3
|
|
||||||
|
|
||||||
====
|
|
||||||
|
|
||||||
Glass Skin by Auria, under CC-BY-SA 3+
|
|
||||||
except background, under CC-BY-SA, by 'elisee'
|
|
@@ -1,12 +0,0 @@
|
|||||||
# data/gui/
|
|
||||||
|
|
||||||
pkgdatadir = $(datadir)/games/$(PACKAGE)/data/gui
|
|
||||||
|
|
||||||
nobase_dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.png" ) \
|
|
||||||
$(shell find $(srcdir) -name "*.jpg" ) \
|
|
||||||
$(shell find $(srcdir) -name "*.stkgui" ) \
|
|
||||||
$(shell find $(srcdir) -name "*.xml" ) \
|
|
||||||
$(shell find $(srcdir) -name "License.txt") \
|
|
||||||
$(shell find $(srcdir) -name "*.stkskin" )
|
|
||||||
|
|
||||||
EXTRA_DIST = $(nobase_pkgdata_DATA)
|
|
Before Width: | Height: | Size: 16 KiB |
@@ -1,32 +0,0 @@
|
|||||||
<stkgui>
|
|
||||||
|
|
||||||
<div x="5%" y="5%" width="90%" height="90%" layout="vertical-row">
|
|
||||||
|
|
||||||
|
|
||||||
<div x="5%" y="0%" width="90%" proportion="6" layout="horizontal-row" >
|
|
||||||
<div width="50%" height="100%" layout="vertical-row" >
|
|
||||||
<icon id="icon" align="center" proportion="8" width="100%" icon="gui/loading.png"/>
|
|
||||||
<spacer proportion="1" />
|
|
||||||
</div>
|
|
||||||
<spacer proportion="1" />
|
|
||||||
<div width="50%" height="50%" layout="vertical-row" >
|
|
||||||
<label id="name" width="100%" text_align="left"/>
|
|
||||||
<label id="size" width="100%" text=""/>
|
|
||||||
<label id="revision" width="100%" text=""/>
|
|
||||||
<spacer height="10"/>
|
|
||||||
<label id="flags" width="100%" text="" word_wrap="true"/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<bubble word_wrap="true" id="description" height="100%" width="90%" proportion="6" align="center" />
|
|
||||||
|
|
||||||
<div width="90%" proportion="2" align="center">
|
|
||||||
<button id="install" x="0" y="0" width="100%" height="100%" I18N="Addons" text="Install"/>
|
|
||||||
<progressbar id="progress" x="0" y="20%" width="100%" height="60%" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<spacer height="10" />
|
|
||||||
|
|
||||||
<button id="cancel" proportion="2" width="90%" I18N="Addons" text="Back" align="center"/>
|
|
||||||
</div>
|
|
||||||
</stkgui>
|
|
@@ -1,28 +0,0 @@
|
|||||||
<stkgui>
|
|
||||||
|
|
||||||
<div x="0%" y="0%" width="100%" height="98%" layout="vertical-row" >
|
|
||||||
|
|
||||||
<div x="0" y="0" width="100%" layout="horizontal-row" height="8%">
|
|
||||||
<icon-button id="back" height="100%" icon="gui/back.png"/>
|
|
||||||
<header text_align="center" proportion="1" text="SuperTuxKart Addons" align="center"/>
|
|
||||||
<button id="reload" I18N="Reload button to reload addon data" text="Reload" />
|
|
||||||
<spacer width="15" height="10" />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<spacer height="15" width="10"/>
|
|
||||||
|
|
||||||
<tabs id="category" height="10%" max_height="110" width="90%" align="center">
|
|
||||||
<icon-button id="tab_kart" width="128" height="128" icon="gui/karts.png"
|
|
||||||
I18N="Section in the addons menu" text="Karts"/>
|
|
||||||
<icon-button id="tab_track" width="128" height="128" icon="gui/mode_normal.png"
|
|
||||||
I18N="Section in the addons menu" text="Tracks"/>
|
|
||||||
</tabs>
|
|
||||||
<spacer height="5" width="10"/>
|
|
||||||
|
|
||||||
<list id="list_addons" proportion="1" width="97%" align="center"/>
|
|
||||||
|
|
||||||
<spacer width="1" height="8" />
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</stkgui>
|
|
@@ -1,28 +0,0 @@
|
|||||||
<stkgui>
|
|
||||||
|
|
||||||
<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
|
|
||||||
|
|
||||||
<div x="2%" y="1%" width="96%" height="99%" layout="vertical-row" >
|
|
||||||
|
|
||||||
<header width="80%" I18N="Section in arena tracks selection screen" text="Arenas"
|
|
||||||
align="center" text_align="center" />
|
|
||||||
|
|
||||||
<spacer width="20" height="5" />
|
|
||||||
|
|
||||||
<box proportion="1" width="100%" layout="vertical-row">
|
|
||||||
<ribbon_grid id="tracks" proportion="1" width="100%" square_items="true"
|
|
||||||
label_location="bottom" align="center" child_width="160" child_height="120" />
|
|
||||||
<spacer width="20" height="13" />
|
|
||||||
</box>
|
|
||||||
|
|
||||||
<tabs width="100%" height="25" id="trackgroups">
|
|
||||||
<button id="standard" I18N="track group" text="Standard"/>
|
|
||||||
<button id="addons" I18N="track group" text="Add-Ons"/>
|
|
||||||
<button id="all" I18N="track group" text="All"/>
|
|
||||||
</tabs>
|
|
||||||
|
|
||||||
<spacer width="20" height="3%" />
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</stkgui>
|
|
Before Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 9.6 KiB |
BIN
data/gui/bar.png
Before Width: | Height: | Size: 168 KiB |
Before Width: | Height: | Size: 3.9 KiB |
@@ -1,20 +0,0 @@
|
|||||||
<stkgui>
|
|
||||||
|
|
||||||
<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
|
|
||||||
|
|
||||||
<div x="5%" y="2%" width="90%" height="96%" layout="vertical-row" >
|
|
||||||
|
|
||||||
<header I18N="Title for challenges screen" text="Challenges : Trophy Room" text_align="center" align="center" width="80%" />
|
|
||||||
|
|
||||||
<spacer height="5" width="100%"/>
|
|
||||||
|
|
||||||
<box width="100%" proportion="5" layout="vertical-row">
|
|
||||||
|
|
||||||
<ribbon_grid id="challenges" proportion="8" width="100%"
|
|
||||||
label_location="bottom" align="center" child_width="128" child_height="128" />
|
|
||||||
|
|
||||||
|
|
||||||
<spacer proportion="1" width="100%"/>
|
|
||||||
</box>
|
|
||||||
</div>
|
|
||||||
</stkgui>
|
|
@@ -1,19 +0,0 @@
|
|||||||
<stkgui>
|
|
||||||
|
|
||||||
<div x="2%" y="10%" width="96%" height="80%" layout="vertical-row" >
|
|
||||||
|
|
||||||
<label id="title" width="100%" text_align="center" word_wrap="true" proportion="1" />
|
|
||||||
|
|
||||||
<spacer height="25" width="10" />
|
|
||||||
|
|
||||||
<button id="confirm" I18N="In a 'are you sure?' dialog" text="Yes" align="center"/>
|
|
||||||
|
|
||||||
<spacer height="15" width="10" />
|
|
||||||
|
|
||||||
<button id="cancel" I18N="In a 'are you sure?' dialog" text="Cancel" align="center"/>
|
|
||||||
|
|
||||||
<spacer height="10" width="10" />
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</stkgui>
|
|
@@ -1,21 +0,0 @@
|
|||||||
<stkgui>
|
|
||||||
|
|
||||||
<div x="2%" y="10%" width="96%" height="80%" layout="vertical-row" >
|
|
||||||
|
|
||||||
<label id="title" width="100%" text_align="center" word_wrap="true" proportion="1" />
|
|
||||||
|
|
||||||
<spacer height="25" width="10" />
|
|
||||||
|
|
||||||
<button id="accept" I18N="In the 'confirm resolution' dialog, that's shown when switching resoluton"
|
|
||||||
text="Keep this resolution" align="center"/>
|
|
||||||
|
|
||||||
<spacer height="15" width="10" />
|
|
||||||
|
|
||||||
<button id="cancel" I18N="In the 'confirm resolution' dialog, that's shown when switching resoluton"
|
|
||||||
text="Cancel" align="center"/>
|
|
||||||
|
|
||||||
<spacer height="10" width="10" />
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</stkgui>
|
|
@@ -1,17 +0,0 @@
|
|||||||
<stkgui>
|
|
||||||
|
|
||||||
<icon-button id="back" x="0" y="0" height="8%" icon="gui/back.png"/>
|
|
||||||
|
|
||||||
<div x="5%" y="2%" width="90%" height="96%" layout="vertical-row" >
|
|
||||||
|
|
||||||
<icon id="logo" align="center" proportion="4" width="100%" icon="gui/logo_slim.png"/>
|
|
||||||
|
|
||||||
<header I18N="Title in credits screen" text="Credits" width="100%" />
|
|
||||||
|
|
||||||
<box id="animated_area" width="100%" proportion="10">
|
|
||||||
|
|
||||||
</box>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</stkgui>
|
|
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 1.8 KiB |
@@ -1,22 +0,0 @@
|
|||||||
<stkgui>
|
|
||||||
|
|
||||||
<div x="2%" y="10%" width="96%" height="80%" layout="vertical-row" >
|
|
||||||
|
|
||||||
<label id="title" width="100%" text_align="center"
|
|
||||||
I18N="In the 'add new player' dialog" text="Enter the new player's name" proportion="1" />
|
|
||||||
|
|
||||||
<spacer height="25" width="10" />
|
|
||||||
|
|
||||||
<textbox id="textfield" width="75%" I18N="In the 'add new player' dialog" align="center"/>
|
|
||||||
|
|
||||||
<spacer height="20" width="20" />
|
|
||||||
|
|
||||||
<!-- TODO: ok button? -->
|
|
||||||
|
|
||||||
<button id="cancel" I18N="When configuring input" text="Press ESC to cancel" align="center"/>
|
|
||||||
|
|
||||||
<spacer height="15" width="20" />
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</stkgui>
|
|