Commit Graph

3979 Commits

Author SHA1 Message Date
hikerstk
7557d4be8b Updated new race result gui (which by default is not shown atm).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5699 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-20 23:01:47 +00:00
hikerstk
8e48d227b8 Added support for mono-spaced digits (which makes tables with
numbers look better): all digits and the space character have
the same width.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5698 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-20 22:39:54 +00:00
hikerstk
03c6500265 Replaced tabs with spaces.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-19 03:36:59 +00:00
hikerstk
9549138017 Missing file from previous 'fix race restarting' patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5696 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-19 00:14:06 +00:00
hikerstk
969314e1f0 Fixed race restarting.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5695 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-19 00:11:03 +00:00
auria
b1c970684c Fixed warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-18 15:49:52 +00:00
auria
2a4570f6c6 Fixed warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-18 15:47:47 +00:00
hikerstk
c4797d6dd7 Added FIXME to indicate why restarting a race is currently broken.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-18 13:55:55 +00:00
hikerstk
ddf7175ee1 Fixed bug 3030981: no more in-game dialog when pressing escape.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5691 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-18 10:58:35 +00:00
auria
992115a9d9 Started performing API changes to support multiple GP losers eventually
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-17 18:17:15 +00:00
auria
b636214371 Allow assigning key bindings to ESC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-17 17:40:09 +00:00
auria
13a6e76c13 Make sure the right camera is used in 3D cutscenes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-17 17:23:33 +00:00
auria
a4796313b5 Improved error message shown when a music fails to load + fixed the new snowy song file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5687 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-17 17:11:41 +00:00
auria
a7dadddb28 Update to newer version of snowy track, since it doesn't seem like the final version talked about in the forum post is going to come soon
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5686 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-17 15:36:34 +00:00
auria
02e65f4943 Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5685 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-17 15:20:00 +00:00
auria
e53c1e64b1 Explicitely tell irrlicht that we do not support resizing the frame
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-17 15:18:23 +00:00
auria
ccb306d4bd Updated mac info.plist file to be more correct
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-16 22:48:31 +00:00
hikerstk
04f2bd7190 1) Started adding new race result screen, which is for now disabled in the game.
2) Replaced int* with std::vector<int> in raceResultOrder.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5682 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-15 22:41:41 +00:00
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