hikerstk
c42804dae5
Renamed parameter va_list, since va_list is reserved (which caused
...
compilation errors on VS).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 23:18:01 +00:00
curaga
57c3cbae3e
Space cleanup pass on the headers
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12817 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 19:47:39 +00:00
curaga
c5bb98d1e4
Remove couple unused variables, mark some per-file vars static
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12816 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 19:28:48 +00:00
curaga
75e1c8bc69
Add an offline syntax checker for shaders
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12815 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 19:21:12 +00:00
curaga
be1c3de2fb
Define va_copy on windows. Untested, no windows here.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12814 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 15:18:50 +00:00
curaga
8c44958e5a
Re-try the logging fix
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 15:05:29 +00:00
curaga
5256d568e3
Fix a possible crash
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 13:27:02 +00:00
curaga
49cd57fbd9
Inline functions may complicate passing va_lists around, as they can be stack offsets.
...
See http://julipedia.meroh.net/2011/09/using-vacopy-to-safely-pass-ap.html
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12811 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 12:52:14 +00:00
curaga
b8cc3217d2
Fix an inefficiency in listing. Using std::string here allocates memory needlessly.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 12:37:59 +00:00
curaga
7986aa66de
Fix logging crash, using a va_list twice.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12809 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 12:35:41 +00:00
curaga
7d4c2bc33e
Remove executable bit from some images
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12808 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 11:54:58 +00:00
hikerstk
f53a9ed76c
Try to set mime-type to text/x-shellscript so that SVN
...
will recognise this file as non-binary.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 11:49:23 +00:00
curaga
007bbacf5f
Fix the --list options, broken by the file logging (we _want_ them to console)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12806 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 11:24:39 +00:00
curaga
320c525218
Ran the optimize script. 14mb off the data size, losslessly.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 11:21:39 +00:00
curaga
adf370519f
Add the script to losslessly optimize data
...
This should be run before making a release, and after adding new data.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12804 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 10:21:59 +00:00
curaga
1c48d76343
Some const & visibility fixes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 10:19:55 +00:00
auria
e99b3dcc94
Run update script on all tracks and re-export them to make sure all tracks have been upgraded to the 'new' format. In preparation for fully removing some old options from the blender panel and making it manageable again
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12802 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 02:09:51 +00:00
hikerstk
bc7d8df200
Fixed split-screen camera bug: when one kart's camera went into
...
'falling' mode, all cameras would go into falling mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12800 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 23:45:28 +00:00
hikerstk
717e0e2992
Fixed installation (the desktop entry still used --log=file
...
instead of --no-console), fixed help text for --no-console as well.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12799 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 23:44:28 +00:00
auria
ee9229f570
Apply patch by KroArtem to prevent being stuck with a bomb when playing with 2 players
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12798 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 23:29:37 +00:00
curaga
b56bf4dc53
Remove trailing space, git doesn't like it
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12797 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 22:04:35 +00:00
curaga
9f8996727d
Test commit, changing a comment
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12796 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 21:51:08 +00:00
auria
15509ca3db
Remove duplicate section in credits
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12795 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 00:40:13 +00:00
auria
ab2c534b36
Apply patch by KroArtem to correctly focus a widget inside the dialog, thanks!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12794 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 00:16:35 +00:00
samuncle
b10897fa6b
Add checklines and lap counting
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12792 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-28 22:03:26 +00:00
hikerstk
6e00d4e141
Fixed compilation errors and warnings on linux.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12791 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-28 06:21:41 +00:00
auria
d0c2339915
Apply patch by KroArtem to prevent starting the tutorial from inside the tutorial, thanks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12790 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-27 23:23:40 +00:00
hikerstk
bb1b18f602
Fix #974 : space in screenshot file names. Thanks to curaga for the patch.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12789 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-26 13:32:26 +00:00
unitraxx
ad3bf48b0d
Small change to the checking of a saved GP. (First commit, don't shoot me if I did anything wrong.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12788 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-26 00:31:22 +00:00
auria
76532a81b5
disable fog on track selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12787 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-25 23:41:54 +00:00
auria
61a8fb802e
New lighthouse screenshot
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12786 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-25 23:29:51 +00:00
auria
b4b11fa3fc
Apply patch by belphegorr to fix nitro target
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12785 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-25 23:14:57 +00:00
mbjornstk
997ade4542
Update build system for GP saving.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12784 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-25 22:56:08 +00:00
hikerstk
c144d0a932
Fix #963 (replace printf), thanks to m0leman.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-24 23:51:08 +00:00
hikerstk
b3e7a7ebbf
Applied Unitraxx's patch to save GP. At this stage no GUI support
...
was added.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12782 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-24 23:38:26 +00:00
hikerstk
7ac899ade7
Refactored wiimote handling, splitting into two separate files.
...
Also added non-threading support (while it is too slow/too high
latency it's useful for debugging).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-22 11:28:57 +00:00
hikerstk
e45f728008
Applied mpujari80's patch to fix vs12 compilation - thanks!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12780 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-22 11:09:43 +00:00
hikerstk
7460418153
Code cleanup: renamed kinetic to 'is_dynamic' in order to follow the categorization of
...
different rigid bodies in bullet. Some layout fixes, removed unused or unnecessary
functions and constructors.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12779 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-19 22:02:34 +00:00
auria
ff016a8c92
Fix issues with some drivers that don't like 1x1 textures by making the textures bigger
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12777 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-18 00:38:33 +00:00
funto66
6da6a225a5
Oops - forgot to commit the Irrlicht VS2012 project...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12776 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-17 20:14:17 +00:00
hikerstk
3bbb6b30f3
Fixed performance bug: static objects were created as dynamic rigidbodies, causing
...
constant collisions.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12775 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-16 23:40:39 +00:00
hikerstk
f3e9520339
Renamed 'back to track selectin' to 'back to challenge selection',
...
which (imho) describes a bit better where this goes to. Removed
"Setup New race" when selecting a challenge from the overworld, since
it is confusing to come from the overworld and end up on the game
mode selection screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12774 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-16 06:53:01 +00:00
hikerstk
6d097b6ad5
Added --wiimote-debug command line option to print raw values read
...
from a wiimote.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12773 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-16 06:50:41 +00:00
hikerstk
879e0248aa
Moved handling of fire from controller into kart, so now all
...
events in the KartControl structure are handled by kart.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-16 01:08:55 +00:00
auria
f91448c4b3
Made the new lighthouse track the default, thanks samuncle\!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12770 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-16 00:54:42 +00:00
auria
b7680d7177
Fix small fog bug
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12769 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-16 00:49:51 +00:00
samuncle
5f8979112a
Some bugs are corrected now
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-16 00:35:31 +00:00
hikerstk
2a0e456dbf
Fixed wiimote handling on OSX.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-15 12:22:16 +00:00
samuncle
d8cdc72c10
I forgot to 'ghost' some ojects
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-15 00:16:06 +00:00
samuncle
53e3236fc3
Add more objects now we have 65 000 poly. Like tux tollway
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12763 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-15 00:09:46 +00:00