auria
cd5ff43c5d
Improve 'push back on collision' effect
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10624 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-09 02:37:36 +00:00
auria
513b021a6c
Add 'push back on collision' effect
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10623 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-09 02:30:49 +00:00
hikerstk
d510a660f8
Removed more changes to bullet (which didn't compile with windows). Now bullet
...
is back to its original state.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10621 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-09 01:34:45 +00:00
auria
2916e527da
More work on overworld UI + give the player infinite nitro
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10620 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-09 01:25:27 +00:00
auria
67cc863331
Improve drivelines on overworld
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10618 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-09 01:20:32 +00:00
auria
a2e9db2ae5
Disable quantization to improve load times, thanks Joerg for the idea (oops, I'd changed the wrong one ^^)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10615 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-09 00:45:03 +00:00
auria
f230855b3d
Disable quantization to improve load times, thanks Joerg for the idea
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10614 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-09 00:35:15 +00:00
auria
6d7d52f993
Don't build the bvh twice
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10613 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-08 23:50:22 +00:00
auria
53cbbe5408
Revert more bullet stuff that for some reason escape the reverse-merge I used. svn, wtf?
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10610 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-08 20:39:14 +00:00
auria
a56aad610c
revert changes made to bullet when trying serialization. it just won't work...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10609 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-08 20:17:21 +00:00
auria
939eb6ef3e
Fix compilations regarding stdint.h types
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10604 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-08 17:04:41 +00:00
auria
fb0ee953f5
Fix more uses of 'int' and 'short int' type in bullet where they clearly meant to use 16-bits or 32-bits types (hey the comments even say '4 bytes' but they use a int type that is 8 bytes on many computers -.-)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10603 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-08 16:59:53 +00:00
auria
cadd8a3faf
Add more debug code to bullet...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-08 16:45:43 +00:00
auria
fe566590bd
Add more debug code to bullet...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10601 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-08 16:38:49 +00:00
stephenjust
d7d8df28ee
Fix VC warnings. Hopefully didn't break non-vc compilation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10599 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-08 03:32:10 +00:00
auria
ac799f4b9b
Fix issue under windows
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-08 03:03:04 +00:00
auria
24d951363d
Bad bullet, using generic 'int' in a serializable class. I may still have missed some, this is a test. If it turns out to work we'll need to submit a patch...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-08 02:49:27 +00:00
auria
4e6245b401
Print more info to try and debug weird serialization issue
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10596 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-08 02:45:30 +00:00
auria
a897dd7209
Amend previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10595 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-08 02:31:46 +00:00
auria
e54bf5ac72
Print deserialization failure reason to help debugging
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10594 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-08 02:26:45 +00:00
auria
b6601d1aaf
Add missing \n in previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-07 23:12:23 +00:00
auria
d731420997
Improve error handling
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10586 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-07 23:07:37 +00:00
auria
ca4da84bae
remove useless assert
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10585 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-07 23:06:10 +00:00
auria
06d9359fa6
Add experimental code to load bullet mesh BVH from serialized file instead of calculating it on the fly, making it quite a bit faster
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10583 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-07 22:06:40 +00:00
auria
d7b12da059
Add a few time facilities that were useful to test what takes long
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10582 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-07 22:01:51 +00:00
hikerstk
e06c8a05fa
Split updatePhysics into several shorter functions to make the code easier to
...
understand. Removed and simplified some functions. This should not change
anything in actual game play.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10574 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-04 21:58:33 +00:00
hikerstk
87865b7dec
Removed unnecessary include of kart.hpp from world.hpp.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10572 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-04 05:32:19 +00:00
hikerstk
7e59d027c5
Minor code simplification.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10571 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-04 05:28:16 +00:00
auria
fb80b6daa6
Add improved error checks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10562 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-03 02:24:38 +00:00
hikerstk
a720994036
Fixed #539 (elephpant has problems with wheels when using convex hull
...
as collision shape). This appears to be a bullet problem (raycast for
wheels is hitting the chassis), worked around this by disabling
raycast collisions with chassis completely.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10556 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-03 00:29:34 +00:00
hikerstk
324c976f2d
Fixed input-filter that was moved under guiengine.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10555 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-03 00:24:13 +00:00
stephenjust
b772e99028
Add a configuration for wiiuse to vc9 project (must have wiiuse.lib and wiiuse.h in the dependency path for this configuration to compile)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10548 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-02 21:40:53 +00:00
funto66
9dc03ff36d
Moved the wiimote update loop in a separate thread
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10543 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-02 00:06:11 +00:00
mbjornstk
dde596e0fc
Change files that have mixed EOLs and make sure they keep one style from now.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10542 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-01 23:50:36 +00:00
funto66
254fa42b7c
Now we can use the buttons for the wiimote, but the refresh is horribly slow...we probably need to put the update loop in a separate thread
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10541 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-01 23:24:42 +00:00
funto66
61a6b6fbf0
Wiimote is now in the device list :)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10540 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-01 22:12:35 +00:00
funto66
569308a730
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10539 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-01 21:19:13 +00:00
auria
00c477078b
Remove outdated declaration in input manager
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10538 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-01 19:37:31 +00:00
stephenjust
0c57b19e9d
Update vc9 and vc10 projects
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10534 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-01 01:36:18 +00:00
mbjornstk
d37bb55d06
Add overworld related new files to build system.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10533 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-01 01:08:00 +00:00
auria
2a96276da5
The oveworld GUI now has its own class, will be easier to work the UI as I want
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10532 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-31 22:07:49 +00:00
auria
ee6d1b3b64
Add level of detail to overworld pedestral, they were using a LOT of polygons
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10519 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-30 20:32:09 +00:00
stephenjust
53964c4a4d
Update vc10 project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10510 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-28 07:01:57 +00:00
auria
3b0a88ae30
Update overworld : challenge orbs now contain the screenshot of the actual challenge they lead to
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10502 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-27 21:59:11 +00:00
auria
c45e9be77d
Make level of anisotropic configurable, plus default to x8 (previously, was using maximum available which could use a lot more video memory with no need since above x8 the improvement is minor). Also remove some debug code that is no more used.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10499 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-27 19:49:03 +00:00
auria
41ab5979fa
Support alpha-blended sphere mapping
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10496 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-26 21:17:36 +00:00
auria
f23f537620
Update overworld with 'force fields' to guard the entrance to challenges as discussed. I <3 my new shader\!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10491 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-26 16:46:29 +00:00
auria
5c7d45576e
Minor
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10490 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-26 01:46:57 +00:00
auria
9bb6dc84dd
Minor overworld update, add switch to disable pixel shaders, fix custom settings to not be accessible in in-game menu
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10489 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-25 20:22:37 +00:00
mbjornstk
c172da9381
Add custom_video_settings.[ch]pp to build system.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10487 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-23 02:47:58 +00:00
auria
733bc63dff
Add support for using a second UV layer for normal maps
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10486 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-22 23:05:13 +00:00
stephenjust
1cd884f8f9
Add states_screens/dialogs/custom_video_settings.[ch]pp to vc9 project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10483 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-22 22:03:23 +00:00
auria
febcc4411f
Add dialog to customize graphics settings in addition to slider
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10482 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-22 21:14:57 +00:00
auria
f9f8052f09
Improve error handling in string utils
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10481 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-22 21:01:17 +00:00
auria
7518d008dd
Bugfixes and improvements to spinner widget
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10480 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-22 21:01:03 +00:00
auria
4e62406c8f
Improve gui layout algorithm
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-22 20:12:37 +00:00
auria
3711f39a4b
Fix what happens when pressing escape in players screen accessed from options
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10478 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-22 19:54:34 +00:00
auria
2786dbe353
Allow uninstalling addons that have upgrades available
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-22 19:48:54 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
mbjornstk
f3c9338908
Add the game slot files to build system.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10355 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 01:01:17 +00:00
auria
e61c4430b3
Fix some breakage in challenges
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10354 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 00:01:48 +00:00
auria
57d85f1bf1
Remove accidentally committed logging
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10353 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-05 23:58:49 +00:00
hikerstk
2a9e76d644
Fixed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10352 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-05 22:27:03 +00:00
hikerstk
dd505e00b0
Fix for cmake: Added test for __socklen_t_defined which is used on linux (autotools
...
would define HAS_SOCKLEN_t, cmake doesn't).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-05 22:15:24 +00:00
hikerstk
97943c7fb3
Updated VS 9 project file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10350 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-05 22:10:17 +00:00
auria
0455efd20d
Massive refactor in challenge code to allow having more than 1 progression
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-05 22:00:42 +00:00
mbjornstk
b5fef48c61
Add 4 new files for story mode to build system.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10348 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-05 00:57:53 +00:00
auria
d0a7af3761
Start adding first screens of story mode
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10347 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 23:06:53 +00:00
auria
d01a45c35e
Fix compilation under some OSX systems
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10346 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 23:05:14 +00:00
hikerstk
c201876e2c
Removed unnecessary getMass function.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10344 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 21:24:07 +00:00
hikerstk
46d4fe197c
Fixed history loading of steering and accelerartion for
...
physics replay if more than one kart is used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 20:45:55 +00:00
auria
d02b6d1bfb
For now use 4x anti-aliasing by default, it's quite a bit faster than x8 and I can barely tell the difference
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 19:55:37 +00:00
auria
7436edaf41
Add alpha-to-coverage support
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10338 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 19:47:10 +00:00
termina1
1d6953bcb3
Fix for ticket 450: use a largest accumulated distance to separate kart respawns in 3sb
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10335 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 15:10:59 +00:00
termina1
852420306e
Updated vc10 project file
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10334 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 14:21:10 +00:00
hikerstk
66109d56f7
Updated VS9 project file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10332 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 11:06:07 +00:00
mbjornstk
c85ec85136
Add include for std::sort, it needs algorithm.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10329 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 02:13:30 +00:00
mbjornstk
3e82bd7eec
Add include for string.
...
The .cpp complains about sort... still looking for a fix for that.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 02:09:51 +00:00
mbjornstk
726492135d
Add new "lod node loader" files.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10327 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 02:05:04 +00:00
auria
fed42fc062
Fix issue in new lod code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10326 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 01:37:21 +00:00
auria
cccdbb14f7
Remove accidentally committed code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 01:32:17 +00:00
auria
acec3729cd
Complete animating LOD objects
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 01:29:27 +00:00
auria
6e152a22aa
Animating LOD objects with IPO is now almost closer to work
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 01:25:09 +00:00
auria
3c4c88e57f
Refactor LOD loading to make it easier to make animated LOD objects next
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 00:51:20 +00:00
auria
ddf544ab44
Fixed blunder in previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-03 23:38:24 +00:00
auria
61e226b5a0
Committing an experiment that looks promosing : made STK load much faster by zipping the models of karts. Joerg, unfortunately I had to add a grab() for a reason I currently don't understand :(
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-03 23:25:51 +00:00
auria
55df795334
Avoid referencing a null pointer when kart loading failed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-03 23:19:49 +00:00
auria
828705bca6
Fixed issue where particles needed to be manually added at the evry top of materials.xml
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10314 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-03 22:06:23 +00:00
auria
3e440fd88d
Improve how normal maps work on movimng objects
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10312 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-03 20:09:08 +00:00
auria
d4a57fc833
Try to prevent configuring a gamepad by pressing on the wrong gamepad
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10307 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-03 02:43:03 +00:00
hikerstk
05fb68a706
Added debug output when a kart hits the track (for people
...
playing without sound ;) ). Needs --physics-debug command
line flag.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10300 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-02 09:41:00 +00:00
hikerstk
a5b3cb7f51
Removed outdated FIXME.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10299 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-02 08:57:41 +00:00
hikerstk
422788bc20
Added setting for maximum suspension force (currently set at the
...
old default value).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-01 12:14:20 +00:00
hikerstk
bb6e9f6f2c
Replaced tabs.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10295 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-01 11:33:37 +00:00
hikerstk
52fca10f14
Tried to fix linking problems by moving some code into
...
class functions.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10293 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-01 02:41:18 +00:00
hikerstk
2c33ed75ed
Merged the physics branch back to trunk. There should be no change at
...
this stage for users.
The physics branch added a few new stability options (which are disabled
by default), fixed bug and reproducing history files when using physics
replay, using --log=file command line option. See log on the physics
branch for full details.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-01 01:14:10 +00:00
hikerstk
6dca16c420
Fixed uninitialised variable (which was used, but didn't impact
...
the result much).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10291 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-30 23:48:28 +00:00
hikerstk
3f0e2a7f82
Cosmetic changes only.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-30 23:46:04 +00:00
hikerstk
357297dc38
Very minor bugfix: if a kart got no startup boost, it would
...
nevertheless set a startup boost of 0 in bullet, which causes
the first frame not to have correct physics applied (not noticable
in game actually).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10289 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-30 23:44:04 +00:00
hikerstk
4dbdc5c588
(Re-)Added support for disablind sliding and zipper (based
...
on implementation in trunk). Now the physics branch (with
disabled new features) behaves like current trunk.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10287 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-30 23:33:00 +00:00
auria
8799b3ca3b
Improve splatting
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10283 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-30 19:34:37 +00:00
auria
47d0e01f12
Add initial splatting support
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10282 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-30 16:56:04 +00:00
hikerstk
31aed84b82
Disabled a bug fix from bullet 2.79 if backwards compatibility (to stk 0.7.3)
...
is used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10281 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-30 11:36:38 +00:00
hikerstk
d7d8d4aa6c
Applied missing patch from trunk that applies the force only sideways.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-30 11:33:27 +00:00
hikerstk
d4564dd40d
Re-introduced a fix for (apparently) hexley, not sure if this should
...
be kept, but for backwards compatibility added it back with an
#ifdef.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10278 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-30 08:26:59 +00:00
auria
83527e9146
Apply patch by Wardje to fix displaying GP progress when there are too many tracks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-29 18:24:04 +00:00
auria
b0b1a7c7a1
Prepare STK to accept additive lightmaps
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10273 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-29 02:48:37 +00:00
hikerstk
eb49ef5f87
Updated VS 9 project file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-28 05:15:34 +00:00
auria
7697988801
Add feature requested by samuncle
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-27 23:41:38 +00:00
auria
407c5319b5
More work to fix building without OpenAL for Android
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10267 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-27 18:15:12 +00:00
auria
bf02f9b788
Fix potential crash
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-27 02:40:46 +00:00
auria
9afdcfaf50
Apply patch that is a bit similar to what xapantu did, but in a IMHO more modular way
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-27 01:14:16 +00:00
auria
c50e1a6c8b
Apply patch that is a bit similar to what xapantu did, but in a IMHO more modular way
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10263 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-27 00:48:02 +00:00
auria
c65762cd77
Fixed bug in my previous commit, sorry
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-26 21:55:31 +00:00
auria
1e63021889
Add support for additive lightmaps
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10260 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-26 20:18:42 +00:00
hikerstk
8890925470
Adding braking improvement back in.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-24 10:29:14 +00:00
hikerstk
dccbfaa5f2
Re-added support for track connection acceleration (for backward
...
compatibility).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-24 10:26:27 +00:00
hikerstk
78505d2a8b
Added lost improvement: make sure that both wheels
...
of an axis are touching the ground if at least
one wheel touches it (if only one wheel touches
the ground, the kart will get a strong angular
impulse and turn rapidly).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10251 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-24 10:20:12 +00:00
hikerstk
fd1871be6e
Bugfix: adding the radius to the raycast length was lost in
...
the branch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10250 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-24 10:13:37 +00:00
hikerstk
0c5125522d
Fixed --log=file/terminal (the stdout/err files were opened
...
before the command line flag was tested, so the behaviour
depended on the setting in the previous runs, which were
saved).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-24 09:49:30 +00:00
hikerstk
e92827f357
Cosmetic changes only.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-24 00:22:39 +00:00
hikerstk
06a96ed356
Accept heading angle in degree instead of radians, which is easier
...
(considering that the special start-tag is mostly used when manually debugging).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-23 20:52:43 +00:00
hikerstk
f0bf730a9d
Removed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10242 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-22 23:16:19 +00:00
hikerstk
5a4cc87738
Make the physics branch compile with current irrlicht svn.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10241 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-22 23:15:27 +00:00
hikerstk
afb9e12ce5
Bugfix for the bugfix r10235 for #504 (stk would crash when the kart selection menu is
...
shown next time after a race).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10238 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-22 05:24:39 +00:00
hikerstk
097427e561
Try to fix #504 : the wheel model was not freed, resulting in using
...
textures which were not reloaded (since the mesh was taken from the mesh
cache).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10235 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-22 00:18:51 +00:00
auria
be1abb965e
Apply patch by winterheart to build with latest irrlicht SVN. Yes, this means you need to update to latest irrlicht :)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10229 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-20 00:15:47 +00:00
auria
35d01606f7
Add some checks to catch errors earlier
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10228 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-19 23:41:26 +00:00
auria
16f9237b62
Fix non-translatable stirng
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10226 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-18 19:53:18 +00:00
hikerstk
4f6144b890
Fixed handling of multiple gamepads on windows on non-english systems
...
(the name of the driver is translated, so the if condition would not get
triggered).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-17 03:08:57 +00:00
hikerstk
d1e132fbcb
Fixed physical history replay, it appears to be bitwise identical now ( #498 ).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-16 21:15:25 +00:00
hikerstk
e37c225654
Reset the 'reminder' time maintained by bullet (which uses fixed
...
time steps), so that in physics replay the time steps are now
correct.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10219 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-16 01:37:08 +00:00
hikerstk
6ece9c5624
Removed unnecessary #include, sorted class declaration, added &
...
to getResetTransform.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10217 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-15 12:05:41 +00:00
hikerstk
7c7cc76925
Fixed distribution of cmake files with autotools.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10207 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-14 22:29:15 +00:00
hikerstk
c537c6873e
Reset history data each time a race is started (to avoid that previous
...
history data is used).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10204 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-14 11:57:11 +00:00
hikerstk
09d998bc24
Only save history when the key is pressed (and not again when it is released).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10203 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-14 11:56:14 +00:00
hikerstk
7f086ded7a
Bugfix: physics replay didn't work (due to incorrect sscanf format).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10202 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-14 06:05:27 +00:00
hikerstk
311fef8726
Replaying now loops back to the beginning of the recording. Note that
...
atm the physics values of karts (speed, suspension etc) are not reset,
which can cause difference when looping.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10201 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-14 06:04:32 +00:00
hikerstk
e264ce269f
Fixed rubber ball bouncing too high ( #496 ), r10181 on 0.7.3.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10182 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-13 22:51:07 +00:00
hikerstk
751a7a7791
Fixed ball squashing when it hits the ground.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-13 22:33:57 +00:00
hikerstk
79bb18870b
Fixed compilation problems, removed unused code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10179 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-13 22:28:38 +00:00
hikerstk
587084e712
Updated documentation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10176 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-13 20:54:35 +00:00
hikerstk
158bf71046
Fixed include path.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-13 20:53:23 +00:00
hikerstk
b5db07c453
Added downwards impulse which is proportional to
...
the speed, to help keeping the karts close to the
ground.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10159 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-10 12:01:36 +00:00
hikerstk
1f7d055fa8
Bugfix - max would get too big, resulting in out of bounds
...
accesses.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10158 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-10 11:57:15 +00:00
hikerstk
686c0307a8
Bugfix, a boolean can not be tested if it is initialised.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10157 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-10 01:06:20 +00:00
hikerstk
4a5a8edcb7
Added --phsyics-debug option, which (atm) will make the graphical
...
wheels invisible if they don't touch the ground.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10156 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-10 00:59:40 +00:00
hikerstk
ed200a2302
Added missing function to get downward impulse factor.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10155 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-10 00:56:01 +00:00
hikerstk
8c6c38592e
Fix #494 : thunderbird disappears if the game is paused while the countdown is being shown.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10153 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-10 00:27:11 +00:00