Commit Graph

7260 Commits

Author SHA1 Message Date
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
auria
25f2700794 Improve main menu based on feedback received
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10381 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-08 17:54:58 +00:00
auria
8e6657378b Allow longer player names to be visible
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10379 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-08 01:54:49 +00:00
auria
eccc1a66b4 Fixed bug when selecting player profile, don't rely on numerical IDs, they may not match because the guest profile is skipped
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-08 01:25:56 +00:00
auria
b338e1f0d6 Allow selecting who you are
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10377 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-08 01:02:47 +00:00
auria
b1963a7a50 remove from materials.xml references to old textures that were deleted so that it stops logging warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10376 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-08 00:55:50 +00:00
auria
77cd48a41f More minor tweaks to the main menu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10375 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-08 00:52:16 +00:00
auria
de20a89c17 Horrible work around small glitch I'm too lazy to fix right now...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-08 00:44:30 +00:00
auria
cd5e26c223 Show name of current player
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-08 00:34:48 +00:00
auria
8b50b30ecc New main menu, more minimalistic, based on mockup by samuncle. Please comment
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-08 00:25:23 +00:00
auria
9f727200c3 Add remember me checekbox on the initial screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-07 20:34:28 +00:00
auria
0e4d84bd26 Update Scotland,replacing the old textures that have been removed from data/textures
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-07 19:42:32 +00:00
auria
3e431d6895 Don't register a keypress when a gamepad button is released in the menus
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10368 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-07 17:06:32 +00:00
auria
6a793fb708 Remove old ugly texture that I don't think any track still uses
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10366 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 19:02:09 +00:00
auria
61070ece57 Select the appropriate identity when starting a new race from what was selected on the welcome screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 18:55:18 +00:00
auria
52e735e2ab Implement the 'new player' player on the welcome screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10364 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 18:48:48 +00:00
auria
92eb0ebd2a Ran a small bash script to remove all of those annoying strings. The only thing they gave us were the need to rebuild after committing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 18:43:36 +00:00
auria
a87d34aa7d More refactor in player code to reduce coupling
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 18:27:32 +00:00
hikerstk
964d132364 Added code for skidding (currently disabled, so no visible change).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 05:54:16 +00:00
hikerstk
1d15cb7ba0 Update VS 9 project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10360 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 05:52:29 +00:00
auria
8845aa30a1 Start refactoring player handling code and add some missing checks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10359 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 02:28:53 +00:00
auria
a0c3e043cf Select a player name by default
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10358 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 02:11:02 +00:00
auria
bd36a57164 Add initial seelct identity screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10357 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 02:06:48 +00:00
auria
b384f71c7e Fixed bug when loading challenges.xml
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10356 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 01:16:16 +00:00