hikerstk
23a2beda6a
Cosmetic changes, use m_video_driver instead of calling
...
a function to get it.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8391 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-20 13:04:21 +00:00
hikerstk
dd778cfc8c
Fixed memory leak.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8380 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-19 04:02:10 +00:00
auria
75209cb1ce
Fixed minor memory leak
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8370 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-17 23:32:17 +00:00
hikerstk
99e38de2db
Fixed VS compilation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8352 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-14 11:51:39 +00:00
auria
4023a0bb49
More precise polygon count, as requested by Kinsu
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8333 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-13 12:43:58 +00:00
auria
7ce7daa5ac
Added support for external masks; this allows using JPEG even on images that need transparency. Reduced palmacacia from 800 KB to 300 KB using this feature
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8064 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 23:52:30 +00:00
auria
b65915a919
Raise ignore level in temp logger; irrlicht 1.8 is a little more chatty than 1.7 so shut it up
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8061 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 19:25:31 +00:00
hikerstk
1815b6f223
Added files missing in previous commit (started adding
...
support for new addon list, but that's work-in-progress).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8034 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-23 12:07:16 +00:00
auria
950dbd8688
Display the FPS stirng even when waiting for data, sometimes I'd wonder whether FPS display was activated or not...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7987 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-18 15:47:41 +00:00
auria
8b76268b8b
Make vsync configurable in config file
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7986 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-18 15:39:52 +00:00
auria
d113bc4104
Added (disabled by default) support for anti-aliasing (edit your config file to get it)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-17 23:13:33 +00:00
hikerstk
e6aa7b0cf9
Used proper base class for setAllMaterialFlags.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7953 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-16 21:04:26 +00:00
auria
3a3619750a
Artist debug features are now enabled even in release builds, but disabled in config by default
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7780 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-02 00:04:13 +00:00
hikerstk
745bea6285
Applied and fixed MiniBjorn's support for pre-mul textures by setting adjust-image=premultiply or
...
adjust-image=divide in material.xml
But big question: can't we just modify the textures externally and use them,
instead of doing this at runtime?
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7712 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-16 06:07:38 +00:00
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
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
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
4d8b8e5dea
Renamed ptr_vector to PtrVector so that is follows
...
our naming convention, also changed contentsVector
to m_contents_vector, and removed unused add method
(which is using an iterator, which would not work
when using aligned_arrays on windows anyway).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 22:20:53 +00:00
hikerstk
4ab6331ff4
Update to bullet-2.77.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7579 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 22:04:13 +00:00
mbjornstk
58cdbb5ffb
Increase ignored FPS reports, otherwise minFPS is useless in slow computers.
...
What matters is the min and max FPS while gaming, start up is not so important.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7549 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-26 22:45:08 +00:00
mbjornstk
015443f582
Set props as per SVN-CONFIG for .[ch]pp, AKA SVN props clean up day. :)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7493 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-21 01:54:38 +00:00
auria
cf751ab11a
Extend RTTI provider to not hardcode scaling of meshes + fix warnings when hovering locked karts + when hovering locked kart, display locked feature chest
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7463 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 02:58:32 +00:00
auria
e472d7459c
Fix typo
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7133 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 21:30:28 +00:00
auria
d737425fe5
Fixed gamepad input after changing resolutions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6905 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 23:42:10 +00:00
hikerstk
daf2bc5e7e
Fixed resolution changing on linux: previously the resolution was
...
changed (and the old window/device deleted) while the old device was
still actively delivering events, so deleting caused a crash. Now
changing the resolution is only setting a flag, and the resolution
change will be applied during the next update, i.e. while the device is
not busy anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6707 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 23:23:40 +00:00
hikerstk
829b015314
Properly delete the first window (esp. on Linux) when switching resolutions.
...
ATM this results in a crash for me (though this patch should be correct, so
the reason for the crash must be something else).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 21:16:19 +00:00
hikerstk
6b660b9fe6
Added calls when switching resolutions (based on
...
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=39342&highlight=fullscreen
run() needs to be called).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 00:14:13 +00:00
auria
cb78ded2ed
Tidy up logging + other minor fixes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 17:19:13 +00:00
auria
de95e676d8
Yet improve handling of bad resolutions in config file
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-31 15:26:25 +00:00
auria
c1d7f610a0
Cleanly handle when RTT is missing instead of crashing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-10 14:41:55 +00:00
auria
37901f7f39
Absolutely frivolous, but very cute, change : show icons of what is being loaded during the loading screen (sorry, couldn't help but waste time on this =)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6054 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-18 23:09:02 +00:00
auria
599d0a806a
Bye bye EvilTux, Welcome Konqi\!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 20:47:05 +00:00
auria
4df28afc80
Properly unload screens before exiting, correcting a FIXME
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5957 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 18:29:53 +00:00
hikerstk
c1a239a7e6
More NoCopy - embarrassingly left out in previous commit :(
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 00:30:58 +00:00
hikerstk
426cedcacb
Fixed rare bug in which stk aborts (because it receives a WM_QUIT message)
...
immediately after start (after closing the null device and opening the actual
screen).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-10 01:15:53 +00:00
hikerstk
2ad6b0a027
Renamed CGUIFont.{h,cpp} to scalable_font.{hc}pp, removed all
...
references to CGUIFont (so that the new mono-space-digits functions
can be used everywhere); some code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-21 00:01:22 +00:00
auria
e53c1e64b1
Explicitely tell irrlicht that we do not support resizing the frame
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-17 15:18:23 +00:00
hikerstk
626f83087a
Added new base class for race gui (in prepration for improved
...
result gui).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5680 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-11 23:03:54 +00:00
hikerstk
8efe0fff20
Performance improvement: the b3d exporter does not sort/combine meshes by texture, so this
...
is (for now) done by a special Batching Mesh.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5518 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-16 00:18:51 +00:00
auria
1556b60bdc
Removed irrlicht 1.6 support code, since we don't support building with irrlicht 1.6 anymore
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5440 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 15:28:32 +00:00
hikerstk
0628d7f565
Some bugfixes to resolution changing.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5429 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-11 12:49:32 +00:00
auria
c9ddf98f3d
Added assertions to catch the bug reported on the forum earlier (when doing the resolution switch, not when plasying afterwards). Seems it has to deal with the material manager and the handling of 'permanent' materials (but I can't make any sense of your code there Joerg, so please help -.-)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5401 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 15:28:05 +00:00
auria
400a102241
Code cleanup and documentation improvements in GUI code; fixed compilation error mysteriously introduced by removing LISP (WTF, I did a clean build, why didn't this error pop up then???)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-24 20:08:13 +00:00
hikerstk
eefeab5fd0
Added better debug output for missing textures.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5238 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-22 13:19:24 +00:00
auria
986f74d333
Install a temporary event handler in the irrlicht device, until EventHandler is ready to take upon to task, to shut up irrlicht's chatty logging
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 23:45:54 +00:00
auria
4fa641692c
Irrdriver no more has a method to receive events from irrlicht. anyway it did nothing with them so that was just uselessly confusing.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5206 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-16 00:32:31 +00:00
hikerstk
511afe11d2
Removed unsupported texture warning. Feel free to change the type to
...
a more appropriate type if necessary.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5201 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-15 23:54:18 +00:00
auria
2da96bb71b
Minor change to resolution switch code, so that my work around what seems a bug in the mac version of irrlicht doesn't introduce issues where this bug doesn't manifest
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5108 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-31 23:54:18 +00:00
auria
ada40cf7a3
Added the ability to specify a case color (fixed mine to have black clear color). Not supported yet by track exporter
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5084 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 19:19:09 +00:00
hikerstk
88160e5a0c
Fixed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5069 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-25 05:19:00 +00:00