Commit Graph

5295 Commits

Author SHA1 Message Date
auria
4a41af8088 Center text + remove redundent properties
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 01:06:19 +00:00
hikerstk
dbe6395c1e 1) Changed queue and addon vector to use SynchronisedVector in order
to hide more pthread calls.
2) Started to work on screen layout.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7401 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 00:58:11 +00:00
hikerstk
9c0dd7c079 Moved 'news' message to bottom of screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7400 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 00:56:14 +00:00
auria
ab046ac2d1 Fixed water splash that tended to appear at race start
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 00:31:36 +00:00
auria
bf3b23210f Fixed race messages appearing in wrong viewport when playing with 3 or 4 players
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7398 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 00:25:46 +00:00
auria
30e6f2323e Fixed a few displays for RTL
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 00:19:40 +00:00
auria
98cb8b14d9 Correct location of new speedometers when playing with 3 or 4 players
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7396 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 00:07:52 +00:00
auria
70154fabfc Minor: fix rescue when flying
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 22:13:54 +00:00
auria
33ee342b11 Update main materials.xml file to new compositing format + sort them to make the file much less messy
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 21:37:53 +00:00
auria
f563a1623d Removed old alpha proeprties in material files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7393 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 20:49:43 +00:00
auria
986eaf418a Add Dakal's new zipper icon
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7391 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 18:40:14 +00:00
hikerstk
c164bfefc0 Added lock and unlock method, plus a method to get
access to the actual data. This allows custom locking
(e.g. a synchronised vector might want a [] and erase
operation to be locked, to be sure to copy a element
before erasing it).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 06:02:12 +00:00
hikerstk
946526662a Added 'isVisible' method.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7389 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 06:00:19 +00:00
hikerstk
580ab70001 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7388 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 05:45:07 +00:00
mbjornstk
4faa1bac47 Fix comment, it mentioned shadow instead of stars.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7387 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 03:23:07 +00:00
aeonphyxius
840a77ed38 add new tutorial folder and a file containing the configuration
first tutorial configuration file 
Add to file_manager.cpp the method to check the tutorial file
tutorial data, to implement the XML loading

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7386 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 00:27:03 +00:00
auria
2fed00594d Disable Z buffer writes for lighthouse light to improve look
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7385 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 20:49:09 +00:00
auria
26ef5e6b76 Add back fog to lgihthouse
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7383 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 20:34:33 +00:00
auria
f360186b47 No dust particles when no on ground
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 20:30:32 +00:00
auria
dfb8c25793 Don't animate parachutes if animations are disabled
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7381 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 18:58:38 +00:00
auria
fe9be88c1e Don't switch camera to fall mode if flying
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7380 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 18:58:14 +00:00
auria
7a81498f19 Add gravity to particles, use gravity for water splash + fix camera modes like look back
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 16:28:25 +00:00
auria
9aaab2e6ae Add missing texture for lighthouse to work
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7377 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 15:37:36 +00:00
hikerstk
22aad91f66 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7376 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 03:25:33 +00:00
auria
03af38c9b0 Work on water splash effect a bit; only lighthouse was changed for now, we can change other tracks when Joerg modified the track exported. The effect can still be improved of course, I mostly did the basic code aspect
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7375 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 03:01:57 +00:00
hikerstk
e5a5a7dc33 Fixed printing of std::string, replaced tab.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 02:16:34 +00:00
hikerstk
c7b52a99eb Fixed crash in AI controller ... again .. fixed the bugfix for the bugfix *sigh*
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 23:32:30 +00:00
auria
a1ba3effc4 Add assertion
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 23:27:49 +00:00
hikerstk
2a28fefb31 Support for fribidi version 0.10 added.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 23:11:02 +00:00
hikerstk
0b6981022f Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7370 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 23:09:13 +00:00
hikerstk
b527abab17 Fixed compilation on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 23:08:27 +00:00
hikerstk
8769fc9492 Properly fixed previous bugfix (RAND_MAX+1 will wrap around on e.g. linux).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7368 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 23:00:30 +00:00
hikerstk
9dde70687f Implemented icon caching, and updated to support the future
web page (unfortunately the web server isn't up to that
standard yet, so expect error messages, addons that don't
work etc.).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 22:49:55 +00:00
hikerstk
3da1080eba Fixed potential crash in AI controller.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7366 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 22:33:45 +00:00
hikerstk
35cf3c7eab Fixed compiler warnings and some minor coding style issues.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 21:11:22 +00:00
auria
225116fb6f Add new option to materials.xml : disable z-buffer writes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7364 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 21:09:00 +00:00
hikerstk
eeafd79995 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 21:06:19 +00:00
asciimonster
947dc46aaf [stk_browser] added 'compositing' property for textures; removed 'alpha', 'transparency', and 'additive' properties.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 19:45:05 +00:00
hikerstk
6a3269f7d1 Fixed RTL language support on windows 32 (since wchar_t is 2 bytes, but
fribid returns 4 bytes the type cast was incorrect). Also fixed FIXME.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 03:40:27 +00:00
hikerstk
67b827804d Fixed potential crash when starting a GP (accessing a member of an object
after it was deleted).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7359 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 00:57:30 +00:00
hikerstk
90410cadfa Set konqy and puffy to use large engine sfx as well.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7357 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 23:21:38 +00:00
auria
94cdfc5eb2 Updated string catalog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7356 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 23:05:48 +00:00
auria
27b2ba3f26 Bugfix : track names were no more extracted in the string catalog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7355 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 23:04:27 +00:00
hikerstk
fd0d0048c7 Set large engine sounds for two karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7353 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 22:56:00 +00:00
hikerstk
5e26974af3 Added support for engine sfx setting (small and large only atm); removed
unused kart-specific sfx to make GUI simpler.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7352 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 22:52:17 +00:00
auria
79b41ace2a Say hello to the new nitro bar, thanks to Dakal (it only goes up to 16, while old one went up to 20, but I don't think it matters, I never reached 20 in real gameplay anyway)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 20:08:41 +00:00
auria
a9d7500fe2 Add gamepad visualisation command-line option, maybe can help debug those issues with gamepads stuck...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7350 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 16:49:34 +00:00
auria
372016af58 Fix bug with black spot appearing in nitro particles, caused by incorrect additive blending formula
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 02:54:23 +00:00
auria
4b039f935f Hopefully work around emitter pause bug by removing the emitter when nothing is emitted
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7348 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 01:57:18 +00:00
auria
3efc2a189e Remove debug code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7347 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 01:22:11 +00:00