Commit Graph

3924 Commits

Author SHA1 Message Date
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
auria
238f572c36 Say hello to the new rain, one that is much, much less CPU and GPU intensive. Joerg: sorry, you will need to modify the exporter again, since now we need support for some built-in weather types, which use a different XML syntax than particles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7642 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 02:45:32 +00:00
auria
f48a82d2d4 fixed several failures of StringUtils::insert, I have no idea why they failed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7641 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 23:44:17 +00:00
auria
752006e1bb Fix crash with particles on resolution change
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7639 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 15:30:43 +00:00
hikerstk
3914c010f7 Disabled debut output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 06:57:31 +00:00
auria
2366edc0ab Typo fix
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 03:01:07 +00:00
auria
896e2664fc Fixed track names not being translated on live language switch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7633 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 02:59:19 +00:00
auria
a580f413e3 Fix kart names not being translated on live language switch + correct more RTL issues I found on the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7632 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 02:49:45 +00:00
auria
8b9a9677fe Fixed some font centering issues during live switch between RTL and LTR languages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7631 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 02:11:57 +00:00
auria
b62cf339cb Use irrlicht's 1.8 RTL support if 1.8 is the verison being used
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-05 20:47:09 +00:00
hikerstk
dc07415ee3 Added support for cylinder shaped physical objects (might be a better
match for the pots in hacienda).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7629 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-05 13:39:42 +00:00
hikerstk
4f34ccd2e2 Added initial rotation of physical objects.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7628 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-05 13:22:00 +00:00
hikerstk
f392d5f6fe Support for weather effects stored in a separate xml node (track format 5).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7617 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-05 02:51:56 +00:00
auria
f3663e4f90 Prevent guest account from being selected by default
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-05 01:56:18 +00:00
hikerstk
967a9223fb Added support for animated textures on water scene nodes (the track
exporter still needs support for this).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7614 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-04 13:38:38 +00:00