Commit Graph

12724 Commits

Author SHA1 Message Date
hiker
2514f8a872 Removed unnecessary GUIEngine::. 2014-09-04 17:19:15 +10:00
hiker
b3d1a41276 Removed unused code, added comments. 2014-09-04 17:05:47 +10:00
hiker
8ffe09de29 Combined GPInfoScreen and RandomGPInfoScreen into one class, requiring
only one stkgui file.
2014-09-04 16:49:15 +10:00
hiker
7c3164a9c1 Added 'reload' random GP support, fixed 'back' icon on screen. 2014-09-04 09:38:25 +10:00
hiker
12e403b909 Fixed setting of number of AI karts. 2014-09-03 17:19:30 +10:00
hiker
a591ba6778 Fixed setting of reverse in random GPs. 2014-09-03 17:13:20 +10:00
hiker
709583ead5 Removed Random GP dialog. 2014-09-03 17:01:36 +10:00
hiker
0a0609d91f Added GrandPrixData::isRandomGP. 2014-09-03 08:24:11 +10:00
hiker
ae01eaf595 Use track->isRaceTrack(). 2014-09-03 08:16:52 +10:00
hiker
ccdc90f029 Removed while loop with a 'random' abort condition - while it works
it could result in STK hanging if a broken random generator should be
used.
2014-09-03 08:08:41 +10:00
hiker
c8724632e8 Bugfix: only allow races (i.e. no arenas, or cut scenes) in an
'all tracks' random GP.
2014-09-02 16:40:26 +10:00
hiker
c8500b65cb Fixed compiler warning. 2014-09-02 16:40:00 +10:00
hiker
7dbfc151bf Added random GP functionality into gp_info screen. Changed GPData
in GPInfoScreen from a pointer to be an object, while this adds
some coping of this object, it removes potential memory leaks.
2014-09-02 09:32:12 +10:00
hiker
4ba8e85169 Give the race setup screen a background box and added a text for difficulty. 2014-08-29 07:42:42 +10:00
hiker
2a5591ad1f Enable continue button. 2014-08-27 22:57:03 +10:00
hiker
db3db6f8b5 First version of the GP info screen (instead of dialog). 2014-08-27 22:08:50 +10:00
hiker
672ec8e5e8 Fixed crash: m_tracks is NULL, and can't be used to get the default
number of laps here.
2014-08-26 16:39:54 +10:00
hiker
b029c3e990 Fixed setting of actual number of laps of a track; cleaned up docs. 2014-08-26 16:37:06 +10:00
hiker
c9fb0c5b16 Removed unnecessary include. 2014-08-26 16:36:05 +10:00
hiker
e309008736 Use header font for title, removed second 'back' button. 2014-08-25 23:16:59 +10:00
hiker
48ac661af7 Merge remote-tracking branch 'origin/master' into gui_screen 2014-08-25 22:23:14 +10:00
hiker
76767141f7 Removed old track info dialog, fixed crashes in track info screen
(caused when making some spinners etc. visible).
2014-08-25 22:20:42 +10:00
hiker
8f3bff10f8 If minimum or maximum is set for a spinner widget, automatically
adjust the value if its too low or high.
2014-08-25 21:57:43 +10:00
hiker
4b507a4eda Made more space for credits that span more than one line.
Siwtch left and right side of the top screen.
2014-08-25 11:12:00 +10:00
hiker
c9936ffb97 Forgot to actually add the new files :( 2014-08-25 10:47:36 +10:00
hiker
0de942b5f3 Alpha version of a track info screen (instead of a dialog). 2014-08-25 10:40:37 +10:00
hiker
bf23f31a10 Fixed typo. 2014-08-25 10:33:29 +10:00
hiker
aef5b3aaea Merge branch 'master' of github.com:supertuxkart/stk-code 2014-08-25 10:30:12 +10:00
Vincent Lejeune
805d35a5e6 Do not draw twice the second pass instanced mesh 2014-08-25 02:17:23 +02:00
Vincent Lejeune
55346185d7 Fix instancing without base instance support 2014-08-25 02:13:01 +02:00
Vincent Lejeune
f3752a03f0 Enable arb debug output on all non apple platform 2014-08-25 01:53:05 +02:00
Vincent Lejeune
44de38bf10 Pack instanceData 2014-08-25 01:45:33 +02:00
Vincent Lejeune
b401d1e082 Push empty InstanceData independently of gl level 2014-08-25 01:09:52 +02:00
Vincent Lejeune
aa6e3570df Fix attempt for crash. 2014-08-25 00:40:19 +02:00
Deve
0fa38161b5 Install icons in $PREFIX/share/icons/hicolor path.
Don't use static paths in .desktop file. Actually I don't know about any application which uses it :P
2014-08-24 21:58:34 +02:00
Vincent Lejeune
7bff68870c Read sampler from attributes. 2014-08-24 21:50:59 +02:00
Deve
db53dd6767 xrandr: Simplify code a bit.
Fixed some memory leaks.
2014-08-24 17:40:40 +02:00
vlj
4a62fd7968 Use an instance manager 2014-08-23 19:53:54 +02:00
Vincent Lejeune
a0b376f04d Fix some warnings 2014-08-23 18:53:38 +02:00
hiker
16b88d13db Fixed compiler warning. 2014-08-23 12:10:12 +10:00
hiker
fbc438b998 Fixed error message to correctly say that online user names needs to
be at least 3 characters long - though at this stage we need to
wait for the server to be updated as well, since it will now reject
a shorter user name.
2014-08-23 09:56:30 +10:00
hiker
5b633f0487 Merge branch 'master' of github.com:supertuxkart/stk-code 2014-08-23 09:50:39 +10:00
Vincent Lejeune
6ac3d69471 Play with bindless textures 2014-08-22 23:48:28 +02:00
vlj
bc24c4558f Register some api functions 2014-08-22 23:48:14 +02:00
Deve
90ecf50414 Show console on windows only in debug mode 2014-08-22 20:40:22 +02:00
Deve
8711955bdc Fixed onEscapePressed event in addons loading screen.
It actually was unused previously. I'm also not sure why there was assert(false) ?
2014-08-22 19:59:30 +02:00
Deve
ad870c37f4 Back to previous resolution when escape was pressed in confirm resolution dialog 2014-08-22 19:46:03 +02:00
hiker
52a7d071dd Fixed some Log:: messages that used incorrect syntax and did not print
some variables. Made all log:: messages use the same components 'addons'.
2014-08-22 16:34:18 +10:00
hiker
3ef30dfd48 Merge branch 'no_floating' 2014-08-22 12:46:10 +10:00
hiker
80e1effccf Added some debug output to get more info for #1464 (unnecessary download
of addon icons). To be removed later.
2014-08-22 12:44:46 +10:00