Commit Graph

150 Commits

Author SHA1 Message Date
auria
631ac7de5d Moving towards adding support for multiple keyboard configs through the GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-19 19:48:41 +00:00
auria
7703fa76ae Started adding back support for 3 strikes mode (which doesn't work since no arena was converted yet)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4324 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-19 19:25:12 +00:00
hikerstk
907616f927 Fixed several typos/bugs in filenames.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-14 02:08:25 +00:00
mbjornstk
6e8bf08830 Add references to CGUIFont.[ch]pp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4241 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-05 23:28:54 +00:00
hikerstk
dd02e0726f 1) Added new AI, which is not yet too different from the current one.
2) AIs can now modify the kart name, which is used in printing profile results, to
   include an AI identifiert.
3) NewAI and DefaultRobot are created un turns: first AI is DefaultRobot, then 
   NewAI, then Default...
4) Made specific mode in VS project file for irrlicht 1.6 (will be removed soon).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4213 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-08 12:19:33 +00:00
mbjornstk
31af4ba7c9 Add challenges.[ch]pp
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4144 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 21:25:55 +00:00
auria
10e039ba7e Removed the CutScene adapter, the new event handling for Screen does not require that kind of thing anymore to combine 2D and 3D, and to use animations
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4115 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-13 19:14:17 +00:00
auria
5d4d66c90c Removed 'MyGUIButton' nows that irrLicht added image scaling in their button
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4105 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-12 21:14:58 +00:00
mbjornstk
dd081a1b0b Remove files that no longer exist.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4088 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-05 23:26:49 +00:00
mbjornstk
efb9726d48 Add new files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4079 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-05 00:19:16 +00:00
mbjornstk
01c96a3165 Add new files (and move an old pair to keep alphabetic order).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4074 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-04 18:46:14 +00:00
hikerstk
7d4d50afe3 1) Made check structures activating more general (not only new-lap lines
can be activated now, and each check structure that changes the activation
   state has one other check structure associated with it (instead of all
   previously where all activtation state changing structures would activate
   all (and only) new-lap structures.
2) Added support for activation toggle (instead of only switching on)
3) Renamed Checkline to CheckLine (and checline.?pp to check_line.?pp) to be
   consistent with other names.
MAKE DISTCLEAN most likely necessary!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4028 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-17 02:54:48 +00:00
hikerstk
e53d080286 Added support for changing the ambient color in certain areas of a track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4026 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-16 05:32:17 +00:00
auria
6abe2523bc Started implementing in-game pause dialog (not usable yet)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3987 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-03 01:50:13 +00:00
auria
22f6c6e008 First (rough) version of an end-of-race dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3974 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 18:11:26 +00:00
auria
e0acfe1ef6 Renamed RibbonGridWidget to DynamicRibbonWidget since it better reflects what it has become
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3945 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 15:18:48 +00:00
hikerstk
ef175e94d4 1) Added alpha version of profile-mode (which replaces if-statements
in world).
2) Moved camera management into race gui, so that the number of split screens
   used can be adjusted (and not only indirect via number of player) - this
   allows e.g. debug modes where you can see 4 AI karts at the same time,
   for profile mode, ...
3) Code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3899 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-21 00:32:24 +00:00
hikerstk
63e16e3e8a Removed scene.?pp (which didn't do much anyway except for
handling the cameras, which can as easily be handled by
player karts instead).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3883 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-19 04:03:25 +00:00
rforder
9ba0bd67d2 Added new DeviceConfig class (/config/device_config.cpp) for review. The DeviceConfig class will be responsibile for handling Gamepad and Keyboard configurations. It is now possible to share a single configuration between identical devices. Begun integration, still needs *a lot* of cleanup, but basically works.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3814 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-06 18:00:18 +00:00
auria
eb1af21524 Further mammoth cleanup in GUI engine : separated widgets in many smaller files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-18 19:04:45 +00:00
auria
9016d02b7e More mammoth cleanup in GUI code. Modal dialogs are now each is a separate file, and are in the now STK-specific paackage, not in the generic engine
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-18 18:13:42 +00:00
auria
85266dfe10 Started mammoth cleanup of GUI code. Separated the generic GUI engine and the STK-specific bits (still work to do on this side)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-18 17:48:36 +00:00
auria
b71d1c4557 cleanup in GUI module (moved event handling out of Screen)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3763 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-18 16:04:45 +00:00
hikerstk
9563b78500 1) Added general messages (fastest lap etc) and plunger-in-face
2) Removed unused plib font objects - hooray :)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3754 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-16 03:24:17 +00:00
mbjornstk
2898c025ad Add new file config/player.cpp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3738 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-12 00:50:37 +00:00
hikerstk
8c1bba8abb Added initial support for checklines (though atm they don't do anything yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-06 13:35:33 +00:00
auria
1c256c7805 Refactored kart selection screen code to work towards multiplayer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-04 17:24:09 +00:00
hikerstk
6cefc34b31 More work on animations (still work in progress)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3680 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-30 12:51:38 +00:00
hikerstk
c14ffd586e Added framework for animation (doesn't do anything atm).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3659 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-26 03:21:22 +00:00
hikerstk
238b401cc2 Added initial support for bezier curves to be exported from blender
and imported into stk (though they are not used for anything atm).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3641 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-24 01:27:05 +00:00
mbjornstk
7f709e4abb Rearrange modal dialog files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-22 01:32:19 +00:00
auria
a1c3cc54f9 fixed makefiles (@Hiker: still don't want to use globbing? :P )
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3631 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-21 19:39:21 +00:00
hikerstk
ee90eca26e 1) Created new config subdir and moved the last remaining files into
appropriate subdirs (only main.cpp and main_loop.?pp are now directly
   in the src directory).
2) Cleaned up all #include directives, so that all files now use
   the right subdirectories.
3) Some minor code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3606 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-11 10:00:43 +00:00
hikerstk
2eceacbd70 1) Added new water splash effect (though it needs a proper texture, and
better tweaked parameters).
2) Water and smoke special effects can now be triggered depending on
   terrain (default is off for everything). For testing purposes the
   lighthouse track has smoke for sand, and water splashed for sea
   (i.e. it is currently possible to drive on the water ... for
   testing purposes only :)  )


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3605 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-11 05:57:46 +00:00
hikerstk
96805cfc71 Moved race related files into new subdir 'race'.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3581 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 01:36:48 +00:00
hikerstk
839ddc140f Removed unused file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3575 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 12:51:53 +00:00
hikerstk
075c9dbb86 Moved more files into appropriate subdirs, update build
system for VS (verified) and autoconf (not verified).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3574 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 12:37:29 +00:00
hikerstk
043c4c0671 Removed dependency on plib - hooorayyyy!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3545 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-28 02:29:09 +00:00
mbjornstk
e9a136b556 Files to process are input.cpp and input.hpp, not input.hpp twice.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3536 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-24 01:06:22 +00:00
auria
7e45011c6e cleaned up options menu code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3535 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-24 00:52:31 +00:00
hikerstk
864c1d6fff 1) More redesign of drivelines into quad graphs. Moved
graph related functions from Track to QuadGraph,
   removed plib usage. The AI is now able to drive
   a loop (re-using the same quad, before continuing
   on the original path). The beack track currently
   defines a simple look at the first right hand
   turn (the AI will drive down the hill, then
   up again and then keep on going).
2) During the conversion process some AI called
   function were significanly sped up, but it has
   to be tested if this has any ill effects for
   certain tracks or certain karts.
3) Tried to add support for moving sky domes, but
   that doesn't work yet.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3527 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-22 03:23:48 +00:00
hikerstk
afdb422635 Added first version of track debug output showing all quads.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3523 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-19 03:24:56 +00:00
mbjornstk
99fccc6d0d Update makefile system, this time due to removed files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3520 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 19:23:57 +00:00
hikerstk
d40f096127 1) Removed unused TrackInfo objects for the AI.
2) More code cleanup to use the new quad structure
   instead of driveliens.
3) Updates VS project file to work with latest
   GUI additions.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 04:08:00 +00:00
mbjornstk
5d47618ddb Update makefile system after new source files were added inside src/gui/.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3514 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-18 02:41:08 +00:00
hikerstk
ffe39e467a 1) Started adding support for quad graphs to have a more flexible way
of specifying the track to use (mainly for the AI).
   For beach/lighthouse files to specify the graphs have been added
   (note that if the graph is a simple look, no .graph file is
   necessary, since it will default to a simple loop), and a script
   to convert from the current driveline structure to quad graphs
   has been added, too.
   This information is currently read in, but not yet used!
2) Some memory leaks were fixed, the filemanager functions getXML*
   were renamed to createXML* to indicate that the return pointer
   needs to be freed.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3486 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-15 01:20:09 +00:00
mbjornstk
879b3b6ab6 Drop references to SDL (still some in configure.ac).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3452 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-03 01:13:29 +00:00
hikerstk
5e30e66dc2 1) Prepared support for kart animations.
2) Removed unused plib only loader.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-05 12:53:17 +00:00
hikerstk
aca8bb39c7 Renaved MovingPhysics to PhysicalObject.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3338 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-01 01:30:10 +00:00
hikerstk
30de5e36f8 Removed callback manager, callbacks are not needed the way they were
with plib, and the track is now updating its animated textures and
physical objects.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3337 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-01 00:55:20 +00:00