Commit Graph

6165 Commits

Author SHA1 Message Date
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
auria
6455be9620 Work on tutorial
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-17 00:49:39 +00:00
funto66
823a0d266f Handling wiimote buttons
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-16 22:37:21 +00:00
hikerstk
e439cf6c48 Replaced more printfs with Log::.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-16 02:42:25 +00:00
hikerstk
12b10a80a6 Replaced more printfs with Log::.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12364 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-16 01:23:22 +00:00
funto66
e0725de73b Refactored the wiimote manager - still WIP
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-15 22:29:29 +00:00
hikerstk
9c0e002f0a Fixed 'No newline at end of file' warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-15 06:28:41 +00:00
auria
1e02f1f4cd Update xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-15 00:40:52 +00:00
hikerstk
5ddbd2972b Removed the leading '/' from all references to "data/...", so that
m_root_dir can be set to "" without causing the references to
m_root_dir+"/data" then to reference "/data" (instead of just "data").


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12360 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-15 00:16:35 +00:00
mbjornstk
c43dc15775 Update build system after log and tutorial changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12359 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-14 22:42:40 +00:00
hikerstk
793b5d5d4a Replaced printfs with calls to Log::.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12358 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-14 22:31:03 +00:00
hikerstk
76d2191ea9 Updated project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12357 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-14 01:23:32 +00:00
auria
16df188b03 Delete old unsued files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12356 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-14 01:02:38 +00:00
hikerstk
c70b63ff40 Removed test code, and made apple use xterm colors.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12352 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-14 00:41:06 +00:00
hikerstk
5d8c0d7be1 Added log infrastructure. Only a few files of STK are actually using it,
but all (f)printfs should be replaced. Note that I had to rename
tinygettext/log.?pp to avoid linking problems on windows.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-14 00:38:07 +00:00
auria
996c563f9c First version of tutorial. Far from finished but you can take a quick look if you wish; the text is currently at the bottom
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12350 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-14 00:35:44 +00:00
hikerstk
b2a9907740 Fixed #856: when changing resolution overworld did still
assume that the textures were cached.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12348 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-10 01:02:19 +00:00
funto66
45790c0db4 WIP soccer mode GUI setup screen, don't draw player icons when in soccer mode, painted soccer cages in blue and red
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12346 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-09 21:32:43 +00:00
hikerstk
57a29ff15c Added popup window to show a news message that has
'important="true"' specified. The message is only
shown once.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12345 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-09 05:46:26 +00:00
hikerstk
7472512175 Fixed compiler warnings (_C can be defined).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-07 21:29:50 +00:00
hikerstk
845465d60a Fixed #858: driving in overworld would reset number of
AI karts to 0.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-07 00:44:06 +00:00
hikerstk
7f98f7194d Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12339 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-06 12:12:47 +00:00
auria
47b5a604af Improve ScalableFont to fix offsets introduced by recent font changes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12338 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-06 00:36:20 +00:00
auria
63aea86164 Blindly attempt to fix a bug I can't reproduce
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12337 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-06 00:01:16 +00:00
auria
981143bf87 Experimental support for dynamic lights. Doesn't work too well due to our use of a global sun, though could work in a dark track with little sun
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12332 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-05 18:49:31 +00:00
funto66
4c160eb065 Fixed random soccer arena selection + WIP GUI for soccer setup screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12327 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-02 18:11:11 +00:00
funto66
9824370beb Minor cleanup: remove useless ArenasScreen::setUsedForSoccer()
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12326 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-02 12:16:44 +00:00
hikerstk
20bb783219 Fixed rescue (which I broke in r12281 - sorry).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-02 11:37:29 +00:00
auria
164a910a05 Clean up GUI image file from /textures
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12324 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-01 20:22:43 +00:00
auria
27299e6cc6 Better detection of deprecated textures
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-01 19:46:53 +00:00
auria
baeaac3189 Display warning when a track uses a deprecated texture
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-01 19:01:39 +00:00
funto66
fa7c3cffb3 Soccer mode: WIP GUI state screen for choosing the teams and the number of goals to score in order to win
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-01 13:58:16 +00:00
funto66
be5f3e47e9 Fixed crash when playing soccer with a minimap (thanks WillemS for the bug report) + fixed tracks screen displaying soccer field when it shouldn't
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-29 17:44:56 +00:00
funto66
cd28f9128a Now teleporting the soccer ball at its start position when scoring a point
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12314 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-28 14:11:33 +00:00
funto66
14f7f080c0 CheckGoal now is just a CheckStructure and not a CheckLine anymore. This fixes bugs due to arrays sized with the number of karts instead of the number of soccer balls
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12313 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-27 22:09:08 +00:00
funto66
bd70940af9 git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12312 178a84e3-b1eb-0310-8ba1-8eac791a3b58 2012-12-27 17:10:02 +00:00
funto66
d6327b1ef4 Forgot to commit check_goal.cpp
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12310 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-27 16:12:10 +00:00
funto66
1da4be10e3 Added code to export goal lines
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12309 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-27 16:09:11 +00:00
hikerstk
9c8d78a57a Added Christmas hats for 4 karts. There is no date dependency
(i.e. hats anytime) - but it shows this features.
Happy Christmas!!!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12304 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-24 00:10:41 +00:00
hikerstk
c6b5fe2147 Only cosmetic changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12303 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-24 00:08:26 +00:00
funto66
8da37e6eb2 Added some missing tests for isSoccer()
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12301 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-22 23:06:42 +00:00
funto66
e16c03edf2 Added a special type of tracks for soccer arenas
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12300 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-22 22:33:15 +00:00
funto66
5fedffcb75 Fix soccer mode crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12297 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-21 21:26:53 +00:00
funto66
a05e26bf05 Soccer mode - WIP
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-21 21:04:10 +00:00
funto66
3c8634d3af Soccer mode - WIP
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-20 12:49:38 +00:00
funto66
d814a8c676 Fixed compilation with USE_WIIUSE + tests with the nunchuk
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12293 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-20 10:50:58 +00:00
hikerstk
9a0af72683 Bugfix: when pressing reload, news.xml was reloaded, but not assets.xml
(which is addons.xml). Improved debug output to print full URL of
files that are downloaded.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12287 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-17 23:24:33 +00:00
mbjornstk
93b3826179 Add egg hunt source files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-17 21:22:28 +00:00
hikerstk
d9c66a8bf6 Fixed compilation errors on linux and several warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12285 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-17 01:27:44 +00:00
hikerstk
29be45b198 Added preliminary easter-egg mode. It still needs a icon (battle mode
used atm), and a better easter egg model (atm bunny from snow mountain,
... whith turns out has lost the black nose). One track has easter eggs
added (math class).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12281 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-17 00:33:47 +00:00
funto66
6edcfb1a00 Added Halloween mode, with the worst temporary icon ever - happens in October
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-12 01:03:44 +00:00
funto66
047d075a45 git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/christmas@12270 178a84e3-b1eb-0310-8ba1-8eac791a3b58 2012-12-12 00:07:23 +00:00
hikerstk
872cb2d7f6 Removed unnecessary warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-10 23:31:34 +00:00
hikerstk
dab54738c1 Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12229 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-10 06:11:18 +00:00
hikerstk
e62cae9ad9 Install shortcuts for all users, not only active user (since the installer is
running as admin, installing STK as a non-admin user would otherwise not create
the shortcut for the non-admin users, but only for the admin user).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12225 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-10 03:06:29 +00:00
auria
1a269ac4ac Add a couple leak-check macros
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12224 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-10 01:31:41 +00:00
auria
78d964b79d try to fix sound leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12222 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-09 23:30:26 +00:00
auria
2ce395ba0d Don't hardcode player ID
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-09 22:14:27 +00:00
hikerstk
02b730b3e5 Fixed engine sfx in overworld.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12217 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-09 12:36:37 +00:00
auria
cf4dd96871 Fix memory overflow
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12215 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-08 22:35:27 +00:00
auria
4da81936a7 FIx paths
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12201 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-07 01:28:10 +00:00
auria
865a73c076 FIx paths
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12200 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-07 00:57:10 +00:00
auria
4838a1eb2f Clear AI-override when appropriate, fixing #829
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12198 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-07 00:24:20 +00:00
auria
92fea12684 Make highlighting of devices in use more selective
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12194 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-06 23:56:56 +00:00
hikerstk
05cec70d86 Fixed 'map fire to select' option by also work for gamepads, only
accept fire (and not any event like steering), and remove setting
the flag each frame.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12191 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-06 23:43:09 +00:00
hikerstk
fe20c7d6a1 Accept 'fire' key in addition to 'select' to select a kart.
Auria, please review for potential inclusing in 0.8.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12187 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-06 10:58:04 +00:00
hikerstk
d77471b446 Refactored information exchange between modes and race GUIs:
instead of each mode maintaining an array of data for each kart
which is used by the race GUI, use one array in race_gui_base,
which is then filled by the game mode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12186 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-05 04:04:01 +00:00
hikerstk
fe221d21b3 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-04 02:38:26 +00:00
hikerstk
6214c696cc Removed unused function.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12141 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-02 22:01:08 +00:00
hikerstk
5c57eaf325 Missing in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12140 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-02 22:00:28 +00:00
hikerstk
e752634309 Made direction in which kart steers after hitting a bubble gum random.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12139 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-02 21:59:27 +00:00
hikerstk
1b90422deb Fixed shaking of karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12137 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-02 21:16:20 +00:00
hikerstk
8a7155ba5e Fixed bowing ball strike sfx, which was missing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12134 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-02 10:29:18 +00:00
hikerstk
1f0d603dbd Improved plunger handling when in-race menu is shown: now
the plunger is also shown while the menu is on screen.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12120 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-01 12:14:46 +00:00
auria
bbf4d7eab5 Don't announce fort magma as unlocked when its not
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12117 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-01 03:10:48 +00:00
hikerstk
8d782bc7ee Bugfix: plunger would still move while the race is paused, resulting in players
being able to wait till the plunger is off screen.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12116 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-01 03:10:42 +00:00
hikerstk
60529bca5c Fixed #812 - two karts given the same position, which happens in
0-lap races. Fixed by letting overall_distance be negative at start
(which should have no other impact - time estimation function is
improved to handle this).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12104 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-29 11:59:33 +00:00
hikerstk
8c1f9188e6 1) Minor bugfix: if a kart ahead finishes the race, the AI would not
reset the kart ahead pointer to be NULL but instead keep the old
   data (which could result in AI not using weapons against karts
   behind), and similarly for the kart behind if it gets eliminated.
2) Minor code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12103 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-29 05:40:15 +00:00
auria
34908764e7 Reword swatter string to work around gettext issue
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12099 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-29 00:05:25 +00:00
hikerstk
70afa12d49 Fixed incorrect animation in case of a GP challenge (#815).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12097 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-27 22:01:00 +00:00
hikerstk
6ebf8b6565 Added Fort Magma to last Grand Prix once the game
is completely unlocked (before only 4 tracks will
be in the last GP).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12095 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-27 12:09:16 +00:00
auria
9c59842db9 Show what was unlocked
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12092 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-27 00:41:38 +00:00
auria
839ee99c5e Add back the ability to show unlocked tracks and GPs (not yet used)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12091 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-26 23:51:10 +00:00
hikerstk
db0303146d Added additional debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12089 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-26 10:14:53 +00:00
hikerstk
0c4565041f Locked Fort Magma till the final challenge is won.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12088 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-26 09:59:41 +00:00
auria
77b84f3042 Fix bug related to physical LOD nodes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12087 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-26 01:32:04 +00:00
hikerstk
bd3d8cf2a3 Fixed minor leaks happening when an old highscore file is read (#683).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12081 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-25 23:51:42 +00:00
hikerstk
cd8948902a Bugfix: if the first end camera was a static_follow_kart,
the position was not set in the first frame, resulting in
an odd 'zoom' effect.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12080 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-25 22:59:34 +00:00
hikerstk
604f61d1b4 Forced LOD=0 when a kart finishes a race, this way end animations
are shown even when the end camera is far away from the kart.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12078 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-25 22:24:54 +00:00
auria
425a648af1 tweak end cameras and add them back to island
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12071 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-25 20:07:13 +00:00
hikerstk
36a15015d8 Fixed #806: clicking on challenges in overworld did not
teleport karts anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12068 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-25 11:50:24 +00:00
hikerstk
dab600b5ea Fixed #787 - all locked karts are shown as selected when
one is selected.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12067 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-25 10:09:37 +00:00