Commit Graph

6263 Commits

Author SHA1 Message Date
hikerstk
a8008d38d7 First try to fix #253 - it might have some performance
impact since now all quads are checked if a kart is off road.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8716 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-26 06:02:10 +00:00
auria
2518b771cb Update catalog + fix XML file expat didn't like
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8715 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-26 01:06:20 +00:00
auria
fb26130a3c Improve highscores message
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8714 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-26 01:02:16 +00:00
auria
9b4df89d2e More tweaks to the code that determines number of ribbon rows
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8713 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-26 00:55:33 +00:00
auria
6103921a51 Show highscores in a reasonably visible way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8712 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-26 00:44:17 +00:00
hikerstk
fb268ed993 Added highlight: featured addons for normal players, and
non-approved items in artist mode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8711 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 07:18:34 +00:00
hikerstk
aeadf0ed96 Added I18N comment for reload button.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8710 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 07:04:57 +00:00
hikerstk
610eabb20d Fixed reload functionality.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8709 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 06:57:21 +00:00
hikerstk
082476c8ce Bugfix: the label with the error message was invisible.
Note that the error message is not properly aligned atm, see
#229 for details.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8708 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 04:22:05 +00:00
auria
624d050571 Display when you get a highscore (it's a little subtle for now but at least the infrastructure is there)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8707 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 01:53:15 +00:00
auria
c285f67dba Make add-ons screen look better
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8706 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 01:31:57 +00:00
auria
71832931b0 Fixed coordinate -1 resulting in weird bugs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 01:28:14 +00:00
auria
a74485f890 Improve a little the case of the relaod button
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8704 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 01:23:35 +00:00
hikerstk
a94fa2d764 Fixed compilation problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 01:11:23 +00:00
hikerstk
cbd83c24f6 Started to add a 'reload' button to refresh the addons.
This is WIP, so best not to press this button. Maybe I
should rename the button to read "Don't press"  ;)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 01:09:25 +00:00
hikerstk
13cc69246f Added better error handling in case of network problems with the addon manager.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8701 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 12:15:54 +00:00
hikerstk
4333eccc5c Started to replace asynchronous thread cancellation with pthread_join/exit
combination (which mean the code now depends on libcurl never to hang!!).
This should (again ;) ) fix #235.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 05:27:54 +00:00
hikerstk
8c22b21166 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8699 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 04:56:18 +00:00
auria
255a9d5619 More attempts at tweaking ribbon row-count decision formula
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8698 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 01:44:00 +00:00
auria
da85204faf Partial work towards showing highscores when they are made
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 01:34:02 +00:00
auria
19ce15aee9 More attempts at tweaking ribbon row-count decision formula
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8696 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 01:12:21 +00:00
auria
ab3822242f More attempts at tweaking ribbon row-count decision formula
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8695 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 01:10:51 +00:00
auria
d75a365da9 Allow battle arena group names to be translated
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 00:55:09 +00:00
auria
416c9bba86 Remove invalid FIXME
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 00:52:36 +00:00
auria
3c28fc6573 Remove outdated FIXME
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 00:50:56 +00:00
auria
06e3560897 Simplify for_in code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 00:44:25 +00:00
auria
edb21d16ce Tweak the algorithm that chooses the number of rows in a ribbon, hopefully gives better results at high resolutions now in kart screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 00:41:07 +00:00
auria
8a00579b2a Simplify code by using PtrVector instead of vector + manual delete
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 00:04:43 +00:00
auria
f83492ef3d Fixed uninstalled tracks remaining in the track list
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8687 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-23 23:56:52 +00:00
auria
7082558a6a Fixed rare shutdown crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8686 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-23 23:55:50 +00:00
auria
30435bbde4 Highlight gamepad when pressing its keys, to help the player tell them apart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-23 20:51:17 +00:00
auria
da6742d7b1 Fixed focus navigation bug
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8682 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-23 20:29:12 +00:00
hikerstk
f83cbe28bb Tried to fix ticket #235 (and probably #245), though it uses
asynchronous cancelling, which isn't ideal (see man page
pthread_setcanceltype for details).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8680 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-23 12:32:41 +00:00
auria
d1400c4c10 Fixed looking back not working when wheels are not on ground
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8675 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-23 00:37:39 +00:00
auria
8788a07010 Minor includes cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8673 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 23:04:19 +00:00
auria
dd3a4406f2 Fixed add-ons being left out when reloading after a resolution switch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8672 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 22:40:00 +00:00
auria
97506bba43 Revert r8647, seems no more necessary now that I updated irrlicht
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8671 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 22:25:17 +00:00
magned
7601074d37 Remove unneccesary includes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8670 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 22:15:10 +00:00
magned
b1d8c96dc9 New attempt at fixing compilation, thanks to KroArtem
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8669 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 21:55:17 +00:00
magned
52f574f72f Attempt to fix compilation, thanks to KroArtem
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8668 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 21:47:58 +00:00
auria
fb7f9c6816 Fixed eager skipping of code when effects were disabled, which resulted in looking back to stop working
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8667 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 20:40:26 +00:00
auria
9e4b17d76f Fixed potential read of unset variable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8666 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 20:39:31 +00:00
auria
4157f7dc10 More work on 'thou shalt not include irrlicht.h everywhere carelessly'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 19:45:17 +00:00
auria
b31cca3ccd Fixed warnings with Visual studio
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8664 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 19:30:24 +00:00
auria
357af5a27d More work on 'thou shalt not include irrlicht.h everywhere carelessly'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 19:29:52 +00:00
auria
5b073ca9d0 More work on 'thou shalt not include irrlicht.h everywhere carelessly', plus add debug checks to tinygettext in a desperate attempt to make STK Arthur_D-proof
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8662 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 18:41:52 +00:00
auria
a37008d014 More work on 'thou shalt not include irrlicht.h everywhere carelessly', plus add debug checks to track.hpp in a desperate attempt to make STK Arthur_D-proof
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8661 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 18:31:25 +00:00
auria
d501753ef2 Clean up irrlicht includes; avoiding including the huge irrlicht.h when we only need one specific class, especially in header files; use forwards when possible
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 18:03:28 +00:00
auria
c790ecc1e0 Fix glitch in emule shadow
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8659 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 18:02:09 +00:00
hikerstk
3ba9407518 Fixed first startup of STK (i.e. when no config.xml exist, and the
user is asked if he wants to connect). Fixed also some problems
with enabling/disabling internet news in the GUI.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8658 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 14:09:02 +00:00