Commit Graph

6256 Commits

Author SHA1 Message Date
hikerstk
623513a22d Fixed compilation errors and warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12644 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-13 14:29:44 +00:00
wardje
b7bc1f0ec8 Fix compiling in release
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12643 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-13 10:44:15 +00:00
auria
5bd8f58923 Tweaked skidding particles by Deve
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12642 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-12 21:24:21 +00:00
mbjornstk
e466badb2f Remove duplicated declaration of videoData.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12639 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-11 22:45:02 +00:00
hikerstk
9a9ff77812 iAdded new 'best' AI difficulty. ATM this is not locked yet, and
art work (icon) is still missing. Also we have to find what
to call it (atm 'Iron Man').


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12637 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-11 06:17:46 +00:00
auria
58e06f6cd7 fix feature unlocked cutscene
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-10 23:41:13 +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
hikerstk
9871d556cd Fixed linux compilation problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12631 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-10 12:51:01 +00:00
hikerstk
019e02bdb5 Fixed compiler warning (on OSX).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-10 07:09:10 +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
magned
36b3f5d949 Removed line which caused errors for people without VS 2008
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12627 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-09 21:12:57 +00:00
hikerstk
f548a84071 Updated VS10 project files - x64 compilation is
now marked as 'experimental', and list of sources
updates.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12626 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-09 13:47:53 +00:00
hikerstk
b29b01107a Fixed VS2010 warnings (too long names when expanding
templates).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-09 13:45:51 +00:00
hikerstk
694b306f4f Updated (c).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12620 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-07 22:47:37 +00:00
hikerstk
617bbc8f16 Fix #889: Only play strike sfx when a bowling ball hits a kart (and not
when it hits another flyable).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12619 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-07 22:37:09 +00:00
hikerstk
9d46f847fc Fixed #906: screenshot filenames have an incorrect month.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12618 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-07 12:21:51 +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
d1759b8d88 Add missing conversion from radians to degrees when moving track object from physics
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-06 00:21:57 +00:00
auria
35b508ae14 Fix uninitialized pointer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12615 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-06 00:17:35 +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
hikerstk
eb004a63a6 Updated source list, and fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12612 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-05 12:31:14 +00:00
hikerstk
7c509f5026 Updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12611 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-05 09:19:43 +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
f296461d21 Fix physics angles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12609 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-05 00:39: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
94cd32d20d Do not stop music during tutorial
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12607 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 23:14:52 +00:00
auria
3cd4cc1cad Fix reading freed memory after deleting world, plus add what it takes to detect further such issues easily
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12606 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 23:09:53 +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
mbjornstk
0e8eec0f88 Add new track files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12603 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 22:55:32 +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
f4b121feff Fixed incorrect arrival time estimation (#903 and #859).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12601 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 21:17:39 +00:00
mbjornstk
5d58993364 Removed deleted files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12600 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 21:09:46 +00:00
auria
7a3989dd94 Cutscenes need a GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12599 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 01:52:02 +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
cc6446cd1c Removed unused files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12595 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 00:42:26 +00:00
hikerstk
8fe1875db1 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12594 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-04 00:41:34 +00:00
hikerstk
9429beef79 Simplified more code, fixed some coding style.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-03 21:15:13 +00:00
hikerstk
aea7a001c5 Bugfix: when playing batle mode, the number of karts is set to the number of players
(independent on the number of AIs selected), and UserConfigParam::m_num_karts is not
changed (which is correct imho).
When then a single race is started, the displayed number of AIs is based on this
m_num_karts. But if a normal race is started (without adjusting the number of
AI karts), the number of karts in the race_manager was not updated (it is only
updated when changing the number of AIs), resulting in the wrong number of karts to
be used (based on the battle mode, and not based on the number shown in the GUI).
This patch just updates the race_manager with the number of AI karts that is shown
in the GUI, so that those values are now in synch.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12592 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-03 11:12:25 +00:00
hikerstk
820ebd2673 Refactoring: removed code duplication in some init() and restartRace()
functions of game modes (caused by restartRace only called in case of
a restart, not the first time a race is started). The function restartRace()
was renamed to reset(), which is now called always before a race is started
or restarted.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12591 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-03 06:05:34 +00:00
auria
4cd55d0dc5 Fix bogus documentation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12590 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-02 23:55:38 +00:00
hikerstk
ecfdae57f8 Yet another fix for addons :( Now installation of addons might
work as well as deleting them.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12589 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-27 21:52:40 +00:00
hikerstk
9dfb6c4ccb When pressing ctrl-F8 in artists debug mode only make player karts
invisible. This allows to take screenshots with AI (and if you don't
want AI, just race without AI).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12588 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-27 21:11:12 +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
81d6353d7b Fixed typoes (see #897), thanks to bkerensa for the patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12580 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-26 05:22:25 +00:00
hikerstk
516e57d274 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12575 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-25 22:13:16 +00:00
hikerstk
f857393ca2 Removed time limit from easter eggs (if used in a challenge, the
challenge will define the time limit), which also fixes #861 (no
timer when easter egg mode is started first). Added high-scores for
easter egg mode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12574 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-25 06:16:23 +00:00
hikerstk
b7e5480fb6 More work on improving documentation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12572 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-21 10:46:35 +00:00
hikerstk
4c33490a78 Improved doxygen documentation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12570 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-20 23:02:12 +00:00
auria
87f316fd03 Support combining splatting and lightmaps
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12567 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-18 01:08:35 +00:00
auria
98d8ef74ac Simplify shader, removing the need to make a fallback mesh
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12565 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-18 00:21:28 +00:00
auria
7a81d37f69 Allow vertex colors to be used with lightmaps
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12564 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-17 23:06:37 +00:00
hikerstk
b54125fa38 Changed variable boost_amount to be boost_time, added comments,
and fixed incorrect blur direction.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12555 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-15 05:48:58 +00:00
hikerstk
de2112f101 Removed debug code (2nd player would also get zippers
in artist mode when pressing F7).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12554 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-15 05:35:03 +00:00
hikerstk
5445cec7ba Enabled motion blur shader in split screen multiplayer.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12552 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-14 21:04:48 +00:00
hikerstk
a14a9df3f1 Removed unnecessary "\n" in Log messages.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12551 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-14 05:26:17 +00:00
hikerstk
9299418079 Tweaked default wiimote settings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12547 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-13 04:00:19 +00:00
auria
1a7bf5ea9c Update track list after installing addon so that it appears without restarting STK
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12545 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-11 01:26:07 +00:00
auria
051c3d43fe allow transparent water. not used yet
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12544 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-10 01:27:45 +00:00
hikerstk
6c10c92838 Avoid that wiimote events are handled as digital events (which means
that the actual steering value will be changed over time, not immediately,
resulting in a delay). Fixed by avoiding +-32767 as input, which indicates
a digital event. Note that the same problem likely exists for gamepads!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12543 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-07 13:06:47 +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
auria
c5a9b4b6a5 Add tutorial icon to main menu by Totoplusm thanks a lot
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12540 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-05 23:37:31 +00:00
hikerstk
90bcf9f304 Made compliant with out coding style.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12539 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-03 20:47:08 +00:00
hikerstk
ef5352165d Fixed compilation error (I swear, it worked on windows and linux for me).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12538 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-03 12:10:45 +00:00
hikerstk
e7f58450e1 Removed remaining hardcoded shader directories.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12537 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-01 05:42:38 +00:00
hikerstk
5e59de20fe Fixed missing '/', and clean up varies paths (all directories
should end in '/').


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12536 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-01 05:33:36 +00:00
hikerstk
04bcf75a37 File manager now provides the directory for screenshots and
shader. Location of screenshots is now changed:
windows: %APPDATA%/supertuxkart/screenshots
osx: ~/Library/Application Support/SuperTuxKart/Screenshots
Linux: $HOME/.cache/supertuxkart/screenshots


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12535 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-01 03:11:17 +00:00
hikerstk
3485ae2d8c Fixed screen shot handling on windows.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12534 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-28 11:51:19 +00:00
hikerstk
b0382b5532 More restructuing of rendering loop to make it a bit
easier to understand.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12533 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-28 11:50:05 +00:00
hikerstk
c062295a30 Made to implicitly constructed objects explicit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12532 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-28 06:19:17 +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
bf21f7e857 Try to reduce likelihood of karts 'driving' over a fence (by
collisions that pushes them with away with an upwards component
in the impulse vector).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12528 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-26 06:05:50 +00:00
hikerstk
c18ccef5b3 Added sin and asin in addition to linear and square mapping of
wii-rotation to steering value, all can be combined using weights.
Code is not tested (sorry, no access to wiimote atm).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12527 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-24 22:09:15 +00:00
mbjornstk
8df713d666 Update buildsystem with recent changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12526 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-23 23:31:21 +00:00
auria
b9504f4afa Delete old unused files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12523 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-23 21:49:31 +00:00
hikerstk
b972326c5b Fixed falling speed of kart (damping of linear velocity caused
the velocity to be too low). Since this would also affect kart
handling (negatively), the damping is only removed when the 
kart is in the air.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12521 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-21 06:00:38 +00:00
hikerstk
ec2ca8a2f8 Re-enabled easter egg mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12520 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-21 05:57:35 +00:00
hikerstk
3e74063775 Added wiiuse-release target.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12517 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-18 22:01:43 +00:00
hikerstk
3cfa2dbf9c Fixed crash (m_mesh counter was decreased for non-master object, resulting
in the master mesh disappearing).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12516 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-18 22:00: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
hikerstk
50e033f9f4 Fixed 'flying' problem in new mine track when driving into the water.
I have to confirm with bullet developers why this only happens sometimes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12513 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-18 06:19:39 +00:00
auria
d9af2f9706 Small improvement to challenge file, to add a textual player name next to the player ID, to make it easier to read
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12510 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-17 20:31:26 +00:00
auria
c51b746097 Validate AI power in challenge
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12509 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-17 20:25:26 +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
hikerstk
3046aaa361 Bugfix: STK would crash if the same kart mesh is used twice (e.g. when
just copying a kart folder). Thanks to funto for reporting this.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12499 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-17 11:26:52 +00:00
auria
61bcdffb64 Show confir dialog before aborting GP
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12492 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-17 00:20:40 +00:00
auria
020fc76df3 Move tutorial to help menu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12489 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-16 16:43:13 +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
stephenjust
42b3dfe98e Update VC10 project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12481 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-12 03:30:29 +00:00
hikerstk
fc9c94ff33 Updated VS9 project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12480 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-11 23:56:50 +00:00
mbjornstk
d592aa4ef8 Add new files to build system after soccer branch merge.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-11 23:49:29 +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
funto66
cf0c4c920f Cleanup christmas branch from all Christmas/Halloween things (replaced by hiker's hat code in trunk) to prepare for merging soccer mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12469 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-10 18:26:20 +00:00
funto66
43a37aee1b Only enable Christmas mode in December, except --xmas=1 is given in the command line
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12465 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-09 15:01:58 +00:00
hikerstk
21063342a1 The 'feature' that objects below -100 are automatically reset
to their initial position (which was used to reset stones
falling down a volcano) must now be explicitely requested
(reset-when-below). This fixes the prpblem of floating
barrels in sandtrack.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12461 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-08 05:24:21 +00:00
hikerstk
9a4d6f1cda Some adjustments to steering curve.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12460 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-07 21:49:38 +00:00
funto66
dd34c42bd1 Fix compilation with USE_WIIUSE
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12459 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-06 22:29:19 +00:00
hikerstk
62a65279bb Remove pause between news messages, instead a "+++" is
shown between messages.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12457 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-05 22:11:43 +00:00
hikerstk
97e8fddd7e Added --wii command line option, which shows the connect-wiimote dialog
at startup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12456 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-05 11:11:25 +00:00
mbjornstk
2588ba74a9 Remove deleted files from build system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12455 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-04 01:35:10 +00:00
auria
57cc613c32 Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12454 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-04 00:47:19 +00:00
stephenjust
3770c1e8cf Update VC10 project (no wiiuse yet)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12452 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-04 00:18:04 +00:00
hikerstk
1e27f6356d Updates VS 9 project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12450 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-03 23:35:48 +00:00
auria
5446021d08 Fix build in previous build
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12449 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-03 23:00:59 +00:00
auria
a81fe6fbae Delete old unused file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12448 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-03 22:31:24 +00:00
hikerstk
d12254237d Made wiimote settings configurable in the user's config file:
wii-mote max is the 'angle' (0-128) at which full steering is
reached, and a weight factor to shape the steering depending on
wiimote angle, which adds up a weighted components of a linear 
(weight=0) and quadratic curve (weight=1).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12447 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-03 21:50:24 +00:00
hikerstk
6dd7bdc4b6 Disabled easter egg mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12443 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-02 11:32:24 +00:00
stephenjust
c79b4f011d Update VC10 project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-01 05:15:18 +00:00
hikerstk
84fcb13914 Added wiiuse project file (read README for details on how
to use it).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12441 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-31 22:24:06 +00:00
funto66
5ec7bd3a2d Fix kart selection confirmation + fix ModelViewWidget::setRotateTo() that was not using the rotation speed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12438 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-29 19:43:40 +00:00
funto66
03f063ce6d Fix crash when coming for the second time to the soccer setup screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12436 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-29 19:22:54 +00:00
hikerstk
52cc6a5271 Removed more unnecessary '//' in paths.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12434 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-28 21:21:49 +00:00
funto66
e1bf43149e Again some more work in the soccer team setup GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-28 08:14:12 +00:00
funto66
271e32f30b Some more work in the soccer team setup GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-28 07:49:00 +00:00
funto66
37372f49b3 Wiimote: use HOME for pause + hack to fix accelerometers reporting for some people (needs a better fix)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12430 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-27 09:07:23 +00:00
funto66
6fa3ae7642 Some work on soccer setup screen + cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12423 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-26 12:54:31 +00:00
hikerstk
8e44df338c Added include path for wiiuse.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-24 21:44:06 +00:00
hikerstk
b8179f122b Removed double '//' in paths, and replaced printf with Log.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12413 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-24 21:12:06 +00:00
hikerstk
780a1e6dcb Removed more "//" in paths.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12411 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-24 06:13:16 +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
1254dbfa9e Bugfix: if the highscore file is invalid, a double free happened.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12408 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-22 22:14:00 +00:00
hikerstk
08c3c7487a More Log:: improvements.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12407 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-22 21:12:42 +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
21eafebd92 Removed more unnecessary '//'.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-21 10:05:08 +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
9d09e69b69 Add check to not crash when a kart has a null icon
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-20 20:28:47 +00:00
samuncle
aa3503c420 Now stk can use animated textures
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-20 12:22:25 +00:00
samuncle
12faa0167f Now stk can use animated textures
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12393 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-20 12:22:07 +00:00
funto66
3ee8b0925e Fix wiimotes cleanup crash when several wiimotes are connected
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12392 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-19 22:37:49 +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
funto66
6e20eac366 Added an instructions message when connecting wiimotes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-19 14:52:40 +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
hikerstk
c7274ac230 Made debug the lower priority, so that verbose output can
be used to display additional message for stk, but be
still able to filter out debug messages.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12386 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-18 03:50:31 +00:00
mbjornstk
c0a922fe7c Add tutorial dialog files to build system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12385 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-18 01:24:40 +00:00
hikerstk
f8774f6e52 Oops - committed an inconsistent version of this file, which doesn't compile.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-17 23:33:35 +00:00
auria
bf62dfa7de Add warning when trying to open a dialog while the previous one is still visible
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12381 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-17 22:43:18 +00:00
funto66
7a223cc9b5 Use quadratic response curve for wiimote steering
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12379 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-17 22:03:06 +00:00
hikerstk
67dc8141da Use Log:: in main.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-17 21:44:51 +00:00
funto66
7e9499d986 Added wiimote accelerometer handling - finally\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12377 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-17 20:06:06 +00:00
hikerstk
1b2ea5d572 Added Log:: calls, fixed layout somewhat.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12376 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-17 11:42:34 +00:00
hikerstk
8bfef9cb67 Fixed some incorrect Log:: messages, renamed the
component from 'translate' to 'translation' (to
be the same as the filename).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12375 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-17 10:27:33 +00:00
hikerstk
e3a7d67615 Updated VS9 project file (note tutorial_message_dialog.stkgui
is missing, so tutorial still doesn't work).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-17 10:16:39 +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
14c058a311 Work on tutorial
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-17 00:58:40 +00:00