Commit Graph

7283 Commits

Author SHA1 Message Date
hikerstk
5a41379479 Fixed bug in bevel shape: the bevel shaped was larger than the bounding
box of the chassis, resulting in collisions caused by the invisible
bevelled part of the chassis.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10469 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-21 21:43:01 +00:00
auria
5322baa0f4 Add a fallback for when splatting is not available in overworld
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10468 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-21 21:19:04 +00:00
hikerstk
13bca2e3d4 Added support for bevelled collision shapes using
a convex hull collision shape. Disabled by default,
set bevel-factor in stk-config (e.g. to 0.3 0.3 0.3).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10466 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-21 21:08:48 +00:00
hikerstk
2f89789c56 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10465 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-21 21:02:52 +00:00
auria
f398e8744b Refine detection of splatting support
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10464 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-21 20:32:20 +00:00
auria
c2d69b24f9 Display number of trophies in overworld HUD
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10461 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-20 22:01:45 +00:00
mbjornstk
16b7918f84 Remove useless executable properties.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10460 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-20 21:28:21 +00:00
auria
32f8666d10 Make overworld GUI cleaner by removing timer and rank
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10459 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-20 20:08:19 +00:00
auria
1998aa11f3 Avoid potential crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10458 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-20 20:07:08 +00:00
auria
e032615d3a More overworld work
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10457 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-20 19:51:05 +00:00
auria
fd49ecb3d6 Add support for vertex colors in splattig shader
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10455 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-20 16:58:12 +00:00
auria
5c52a4e855 Attempt fix in splatting shader
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10454 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-20 01:47:40 +00:00
mbjornstk
e6598d17cd Change build system to accept names with spaces.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10453 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-19 23:50:18 +00:00
mbjornstk
8a266dc6b2 Add new overworld mode file to build system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10452 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-19 23:29:02 +00:00
hikerstk
c3586684d3 Cosmetic changes only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10451 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-19 22:02:48 +00:00
stephenjust
33e93f050b Update VC9 project file to add modes/overworld.[ch]pp
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10450 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-19 21:45:34 +00:00
mbjornstk
7335106504 Remove more executable properties from data files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10449 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-19 20:15:04 +00:00
auria
30d71f8a34 Some improvements to overworld
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10447 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-19 17:48:00 +00:00
auria
82d133fa3c Oops forgot something in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10446 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-19 03:00:36 +00:00
auria
ad8b8acc67 Overworld : all major splatting textures are now in place
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10444 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-19 02:59:10 +00:00
auria
92b077a250 Create new world type for overworld for customized behavior. Hide overworld in track seelciton screen. Launch overworld when clicking on story mode button.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10443 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-19 02:26:07 +00:00
mbjornstk
9eb21b24d0 Remove useless executable property.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-19 01:05:18 +00:00
auria
81232e5a95 Say hello to a first version of the overworld. Note : THIS IS VERY MUCH A WORK IN PROGRESS
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10440 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-19 00:15:06 +00:00
hikerstk
c3a057f206 Added options to apply an impulse for a certain amount of time. This
way pushing two karts away from each other is less abrupt. This is
now enabled, feedback (or tweaks) welcome.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10439 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-18 20:55:27 +00:00
auria
683b0e1903 Improve Lambert shading in splatting : actually use the sun direction
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10438 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-18 02:39:05 +00:00
auria
1ce4443ed8 Add lambert lighting to the splatting shader to make it look less flat
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10435 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-18 00:48:35 +00:00
auria
cb668a211a Fix wilber's nose
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10431 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-16 01:54:03 +00:00
auria
184da58d31 Use blender's new support for unicode to properly write Samuncle's name
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10428 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-15 19:28:23 +00:00
hikerstk
2920a5a126 Some code cleanup. Removed tabs, fixed layout. Removed
unnecessary code, change some defaults to reduce number
of calls from STK.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10423 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-15 06:16:33 +00:00
hikerstk
d06acf1f7b 1) Added an (additional) impulse to push karts away from each other.
This impulse does not cause any rotation of the kart, it just pushes
the kart orthogonal to its velocity.
2) The rotational velocity is set to 0 in case of a collision, hopefully
avoiding the problem that karts will rotate as result of a collision.
3) A collision pair now stores the exact collision point for both bodies
(which is then used to determine the side in which the impulse to be
applied).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-14 21:02:15 +00:00
auria
411fffa55b Clarify license file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10420 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-14 14:31:09 +00:00
auria
938826f129 As was discussed, remove top bar, move icons to the bottom
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10415 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-12 23:58:04 +00:00
auria
1b57f7430f Move player selection to the options as was discussed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-12 23:23:50 +00:00
hikerstk
43c63910a9 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-12 22:52:04 +00:00
hikerstk
a69e94767e Made the restitution settable for karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10409 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-12 10:40:09 +00:00
hikerstk
dde603030c Missing file in previous commit (unused network code, but
it wouldn't compile without this).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10408 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-12 05:43:57 +00:00
hikerstk
8ab469d4d8 1) Added an additional impulse to push karts away in case of a collision (unused atm)
2) Saved one collision point for each collision pair so that a frontal detection
   can be detected (atm unused).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10407 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-12 05:42:40 +00:00
hikerstk
6a9b401d6e Reset visual-skid value to original value.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10406 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-12 05:36:48 +00:00
hikerstk
f33cdb2d17 Final fix for #528 (see also r10404): don't test
for locked karts when using --ai.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-12 03:49:33 +00:00
auria
ed432fbdf4 Disable checking if kart/track is locked when launching from terminal, avoids crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10404 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-12 01:03:44 +00:00
auria
66c41037ed Cleanup loading animated LOD nodes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-10 21:49:24 +00:00
auria
27cfa16820 Don't use in-game keys for menus, some people may setup their gamepad to use a key that's pressed by default for acceleration
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-10 20:06:43 +00:00
auria
b0270f69d6 Show in the options when many similar gamepads are connected
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-10 19:47:59 +00:00
auria
0de1c740e9 Delete old wood.jpg again, but fix lightouse (@minibjorn: I want to get rid of this texture, if you find another track that needs it please tell so that I fix the track, don't add the texture back)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10392 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-10 18:43:32 +00:00
coug36
2a87040138 Added missing files to VC10 project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-10 10:25:41 +00:00
mbjornstk
4d61576f75 Recover wood.jpg for lighthouse track, otherwise tree trunks are untextured.
It was deleted in r10366.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10389 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-10 03:17:42 +00:00
auria
8b65c3d084 Fix crash when starting from terminal with option -N
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10388 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-10 02:44:35 +00:00
auria
3aa77cccfa Don't allow a player to delete themselves
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10386 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-09 01:12:30 +00:00
auria
e705e98a69 Fix adiumy to use proper color format
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10385 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-09 01:01:57 +00:00
auria
479b1249ff Highlight menu buttons even when using keyboard and not mouse. Sorry for the ugly code, gotta deal with irrlicht's skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10383 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-08 21:50:33 +00:00