Commit Graph

7954 Commits

Author SHA1 Message Date
auria
65629a5649 Fix driving on water in island track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11155 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-25 20:20:30 +00:00
auria
b71cb6067e For now make sure challenges never use reverse mode (later it may become configurable, but reusing the value left over from previous race is bad)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11153 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-25 19:59:25 +00:00
auria
ef750af24e challenges.xml no longer contain a player name, only a player ID, so it no more needs to be UTF-32. Back to good old ASCII :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11152 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-25 19:41:23 +00:00
auria
caf8083b62 Prevent sign extension when generating player ID so that the date does not become FFFFFFFF
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11151 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-25 19:27:53 +00:00
auria
bfd81cb56e Fix compilation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11150 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-25 18:55:38 +00:00
auria
6e81376db3 Add code to try to catch gettimeofday bug on linux where 0xffffffff is returned
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11149 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-25 18:46:31 +00:00
auria
b400320745 Make anti-aliasing level configurable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11148 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-25 15:44:17 +00:00
auria
b3f6177306 Ticket 515 : add debug code to have a better diagnostic if this happens again
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11147 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-24 20:18:31 +00:00
auria
7e5f51b270 Identify players by a unique ID and no more by their name, so that when you rename a player game slots are no longer so confused. This is a somewhat painful change, please report any breakage
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-24 01:28:43 +00:00
auria
8a919816e1 Fixed returning reference to temporary
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-23 23:41:51 +00:00
auria
db2cd01922 Allow going to a challenge in the overworld by clicking on the minimap
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11143 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-23 19:23:21 +00:00
wardje
a4994e7512 Fix #580 by re-exporting in GIMP
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11142 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-23 16:37:54 +00:00
auria
13782a890e Remove useless check
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11141 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-23 00:59:48 +00:00
auria
099cbce6ce Improve previous fix for bug #542, this one should handle correctly when multiple gamepads are plugged
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11136 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-19 01:31:05 +00:00
auria
ea908cb76f Fix player parameter being NULL in input module when starting game with keyboard/mouse but playing with gamepad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11135 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-19 01:23:48 +00:00
auria
0f42344fc9 Make gamepad-debug a little more useful, sometimes watching the huge amount of values flash on terminal is not what you need
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11134 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-19 00:47:33 +00:00
auria
0a3e95ec12 Lower the XR591 challenge, atm it makes the track always locked
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11133 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-19 00:36:42 +00:00
auria
64e1b9430b Fix fire button misbehaving when assigned to an analog key
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11132 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-19 00:30:07 +00:00
auria
ffd1432fd0 Fix gamepad navigation in menus
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11131 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-19 00:01:44 +00:00
auria
f65a5c3d83 While we're on the subject of Arabic, fix arabic accents
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11130 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-18 23:21:16 +00:00
auria
1a5593a9ba No in-game visible change, just re-export the font PNGs from gimp but setting the background color to black, so that you can see something in picasa's image viewer, who respects the background color set in the PNG :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11129 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-18 23:18:43 +00:00
auria
4e5c478e70 Minor tweak : reduce spinner height when height is computer from label height. Too much vertical space was waster
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11128 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-18 23:00:53 +00:00
auria
eacad59d20 Commit changes I forgot in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11127 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-18 22:59:56 +00:00
auria
e7acddc195 Improve arabic font, to a reasonable state
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11126 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-18 22:48:46 +00:00
hikerstk
5eafaaa918 Added support for checklines to be specified by two 3d points
instead of 2d points and the minimum height.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11125 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-18 22:07:45 +00:00
auria
b71a93feb9 Update layout manager to no more crash when the screen is full (which happened with Arabic, for some reason there is much empty space above and below arabic characters)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11124 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-18 20:49:34 +00:00
hikerstk
d0fb8aa78a A first version of the cannon that uses linear interpolation for the
bezier curves to allow smooth (i.e. constant speed) travel along
the curve.
This is WIP. Known bug: the kart jumps at the beginning and
end of the cannon animation.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11122 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-18 13:14:18 +00:00
auria
22e0f0f9c0 Offer STK in Arabic. Note that for some reason this crashes the options menu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11121 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-18 02:14:55 +00:00
wardje
6e06f8bd7e Fix #618, SIGABRT after 3 strikes battle.
Needed a check when destroying that the world wasn't being destroyed as well.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11120 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-16 10:50:06 +00:00
wardje
03c8fc70fd Fixed #612 - camera staying behind after falling
To fix it, I copied what happens in explosion animation: reset the camera to
normal when the animation gets removed (destroyed).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11118 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-13 13:14:59 +00:00
auria
eabc8bc8af Commit betharatux1's updates to minigolf, allowing driving reverse
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11116 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-13 01:49:47 +00:00
hikerstk
a5be43ea9b Added some missing references (&) to prevent strings
from being copied.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11115 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-13 00:00:22 +00:00
hikerstk
05ada2dc13 1) Fixed #617 (double animations when kart is falling).
2) Disabled terrain particles when any kind of kart animation is
   shown (and not only when a rescue was done).
3) Minor cosmetic changes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11114 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-12 23:58:35 +00:00
hikerstk
c8750375bf Prevent animations to be counted multiple-times when
collecting statistics.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11113 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-12 23:54:40 +00:00
hikerstk
4b1be01dde Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11112 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-12 23:30:58 +00:00
mbjornstk
841f11351a Remove useless executable property from data files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11111 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-11 00:52:31 +00:00
samuncle
c397b5cd03 the new XR591. To be continued
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11110 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-11 00:38:00 +00:00
wardje
fd80c17a33 Fix #616 - dancing stars appearing in fixed place
Stars object was being created before data was loaded in. Moving it
to Kart::init() instead. (::loadData has to be called first)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11107 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-10 15:43:13 +00:00
hikerstk
cddea4ae65 Added proper operator[] functions so that Vec3[i] can be
used on the left side of an assignment.
Also fixed coding style and added documentation.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11106 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-10 12:43:15 +00:00
hikerstk
09917fc3a3 Fix #606 (I hope): world was used while the world
was being destroyed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11105 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-09 23:52:51 +00:00
hikerstk
c4bfafeaff Applied Wardje's patch for #611, thanks!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11104 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-09 23:38:42 +00:00
hikerstk
b210ea2ea0 Fixed #610, #611, #615: problems due to triggering rescue
while being rescued (and similar problems would have been
with rescue while an explosion is shown).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11103 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-09 23:27:01 +00:00
hikerstk
8d96260858 Fixed crash in debug output: getName() of a kart
animation would be called from inside the constructor
of the kart animation, at which time virtual functions
are not available yet.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11102 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-09 23:18:37 +00:00
hikerstk
f69dbd2447 1) Added support for disabling an animation.
2) Only print warning about empty curves in debug mode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11101 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-09 23:16:51 +00:00
hikerstk
e3876a58b9 Fixed compilation problem on linux, and removed several warnings
(one actually indicating a bug).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11100 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-09 23:13:44 +00:00
hikerstk
c0f5484c9c 1) Changed base data types in IPO to be based on Vec3 instead
of irr::core::vector2df (in preparation to support curves).
2) Re-added support for individual start and end time for
   each individual curve of an IPO (and not only for all curves
   together, which results in incorrect behaviour if not all
   individual curves have the same length).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11099 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-09 22:17:51 +00:00
auria
cb7492c9a8 Apply minor Hacienda update by samuncle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11098 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-08 00:13:37 +00:00
auria
8456e3b2d2 Add a doxfile for windows with adapted DOT_PATH
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11096 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-07 22:59:20 +00:00
wardje
9eed9409e5 Add functionality to end a race early (#486).
* Only adding for standard races (normal race + time trial), didn't make as
  much sense elsewhere.
* Places still active players at the back of the final result and gives
  them penalty time.
* Add button to race pause dialog, temporarily using options_ui.png.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11093 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-07 21:58:11 +00:00
auria
0206f64ee9 Tentative fix for #608
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11092 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-07 20:01:42 +00:00