Commit Graph

6603 Commits

Author SHA1 Message Date
xapantu
e77690237c CMake build system improvements, it uses the cmake modules to find the libraries instead of the hardcoded system.
Irrlicht is autodetected if it is installed in /usr or /usr/local on linux
font_tool work (well, it does not work because there are some compilation error due to system specific libs I think, but I have it working if I change some code in src/font_tool/main.cpp, but I don't want to commit my modifications since I am not sure what this tool should do).
Detect when a library is not present and put an error when it is the cases.
Some paths change to have it working on out of source builds too.
Remove the DEBUG option, since cmake has already one to do that, -DCMAKE_BUILD_TYPE=Debug
Let me know if there are any problem/regressions with it, or just revert ;)

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-01 19:18:49 +00:00
hikerstk
e0d34ffdcd 1) Fixed counting of explosion for statistics.
2) Fixed layout of result table in case of
   profile-laps.
3) Fixed average speed computation.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9404 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-01 07:10:33 +00:00
auria
63b3ecacb7 Fixed GCC warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-01 01:59:03 +00:00
auria
8b585af03b Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-01 01:57:13 +00:00
hikerstk
029e50381d Added more statistics for profile mode:
skidding-time, and time+count for rescues and exposions.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-01 00:06:13 +00:00
hikerstk
2fe73a6deb Removed commented out code (that doesn't work anymore).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9398 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-01 00:04:48 +00:00
auria
875fd56647 Apply patch by redskull to fix crashes on resolution switch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-31 22:53:03 +00:00
auria
710111a7c9 Update strings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9396 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-31 18:25:34 +00:00
auria
b669180ea9 Rename the messages about internet to mention add-ons and not only news
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-31 01:26:31 +00:00
auria
a031bd5731 Display a message when clicking on the add-ons icon and it is not enabled
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-31 01:20:41 +00:00
auria
4d2b57321b Apply redskull's patch to fix FTL locking. Thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9393 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-31 00:55:32 +00:00
auria
b4c27839f3 Applied patch by coug36 to fix bug #311, thanks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9392 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-30 22:44:20 +00:00
auria
e7b8fd5a1b Fixed spinner widget stealing focus even if activating it resulted in leaving the screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9391 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-30 21:20:59 +00:00
auria
a62766bd8f Fixed possible dangling pointer to spinner listener
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-30 21:05:18 +00:00
auria
c19572dcfb Add code to resolve all numeric XML entities
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9389 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-30 20:14:30 +00:00
auria
9d80812421 Fixed outdated INSTALL file, just give a link to the wiki, that's what we keep up to date anyway
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9388 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-30 15:59:16 +00:00
auria
14440ccebc Add Fraang's new texture
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9386 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-29 22:20:41 +00:00
hikerstk
c5ef5eb705 Beautified profile results table in case that karts name are
too long (or too short).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9385 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-29 06:25:12 +00:00
hikerstk
115e0cc1c5 Print a warning if the irrlicht library used was compiled in debug mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9384 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-29 05:35:52 +00:00
auria
15b827dd54 Apply patch by coug36 - thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9383 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-29 01:44:13 +00:00
auria
5b3b087a03 Fixed compilation with GCC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-29 01:40:46 +00:00
hikerstk
83680f4637 Added --ai=a,b,... command line option to allow specification
of which AI karts to use.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9381 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-28 22:56:49 +00:00
hikerstk
7ed13732e7 Only print warning when log-misc is enabled.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9380 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-28 22:23:12 +00:00
hikerstk
f13725afa2 Added Christian to credits as packager of our static packages.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9379 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-28 05:36:52 +00:00
hikerstk
bb8e3d283b The version in the desktop file is now automatically set.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-28 02:11:08 +00:00
hikerstk
66c1c337b4 Updated svn config file recommendations to include
LF setting for *.xml files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9377 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-28 02:02:49 +00:00
hikerstk
ede10a95d7 Changed all svn:eol-style values for XML (and other text) files
to be LF (since otherwise tortoise will check them out as native
and add 0d in the files, which breaks unicode).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9376 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-28 02:01:40 +00:00
auria
972439c805 Undo Funto's changes. Funto, irrlicht has no support for UTF-8 so by doing this change you broke Samuncle's name
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9375 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-27 22:50:51 +00:00
funto66
c1dc08490d Changed encoding of zengarden's and snowtuxpeak's track.xml to UTF-8 without BOM
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-27 18:48:39 +00:00
funto66
6563c35733 Converted UTF-16 with BOM hacienda/track.xml to UTF-8 without BOM
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-27 18:42:56 +00:00
hikerstk
a62e0f86d3 1) Added new --no-graphics option for fast batch testing.
Renamed --profile=+-n options to --profile-laps=n
   and --profile-time=n.
2) Fixed averaging in case of --profile-time.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-27 12:11:11 +00:00
auria
9433a65c8d Include Gallaecio's updated desktop file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9370 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-27 00:47:37 +00:00
hikerstk
916dbb9bc1 Karts 'accidentally' hit by a bouncing ball while it is
going to catch if with the leader will now be flattened
(parameters for that are defined in powerup.xml). No
explosion effect is shown anymore for the first kart,
it will only be tossed around.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-26 06:58:11 +00:00
hikerstk
0edd32e8dd Applied nathanm's patch (#343). Thanks a lot!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9368 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-26 02:56:11 +00:00
hikerstk
60c0aa5616 Applied patch for #342 (and added some comments and some
minor cosmetic changes).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9366 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-26 02:24:49 +00:00
hikerstk
0e747f1766 Added explicit call to constructor of base class.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-26 02:23:09 +00:00
hikerstk
60345bc424 Removed unused support for 'icon' (since the addon webpage
guarantees that 'image' is always defined now).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-26 01:41:26 +00:00
hikerstk
a9369a8cf5 Fixed compilation (typo in name).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-26 01:14:59 +00:00
auria
2f571eec10 Allow unicode to be used in track makers names and fix samuncle's name
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9360 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-26 00:42:01 +00:00
hikerstk
f0956bf5ff Removed debug code, and fixed #340.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9359 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-26 00:01:20 +00:00
hikerstk
ce14faa4b4 Removed unused variables. Added code to catch #340
(NAN appears as height).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9358 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 23:45:34 +00:00
funto66
39be7225c9 Corrected a French translation message
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9357 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 22:34:54 +00:00
funto66
9bd62dfe13 Fixed sky color for tracks without sky domes/boxes when post-processing is enabled
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9356 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 22:21:17 +00:00
funto66
85096f80bf Fixed having motion blur on the GUI, fixed character selection
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9355 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 21:54:26 +00:00
funto66
46dab63f2d Fixed motion blur at the end of the race and made it relative to the speed of the kart, not its current maximum speed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9354 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 21:36:21 +00:00
funto66
d6bee90cfa Fixed shader file path lookup for motion blur
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9353 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 21:23:29 +00:00
funto66
242549efae Second attempt to fix the motion blur shader
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9352 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 21:20:17 +00:00
funto66
ac836ee960 Attempt to fix compilation of the motion blur shader for Intel cards...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 21:14:10 +00:00
funto66
b59004ae4d Attempt to fix the motion blur on non-NVIDIA cards
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9350 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 21:02:43 +00:00
funto66
1a0c45be42 Integrated the motion blur in game and adjusted the parameters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 20:35:44 +00:00