auria
9bb6dc84dd
Minor overworld update, add switch to disable pixel shaders, fix custom settings to not be accessible in in-game menu
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10489 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-25 20:22:37 +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
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
auria
d02b6d1bfb
For now use 4x anti-aliasing by default, it's quite a bit faster than x8 and I can barely tell the difference
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-04 19:55:37 +00:00
auria
ddf544ab44
Fixed blunder in previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-03 23:38:24 +00:00
auria
61e226b5a0
Committing an experiment that looks promosing : made STK load much faster by zipping the models of karts. Joerg, unfortunately I had to add a grab() for a reason I currently don't understand :(
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-03 23:25:51 +00:00
hikerstk
f6453f2557
Added comment about memory leak reported by valgrind.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9980 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 22:41:25 +00:00
hikerstk
d17741b78b
Fixed minor memory leak.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9969 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 01:58:34 +00:00
hikerstk
3b63f1c299
Fixed ref counting in irr_driver (file_manager was not released), added
...
ref counting to file system object in file manager (not strictly necessary,
but cleaner).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9968 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 01:09:23 +00:00
hikerstk
a93d05d046
Fixed unnecessary creation of an irrlicht NULL device (one in file_manager,
...
one was created just to get the list of modes, before the actual device
is then created). This fixes a minor memory leak (the 2nd NULL device was not
freed), encapsulates all device creation into irr_driver (and not in
file_manager).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-12 11:28:35 +00:00
hikerstk
313e5ea9e1
Fix #447 : crash at race start after changing the resolution.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9917 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-29 23:01:52 +00:00
hikerstk
f85556d83a
Added thunderbird as start referee. Known bugs:
...
1) Ready, Set, Go is still shown.
2) Orientation of thunderbird is not correct in
all cases (esp. in battle mode).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9822 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 00:48:49 +00:00
hikerstk
bc3c68cdaa
Allow to add a NULL animated mesh. This enables the usage of readonly
...
materials (first add a NULL mesh, then set readonly material, then add
the actual mesh ... Adding the mesh first, then re-adding does not work,
since irrlicht tests if there is really a different mesh).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9819 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-13 23:40:41 +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
hikerstk
d9d0926f10
Print a line to stdout if gamepad-debug is enabled after each frame
...
(which makes it easier to see which events are handled in the same frame).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 04:03:49 +00:00
hikerstk
2172f1c4df
Applied changes from statistics branch to trunk (r9413 - r9484).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9503 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-15 02:00:50 +00:00
auria
ca4bffe34d
Use funto's motion blur effect only when using a zipper, but more visibly so
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9456 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-10 01:46:58 +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
hikerstk
7b5160be59
Removed unnecessary 'creating NULL device' message.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9420 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-04 01:25:40 +00:00
auria
875fd56647
Apply patch by redskull to fix crashes on resolution switch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-31 22:53:03 +00:00
hikerstk
115e0cc1c5
Print a warning if the irrlicht library used was compiled in debug mode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9384 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-29 05:35:52 +00:00
funto66
9bd62dfe13
Fixed sky color for tracks without sky domes/boxes when post-processing is enabled
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9356 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 22:21:17 +00:00
funto66
85096f80bf
Fixed having motion blur on the GUI, fixed character selection
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9355 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-25 21:54:26 +00:00
funto66
a3ca6dadaf
Separated the post-processing calculations from IrrDriver
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-21 23:29:37 +00:00
funto66
1079391fd1
Started implementing post-processing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-20 23:50:25 +00:00
funto66
d26b406780
Starting the merge with the swatter branch. Now it should be automatic with karts, but doesn't work with items (yet).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-15 23:38:40 +00:00
funto66
a8919a8252
Added experimental and buggy hardware skinning support + removed a useless loop in the material manager
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-14 00:59:00 +00:00
funto66
93ed8113d3
Added markers for World::update() and made the profiler optional
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9225 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 10:33:42 +00:00
funto66
6b0e202d2b
Displaying time values in the profiler
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9224 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 10:21:20 +00:00
funto66
49ea3a9cf9
Improved the profiler: a bar is displayed to show the end of the analyzed frame, there are more markers, now the profiler can be frozen/unfrozen by clicking on it...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-10 00:04:12 +00:00
funto66
de401bc234
Added a first (unfinished) version of a graphical profiler
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9207 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-09 19:13:17 +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
6f0b97ba08
Removed ADDONS_MANAGER symbol completely.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-27 00:53:18 +00:00
auria
dd3a4406f2
Fixed add-ons being left out when reloading after a resolution switch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8672 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 22:40:00 +00:00
auria
357af5a27d
More work on 'thou shalt not include irrlicht.h everywhere carelessly'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 19:29:52 +00:00
hikerstk
24a11c5b8b
Fixed resolution change (it got broken while fixing leaked textures).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8518 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-05 01:55:26 +00:00
auria
0f57b0b46a
Rename macros to avoid name clases
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8512 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-03 23:50:36 +00:00
auria
a4c846bbe3
Experimental test, Joerg I hope you won't hate me ;) Switch some GUI code to for_each instead of for, i think it's easier to read
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8511 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-03 23:46:03 +00:00
auria
532053d319
Fix some RTT-related leaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8503 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-02 01:39:23 +00:00
hikerstk
c216d2b35e
Fixed more texture memory leaks.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8498 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-01 22:38:23 +00:00
auria
7a50215426
Minimal code to support disabling FBOs. No GUI for that at this time.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8486 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-30 22:58:05 +00:00
auria
bea4efecfc
Fix material 2D not always being enabled when it should
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8485 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-30 17:42:44 +00:00
hikerstk
fd78e796d2
Changed interface to sky box and sky cube (so that textures can be
...
tracked and released). Fixed memory leak in sky domes/boxes and
mini map.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8481 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-29 00:29:34 +00:00
hikerstk
559edb6178
Renamed Track::m_all_meshes to m_all_cached_meshes, IrrDriver::removeMesh
...
to IrrDriver::removeFromCache to better describe their functions.
Started to add proper freeing of cached track meshes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8471 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 11:47:33 +00:00
auria
c1f992231e
Full support for smoothing scaled icons in the GUI (will only work if you use a patched irrlicht)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-23 20:34:38 +00:00
auria
0438696ac6
Attempt at smoothing GUI icons when scaled down. Doesn't appear to change much.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-23 19:21:54 +00:00
auria
3eb841e5e6
Fix compilation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-22 19:28:23 +00:00
auria
3422ade944
Improve skeleton debug code a bit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-21 22:54:37 +00:00
auria
e9d8534e4e
Add my skeleton debug code, it was hard enough to make I don't want to lose it (don't worry unless you enable it by editing the files it's disabled by default)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8404 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-21 22:25:09 +00:00
auria
3f5486aeab
Hopefully fixed bug with masked textures
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-20 20:40:10 +00:00