Commit Graph

3955 Commits

Author SHA1 Message Date
auria
37c0732359 Probably fixed loud engines issue
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7756 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-27 20:15:06 +00:00
auria
42626329b3 Improve wather splash : 1) remove old unused class 2) the splash should only occur when touching the surface, and not keep on splashing when you're underwater
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-27 19:49:32 +00:00
auria
e91a498b84 Fixed system language
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-23 02:00:30 +00:00
hikerstk
6df020f13b Fixed camera in case of an explosion (or rescue).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7749 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-22 21:38:49 +00:00
hikerstk
78cd11f881 Simplified computations in camera, which fixes also looking backwards
when going downhill.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7748 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-22 21:37:27 +00:00
auria
6df90a2a75 Fixed strings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7743 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-20 23:14:26 +00:00
auria
749d63cfec Fix bubbles when used with RTL language
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7742 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-20 20:44:46 +00:00
hikerstk
f73a476814 Made the '0.7' camera style the default (again), and not
the (newly implement) classic camera style.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7741 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-20 15:21:35 +00:00
hikerstk
ac5190c671 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7740 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-20 14:58:11 +00:00
mbjornstk
b8a0ab32b4 Apply camera changes provided by Jesse Smith to have v0.6 camera option.
Feel free to fix any C++ style issues, this saves you fighting with patch or
can be undone quickly by reverting this single commit.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7739 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-20 05:11:26 +00:00
hikerstk
915a9d9864 OOps - fixed crash in kart again - this time (I hope) correctly :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7738 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-19 11:44:44 +00:00
hikerstk
3ffe2ecab1 Updated VS 10 project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-19 09:11:34 +00:00
auria
f531b9fa29 Enhance UnNamed's rotation effect, instead of rotating all cylinders toghether all the time make them receive an initial independent rotation each, IMHO this looks better
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-18 16:08:02 +00:00
auria
64cc990f7d For some reason, PerCameraNode is acting up in single-player mode, so only use it for rain in multiplayer mode. Fixes rain
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-18 16:03:07 +00:00
auria
0b1702502f Better error handling + somewhat fix rain in lighthouse (for some reason it only works in multiplayer mode?)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7733 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-18 15:56:11 +00:00
hikerstk
baec93e460 Fixed uninitialised variable in rain.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7729 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-18 12:29:05 +00:00
auria
65a0722835 Fixed possible text overlap on bottom of bubbles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-18 02:58:48 +00:00
auria
83049114db Change way language from config is set in the environment, should hopefully work under Linux now
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7722 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-18 01:21:50 +00:00
auria
31899d7d73 Fix camera hicup when falling into water
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-18 01:12:29 +00:00
hikerstk
cc155932a0 Added support to mark certain drivelines so that they are ignored
by the AI.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7720 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-17 07:36:41 +00:00
hikerstk
85d125fda7 Enabled inlining of some Vec3 functions (this was originally
avoided to decrease recompile time).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7719 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-16 22:30:25 +00:00
hikerstk
904d058084 Fixed incorrect position of terrain particles (bug #69).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7718 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-16 22:05:13 +00:00
hikerstk
4acd295a0f Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7717 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-16 22:03:12 +00:00
hikerstk
6bfedf8327 Cosmetic changes to follow our style guide.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7716 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-16 21:18:02 +00:00
auria
482cfbcb2a Don't complain about unknown XML nodes when disabling particles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7715 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-16 20:47:48 +00:00
hikerstk
ac956fdcb1 Cosmetic changes: moved minor structs into a class, added &,
renamed members to use m_ etc.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7713 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-16 08:45:26 +00:00
hikerstk
745bea6285 Applied and fixed MiniBjorn's support for pre-mul textures by setting adjust-image=premultiply or
adjust-image=divide in material.xml
But big question: can't we just modify the textures externally and use them, 
instead of doing this at runtime?


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7712 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-16 06:07:38 +00:00
hikerstk
858091d26f Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7711 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-16 06:02:30 +00:00
hikerstk
408022e31e Fixed crash when a computer kart was rescued.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7710 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-15 22:16:49 +00:00
hikerstk
66ff37eb80 Use normal particle terrain to make water splash; proper location
for water splashes is now being detected. Note: existing tracks
need to be updated.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7706 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-15 21:12:24 +00:00
hikerstk
17c81d8c5c Added warning message is a item projected on the terrain does not
hit the terrain. In this case the original position is kept.
Additionally the raycast starts from a slightly higher position
to allow for some floating point errors in the projection.
Fixe bug #63 (floating powerups).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7704 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-15 09:10:45 +00:00
mbjornstk
bca98f68ae Displace rain texture also in X to make repetition hard/impossible to see.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-14 03:55:26 +00:00
auria
1fd4554ebc Silence a few silly warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-14 02:50:38 +00:00
mbjornstk
42cd443a54 Add --rendering-debug to allow testing material settings or anisotrophy speed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-14 02:07:04 +00:00
hikerstk
ccc8ada054 Fixed ignoring of materials.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7699 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-13 23:14:23 +00:00
auria
f8c846d0bf Removed uneeded debug print + fix a few typos
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7698 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-13 21:05:31 +00:00
auria
2149fd0cb9 Fixed crash when locked kart was select by random
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-13 21:03:39 +00:00
auria
6a1fe7ec60 Fixed locked tracks beign accessible through random track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7696 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-13 20:56:40 +00:00
hikerstk
78eb5a09eb Replaced raycast used in detecting the terrain is on: instead of raycast
against the dynamics world, it's now using a raycast against the triangle
mesh only (i.e. a single collision body instead of the whole world).
Besides being faster, this will allow raycasts with material detection
against the 'gfx' (surface) mesh.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-13 00:23:23 +00:00
hikerstk
2b56884976 Removed debug setting.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-12 13:04:12 +00:00
hikerstk
913596663b The AI now picks a different (random) path for each lap.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-12 07:35:34 +00:00
auria
6589c5c6be Update Xcode project to use irrlicht includes from the irrlicht framework
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7681 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-12 00:11:31 +00:00
hikerstk
e78d2d8887 Made lap line consistently red (code to get a checkered lap line
is still in but commented out - it looks quite for in the shorter
tracks imho).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7678 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-11 10:43:20 +00:00
auria
bc4007a000 Correct a few mistakes in Xcode project as reported on mailing list
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7676 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-11 02:03:00 +00:00
auria
e48a7a46dc Remove non-code bullet files from Xcode project, text searches will be a tiny bit faster ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7675 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-11 01:53:17 +00:00
hikerstk
4cc6936d8a Added lap line (not fully tuned yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7672 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-10 21:33:26 +00:00
hikerstk
f84fa63bb0 Updated VS9 project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7670 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-10 05:12:08 +00:00
auria
329a66437d PerCameraNode now works fine (wanring: evil dark magic in use)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7669 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-10 02:48:25 +00:00
auria
2f2b18df33 Add PercCameraNode, use it for rain. Sadly the results atm are weird, I need to investigate...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7668 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-10 01:56:52 +00:00
hikerstk
240d39636c Added support for 'graphical' meshes - atm mostly for water surfaces
(and below water meshes), so that water splashes can be displayed at
the proper position (not used atm).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-09 21:56:44 +00:00