auria
93643d660f
misc minor stuff
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14880 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 21:21:48 +00:00
auria
0f97aee66a
Remove the old LOD loading code, we now support only the new much cleaner way. Will need to re-export all tracks that use LOD, meanwhile LOD objects will be missing from tracks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14879 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 21:18:06 +00:00
auria
be691c9afc
Do not report the new <lod> XML node as an unknown node type
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14860 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 20:27:13 +00:00
auria
56dcb9b3a2
Add support for a new way of loading LOD definitions, that should eventually fully replace the previous method (instead of exporting LOD definitions as standard objects that can appear anywhere in the XML file, group them in a <lod> section, this way we can load all LOD definitions right at the start of the load sequence, instead of the delayed creation hacks we do atm). Old code still in place for now, since we have a lot of tracks using the old way
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14857 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 19:49:53 +00:00
auria
5cd71bdc96
Fix LOD objects in a library
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14854 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 18:45:18 +00:00
auria
3cdf3409bf
Refactor LOD to allow parenting
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14853 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 18:09:13 +00:00
auria
43f4d1cdfb
Update track objects with the ability to have a parent, getting us one step closer to the library
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14847 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-31 00:24:07 +00:00
auria
0829c150ca
Simplify code to use the file manager instead of hardcoding paths
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-30 23:10:43 +00:00
auria
392f63d1a1
More work for library nodes. Remove some code that hardcoded search paths, let's just use our file manager for that, it does it right and easier
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14843 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-30 23:00:59 +00:00
auria
36fc36c7fb
Add initial library object loading code. Not complete yet. Samuncle, this is for you ;)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14840 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-30 22:32:30 +00:00
auria
ad3ea6c5e0
Remove uneeded code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14823 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-28 02:10:12 +00:00
auria
6b4d91effa
Misc code style improvements and warning fixes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14819 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 23:56:42 +00:00
auria
14655bcdb9
Change lights to be TrackObjects, so that they can be animated. Exporter part not yet committed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 23:55:57 +00:00
deveee
4dd0c066df
Fixed problem with distance in my previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14816 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 22:02:52 +00:00
deveee
27e397d2c7
Fixed #1086 - Popup message was displayed constantly when you were in garage in overworld.
...
TODO: Compare distance between garage and kart with for example length
of the kart or distance of object defined in scene.xml.
Currently (m_garage_pos-m_kart_pos).length2_2d() gives much higher values than
getKart(0)->getKartModel()->getLength() and I must look at this closer.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14804 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-27 02:12:16 +00:00
vincentlj
c9b8734717
Plug-in energy parameter into pointlight shader
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14779 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-24 23:07:42 +00:00
hikerstk
c450c97472
Allowed the music directory to be external. Renamed
...
getMusicFile to searchMusic and getTextureFile to
searchTexture. Removed m_root_dir from file_manager.
Added convenience function getTexture to irr_driver
which takes an asset type, so now less code is needed
to load textures (though that's proably not used
everywhere yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-18 22:29:08 +00:00
hikerstk
73c498daf3
Start to support 'externa' data directories. Most directories
...
from data can now be moved out (except music). STK prints
an overview of which directory is taken from where. More
cleanups and improvements will come.
Also moved skins into a separate directory under data (from
data/skins), since it's likely that skins will be part
of a binary package (i.e. changes to skins not really
related to code), while gui files will more likely stay
with the code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-17 23:48:47 +00:00
deveee
ec13bcf802
Merge branch 'hilnius'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14638 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-05 17:28:55 +00:00
samuncle
5b5fd87a8b
Add two per track parameter for color correction
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14633 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-04 16:33:14 +00:00
hikerstk
bced8cdb9f
Merged with trunk, part 1 (due to previous failures I am splitting this
...
patch).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@14605 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-02 04:27:55 +00:00
hilnius
262f70205c
merging trunk and fixing compilation issues
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-15 10:05:34 +00:00
deveee
5e90c9fa6b
Add patch by lennartack to avoid segfault when game is running with --no-graphics parameter
...
Ticket #1029
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13613 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-31 07:51:37 +00:00
curaga
f83a30db47
Some more header cleanup
...
Now it only takes 38s to build after touching irr_driver.hpp, vs prev 1m 10s.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-30 12:13:23 +00:00
hilnius
ea2b52a663
merging hilnius's branch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-31 18:03:11 +00:00
unitraxx
8656a12d12
Undoing last commit which was not what I wanted after all.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13391 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-30 22:05:06 +00:00
unitraxx
75e286932f
An attempt to merge with hilnius' branch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-30 21:39:27 +00:00
hilnius
a20c200b77
merging uni's branch. one bug appeared back
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13386 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-30 00:41:47 +00:00
unitraxx
1d90f554e8
Merging with trunk, aesthetic changes, and added virtual keyword to the destructor of Track_object.hpp because of errors.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13376 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-28 17:27:06 +00:00
hikerstk
f16244e3d0
Added support for physics-only meshes (i.e. invisible walls), see #1014 .
...
Some changes to the exporter still required.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13219 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 21:57:34 +00:00
hikerstk
1639791378
Fixed indentation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13166 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-10 22:47:53 +00:00
hilnius
acf1ff548a
fixing a segfault caused by mipmaps in --no-graphics mode and adding a connect to peer protocol (for the server)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/networking@13116 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-07 22:23:13 +00:00
auria
8e2ccb7762
Fix restarting tutorial
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13086 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-05 00:02:50 +00:00
hikerstk
4616338fd6
Started to fix rescue problem - more code cleanup will follow later.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13022 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-28 23:45:48 +00:00
curaga
9ddeac772a
Likewise for userconfigparams
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12986 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-26 13:32:02 +00:00
curaga
ead8c059cb
Remove some unused irr_driver includes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-26 13:31:38 +00:00
auria
31c148752b
Remove useless logging
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12950 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-23 22:40:18 +00:00
hikerstk
3c2846d48e
Added support for specifying the 'time' for waves, since the old way
...
of using 'speed' it is very hard to make sense of the value (2*pi*speed/1000
= time in seconds). This still needs to be supported in the exporter though.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12859 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-13 10:49:14 +00:00
hikerstk
637dbf043f
Fix #199 : speed of 0 makes water disappear.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12858 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-13 07:38:57 +00:00
auria
485551aa89
Apply patch by KroArtem to fix minor issues : unused variables and other minor warnings from cppcheck, crash when launching from terminal with AI karts in a mode where AI is not supported
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12857 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-09 20:04:07 +00:00
hikerstk
a529a07c99
Fix #981 : karts are sometimes rescued when restarting, or facing the
...
wrong direction. Reason was an incorrect rotation in the projection
code. Instead of fixing it, I let the kart fall a little bit, so the
code is now correct, much easier to understand, and the bounce after
a reset fits the game imho.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12852 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-06 23:08:52 +00:00
curaga
a6a2ec66d4
Make fatal fatal
...
Removes a lot of duplicated code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12827 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-31 14:09:39 +00:00
curaga
57c3cbae3e
Space cleanup pass on the headers
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12817 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 19:47:39 +00:00
curaga
b56bf4dc53
Remove trailing space, git doesn't like it
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12797 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 22:04:35 +00:00
hikerstk
c144d0a932
Fix #963 (replace printf), thanks to m0leman.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-24 23:51:08 +00:00
hikerstk
7460418153
Code cleanup: renamed kinetic to 'is_dynamic' in order to follow the categorization of
...
different rigid bodies in bullet. Some layout fixes, removed unused or unnecessary
functions and constructors.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12779 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-19 22:02:34 +00:00
hikerstk
40c02fba2e
Fixed #973 : the main track mesh added to the bullet physics twice, since
...
the index 'main_track' was set at the wrong location (before the main
track was loaded, see r9757). Also removed unnecessary loop when reading
track.xml files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12756 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-14 13:53:43 +00:00
hikerstk
5648939d8f
Fix clang warnings ( #922 ).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12668 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-17 12:09:04 +00:00
hikerstk
8ed288e81d
Added a separate ChallengeModeType as preparation for the
...
challenge for highest AI. Mostly this is a cleanup only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-15 12:39:45 +00:00
auria
b667501fa1
Show explanatory message when approaching tutorial in overworld
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12635 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-10 23:13:29 +00:00
auria
7454a133d8
Fix challenge orbs missing on overworld
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-10 23:04:51 +00:00
auria
b182e71865
Two unrelated changes : make scene node presentation fault-tolerant, and add fallback support for old XML xyz syntax
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12629 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-10 01:29:48 +00:00
auria
b502c96409
Allow LOD nodes to have a physical body
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12617 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-06 00:29:45 +00:00
auria
a4f44ecebd
Fix leaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12613 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-05 23:38:58 +00:00
auria
61720b2661
Add back ability to programmatically add track objects, use it in 3 strikes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12610 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-05 01:30:34 +00:00
auria
6bc216f203
Add full support for LOD in track objects
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-05 00:20:14 +00:00
auria
d807871ec6
Bring back LOD + particles
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12605 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 23:02:15 +00:00
auria
8bae4c1549
Minor cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12604 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 22:57:07 +00:00
auria
27d454ad05
Move some track object classes to new files
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 22:52:37 +00:00
hikerstk
ca39376f25
Fixed windows compilation, updated VS9 project file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 01:32:45 +00:00
auria
bc1d1e7d31
First part of track object refactor
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12596 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 01:15:37 +00:00
hikerstk
b967e5a492
Fixed addons management (deleting), which I broke in r12581: Addons used
...
their id as directory name (and since the id was changed to have addon_
as prefix, this didn't work anymore).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-27 21:01:05 +00:00
hikerstk
2ed38db288
Fix #890 - crash when deleting tracks (caused by not adjusting
...
indices in main track group when a track is deleted. That happened
since the soccer mode was added).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12586 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-27 12:17:09 +00:00
hikerstk
f78f254a3e
Fixed #894 : nameclash when an addon track/kart has the same directory name (and therefore
...
identifier) as a track included in STK.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12581 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-26 06:16:53 +00:00
hikerstk
62ea0bbbe0
Fixed various compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12542 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-06 23:12:24 +00:00
hikerstk
502042432c
Big refactoring: the camera for a kart is now not part of the
...
kart anymore, instead they are managed by static functions
in Camera. This allows us to have several cameras for one
kart now (can be useful for debugging; or for three-screen setup
where you have one monitor for left, right, and center; or potentially
for an back mirrir). Also 'rain' is moved into camera now (where it
belongs more naturally then in kart), and several loops over all
karts searching for a camera are now replaced by simpler loops over
all cameras (though a few loops were added to handle code for all
cameras now, while before there as no loop).
Main advantage: handling post-processing will be easier to do now.
Also this fixes a bug: in split screen mode, when a kart is eliminated
(ftl) the camera for this kart was supposed to show the
leader facing backwards, which didn't work (it just showed the previous
location of the elimintaed kart) - now it works.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12541 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-06 22:08:41 +00:00
hikerstk
e1033ca9f7
Started to restructure rendering loop - moved things out of rendering
...
loop, cleaned up code, ...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12531 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-28 01:05:27 +00:00
hikerstk
392a1397e9
Fixed Easter Egg mode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-18 21:26:39 +00:00
hikerstk
b56ad00816
Avoid accessing NULL pointer (in case of an error).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12514 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-18 21:04:27 +00:00
auria
bfe2600986
Fixed door to nolok's castle wouldn't open anumore since tutorial was added
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12508 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-17 20:08:05 +00:00
auria
6147636454
Add tutorial to overworld
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12487 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-16 00:52:28 +00:00
funto66
07c74c41b5
Merge soccer mode back into trunk - but still WIP, can be disabled via a #define in race_setup_screen.cpp
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12475 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-11 22:30:50 +00:00
hikerstk
8fffd4f34d
More Log:: calls.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12409 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-22 22:50:41 +00:00
hikerstk
bc237e8cef
Cleaned up "/" usage (avoid "//"), and in the way fixed problems
...
with textures that were not found (due to ealier not completely
finished clean ups).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12404 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-21 23:27:39 +00:00
hikerstk
4410101721
Remove the usage of '//', which isn't properly supported by Irrlicht's CFileList
...
("a/b" and "a//b" on a file archive are not equal) and is not necessary.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-21 05:37:33 +00:00
auria
da961e2ca8
Minor cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12391 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-19 21:43:21 +00:00
auria
4dc3589086
More tutorial work
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12388 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-19 00:46:03 +00:00
auria
c44dbf4214
Work on tutorial
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-17 02:20:12 +00:00
auria
6455be9620
Work on tutorial
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-17 00:49:39 +00:00
auria
996c563f9c
First version of tutorial. Far from finished but you can take a quick look if you wish; the text is currently at the bottom
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12350 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-14 00:35:44 +00:00
hikerstk
b2a9907740
Fixed #856 : when changing resolution overworld did still
...
assume that the textures were cached.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12348 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-10 01:02:19 +00:00
auria
981143bf87
Experimental support for dynamic lights. Doesn't work too well due to our use of a global sun, though could work in a dark track with little sun
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12332 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-05 18:49:31 +00:00
funto66
4c160eb065
Fixed random soccer arena selection + WIP GUI for soccer setup screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12327 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-02 18:11:11 +00:00
funto66
cd28f9128a
Now teleporting the soccer ball at its start position when scoring a point
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12314 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-28 14:11:33 +00:00
funto66
14f7f080c0
CheckGoal now is just a CheckStructure and not a CheckLine anymore. This fixes bugs due to arrays sized with the number of karts instead of the number of soccer balls
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12313 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-27 22:09:08 +00:00
funto66
bd70940af9
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12312 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-27 17:10:02 +00:00
funto66
d6327b1ef4
Forgot to commit check_goal.cpp
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12310 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-27 16:12:10 +00:00
funto66
1da4be10e3
Added code to export goal lines
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12309 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-27 16:09:11 +00:00
funto66
8da37e6eb2
Added some missing tests for isSoccer()
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12301 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-22 23:06:42 +00:00
funto66
e16c03edf2
Added a special type of tracks for soccer arenas
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12300 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-22 22:33:15 +00:00
hikerstk
29be45b198
Added preliminary easter-egg mode. It still needs a icon (battle mode
...
used atm), and a better easter egg model (atm bunny from snow mountain,
... whith turns out has lost the black nose). One track has easter eggs
added (math class).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12281 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-17 00:33:47 +00:00
auria
78d964b79d
try to fix sound leaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12222 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-09 23:30:26 +00:00
auria
b157227e51
Properly place icons on minimap when the allocated texture was bigger than needed to accomodate drivers/gpus that quite POT textures
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12015 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-20 01:28:04 +00:00
hikerstk
e727e34b9d
Fixed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11959 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-16 12:34:49 +00:00
auria
1b86065775
Add doors in overworld, that block Nolok's challenge until the end
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11955 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-16 00:42:38 +00:00
hikerstk
53cccb87da
Made non-reverse the default for all tracks; added
...
'reverse=yes' to all tracks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-14 01:45:43 +00:00
hikerstk
367e8b18dc
Disable auto-rescue in arenas by default.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11903 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-08 22:44:42 +00:00
hikerstk
c316abda19
Added setting to disable push-back and auto-rescue for
...
each track. Manually set those in overworld.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11900 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-08 06:02:35 +00:00
hikerstk
a65147cad5
Bowling balls will only affect karts that are
...
directly hit now.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11860 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-04 12:57:03 +00:00
hikerstk
b1caec75a1
Fixed comments and removed tabs.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11845 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-31 00:41:39 +00:00
hikerstk
885c0c0b1d
Added setting to disable caching of overworld to
...
user_config file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11820 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-30 05:48:50 +00:00
hikerstk
9b74d0cdd0
Added caching of textures for overworld.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-29 23:14:30 +00:00
hikerstk
6058c3bcfc
Committed Steel's patch for #708 (endless loop).
...
Thanks!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-22 04:01:51 +00:00
hikerstk
0adcd00342
Use maximum height of a quad when determining if a kart is
...
on a quad or not. This fixes the problem that the AI can
not drive up the ramp in sandtrack.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11730 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-21 20:48:33 +00:00
hikerstk
4a8a40c7e8
Removed unnecessary warning; made debug mesh less transparent.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-17 21:48:42 +00:00
hikerstk
32ec4f8aee
Fixed crash when using track_debug with the intro scene.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11651 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-30 23:32:00 +00:00
hikerstk
eaedc47ddc
Fixed findOutOfRoadSector to take the height into account
...
(previously incorrect quads were found in FortMagma, when
driving slightly off track beneath a different part of the
track - and while this did not affect the kart's steering
in this case, it could cause problems in other places).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11637 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-30 13:11:07 +00:00
hikerstk
3a3d1a5a6f
Fixed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-30 12:16:01 +00:00
auria
5a4f767403
Add special escape-menu on overworld, and make Nolok's bubble gum swapper-proof
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11635 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-29 22:46:29 +00:00
auria
48d480a67d
Add tricks I hope help dramatically improve the synchronisation between the STK physics and irlricht animations in cutscene
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11633 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-28 01:52:09 +00:00
auria
f687659929
Try workaround for #700
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11629 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-22 18:37:47 +00:00
auria
f74f945558
Add minimal support for GP challenges in the overworld. More to come
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11566 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-07 02:06:50 +00:00
hikerstk
35c7cf0848
Added first version of item avoidance to the AI.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11537 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-03 22:49:30 +00:00
auria
fe65f46035
Work on end cutscene. Code to start particles based on a condition
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11516 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-23 01:52:55 +00:00
hikerstk
e2caea1c05
Refactored ItemManager to use static components to load
...
the default item meshes. An instance of it is now only
created when a race is started (and deleted once the
race is finished). This makes the race-specific
initialisation and cleanup better to understand. Also
added singleton access to the one instance of ItemManager.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11498 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-09 06:37:29 +00:00
hikerstk
b972a2b2a3
Renamed GraphNode::getIndex to getQuadIndex.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11487 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-08 06:57:55 +00:00
auria
678a45cc9a
Fix potential crashes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11458 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-03 22:35:46 +00:00
auria
5f0f8e0346
Make gnu stop playing flute when he's abducted
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11449 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-29 19:16:59 +00:00
auria
8d68c2a766
Apply patch by nathanm32292394 to better support gpus/drivers that don't support non-power-of-two textures, thanks a lot
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11447 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-28 00:18:41 +00:00
auria
567da3ce38
Work to allow combining LOD and interaction
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11439 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-26 00:33:25 +00:00
hikerstk
9b15b22ef5
Fixed minimap, which was also shown transparent after r11435.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11437 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-25 22:09:12 +00:00
hikerstk
6c72b1c401
Make the debug driveline mesh transparent so that the karts can be
...
better seen (esp. in camera debug mode when the drivelines are
higher than the track).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11435 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-24 07:18:39 +00:00
auria
341297d951
Silence a few bogus warnings printed on the terminal
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-22 20:17:14 +00:00
auria
65d897915a
Manually implement muting sounds when too far since OpenAL doesn't seem to have that feature, and use it to finally make the spaceship sound in the intro work
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-22 20:05:38 +00:00
auria
9f909b4c26
undo my attempts at configuring the attenuation model per-source, after closer inspection OpenAL doesn't support what I was trying to do :(
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-22 19:20:41 +00:00
auria
8760f28450
Change particle emitters into track objects so that they can be animated. I think I also fixed a few relatively minor leaks along the way
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11415 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-21 02:05:51 +00:00
hikerstk
3ec6682fb4
Added alternative implementation of findNoNCrashingPoint
...
which should be faster and 'more correct' (the old implemenation
only tests discrete points for being on/off track, which means
AI can cut corner and not realise that it will be off track).
The new implementation uses lines and intersections to detect
this condition correctly. Since the new implementation is
as a result not as aggressive in cutting corner, it's not
as fast as the old AI, and is for now disabled (see end of
SiddingAI::handleSteering if you want to switch).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-19 07:00:57 +00:00
hikerstk
c592be45df
Instead of computing two different radius, detect if the kart
...
is not facing in the right direction (and if so, brake to allow
it to quicker get facing in the right direction again), and
only compute the turn radius otherwise. Print some useful
information when --ai-debug is specified, atm when and why
a kart is braking.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11386 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-11 23:05:16 +00:00
wardje
b3f190636b
Correct track choosing logic in demoworld
...
* Overworld could be picked
* If user gave one arena track as choice, things would crash
Also fix some comments.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11383 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-11 20:42:45 +00:00
hikerstk
cebae627c8
Keep track of all predecessor of a node, not only the first one.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-11 06:48:31 +00:00
hikerstk
c11fdc0bd8
Removed debug code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11370 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-06 02:05:37 +00:00
hikerstk
b3c0eeab80
Skidding AI now estimates the turn radius of a curve, and is
...
able to brake if it should be too fast. Avoid using nitro
when braking (otherwise AI might be pushed out of curve).
Added new --ai-debug command line option that will display
the name of the AI on top of each kart (when compiled with
debug). See world.cpp lines 249 on how to select the new
(or any other AI, including the option to use all AIs,
which is nice to compare them).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11368 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-05 22:37:57 +00:00
hikerstk
92538784b1
Fixed compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11364 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-04 01:38:32 +00:00
wardje
7b5d9e50a4
Fix two compiler warnings
...
* cutscene: comparison between unsigned and signed int
* graph: simplify the comparison being made
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-02 19:11:12 +00:00
auria
4cb8ba7e50
Start work to support moving sound emitters. Doesn't quite work yet, don't know why' :(
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11357 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-30 19:15:12 +00:00
auria
1574ff472d
Add specifying SFX rolloff type
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11356 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-30 18:49:35 +00:00
auria
c77be89a27
Improve error message when a driveline is missing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11354 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-30 15:04:05 +00:00
auria
137600a5f0
Add the capacity to show subtitles in cutscenes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11334 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-24 17:14:34 +00:00
auria
8d0273ced0
Allow cutscenes to have no music, a few minor other fixes in animation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11315 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-17 00:13:33 +00:00
auria
9dd3bb9468
Fix : objects like the subsea seagul would be animated even when animations were turned off
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11314 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-17 00:05:32 +00:00
auria
aced31cbfa
Add support for playing sounds at given points during the cutscene
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11310 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-16 23:35:51 +00:00
auria
cff2dd75bc
A few audio adjustments for intro cutscene, and now play the scene when playing on the story mode button (sorry story mode will be unavailable for a little while, but you can comment out the sdebugging code that launches the intro)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11306 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-16 19:41:21 +00:00
auria
dae00f0828
Add first version on intro cutscene. Still incomplete but goes somewhere :) Ask me for the menu patch if you want to look at it
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-05 00:27:34 +00:00
auria
b1a24a78a9
More work on cutscenes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11273 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-03 00:08:18 +00:00
hikerstk
02d1141bb7
Added class to show an arbitrary 3d curve in a race, and used this class
...
to display the curve of a cannon (when using --track-debug).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11235 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-14 22:26:41 +00:00
hikerstk
fb249f43bf
Allowed to enable smooth-normals per track, and added this flag as an
...
example to lighthouse track. Note atm both needs to be set: smooth-normals
in the track.xml file and in stk_config.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11217 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-09 22:57:51 +00:00
hikerstk
5963f31079
Removed physics.hpp #include from world.hpp.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11213 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-08 07:07:15 +00:00
auria
95a8ba37e0
Make animated textures work with LOD
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11186 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-06 01:13:03 +00:00
auria
157081edf2
Add fog support to water shader
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11184 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-04 01:33:13 +00:00
hikerstk
15ad3f845d
Enable cannons to be used in reverse mode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11177 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-29 23:08:50 +00:00
hikerstk
02dc97a021
First proper working version of cannon.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11168 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-26 22:17:46 +00:00
auria
b3f6177306
Ticket 515 : add debug code to have a better diagnostic if this happens again
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11147 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-24 20:18:31 +00:00
hikerstk
5eafaaa918
Added support for checklines to be specified by two 3d points
...
instead of 2d points and the minimum height.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11125 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-18 22:07:45 +00:00
hikerstk
d0fb8aa78a
A first version of the cannon that uses linear interpolation for the
...
bezier curves to allow smooth (i.e. constant speed) travel along
the curve.
This is WIP. Known bug: the kart jumps at the beginning and
end of the cannon animation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11122 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-18 13:14:18 +00:00
hikerstk
317ff370cb
1) Control the time for an IPO animation in AnimationBase
...
instead of individually on each IPO (besides removing
redundancy it keeps the IPOs in synch, since it is now
guaranteed that they cycle all at the same time).
2) Started to add length computations for IPOs, but this
code is not yet used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11082 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-04 00:48:05 +00:00
hikerstk
fcb8aaf9c6
Fixed crash when using --check-debug: when determining the checkline
...
requirements, no karts are created yet, so printing the kart id
causes a crash.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11079 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-03 22:27:11 +00:00
hikerstk
2f92fefffd
Fixed spelling problem.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11076 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-03 01:46:54 +00:00
hikerstk
eca5b3e570
Refactored handling of kart animations: instead of
...
using a fixed object in the kart, now each animation
(rescue, explosion, canon) has its own object and
implementation using a common interface. This
simplifies AbstractKartInterface, and makes it
easier to add new functionailty.
Instead of using: kart->rescue(...), or kart->explode(...)
you use new ExplosionAnimation(kart, ...) etc. Memory
handling is done by the object (and abstract kart).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11070 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-01 22:57:41 +00:00
auria
ea3d5ca9b5
Updated Xcode project, plus fix quite a few issues found by Clang (Xcode now uses clang by default) - some of them genuine nasty bugs, great
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-27 22:04:44 +00:00
hikerstk
53b3c78598
1) Added first version of 'cannon' (flying the kart to a specific
...
location) support. ATM only linear interpolation of the position
is used (i.e. no rotation).
2) To be consistend renamed 'forceRescue' to 'rescue',
'handleExplosion' to 'explode' (and added shootTo for the canon).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11021 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-25 23:16:53 +00:00
auria
8dcc237c28
Fix tons of warnings when building with Mingw. Yes I know I did a few changes in bullet. I don't care, the warnings were too annoying
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11002 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-20 01:51:28 +00:00
hikerstk
ebbc1a71d8
Introduced an 'abstract kart' class, which is used to
...
de-couple kart implementation and its interface. This
significantly reduces compile time when changing kart.hpp,
but is at this stage still work in progress.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10997 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-19 20:21:11 +00:00
auria
f08f3b76fd
Apply patch by Wardje to hide the reverse checkbox for battle mode, thanks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10990 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-17 20:31:55 +00:00
auria
c53895c941
Bugfix : don't ignore interaction property on animated objects
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10929 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 15:34:25 +00:00
auria
32c9213ccf
Fix some code I can't make sense of anymore and would result in accessing index -1
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10920 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-04 23:17:26 +00:00
hikerstk
2fb96dc46f
Instead of aborting when a track does not have a dedicated
...
CheckLap structures, also accept any CheckStructure that
triggers a new lap, but print a warning (since it will
likely cause incorrect kart rankings).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10902 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-28 02:32:06 +00:00
auria
c953803f13
Start refactor to turn around a bad design decision regarding challenges. Oops. Number of required trophies moved from scene.xml to .challenge file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10885 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-23 01:36:24 +00:00
hikerstk
e57c34dc9c
Made 'reversible' the default for all tracks, removed
...
unnecessary reverse=true from track.xml files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10866 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-16 10:20:26 +00:00
hikerstk
579715a8d8
Merged trunk with this branch. ATM the track screenshot does not work -
...
I am going to fix this next.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10862 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-16 04:57:49 +00:00
hikerstk
fcdf44c764
1) Fixed computing of checkling requirements to work properly with
...
reverse tracks. Simplified code by moving some functionality
from QuadGraph to CheckManager.
2) Added comments, renamed some functions to better indicate
what they are doing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10843 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-14 20:51:29 +00:00
auria
c54a651ce9
When failing to load a track object, don't leave a malformed TrackObject instance in the track_object_manager
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10842 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-13 23:40:27 +00:00
auria
43ba4c4c25
Fix another unitialized variable
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10841 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-13 23:32:15 +00:00
auria
418aaf84e7
Fix use of unintialized pointer and improve error reporting
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10840 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-13 23:23:10 +00:00
auria
e21f040919
When LOD is used incorrectly, give error message instead of crashing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10838 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-13 01:13:18 +00:00
hikerstk
8a0fe903a4
Use singleton constructions for check manager.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10837 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-12 21:25:06 +00:00
hikerstk
ff67a5cf4e
Removed the usage of friend declaration. CheckStructure dependencies are
...
now not read in CheckStructure anymore, instead they are set by the
CheckManager depending on the direction of the track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10832 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-09 21:14:32 +00:00
hikerstk
45bb8ceb40
Bugfix: In reverse mode, distance along track started with the wrong
...
graph node, causing the first lap crossing not being detected.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10831 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-09 11:21:07 +00:00
mcmic
01458892f0
Now reversing check structures order.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10824 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-08 12:48:07 +00:00
hikerstk
7bdcb9d681
Updated comment.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10822 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-07 05:16:05 +00:00
hikerstk
92ef262bb0
Removed reversal of quads, instead fixed handling of the data structures
...
that depend on the orientation to properly handle reverse tracks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10821 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-07 05:15:19 +00:00
hikerstk
3659b14667
Redone 'distance from start' calculation to use the proper graph structure
...
(and not to assume that the quads/graph nodes will be added in a specific
order, i.e. in the order in which they are connected).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10819 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-07 03:10:43 +00:00
auria
da25bc6105
Fix entering garage in a cleaner way
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10817 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-07 01:25:56 +00:00
hikerstk
b5bb733e19
Make the karts start just ahead of the starting line in reverse mode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-05 22:33:17 +00:00
hikerstk
80ec893758
Use singleton-like constructs instead of static
...
pointer to quad set etc.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10809 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-05 22:24:20 +00:00
auria
65b4eed110
Implement going in the garage to change kart
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-05 19:32:17 +00:00
auria
7711bab285
Add the necessary code to trigger location-specific action; for now there is a placeholder in the location of the overworld garage
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-05 01:32:35 +00:00
mcmic
d81cc54fa8
Implementation of reversed track.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10799 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-03 23:18:14 +00:00
auria
27360fbe93
Fix leak by introducing code to free meshes that are not associated to any scene node
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10774 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-31 02:24:10 +00:00
auria
b950d4a7bc
Work around crashes when visting overworld twice. However I'm pretty sure this 'fix' causes a leak
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10773 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-31 01:23:50 +00:00
auria
19dd91da8f
All very minor changes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-31 01:17:39 +00:00
hikerstk
a993cebca0
Applied first part of MCMic's patch to allow driving a track in reverse.
...
It adds a flag to the track.xml files, a (currently unnamed) checkbox
in the track selection screen, but doesn't do any actualy reversing (see
forum http://forum.freegamedev.net/viewtopic.php?f=18&t=2661 for
details).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/reverse_mode@10767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-30 23:35:46 +00:00
auria
3e3c676db0
Clean up text nodes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10759 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-30 01:59:33 +00:00
auria
e346b44ba1
Silence many of the annoying warnings that are printed when loading the overworld
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10757 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-30 00:54:13 +00:00
auria
973a7cd4bb
Use higher-res font for the digits in the overworld
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10756 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-30 00:27:53 +00:00
auria
91cdec00a6
Correct crashes in overworld
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10749 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-29 21:28:31 +00:00
auria
57085843ae
Improve placement of numbers in overworld
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-26 01:52:55 +00:00
auria
5bdca7e90f
Improve display of requirements on force fields
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-26 01:13:45 +00:00
auria
c3e3c38817
Show required points near each force field. Feedback welcome, I'm somewhat dubious
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-20 02:21:19 +00:00
auria
792aac1e68
Improve where rescue will drop you in overworld
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10696 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-20 01:14:15 +00:00
auria
18ead10df9
Add support for tangent meshes when converting to bullet
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-20 00:19:10 +00:00
auria
9f69dad8a3
better error handling
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10680 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-15 22:07:05 +00:00
auria
d6221dae92
Use new normal map shader for overworld columns. Remove 2-UV-layer normal map feature, irrlicht just doesn't support it
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10675 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-15 21:52:07 +00:00
auria
d7eff73234
Different display for locked challenges; link toghether force field and challenge
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10667 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-15 01:45:40 +00:00
auria
55b18bdbba
Show summary of challenge when approaching orb
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10664 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-14 19:16:25 +00:00
auria
25716c2b5b
Differenciate between locked and unlocked challenges on minimap
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-14 03:04:10 +00:00
auria
26b9d63103
Start showing location of challenges on minimap. Atm state (locked on not) is not shown
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10658 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-12 23:35:57 +00:00
auria
de3b03cc80
Use right sound when crossing force field
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-11 02:54:55 +00:00
auria
72b409344e
Start work to have trigger items, and for now use them to play a sound when crossing the force fields in overworld. This is WIP.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10646 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-11 02:47:06 +00:00
hikerstk
a25fb4a71c
Replaced core::stringc with std::string.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-10 22:45:57 +00:00
auria
2c9db720c0
Add initial way to make some bubbles traversable and others solid. More tweaking will be necessary
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-10 02:04:46 +00:00
auria
6d7d52f993
Don't build the bvh twice
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10613 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-08 23:50:22 +00:00
auria
06d9359fa6
Add experimental code to load bullet mesh BVH from serialized file instead of calculating it on the fly, making it quite a bit faster
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10583 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-07 22:06:40 +00:00
hikerstk
87865b7dec
Removed unnecessary include of kart.hpp from world.hpp.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10572 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-04 05:32:19 +00:00
auria
ee6d1b3b64
Add level of detail to overworld pedestral, they were using a LOT of polygons
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10519 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-30 20:32:09 +00:00
auria
3b0a88ae30
Update overworld : challenge orbs now contain the screenshot of the actual challenge they lead to
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10502 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-27 21:59:11 +00:00
auria
5322baa0f4
Add a fallback for when splatting is not available in overworld
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10468 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-21 21:19:04 +00:00
auria
92b077a250
Create new world type for overworld for customized behavior. Hide overworld in track seelciton screen. Launch overworld when clicking on story mode button.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10443 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-19 02:26:07 +00:00
auria
683b0e1903
Improve Lambert shading in splatting : actually use the sun direction
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10438 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-18 02:39:05 +00:00
auria
184da58d31
Use blender's new support for unicode to properly write Samuncle's name
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10428 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-15 19:28:23 +00:00
auria
66c41037ed
Cleanup loading animated LOD nodes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-10 21:49:24 +00:00
auria
92eb0ebd2a
Ran a small bash script to remove all of those annoying strings. The only thing they gave us were the need to rebuild after committing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 18:43:36 +00:00
mbjornstk
c85ec85136
Add include for std::sort, it needs algorithm.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10329 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 02:13:30 +00:00
mbjornstk
3e82bd7eec
Add include for string.
...
The .cpp complains about sort... still looking for a fix for that.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 02:09:51 +00:00
auria
fed42fc062
Fix issue in new lod code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10326 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 01:37:21 +00:00
auria
acec3729cd
Complete animating LOD objects
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 01:29:27 +00:00
auria
6e152a22aa
Animating LOD objects with IPO is now almost closer to work
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 01:25:09 +00:00
auria
3c4c88e57f
Refactor LOD loading to make it easier to make animated LOD objects next
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 00:51:20 +00:00
hikerstk
2c33ed75ed
Merged the physics branch back to trunk. There should be no change at
...
this stage for users.
The physics branch added a few new stability options (which are disabled
by default), fixed bug and reproducing history files when using physics
replay, using --log=file command line option. See log on the physics
branch for full details.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-01 01:14:10 +00:00
auria
bf02f9b788
Fix potential crash
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-27 02:40:46 +00:00
hikerstk
06a96ed356
Accept heading angle in degree instead of radians, which is easier
...
(considering that the special start-tag is mostly used when manually debugging).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/physics@10247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-23 20:52:43 +00:00
hikerstk
04087dd0b1
Simplified function by removing duplicated code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10105 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-04 10:57:30 +00:00
hikerstk
227bcdd773
When installing addons the karts/tracks are now not all completely
...
reloaded, only the new addon is loaded. This should also fix a
(minor) memory leak when a kart model is updated (textures and
mesh weren't freed).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10103 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-04 05:32:31 +00:00
hikerstk
1088fd35c8
Use a reference as return value.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10102 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-04 05:30:27 +00:00
hikerstk
da80f39ed4
Removed patched 10044 to 10047, since there is a much
...
easier patch to fix #458 .
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10050 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-27 01:04:16 +00:00
auria
9251f75064
Remove silly part of my previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10047 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-26 15:39:01 +00:00
auria
658cd9c401
Attempt to work with irrlicht mesh cache stuff
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10046 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-26 15:36:31 +00:00
auria
66ad858aa8
Attempt to fix desctructor of TrackObject + fix issue with texture retention
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10045 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-26 15:27:56 +00:00
auria
953e8cf1ef
Almost fix Nolok wheel issue in 3 strikes mode. Note, my fix is not complete and will result in segfaults in 3 strikes mode
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10044 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-26 15:18:46 +00:00
auria
d04bc58413
Quite a bit of work on Doxygen docs to contain an overview of the STK source code base
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10039 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-25 17:46:14 +00:00
hikerstk
b9e4325560
Added 'early targeting': the rubber ball will align its relative position
...
to the center of the track according to the relative distance of its target
(more precisely: it will move the interpolation control points). This
results in the ball being better align when it switches to aim-directly-at-
target mode, meaning that the target-distance can be reduced, hopefully
reducing the frequency with which tunneling happens.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10016 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-18 20:14:03 +00:00
hikerstk
23af52985f
Removed unnecessary parameters kart and track from
...
TrackSector::update.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9997 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 12:29:37 +00:00
hikerstk
d9ada38dcf
Removed unused code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9995 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-16 11:36:41 +00:00
hikerstk
9767765cb9
Removed exception throwing from MusicInformation constructor, and
...
use a simple static function to create a MusicInformation object.
This simplifies handling of errors in calling functions, and
appears to have fixed a (minor) memory leak as well.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 11:15:53 +00:00
hikerstk
5caee0a9fc
Removed loading of music files from a track directory if the .music
...
files are not specified in the track.xml file. There is no need to
support this functionality (track directories should only contain
music that is actually used by the track), and it caused duplicated
entries on case-insensitive file systems (e.g. on windows it
resulted in one entry for west.music, and one for West.music).
While the latter had no big disadvantage (it was cleared correctly)
it is unnecessary and might lead to problems later.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9971 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 06:20:29 +00:00
hikerstk
9abcc41d52
Fixed memory leak each time a track with graphical surface effect
...
(water) is being used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9950 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-06 22:22:29 +00:00
auria
cd8162c30f
Disabling GFX should not result in ghost track objects
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 17:50:20 +00:00
hikerstk
6b19b7c49e
Fixing #419 : on restart of a 3SB tires previously thrown
...
on the track are now removed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9850 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-15 12:46:03 +00:00
hikerstk
eeaf379e6b
Minor cosmetic changes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9848 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-15 12:42:23 +00:00
hikerstk
7abdefca39
Made AABB of track higher to allow projectiles to fly
...
higher than the actual height of the track. This fixes
#412 (cakes immediately exploding in a basically flat
track).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9837 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 22:48:57 +00:00
auria
f5b627bccd
Fixed crash in battle mode
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-12 23:39:59 +00:00
auria
9878f12039
Improve and simplify improved rescue code; also remove the CHEATER message I tried to add because it had some glitches
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-12 00:57:14 +00:00
auria
1f19560a29
More tweaks to improved rescue, plus as a bonus use the additional info we now have to let users know when they missed a checkline
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9809 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-12 00:28:46 +00:00
auria
d8a5d710e9
Fixed minor issue in previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9808 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-12 00:07:41 +00:00
auria
2311b11b90
Added new smart rescue
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-11 23:59:49 +00:00
auria
ee7b178dce
Started adding code to assign a checkline to each quad (currently disabled). See #398
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-11 19:46:51 +00:00
auria
727f84d7f8
Fixed water creating visible polygons, thanks to Hybrid for the weld tip. Jperg, maybe you can check my memory management makes sense (I think I'm getting the hang of it but I'm still not sure I know what I'm doing)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9797 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-11 15:46:47 +00:00
auria
cd859dcaa5
Fix silly GCC warning
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9787 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-09 00:40:08 +00:00
hikerstk
5f615c61e6
Added information about which successor of a graph node to
...
use in order to reach a certain target graph node.
This is now used by the rubber ball to follow karts even
if they are on an alternatice way/shortcut.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9773 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-06 06:56:00 +00:00
auria
29e09f5231
Fixed the fog=N flag in materials.xml
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9757 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 20:11:32 +00:00
auria
aa3ac2849a
Improve some logging
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 19:03:35 +00:00
auria
2b2c07d81e
React better when missing start positoons on arenas
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9745 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-04 23:37:58 +00:00
auria
026e7e67ce
Add sanity checks to getStartTransform to avoid going out of array bounds
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9744 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-04 23:33:14 +00:00
auria
950ff58217
Make STK ready to handle lightmaps when creating physics
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-04 17:50:46 +00:00
auria
cb47023202
Added limited form of LOD on particle emitters
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9718 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-03 01:58:39 +00:00
hikerstk
cb08a03d7d
Removed compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9710 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-02 01:34:08 +00:00
auria
03178d9e75
Kinda fixed crash I introduced in 3 strikes, but the current code leaks. Will need to ask Joerg how irrlicht memory management works...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9704 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-01 23:47:15 +00:00
auria
3e7aeaf71f
HAving some fun : you will now physically lose a tire in 3-strikes mode. Watch out for tires all over the place as the battle gets fierce ;)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-01 20:09:26 +00:00
hikerstk
2ea50e99fd
Fixed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9695 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-01 00:59:41 +00:00
auria
74956e454f
Introduce new LOD
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-30 19:10:17 +00:00
auria
f45f06b994
Undo a few bogus optimisations to the B3D exporter *blush*
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9447 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-07 20:20:12 +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
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
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
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
60c0aa5616
Applied patch for #342 (and added some comments and some
...
minor cosmetic changes).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9366 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-26 02:24:49 +00:00
auria
2f571eec10
Allow unicode to be used in track makers names and fix samuncle's name
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9360 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-26 00:42:01 +00:00
hikerstk
994ea9578a
Added missing initialisation of m_material. This should fix #299
...
(crash happened most likely if a bowling ball exploded before
it was updated once - in this case m_material was not set).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9312 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-21 00:02:06 +00:00
hikerstk
1138c14595
Fixed incorrect unsigned (since -1 is used to indicate 'not set').
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9170 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-06 00:53:59 +00:00
hikerstk
4b39be6f83
Removed two unnecessary includes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9167 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-05 06:05:08 +00:00
hikerstk
b24f53a3eb
Added support for storing a predecessor for each node in the
...
quad graph (needed for rescueing).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9165 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-05 01:35:45 +00:00
hikerstk
e4905f48bd
Added NoCopy.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9158 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-05 00:15:09 +00:00
hikerstk
da8ec214ce
Added a very first version of a swatter (or inflatable hammer).
...
Details are in the wiki (http://supertuxkart.sourceforge.net/Items ).
Note that the model is _obviously_ a placeholder, and I used
the icon for the bomb (which isn't used in game atm) for the
swatter. I hope someone can provide a better model and icon.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9011 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-22 12:27:48 +00:00
auria
7b60ad1a9e
Better error checking: refuse to continue when no drivelines are found but we're playing with AIs, we can only handle lack of drivelines when there is 1 kart
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8955 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-18 22:43:00 +00:00
auria
ccecbf0ba3
Allow playing without driveline when no AI akrt is used
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-18 22:36:14 +00:00
hikerstk
058a2ca870
Fixed #272 : the list of tracks was not cleared before reloading
...
all track files, resulting in more and more tracks accumulating
in the track list each time a track is (un)installed.
In case of uninstalling a track, the track would remain in the
list, and if this track is selected, STK crashed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8908 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-13 11:22:45 +00:00
auria
561e40a9ed
No questiuon mark for minimap when RTT is down
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8881 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 00:04:53 +00:00
auria
2a482d7577
Remove logging
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8871 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-10 01:15:39 +00:00
auria
23711c7174
Try to add support for having dsome materials ignore fog. Works for lighthouse light, but not for lighthouse sky
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8866 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-09 01:29:25 +00:00
mbjornstk
62e60b94fc
Add "#include <string>" so it stops complaining about "return NULL".
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8832 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-05 03:08:38 +00:00
auria
d24d70a2f8
Avoid crashing when checklines are incorrect
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-04 23:31:31 +00:00
hikerstk
9bc617bede
Removed unused variable, added some documentation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8758 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:04:00 +00:00
auria
6e4cee9341
Includes cleanup; especially avoid including in headers, creating implicit dependencies and horrible chains of recursive includes. Avoid iostream when possible because this header is not small
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8749 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 19:52:24 +00:00
hikerstk
a8008d38d7
First try to fix #253 - it might have some performance
...
impact since now all quads are checked if a kart is off road.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8716 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-26 06:02:10 +00:00
auria
8a00579b2a
Simplify code by using PtrVector instead of vector + manual delete
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 00:04:43 +00:00
auria
f83492ef3d
Fixed uninstalled tracks remaining in the track list
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8687 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-23 23:56:52 +00:00
auria
7082558a6a
Fixed rare shutdown crash
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8686 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-23 23:55:50 +00:00
auria
97506bba43
Revert r8647, seems no more necessary now that I updated irrlicht
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8671 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 22:25:17 +00:00