Commit Graph

239 Commits

Author SHA1 Message Date
auria
07afe4c87b Fix quite a few leaks in the GUI engine, and introduce my quick leak-detection macros in dbeug mode (with Joerg's approval)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9885 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-22 18:08:04 +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
25c74e3b3e Added missing files (which went unnoticed since the files
were not compiled under linux).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-06 05:18:35 +00:00
hikerstk
c7c9f8150a Simplified vo_ngan_90's patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9752 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 04:14:50 +00:00
auria
6e98f90a48 Apply patch by vo_ngan_90 to pause particles and waves when paused, thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9746 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-04 23:44:27 +00:00
hikerstk
3161c79196 Added hit effect that only plays a sfx. Simplified
projectile manager of special effects somewhat (now
no more calls from a hit effect to the projectile
manager are necessary).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9617 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-24 06:48:05 +00:00
hikerstk
5ecf3d4c08 Added interface for a 'hit effect', which is now a base for
explosion. This will allow to easily add different effects
later.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9607 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-23 21:57:46 +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
029e50381d Added more statistics for profile mode:
skidding-time, and time+count for rescues and exposions.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-01 00:06:13 +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
hikerstk
afb3728995 Added first test version of 'rubber ball' (which might replace
the anchor). Known bugs: atm it does not yet bounce (it follows
just the drivelines and might be partly in the track); the first
kart can't avoid it (long term breaking might allow you to avoid it);
it might hit another kart first and explode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9302 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-20 00:39:32 +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
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
fed9fbf695 Fixed Windows paths in Makefile.am
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-03 19:00:25 +00:00
hikerstk
9ff4fdd2ef Started re-factoring attachments: the swatter is now implemented as
a plugin, which makes the attachment objects much smaller. Other
attachments will likely follow :)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9142 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-03 11:54:41 +00:00
hikerstk
498a0a104e 1) Moved news message handling into a separate object.
2) Added prioritised request list to network manager.
3) Fixed ticket 217 (crash at shutdown), which happens if 
   the background thread downloading the icons is still
   active when STK is quit (and then accessing managers
   that have been deleted).
4) Handled partial downloads correctly: files are now
   downloaded with ".part" appended to the filename,
   and only upon a successful download renamed to 
   the original name.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8552 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-12 23:51:00 +00:00
hikerstk
0fcfc3d5cf Added lighning support to minimal race gui.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8281 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-10 22:10:33 +00:00
auria
db36487bfa Copy irrlicht class into our source tree, since they make all their widgets private and prevent us from deriving from them...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-08 15:07:00 +00:00
hikerstk
d84f8f497b Added missing files to Makefile.am.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8137 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-31 02:17:49 +00:00
hikerstk
954b420446 Started to add support for downloading news from the addon server
at a specified interval only (e.g. only download every 2nd day).
Not fully working yet, might not work on linux/mac atm.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8030 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-23 03:57:49 +00:00
auria
b55cafda36 Reorganize options in more screens, use 'accordion tabs' to fit everything in the available space, I *think* the result is good, feedback welcome
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7996 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-20 18:50:20 +00:00
hikerstk
15241ef88e Added tinygettext source. They compile on Linux atm, but are not used
yet. stk_file_system.?pp atm is just unix_file_system.?pp.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/tinygettext@7911 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-16 00:31:53 +00:00
auria
c08b9b3a7f Add the basic infrastructure to support level-of-detail. Note that at this time the implementation is not the most efficient one can think of so let's not use this widely just yet
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-04 02:11:39 +00:00
auria
42626329b3 Improve wather splash : 1) remove old unused class 2) the splash should only occur when touching the surface, and not keep on splashing when you're underwater
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-27 19:49:32 +00:00
auria
2f2b18df33 Add PercCameraNode, use it for rain. Sadly the results atm are weird, I need to investigate...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7668 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-10 01:56:52 +00:00
hikerstk
8ab10035a1 Updated VS10 project file, and started to add minimal race gui.
This was only committed early to update the VC10 project file.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7656 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-08 12:59:32 +00:00
auria
238f572c36 Say hello to the new rain, one that is much, much less CPU and GPU intensive. Joerg: sorry, you will need to modify the exporter again, since now we need support for some built-in weather types, which use a different XML syntax than particles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7642 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-07 02:45:32 +00:00
hikerstk
95a7e5c125 Added smoothing of normals for raycast wheels, but disabled for now (since
the normals of some tracks need to be fixed).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7600 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 21:06:50 +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
e034d1e345 Update with new graphics/particle_kind_manager.[ch]pp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-07 01:51:34 +00:00
hikerstk
93daa15d73 Removed unused update-tab in addons manager.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 05:38:11 +00:00
auria
ec3c1f76a0 New XML-based particle system. May need a few tweaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 01:39:18 +00:00
auria
a3df5843aa Fixed makefiles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7254 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 23:06:13 +00:00
hikerstk
141ae9f5da Moved AddonProp into a separate class Addon with proper
getter; started to remove usage of m_index in addon_manager.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7185 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-29 21:52:33 +00:00
mbjornstk
1c57310b41 Add io/xml_writer.[ch]pp to build system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7176 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 04:38:17 +00:00
hikerstk
588870d9bd Renamed network.?pp to network_http.?pp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7141 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-22 10:37:23 +00:00
hikerstk
7305efd8ba Fixed linux compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7139 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-22 06:09:16 +00:00
hikerstk
29e29c7bb7 Renamed addons.?pp to addons_manager.?pp.
NOTE: make distclean is most likely necessary on linux!!!!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7138 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-22 06:00:58 +00:00
hikerstk
7e1c8a4c50 Updated makefile for new files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7096 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 00:59:53 +00:00
hikerstk
407e91a1bc Updated makefile for new files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7044 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 23:03:24 +00:00
hikerstk
1c90d679e2 Removed unused animation_manager (track object manager takes care
of animations).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7040 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:15:59 +00:00
mbjornstk
1eacc8fe59 Add tutorial_screen.[ch]pp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6944 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 03:08:25 +00:00
auria
f18ead6820 Show wanring dialog when trying to use shift as a key binding
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 02:16:21 +00:00
hikerstk
732f8e0c61 Fixed handling of [] in linux: if a key code is 0 (which is the case on
linux for [] and other keys) the unicode character is now used to
identify the key. This solves displaying the key code in the GUI, and
also to handle keys with identical key codes (0) properly.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6580 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-15 21:55:50 +00:00
hikerstk
f4c72bd783 Updated makefile to include new files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6326 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-25 00:53:17 +00:00
auria
3adaeef476 Started refactoring audio code so that the SFX enable bug can be fixed easier later (bug not yet fixed)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6243 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 01:45:12 +00:00
hikerstk
6d3c17f602 Added different way for detecting new lap: based on the quads this will
make sure that player ranking is always accurate. It's not used atm,
but around for testing.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6167 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-29 23:23:16 +00:00
auria
51b1ffcf85 Added a 4th help tab describing multiplayer play, after suggestion to do so on IRC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6070 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-19 19:22:43 +00:00
auria
372e82374b Show confirm dialog before permanently erasing keyboard config (the confirm dialog I added is reusable, so should we ever need another confirm dialog we can reuse this one)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5931 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 23:06:54 +00:00
auria
431e65b745 Added bubble widget to work around clipped text in help menu .I'm not sure I like it, and it's especially ugly in the glass skin, but that can be worked on later.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5884 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-04 20:24:42 +00:00