Commit Graph

8812 Commits

Author SHA1 Message Date
auria
af17db18c4 Integrate irrlicht into the STK build system
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12546 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-13 01:31:09 +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
auria
e5e335f505 move konqi back to standard group
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12529 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-28 00:24:26 +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
cbefe45764 Add new konqi
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12525 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-23 22:16:33 +00:00
auria
32c998e83d Delete old Konqi, preparing room for new Konqi
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12524 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-23 22:15:12 +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
auria
d115a581d8 Improved textures by Fraang
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12522 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-23 21:37:07 +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
auria
cf597d7d6b Add forgotten files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12519 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-20 04:13:31 +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
903d1da403 Prevent shortcut in zen garden with additional checkline
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12497 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-17 00:40:42 +00:00
auria
f8f6262d53 mark tutorial as internal track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12494 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-17 00:30:24 +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
samuncle
73ddfe8f34 A new section with natural rocks and a better displacement
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-11 23:22:34 +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
samuncle
9d099eab70 Add nice halo arround lamps.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12474 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-11 21:43:14 +00:00
funto66
293e928998 Cleanup soccer field unused data in christmas branch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12472 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-10 18:56:41 +00:00
samuncle
ef91acd41a Updated a small area of the old mine. To be continued
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12470 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-10 18:48:57 +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