Commit Graph

5252 Commits

Author SHA1 Message Date
auria
04e08b78ad Remove a few unuseful FIXMEs, replace with appropriate documentation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7229 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:41:19 +00:00
auria
6ad54434e0 Correct a few FIXMEs + minor style improvements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7227 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:23:52 +00:00
xapantu
d5b619be98 Use a 512*512 texture in hacienda, 680*540 caused some problems with my graphic cards. Just revert if it is ugly (but I think it isn't).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7225 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 17:03:17 +00:00
hikerstk
76b595e303 Fixed incorrect kart display after installing a new kart
(still pretty much work in progress, so not recommended to use right now).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7224 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 12:17:43 +00:00
hikerstk
503723967f Fixed more hard coded paths. Icon path in KartProperties now
stores the absolute path (and getKartIconFile is now called
getAbsoluteKartIconFile).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 10:45:31 +00:00
mbjornstk
76ee2036d8 Update comment about items' fog, remove some lighting flags that just hide
wrong export options (resave with normals to fix) and make the items look 2d.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7222 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 04:39:18 +00:00
hikerstk
7e34b5d970 Further improvements to addons loading. Addons are now downloaded and installed,
but the kart icon display is still messed up (restarting stk solves that)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:34:16 +00:00
hikerstk
4a6b709685 Minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:31:11 +00:00
hikerstk
d11fed1471 Fixed incorrect/hard coded paths.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7219 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:28:18 +00:00
hikerstk
d82fe3350a Removed hard coded paths for karts and some duplicated code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7218 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:25:36 +00:00
mbjornstk
5bd95a57d5 Resave which seems to fix the tank reflection but not the valve/logo mapping.
Valve and side logos should be normal UV mapping, but valve looks like it got
wrong UV coords and logos look reflected. Giftbox is 100% OK and also mixes
sphere with simple mapping, so no idea what is going on with the nitro tanks.
BTW saving from the blend requires first applying the scale (Ctrl-a, Scale to
ObData) then rotating in edit mode with right cursor position, see r7169.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7217 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:24:27 +00:00
hikerstk
e98f95697c Fixed progress callback for curl (incorrect parameter declaration).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7216 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:21:14 +00:00
mbjornstk
73a771632b Enable fog for boxes, bananas, etc.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7215 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 02:47:09 +00:00
auria
f196a544a2 Deactivate writing unicode XML until irrlicht devs fix thing son their side
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-02 19:02:31 +00:00
auria
d78a1c0700 Replace assertion failure and possible crash by printing a warning and keeping going
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7213 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-02 00:01:16 +00:00
auria
93503a8451 Better handle filler ribbon items
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7212 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-01 23:49:46 +00:00
auria
39ebfcb9ea Make code more robust to print an error message instead of crashing in weird case reproduced by Arthur_D only
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-01 22:11:15 +00:00
auria
74c0c19688 Slightly improved confusing error message
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7210 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-01 21:29:55 +00:00
auria
4710bd172b Enable warp-around detection in jungle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7208 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 21:17:08 +00:00
mbjornstk
810dbc3edc Add --animations=[01] and --gfx=[01] to control effects from command line.
Plus clean a bunch of tabs and trailing whitespace.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7207 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 05:04:59 +00:00
auria
d6b3e494de Prevent large shortcut on star track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7205 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 03:04:10 +00:00
auria
6d5d59a527 Auto-rescue if you fall inside fort magma castle + fixed a few minor graphical glitches inside castle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7203 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 02:54:09 +00:00
auria
ff33f8782f Add minor error checking
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7202 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 02:41:11 +00:00
auria
7a6fbbde51 Nitro target line remains on restart. Important everyone : if you find a sequence of events that causes the nitro line to remain when it shouldn't, tell me, it's hard to think of every possible case
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7201 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 02:24:44 +00:00
auria
f84e47aa02 Undo modification to gl translation that should not have been committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7200 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 01:48:21 +00:00
auria
e7734931f2 Added support for %0 type syntax in StringUtils::insertValue, since tools that verify translations integrity don't all like the older %0 syntax I used
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7199 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 01:29:04 +00:00
hikerstk
6129cfaa39 Made NetworkHttp::downloadFileSynchron to be able to be used from a thread;
fixed addons_loading to display the icon correctly.
Note: addons installing will still crash.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7198 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 23:05:54 +00:00
auria
9c94c3691f Converted tollway screenshot to JPEG, making it much smaller
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7197 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 19:06:43 +00:00
auria
35c5cd4855 More hacienda textures that were converted to JPG from PNG, forgot to commit that directory earlier, oops
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7196 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 18:59:25 +00:00
auria
031b96a55f Update Xcode project for latest addons changes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7195 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 18:58:34 +00:00
auria
511a4b4a4e Update Hacienda screenshot to no more include that big pink bubblegum in the middle of the screenshot + convert to jpeg to take much less space
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7194 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 18:50:12 +00:00
auria
1391ff54df Dramatically reduce size of Hacienda by converting several PNGs to JPEG + reduce jump at entrance of house
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7191 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 18:43:48 +00:00
hikerstk
cdc1591a11 Some code cleanups, mostly for addons_loading.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7190 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 05:40:33 +00:00
hikerstk
809558f1cc More code simplification (removed m_type).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7189 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 05:23:04 +00:00
hikerstk
9097ece07c More cleanup and code simplification for addons_screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7188 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 05:17:10 +00:00
mbjornstk
9dbd09f812 Remove svn:executable prop.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7187 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 03:02:07 +00:00
hikerstk
f859156e76 Completely remove used of m_index (i.e. the addons_manager
does not have a concept of a current addon anymore).
Note that downloading addons still crashes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7186 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-29 23:19:26 +00:00
hikerstk
141ae9f5da Moved AddonProp into a separate class Addon with proper
getter; started to remove usage of m_index in addon_manager.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7185 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-29 21:52:33 +00:00
auria
ad44673071 Play a short sound when enabling sound effects
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7184 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-29 19:45:32 +00:00
auria
91a6a0604e replaced another sound with another one with better license
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7181 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-29 17:06:47 +00:00
hikerstk
d78310c9e3 Made ListWidget::addItem to take const &; started to remove use of
m_index in addon_manager.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-29 05:43:10 +00:00
mbjornstk
976f2f463a Fix misplaced #endif and missing #ifdef ADDONS_MANAGER / #endif.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7179 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 23:50:19 +00:00
mbjornstk
b2bb12d250 Set props as per SVN-CONFIG (tsk).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7178 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 23:00:30 +00:00
hikerstk
ce986d623d Many style changes and code improvements to addons management.
The addons icon is now greyed out in case of an error (and till
the list of addons is downloaded, though usually that is done by
the time the main gui is shown). Moved synchronisations/threading
from addons_manager to network_http. Added 'Synchron' template
to hide usage of mutex to provide synchronised accesses to a variable.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7177 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 22:48:44 +00:00
mbjornstk
1c57310b41 Add io/xml_writer.[ch]pp to build system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7176 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 04:38:17 +00:00
auria
41e1d57f0b Fix player names so that they may contain accentuated characters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 01:50:24 +00:00
auria
5bd9afdd7f Big refactor : move a lot of strings and config files to use wide strings. For instance to be able to cope with foreign characters in player names
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7174 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 01:29:36 +00:00
auria
fb8c9edf5e Add gamepad button info to --gamepad-debug, from our current bug reports this looks like info we need
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7173 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 00:34:26 +00:00
mbjornstk
aac61a1b30 Add shake to the main bone of parachute... missing somehow.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7171 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-26 23:52:37 +00:00
auria
79dee591f2 Remove backface culling on samuncle's pinetrees, they look much healthier this way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7167 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-26 18:01:47 +00:00