Commit Graph

2229 Commits

Author SHA1 Message Date
hikerstk
8130ab34af Bugfix: include of cstring was missing, resulting in strcmp not
defined on some platforms.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3615 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-18 02:13:00 +00:00
auria
cb0b1d2d10 added enw background image by elisee
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3614 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-17 01:11:42 +00:00
auria
35faf740ca working towards players list + added more control over widget positions when in sizers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3613 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-14 00:10:44 +00:00
auria
8af725a5ab Completed skin-file implementation + documented it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3612 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-13 19:37:43 +00:00
auria
6dd30317ae moved skin-specific files to a skins/skinname subdirectory, making it flexible and allowing for future modes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3611 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-13 19:05:41 +00:00
auria
1548e1f5b4 font color is now also specified in STK skin file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3610 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-13 18:17:44 +00:00
auria
e4f2a2af2a replaced non-free background image with a free one (doesn't look as good unfotrunately)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3609 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-13 18:04:50 +00:00
auria
dc26002e79 skin info is now mostly read from a config file, making it cleaner and opening the door for futur modding capabilities (continued)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-13 02:02:51 +00:00
auria
a1044011d3 skin info is now mostly read from a config file, making it cleaner and opening the door for futur modding capabilities
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3607 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-13 01:47:06 +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
auria
807e0dd011 improved skinning of list control
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3604 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-11 01:00:42 +00:00
auria
cc184e2115 updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3603 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-11 00:06:22 +00:00
hikerstk
c0ab52bfb3 Simplified smoke system (to use only one particle system instead of two),
and improved the origin of the smoke to be the actual position of the
wheels (though this is sometimes still not 'correct' enough atm).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-10 13:04:30 +00:00
hikerstk
ba7c983d18 1) Script can now export 'empties' (i.e. items, bananas etc).
2) Improved handling of unsorted vertices (but still difficulties with
   determining the right start point for a shortcut).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3601 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-10 05:35:39 +00:00
mbjornstk
2a99182969 Edited nitro PNG to be more circular and tweaked emision so it looks like
the kart is leaving a fire trail. Also made it fire even if stopped, so
driver sees nitro works (wasting it).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3600 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-09 23:04:18 +00:00
hikerstk
5771a2b538 Bugfix: blender's vertices are not necessarily in the order in which
the points of a driveline are connected.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3599 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-09 12:33:21 +00:00
auria
3e62911873 game mode selection screen now features a description of the mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-09 01:03:48 +00:00
auria
ef2d5b6229 Configuring gamepad from GUI should now work on Linux
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-07 23:04:18 +00:00
auria
63c6229fbc Fixed passing reolution on the command-line with -s. Improved command-line flags handling to not create a graphical context when none is required (like for --help or --version)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3596 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-07 15:20:51 +00:00
hikerstk
5516028d4b The track exporter is now able to export the quads of a track,
and partly the quad graph data structure, too. Not really finished
yet, but getting there.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3595 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-05 15:04:13 +00:00
auria
b3a4e5b66b Fixed problem with race setup : kart amount would only be considered if you changed it, if you left the default value of 4 you'd be alone
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3594 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-05 01:03:46 +00:00
mbjornstk
3cc2aad628 Tuning of skid smoke. Particle is more transparent and has slight cyan shade.
More particles but smaller, with different life times. And trying to get them
to fade, but that is not working (trying to get them to become red as test,
final version should just fade transparency).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-04 20:16:38 +00:00
auria
bab247c3f0 updated Xcode project to be friendly with built-in SVN support (this is user-specific, so each user will need to configure the repository on their end. But at least all project settings are friendly to allow this.)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3592 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-04 01:50:01 +00:00
auria
6ba50b831d tweaked material-specific slowdowns so that if you stop on e.g. sand, it's not hard to get out of there (before since acceleration was strongly cut at all times you could have trouble starting again if you stopped on sand)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3591 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-04 00:25:16 +00:00
auria
537a4613d6 updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3590 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-04 00:16:21 +00:00
mbjornstk
f964dc5723 Cloned original smoke code by hiker to create nitro particles so I can
test and tweak images if needed. xml was wrong but no obvious output in 
console so missing png was a real headache to figure. Tweaked drifting 
power loss (0.75 -> 0.5) and default brake power (100 -> 20).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3589 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-04 00:16:13 +00:00
mbjornstk
87d02728cf Added the png for tux shadow (direct convert from the rgb).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3588 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 23:38:31 +00:00
mbjornstk
c5fbf40736 Experiments with smoke size and position.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 23:00:16 +00:00
hikerstk
9d407561dc Fixed compilation problem (missing function getKartWidth).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3586 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 13:41:02 +00:00
hikerstk
25b9d9643c Replaced all remaining HEADER_.*_H with HEADER_.*_HPP .
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3585 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 02:17:43 +00:00
hikerstk
590eab3315 Missed one file in previous commit - another wrong include fixed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3584 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 02:14:32 +00:00
hikerstk
64d72dabad Fixed incorrect include paths.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3583 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 02:12:37 +00:00
mbjornstk
f84a77cf59 Test with two smoke trails. Easily undoable (not mixed the right and left
parts yet, so erase _r part and mass replace s/_l//g). If this stays,
better find the common parts and mix the rest so any change is done for
both sides.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3582 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 01:49:57 +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
83a032a27e Mover user_pointer into subdir.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3580 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 00:54:17 +00:00
auria
70a924c105 fixed warning (and potential problem)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3579 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 00:44:37 +00:00
hikerstk
9e6b1fb103 Removed unused file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3578 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 00:42:21 +00:00
hikerstk
e1b835cafd Fixed smoke system (minor issues: smoke comes from the middle of the kart,
not from the two wheels anymore).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3577 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 00:39:20 +00:00
auria
d814a4b94d Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3576 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 00:21:33 +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
55c7bbe600 1) Explosions now work, though need a new texture and
better particle parameters.
2) Minor work on smoke particle system, not finished.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3573 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 12:06:35 +00:00
hikerstk
2b9d7a0b55 Cleaned up #includes, for debugging F1 triggers now also an explosion.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3572 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 12:01:27 +00:00
hikerstk
a93191dc49 1) Bugfix: exploding flyables could trigger a crash.
2) Moved explosion closer to ground.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3571 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 11:59:17 +00:00
hikerstk
d7a6494f5b Fixed VS compilation warnings/errors.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3570 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 11:56:48 +00:00
hikerstk
102a601192 Minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3569 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 11:51:26 +00:00
auria
7d8d053157 Kart amount can now be set from GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3568 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 01:06:05 +00:00
mbjornstk
1bf249a438 Shadow was yellow but should be black. Nothing against colours in shadows
if they can be justified by some kind fire or lights in kart model.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3567 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-31 20:40:25 +00:00
mbjornstk
ab41b6fa78 Fixed shadow (front was back) and lowered it (overlapped wheels too many
times). Probably it should made to follow the ground instead, maybe split
into 2*2 (or equivalent triangles, to have control over the edges) or 4*4
quads too, for better shape adaptability.


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