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
hikerstk
75d757d411
Removed unimportant messages (item messages), some code cleanup.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7664 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-09 21:45:30 +00:00
mbjornstk
166512282d
Add premultiply (tested) and de-premultiply (untested) code in texture loader.
...
All disabled and requiring integration with a setting in materials.xml
(rgba-transform, eg).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7661 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-09 01:38:27 +00:00
auria
c55a3e181c
fixed rain not being cleaned up properly
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-09 00:51:17 +00:00
auria
9a88ea9c6a
Update Xcode project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7659 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-09 00:49:26 +00:00
hikerstk
7bfcdc56b4
Updated vc9 project file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7657 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-08 13:21:17 +00:00
hikerstk
8ab10035a1
Updated VS10 project file, and started to add minimal race gui.
...
This was only committed early to update the VC10 project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7656 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-08 12:59:32 +00:00
hikerstk
92312fa261
Added FIXME to describe odd crash in VS release mode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7653 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-08 00:21:02 +00:00
hikerstk
3bf48d9567
Renmaged getKartTransform to getAlignedTransform (which
...
describes better what this function does).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7652 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 11:28:46 +00:00
hikerstk
700093eb4d
Added FIXME for addons manager.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7651 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 11:25:37 +00:00
hikerstk
27a5acc707
Updated VS project file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7650 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 11:24:38 +00:00
hikerstk
e879ef5cc3
Fixed Windows compilation (M_PI not defined in VS), some
...
minor cosmetic changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7649 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 11:14:52 +00:00
hikerstk
27666a7bc9
Fixed aiming problems with items (cake, plunger etc).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7648 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 08:22:04 +00:00
mbjornstk
95dfe3ed66
Raise rain cylinder from 3 to 5, so the kart and camera are under rain too.
...
Things to do would be adding constant wheel splotches and maybe a fixed plane
in front of the camera to darken/reduce contrast everywhere and give it a wet
look (or change the materials to be darker & shinnier, but karts' textures...).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 03:29:55 +00:00
auria
0e38088d84
disable Z buffer write for rain, will avoid some potential issues
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7646 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 02:55:46 +00:00
auria
42f279aa53
Fix another embarrassing compilation issue, arrrg -.-
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7645 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 02:52:19 +00:00
auria
b4a21f4235
Fix embarrassing compilation issue
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7644 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 02:50:16 +00:00
auria
d561ce384b
Corrected another case where insertValues would fail (why does it like core:;stringw but not wchar_t*?)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7643 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 02:49:40 +00:00