Commit Graph

8174 Commits

Author SHA1 Message Date
auria
fd6f2aa617 In screenshot title, use local time instead of GMT time
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11457 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-01 00:14:19 +00:00
auria
8c9c123986 Fix crash when taking screenshot while in menus
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11456 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-01 00:11:55 +00:00
auria
fe03de6851 Only save screenshot on keydown, not on keyup, and also improve date formatting
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11455 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-01 00:08:35 +00:00
auria
cc4affabd4 Add date in screenshots. Sorry, GMT time
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11454 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-01 00:03:39 +00:00
auria
90b28e86f1 Remove leftover code from my attempts at findind a working key combination
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11453 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-31 23:33:01 +00:00
auria
bf18201b30 Add feature to save screenshot. Try Right-Alt + PrintScreen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11452 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-31 23:28:23 +00:00
hikerstk
16cd5fed20 Updated code to properly use the graph (and not just
assume that node n is followed by n1) - though that code
is actually not used.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11451 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-31 06:47:05 +00:00
hikerstk
203ae69ce6 Added support in MaxSpeed for an additional engine force
to work while a speed increase is active. This simplifies
existing code (for slipstream, nitro). Additional engine
force is also added for skidding, which should make 
skidding more worthwhile (since usually adjusting the
heading when stop skidding will use up the actual bonus
speed).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11450 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-29 23:46:16 +00:00
auria
5f0f8e0346 Make gnu stop playing flute when he's abducted
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11449 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-29 19:16:59 +00:00
auria
1ae417fcb2 Fix pressing on escape multiple times resetting the fadeout in cutscene
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11448 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-28 00:29:45 +00:00
auria
8d68c2a766 Apply patch by nathanm32292394 to better support gpus/drivers that don't support non-power-of-two textures, thanks a lot
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11447 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-28 00:18:41 +00:00
auria
de6cfbdcc1 Resist to a couple crash types
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11446 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-27 23:01:51 +00:00
hikerstk
f756c9c981 Split skidding handling into three separate functions:
determineTrackDirection, handleCurve, doSkid (the latter
was already implement, but didn't do anything).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11445 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-27 06:34:25 +00:00
hikerstk
50e07355f5 Fixed skidding handling for players: players might
press skid while still turning in the opposite direction
(due to the delay with which the turning reacts). Therefore
skidding is only triggered when steering has nearly reached
full left or right (this code was by accident removed in
a previous commit).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11444 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-27 06:31:04 +00:00
wardje
f6689f382c Some coding style changes (mostly comments)
Sorry for the big recompile because of it, had some of these
after some experimenting and it was clouding my svn diff.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11443 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-26 21:24:15 +00:00
wardje
f24fa3e0a3 Remove smooth-normals warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-26 02:37:23 +00:00
auria
567da3ce38 Work to allow combining LOD and interaction
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11439 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-26 00:33:25 +00:00
hikerstk
fb5ae0a566 First version of the new AI that can skid. It's still behaving
quite stupid, but can sometimes compete with the old AI (unless
the new AI is behaving stupid ... as I've said). This is still
disabled by default (and if you want to test it, make sure
to adjust stk_config.xml as well).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11438 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-25 23:58:30 +00:00
hikerstk
9b15b22ef5 Fixed minimap, which was also shown transparent after r11435.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11437 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-25 22:09:12 +00:00
wardje
894d17f41d Re-exporting of tracks by ctdabomb - #630
Was needed because of some outdated attributes and the like.
This is the "630.7z" patch from the bug report, simple copying
over of the files. Jungle was left out because it has changed
in the repo since the patch got sent in.

Tracks:

 * Battle Island
 * Shiny Suburbs
 * Bovine Barnyard
 * Fort Magma
 * Hacienda
 * Old Mine
 * Minigolf Mischief
 * Oliver's Math Class
 * Scotland
 * Northern Resort
 * Zen Garden


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11436 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-25 01:27:29 +00:00
hikerstk
6c72b1c401 Make the debug driveline mesh transparent so that the karts can be
better seen (esp. in camera debug mode when the drivelines are
higher than the track).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11435 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-24 07:18:39 +00:00
hikerstk
76f65ec077 Removed tabs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11434 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-23 23:58:36 +00:00
hikerstk
90402c529d If the window position is saved, make sure it's not negative
(since this indicates an invalid position, and it would appear
like saving the position doesn't work).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-23 23:42:22 +00:00
hikerstk
03c0ceedbc Bugfix (missing :), and removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-23 23:09:42 +00:00
auria
aa9588bce7 Somewhat hackish fix for #680
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11431 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-23 22:06:10 +00:00
wardje
c7f2e957a4 Fix forgotten variable initialization.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11430 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-23 20:33:02 +00:00
wardje
24587a9cff Actually implement #305 - wheel random startangle
Computerfreak97 had a go at this about a year ago, but the
implementation was flawed.

 * Randomization was still being reset later on (`reset()`)
 * Only physics were affected, not graphics

Implement it by randomizing at the start as well as adjusting
`KartModel::update()` so that it not resets the random values.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11429 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-23 19:52:24 +00:00
auria
4b9d02cc25 Allow combining lightmaps and normal maps
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11428 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-22 21:30:47 +00:00
auria
d585e548fe Add camera angle change to intro cutscene to make it look more dynamic
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11427 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-22 20:30:10 +00:00
auria
dfbcea08ad Minor updates to intro cutscene to suppress a couple missing texture warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11425 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-22 20:22:39 +00:00
auria
341297d951 Silence a few bogus warnings printed on the terminal
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-22 20:17:14 +00:00
auria
65d897915a Manually implement muting sounds when too far since OpenAL doesn't seem to have that feature, and use it to finally make the spaceship sound in the intro work
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-22 20:05:38 +00:00
auria
9f909b4c26 undo my attempts at configuring the attenuation model per-source, after closer inspection OpenAL doesn't support what I was trying to do :(
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-22 19:20:41 +00:00
auria
60aff6dd1b Add other sound
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11420 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-22 19:19:59 +00:00
auria
f42e65b792 Add forgotten sound
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11418 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-21 19:12:21 +00:00
auria
bca64b728c Update to intro cutscene
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11416 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-21 19:02:00 +00:00
auria
8760f28450 Change particle emitters into track objects so that they can be animated. I think I also fixed a few relatively minor leaks along the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11415 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-21 02:05:51 +00:00
stephenjust
f766785302 Add rating to add-on info dialog.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-20 22:48:37 +00:00
stephenjust
1fd75915a9 Add x64 configs which I've been using to the VC10 project. Need to compile 64-bit dependencies to use. Shouldn't affect normal 32-bit compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11411 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-20 22:17:45 +00:00
stephenjust
27a2e6902d Add support for hiding add-ons which are marked as being present in the current version of the game.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11409 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-20 03:40:16 +00:00
auria
aa2f831ca0 Remove ugly shader hacks that are no more needed (and now even harmful) with latest irrlicht svn. You will need to update irrlicht
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11408 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-20 02:01:10 +00:00
auria
178ec7eb18 Apply patch by nathanm32292394
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11407 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-20 01:14:16 +00:00
hikerstk
c380c80358 Fixed typo (only when using new algorithm), and added
#undef for 'NEW_ALGORITHM'.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11406 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-19 07:02:45 +00:00
hikerstk
3ec6682fb4 Added alternative implementation of findNoNCrashingPoint
which should be faster and 'more correct' (the old implemenation
only tests discrete points for being on/off track, which means
AI can cut corner and not realise that it will be off track).
The new implementation uses lines and intersections to detect
this condition correctly. Since the new implementation is
as a result not as aggressive in cutting corner, it's not
as fast as the old AI, and is for now disabled (see end of
SiddingAI::handleSteering if you want to switch).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-19 07:00:57 +00:00
hikerstk
e58377b1ca Only dislay name if the debug camera is not used (otherwise
the name will make the karts impossible to see).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11404 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-19 06:55:32 +00:00
wardje
790f1b2bde Fix #671 - DemoWorld idle timer reset.
Fix the issue at the source. Instead of only reacting on GUI events,
catch GUI, mousy, key and joystick events and reset the timer on any
of them. Only then we're sure that mouse/keyboard/joystick movement
definitely resets the timer.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-19 04:40:23 +00:00
wardje
6708d2c31e Cleanup moving window & giving class hints
* Add a function to irr_driver to move a window to (x, y)
 * Use this function in initDevice and move the call to later on it.
 * Also move the Linux WM classhints down a bit


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-18 02:45:34 +00:00
hikerstk
ff6abc1c59 Fixed incorrect lap counting (when using the shortcut), caused
by left-over lap-lines.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11400 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-18 01:10:53 +00:00
auria
e774550ee2 Fix zippers in jungle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-18 00:34:20 +00:00
wardje
f0f537700c Fix #676 - memory leak of IReadFile, by nathanm32292394
Reference to a, through IrrLicht, opened file wasn't getting closed.
Use IReadFile::drop() (derived from IReferenceCounted::drop()) to fix
this severe memory leak.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-17 02:17:48 +00:00