Commit Graph

8190 Commits

Author SHA1 Message Date
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
auria
9e3ba88f98 Don't allow starting a race from overworld while being rescued
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11091 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-05 02:28:21 +00:00
wardje
d89335d4a4 Fix a forgotten cast that made building fail
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11090 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-04 22:03:04 +00:00
hikerstk
317ff370cb 1) Control the time for an IPO animation in AnimationBase
instead of individually on each IPO (besides removing
   redundancy it keeps the IPOs in synch, since it is now
   guaranteed that they cycle all at the same time).
2) Started to add length computations for IPOs, but this
   code is not yet used.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11082 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-04 00:48:05 +00:00
hikerstk
ae5b3b923e Bugfix: Casting Kart to TerrainInfo is not correct anymore,
added getTerrainInfo() function instead and dynamic_casts.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11081 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-04 00:43:52 +00:00
auria
4aed65b2bd Ajust jungle zippers to more reasonable values
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11080 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-04 00:41:16 +00:00
hikerstk
fcb8aaf9c6 Fixed crash when using --check-debug: when determining the checkline
requirements, no karts are created yet, so printing the kart id
causes a crash.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11079 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-03 22:27:11 +00:00
mbjornstk
682a6453fc Rename canon to cannon in build system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11078 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-03 03:05:39 +00:00
hikerstk
d71a4aa5cb Updated VS 9 project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11077 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-03 02:11:28 +00:00
hikerstk
2f92fefffd Fixed spelling problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11076 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-03 01:46:54 +00:00
mbjornstk
86a90658dc Remove from build system the removed anim files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11074 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-02 00:20:14 +00:00
mbjornstk
9fccfb5318 Add all new anim files to build system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11073 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-02 00:12:06 +00:00
hikerstk
ee35086d20 Fixed compilation problems.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11072 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-01 23:17:45 +00:00
hikerstk
161be4d3bd Updated cmake source file list.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11071 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-01 23:09:59 +00:00
hikerstk
eca5b3e570 Refactored handling of kart animations: instead of
using a fixed object in the kart, now each animation
(rescue, explosion, canon) has its own object and 
implementation using a common interface. This
simplifies AbstractKartInterface, and makes it
easier to add new functionailty. 
Instead of using: kart->rescue(...),  or kart->explode(...)
you use new ExplosionAnimation(kart, ...) etc. Memory
handling is done by the object (and abstract kart).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11070 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-01 22:57:41 +00:00