Commit Graph

6673 Commits

Author SHA1 Message Date
auria
da11b8c1c9 Don't play crash sound when kart is not moving
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9440 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-07 01:33:19 +00:00
auria
847e25fa0a Disable sound emitters in multiplayer mode as OpenAL supports a single listener so we make sounds non-positional in multiplayer and the result is bad for sound emitters that are meant to be localized
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9439 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-07 01:23:07 +00:00
auria
9fee0c3530 Fixed potential assertion failure in screen setup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9436 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-06 22:50:12 +00:00
auria
57c30e52b3 Scotland sheeps now say hello :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-06 21:03:39 +00:00
auria
a44adb6e6c Allow per-track sounds for emitters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9431 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-06 20:37:54 +00:00
auria
a4b954f2ea Add some support for sound emitters on tracks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9430 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-06 19:51:12 +00:00
hikerstk
5d8324813f Moved font_tool directory into new tools directory.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-05 00:00:54 +00:00
auria
6fe8193f6e Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9423 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-04 23:54:22 +00:00
hikerstk
6e5086f9b8 More refactoring: duplicated code handling track sectors and
distance along track is now moved into a separate class TrackSector
and used in linear_world and rubber ball.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-04 23:33:41 +00:00
hikerstk
428ed5a07b Made QuadGraph use a singleton-like behaviour. It is still created with
explicit calls to QuadGraph::create(...), and the get() function can
return NULL (in case of a race mode that does not use a quad graph).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-04 23:02:58 +00:00
hikerstk
7b5160be59 Removed unnecessary 'creating NULL device' message.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9420 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-04 01:25:40 +00:00
hikerstk
470e0b9ee4 Removed warning about texture not found (caused by incorrect
texture name in the xml file).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9419 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-04 01:25:04 +00:00
hikerstk
95695d4264 Started to add data structures for interpolation, and added separate function
to determine which path to use (so that a target that is on a shortcut
can also be hit) - though this function atm only handles karts on the 
main driveline.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9417 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-03 06:56:49 +00:00
hikerstk
48cf9e0515 Updated computation of 'distance from start' for the
quad graph: now the distance of the node is the maximum
of all paths leading to it, which should solve the 
problems with the cube (#354).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9416 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-03 06:21:26 +00:00
hikerstk
e105a33b66 Replaced QuadGraph::getPredecessor function with (faster) function
GraphNode::getPredecessor().


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9415 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-03 02:20:29 +00:00
hikerstk
209237a0c8 Bugfix - incorrect &.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-03 02:19:01 +00:00
hikerstk
6c43457f37 Ignore FPS limit set in the config file if no-graphics
is selected (this gives a HUGE speedup for non-graphics
run).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9411 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-03 00:41:28 +00:00
hikerstk
b33c10a369 Fixed missing newline (thanks coug36).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9410 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-03 00:23:04 +00:00
auria
80ac4edb72 Remove duplicate line from my previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9409 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-02 00:36:00 +00:00
auria
eac29e8c16 Improve resetting slipstream
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9408 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-02 00:31:22 +00:00
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