Commit Graph

4361 Commits

Author SHA1 Message Date
mbjornstk
a00f81738f Apply props to make all text in SVN.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5681 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-12 22:47:15 +00:00
hikerstk
626f83087a Added new base class for race gui (in prepration for improved
result gui).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5680 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-11 23:03:54 +00:00
hikerstk
87256f58e8 1) Finally fixed (hopefully) all crashes related to HW buffers (replaced two
more deletes with drop).
2) Simplified skidmarks by completely removing the saved meshes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5679 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-11 22:54:35 +00:00
hikerstk
d0b96f462e Simplified skid structure by removing pointer to mesh
(which is not needed at all).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5678 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-11 13:26:26 +00:00
hikerstk
949f6380ba Fixed incorrect delete (which can cause a crash if long skidmarks
are used that will utilise hardware buffer). The crash could actually
happen in another race or when ending stk (since then hw buffers are
deleted).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5677 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-11 13:14:09 +00:00
hikerstk
db9bf099e5 Fixed incorrect assignment to unsigned variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5676 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-11 13:11:05 +00:00
auria
d1bfdd7546 Moved mutex from header to .cpp file, since defining one instance of the mutex for each fiel that includes the download manager is almost certainly not what was intended
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5675 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-09 00:41:46 +00:00
hikerstk
09fbb5f0ff Fixed more memory leaks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5674 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-08 23:03:45 +00:00
hikerstk
e8d97d035d Fixed delete being inconsistent with new.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5673 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-08 05:14:42 +00:00
hikerstk
dee6536f14 Fixed g++ compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5672 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-08 02:32:50 +00:00
hikerstk
8833ca6bcd 1) Added false starts for Ai karts.
2) Adjusted the AI reaction time to be more in synch with what humans
do.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5671 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-08 01:56:52 +00:00
hikerstk
534404d154 Added the penalty time (when starting too early) to stk_config.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5670 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-08 01:34:46 +00:00
hikerstk
e9837ca8fc Added some startup speed boost, mainly for testing. The first two
karts to press 'accelerate' after 'go' will receive a boost. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5669 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-07 23:53:27 +00:00
hikerstk
86715b59c1 Updated VS project file, fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5668 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-07 23:51:15 +00:00
hikerstk
2b3eac1746 Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5667 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-07 21:50:32 +00:00
xapantu
1f7d07a3ae Redirection system to use another addons server
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5666 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-07 19:31:54 +00:00
xapantu
ad6785a2b2 Start a class for the network; use sample functions is getting dirty.
Starting to implement the 'redirection' system (e.g. if we want to change the server

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-07 17:02:08 +00:00
auria
5efcf2fd90 Updated ocean and peach skins to also include scrollbars + fixed invalid pointer usage in addons that caused crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5664 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-06 23:56:58 +00:00
hikerstk
396db5ae2b Added intro sfx to be played before ready-set-go.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-06 23:10:47 +00:00
auria
862e5f6310 Minor update to new progress bar control : made non-focusable. Update Xcode project.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5662 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-06 22:26:17 +00:00
xapantu
93624d154c Fix a crash caused by a uninitialized mutex and remove the 'setText' call from the thread because it can caused a crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5661 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-06 16:06:43 +00:00
xapantu
ad9eb86671 Adding a progress bar to download addons.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-06 14:39:45 +00:00
hikerstk
53d19f2e43 Added new evil tux animations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5657 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-06 03:48:06 +00:00
hikerstk
468e059a94 Added last lap sfx, which is played once when the first kart
starts the last lap.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5656 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-06 00:11:42 +00:00
auria
ee6284652c Added animated hexley. I think he's a bit too big, will likely need to be scaled down a little
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5654 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-06 00:06:27 +00:00
auria
f696772764 Fixed doubly-defined constructor that didn't compile
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5653 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-06 00:02:51 +00:00
hikerstk
6d3e1ebb06 Added missing initialisation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5652 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 23:06:11 +00:00
hikerstk
2bb985313d Fixed minor memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5651 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 23:03:19 +00:00
hikerstk
b84043f819 Fixed minor memory leak (minor=data structure that is used till the end
of the game is not freed, so memory usage does not increase over time).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5650 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 23:02:09 +00:00
hikerstk
9d467210c5 Fised memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5649 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 23:00:41 +00:00
xapantu
6a51351181 Adding a progress text to show the percent already downloaded of the addons inthe addons dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5648 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 17:47:05 +00:00
xapantu
8ea7b2d2b9 Improve error handling for network connexion (use a boolean now)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 14:21:14 +00:00
xapantu
29a5a265ee Adding a progress function for download, it is a bit too verbose...
Error handling

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5646 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 14:19:00 +00:00
xapantu
764c70a108 Uncomment the network code; it was commented and no files could be downloaded, it causes the crash when we started stk (I disabled it in commit 3861, it was an error :( )
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5645 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 12:34:59 +00:00
hikerstk
b53356d30c Added Rudy's animation of pidgin.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5643 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 04:14:38 +00:00
hikerstk
c8ea8e75db Added Rudy's new elephpant animation (which is currently not properly
looped).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5639 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 03:18:37 +00:00
hikerstk
acb59dffe5 Added Rudy's animations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5637 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 03:03:10 +00:00
mbjornstk
baf23285e7 Make minimap be proportional to real track. Icon position needs fixes, tho.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 00:29:26 +00:00
mbjornstk
27c007a8fa Use float constants.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5635 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 00:24:09 +00:00
hikerstk
6c7cdb1b7b Fixed crash in end camera - hopefully the last problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 00:10:58 +00:00
hikerstk
bc50f128ce Updated track exporter to support end cameras.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5633 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 23:42:35 +00:00
hikerstk
a4d5c1056d Fixed end camera if a track has no specific end camera defined (previously
an existing end camera from a previous race would be re-used).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5632 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 23:40:37 +00:00
hikerstk
5d5ffe511a VS curl-debug build directory is now ignored.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5631 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 23:30:16 +00:00
hikerstk
8b5d7b0510 Added support for 'introduction frames' to be played once before
an animation loop. Also added support for the non-standard
marker names used by Rudy.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 22:54:22 +00:00
hikerstk
3416a54bfd Added support for a sequence of frame to be played in an animation before
the actual animation loop starts.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5629 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 22:51:45 +00:00
hikerstk
0243b12de9 Added missing variable initialisation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5628 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 22:49:13 +00:00
hikerstk
63d5f62cdb Removed unnecessary declaration.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5627 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 22:48:12 +00:00
auria
ada915c207 Fixed typo in Widget documentation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5626 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 19:54:33 +00:00
auria
a77405d53a Fixed potentially dangerous name clash between Widget members and SkinWidgetContainer members + added the proper m_ prefix as per our style guidelines along the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 19:25:20 +00:00
auria
d68e299da0 Fixed annoying visibility warnings wen building with Xcode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5624 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 18:36:59 +00:00