Commit Graph

12010 Commits

Author SHA1 Message Date
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
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
vlj
baf128059d Add 3 new gl api calls 2014-06-01 02:24:19 +02:00
Marianne Gagnon
aff3b32bc6 compilation fix when c++2011 is enabled 2014-05-31 19:47:32 -04:00
auriamg
2877cedd1c Merge pull request #1317 from konstin/random-gp
Changes in preparation for Random GP
2014-05-31 18:44:59 -04:00
Vincent Lejeune
f31e5763d2 Fix condition. 2014-05-31 22:24:32 +02:00
vlj
21317f561f Remove sun specular if there is no shadow in track.
Avoid the ghost specular in star track.
2014-05-31 18:00:16 +02:00
Vincent Lejeune
5d095d4d24 Use options to determine if a fbo is needed. 2014-05-31 17:49:00 +02:00
konstin
2534abeed2 trying to merge upstream 2014-05-31 15:11:05 +02:00
vlj
e9cb12a1fb Used wrong condition. 2014-05-31 02:57:21 +02:00
vlj
5945ee878b Start GI at the second tick. 2014-05-31 02:53:16 +02:00
hiker
5906cdb070 Merge branch 'NewRTTWidget' of github.com:supertuxkart/stk-code into NewRTTWidget 2014-05-31 10:45:55 +10:00
Marianne Gagnon
588b4189ac Merge branch 'master' into NewRTTWidget 2014-05-30 20:44:38 -04:00
hiker
e39f2164b5 Removed OnlineProfile from ActivePlayer, since it was not used at all. 2014-05-31 10:26:02 +10:00
hiker
a0ee4d0bc5 Don't save guest players to the players.xml file. 2014-05-31 10:25:08 +10:00
vlj
6643f749b1 Remove unneeded profilers. 2014-05-31 02:04:32 +02:00
vlj
0f833b0619 Remove unneeded shaders/wrong assignements. 2014-05-31 01:59:33 +02:00
vlj
2d921ca588 Add a profiler for Dof 2014-05-31 01:52:10 +02:00
Marianne Gagnon
5e132f7410 Add GI to video options 2014-05-30 19:49:21 -04:00
vlj
ef91bf9549 Force RTT usage even in basic mode. 2014-05-31 01:26:47 +02:00
vlj
aa0691015a Fix crash with 3.1 context when cleaning rtt. 2014-05-30 15:34:24 +02:00