Commit Graph

5374 Commits

Author SHA1 Message Date
auria
470832cd19 Minor documentation of particle code (since I may be looking at extending this soonish)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7251 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 20:34:21 +00:00
auria
41777828b8 Corrected invalid offset of 1.0 in V coord of UV texturing, which caused clamping to work improperly
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7250 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 20:30:00 +00:00
auria
856d184a35 Fixed warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 19:01:09 +00:00
hikerstk
110af2b7ae Removed/replaced getKartFile/Dir functions in file_manager, which
should solve issues with addon karts not being found or textures
not correctly loaded.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 05:47:49 +00:00
hikerstk
c1bc3c58fe Bugfix: using variables of an object after it was deleted.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 05:44:23 +00:00
hikerstk
54b7d57d63 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7246 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 04:35:35 +00:00
mbjornstk
7fe57b9802 Make item fog be based in track fog. Remove old lighting flag comment.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7245 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 02:42:11 +00:00
mbjornstk
e43b50e28b Fix logos and valves in nitro tanks. 'clampV="Y"' caused mis-mapping (why?).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7244 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 01:03:53 +00:00
hikerstk
221f8899f3 Fixed missing icon display for addon karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7243 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 22:25:54 +00:00
hikerstk
1858a2e9f1 Removed the need of zip files including a 'file list' file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7242 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:47:54 +00:00
auria
1acb58ee59 Removed old code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7241 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:22:04 +00:00
auria
8ddb9aee41 Removed more useless FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:18:52 +00:00
auria
eea6279db2 Fix for 3 strikes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7239 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:11:17 +00:00
auria
b11a8602b9 Still reduce the count of FIXMEs a little
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7238 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:07:09 +00:00
auria
847d67e3a5 Correct/remove a few more FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7237 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:02:19 +00:00
auria
fa8b2a8ed6 Improve documentation of race manager; this is one huge class so having good doxygen docs is important. Also clarify difference between setNumPlayers and setNumLocalPlayers; replace many calls to setNumPlayers with calls to setNumLocalPlayers, since setNumPlayers is called by the network manager already and as such calls to setNumPlayers had no effect (the same method was called again later) and were just confusing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7236 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 20:17:44 +00:00
auria
9c3f46521e Move some code from GUI screens to RaceManager, where it makes more sense to find the said code, and correcting 2 FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7235 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 19:25:56 +00:00
auria
d22ec956b6 Clean up deactivating spinners, removing a few FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7234 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 19:13:47 +00:00
auria
fdbafeb5ff More FIXME cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 19:06:45 +00:00
auria
27d75d2414 Correct code duplication (and FIXMEs) in challenges manager
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:55:01 +00:00
auria
7e04cb4f75 Implement a few long0misisng features in the layout manager, correcting FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7231 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:43:26 +00:00
xapantu
2a167d50df Updated hacienda texture in the trunk
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7230 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:42:34 +00:00
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