Commit Graph

12163 Commits

Author SHA1 Message Date
Vincent Lejeune
219bfbca93 Fix crashes and add a hunk I forgot 2014-06-05 01:34:12 +02:00
Vincent Lejeune
5f1413e140 Merge branch 'master' into NewRTTWidget 2014-06-05 01:30:45 +02:00
Vincent Lejeune
3f619e8e21 Fix ambient if no shadow are present. 2014-06-05 01:08:31 +02:00
hiker
5619509ebb Prevent NANs/crash. 2014-06-05 08:59:24 +10:00
hiker
e3513b10c6 Merge branch 'master' of https://github.com/Flakebi/stk-code into Flakebi-master 2014-06-05 08:23:47 +10:00
hiker
781820abef Fix the online name (to force people to use only one online name).
This prevents people from passing achievements from one online
account to another (once two way synching is in place).
2014-06-05 08:17:59 +10:00
hiker
8960b79181 Wait for request_manager to be ready to be deleted (i.e. current request
have been properly aborted, and sign out done). Also shut down more of
STK after signaling the request manager to shut down, so that the user does
not notice the time for the sign out. Also added docs.
2014-06-05 07:56:51 +10:00
hiker
c579267e9a Merge branch 'master' of github.com:supertuxkart/stk-code 2014-06-05 07:51:46 +10:00
Flakebi
be39fc4f96 Reset speed when porting to a challenge 2014-06-04 19:06:45 +02:00
Flakebi
7ea68064d8 Fix improvements 2014-06-04 18:27:32 +02:00
Flakebi
4b70feede1 Improve scripts 2014-06-04 17:56:09 +02:00
Flakebi
d7b3e0f46a Fix RegisterScreen 2014-06-04 16:45:54 +02:00
Flakebi
af6c121a22 Run whitespaces.py 2014-06-04 15:10:20 +02:00
Flakebi
4069e233fe Unify some things 2014-06-04 15:06:35 +02:00
Arthur-D
cad6d5b3ae Set player icons as 128x128 instead of 160x120 so the image ratio is correct. 2014-06-04 14:55:13 +02:00
Flakebi
4ae98f4610 Clean up when closing the window 2014-06-04 12:53:11 +02:00
Flakebi
39e5b57233 Add visual effect for disabled textfields 2014-06-04 12:49:41 +02:00
hiker
49a9ac54d5 Added a 'non-abortable' flag to the signout request. Re-enabled cancelling
ongoing downloads to allow for a quicker exit of STK.
2014-06-04 17:05:35 +10:00
hiker
c62cc7fbaa Added CanBeDeleted class, which implements a timeout function. It is
used to make sure that (in this case) the NewsManager thread does not
need the file manager anymore when stk exists (which can only happen
on very very quick exists, and slow downloads). This avoids a potential
crash that the NewsManager thread could access the file manager after
the file manager was deleted.
2014-06-04 16:51:29 +10:00
Marianne Gagnon
9c1e371803 Allow disabling text boxes 2014-06-03 19:13:25 -04:00
Marianne Gagnon
6982a3de59 Work on porting feature unlocked screen to new cutscene system 2014-06-03 18:48:37 -04:00
vlj
803dc41ebb Accidently reverted a commit that fixed a crash. 2014-06-04 00:08:14 +02:00
vlj
f0b3cbfcd0 Gather bloom effect to avoid extra texture read.
I have a .5ms win here...
2014-06-03 20:46:01 +02:00
vlj
55ddffaf54 Another round of big triangle port. 2014-06-03 20:28:42 +02:00
vlj
e5a5c78045 Use a big triangle instead of 2 to cover full screen.
This allows to rasterize a single primitive instead of two, and avoid
trashing the cache between the 2 triangles drawing.
2014-06-03 19:56:59 +02:00
vlj
d4fe539385 Do not write specular value in gi/diffuseenvmap 2014-06-03 17:40:21 +02:00
hiker
8c7b586f45 Fix 'remember password' setting being not remembered. 2014-06-03 21:10:39 +10:00
hiker
24f8918061 Fixed assertion in GP editor. 2014-06-03 15:52:33 +10:00
hiker
71b79cc72f Merge branch 'master' of github.com:supertuxkart/stk-code 2014-06-03 13:50:52 +10:00
hiker
663287930f Sort karts by locked/unlocked state (and then alphabetically). 2014-06-03 13:50:28 +10:00
hiker
3d88bfa297 use isInGroup, and minor cosmetic changes. 2014-06-03 13:45:58 +10:00
hiker
9a366f8ee1 Simplified isInGroup test. 2014-06-03 13:42:41 +10:00
vlj
e571afc43b Speed up SSAO again
Use log2(xy) = log2(x) + log2(y), and approximate log2(alpha) =
log2(previous alpha) + .5.
Log2 is indeed a costly instruction.
2014-06-03 03:41:05 +02:00
vlj
164ffa2b4f Spped up SSAO
Avoid using cos/sin too much, use sum of cos/sin formula instead.
2014-06-03 03:14:39 +02:00
vlj
783464ee81 Fix SSAO perf
I was using wrong mipmap count for linear depth rtt.
2014-06-03 01:59:22 +02:00
Marianne Gagnon
b5e6e5e054 Remove bogus check 2014-06-02 19:46:50 -04:00
konstin
0db8531a5d Merge branch 'master' of https://github.com/supertuxkart/stk-code into a 2014-06-02 16:57:14 +02:00
konstin
ce661a4dd4 add a reverse spinner 2014-06-02 16:56:59 +02:00
hiker
0d789c3bd2 Don't create icons for guests (which are never shown). 2014-06-02 17:07:57 +10:00
hiker
eea9d6dbd8 Added FIXME and some comments so that we can look at this
strange call again when more networking code is added.
2014-06-02 16:30:53 +10:00
hiker
827286105e Fix #1347. 2014-06-02 15:54:23 +10:00
Marianne Gagnon
375fffaa80 Improvements to GPLose scene, similar to previous work on GPWin 2014-06-01 21:07:45 -04:00
Marianne Gagnon
0057e40e6d Work on cutscene+menu combination. Fix bugs in GPWin cutscene, make them easier to work with in general 2014-06-01 21:03:48 -04:00
Marianne Gagnon
c7606cf6ef Fix for nvidia 2014-06-01 20:19:31 -04:00
Marianne Gagnon
31f23b437e Fix win-GP scene scale, so that effects render correctly 2014-06-01 20:18:28 -04:00
Vincent Lejeune
db9b9834d0 Separate point light and sun light in renderlights. 2014-06-02 01:23:18 +02:00
hiker
0358e55e2e Added 'back' button to user screen. 2014-06-02 08:21:36 +10:00
hiker
c733378bf3 Merge branch 'master' of github.com:supertuxkart/stk-code 2014-06-02 08:09:20 +10:00
hiker
5c959e07a2 Fixed multiplayer kart selection. Now guests are created on demand,
and are not saved to the players.xml file anymore.
2014-06-02 08:08:42 +10:00
vlj
63992a3908 Play with glTexStorage2D
Should reduce memory movements.
2014-06-01 02:48:03 +02:00