Commit Graph

13014 Commits

Author SHA1 Message Date
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
vlj
3083df450f Gather object in instanced calls 2014-09-02 23:23:23 +02:00
Vincent Lejeune
0fa13334ea Increase instance buffer size 2014-09-02 20:18:23 +02:00
Vincent Lejeune
dfbae2ea07 Remove instancing 2014-09-02 20:18:22 +02:00
Vincent Lejeune
3cea173ee2 Check for draw indirect support 2014-09-02 20:18:22 +02:00
Vincent Lejeune
96c2c8c6b7 Add glDrawElementsIndirect support 2014-09-02 20:18:21 +02:00
Stephen Just
050d83540c Use four-channel storage for diffuse/specular RTTs
Mesa doesn't seem to support three-channel texture storage, so
increase to four channels. This supposedly will not negatively
impact performance, and may actually improve it depending on the
driver implementation.

See http://www.gamedev.net/topic/560908-is-float-point-fb-possible-with-opengl/
2014-09-02 08:36:06 -06: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
6982e3d0ae Merge branch 'master' of github.com:supertuxkart/stk-code 2014-09-02 09:52:15 +10:00
hiker
06915cc354 Fix compilation on very old mesa versions. vlj, please check. 2014-09-02 09:51:30 +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
Vincent Lejeune
480d281f52 Fix crash reported when using plunger. 2014-09-02 01:19:34 +02:00
Vincent Lejeune
0b0cf09dd6 Try to fix build 2014-09-02 01:08:08 +02:00
Deve
57240124ba Rename rain class to weather 2014-09-01 20:18:06 +02:00
Deve
7d0dec5c49 Handle lightning and sound in weather property 2014-09-01 20:18:06 +02:00
auriamg
27fb1f6254 Merge pull request #1493 from marcoll/master
Reset the scroll offset when clearing a dynamic ribbon widget
2014-08-31 19:05:06 -04:00
Marc Coll Carrillo
76b4f929df Reset the scroll offset when clearing a dynamic ribbon widget 2014-08-31 17:54:40 +02:00
Marianne Gagnon
fd1f2537d4 Modify LOD node to use cleaner technique 2014-08-30 21:24:16 -04:00
vlj
5c1b24b4e4 Factorise a common interface to stkmeshscenenode/animatedmesh 2014-08-31 01:18:54 +02:00
Deve
47b46558f2 A bit better formatting in world status 2014-08-30 18:37:57 +02:00
Deve
507d9566a0 Don't start rain sound too early 2014-08-30 18:37:57 +02:00
Deve
d8f61e336e Move creating rain to world class because now it doesn't depend on cameras. 2014-08-30 18:37:57 +02:00
Deve
52384f151c Merge pull request #1490 from fenicks/master
Add libxrandr-dev in Ubuntu dependencies command example.
2014-08-30 12:30:37 +02:00
Christian Kakesa
e791ca82f1 Add libxrandr-dev in Ubuntu dependencies command example. 2014-08-30 12:16:42 +02:00
Marianne Gagnon
a8c5ab43d3 Rename variable + bugfix 2014-08-29 21:09:12 -04:00
Marianne Gagnon
90396678b7 Separate lightshaft from sun 2014-08-29 20:28:19 -04:00
vlj
af4575f6db Fix crash on nvidia linux 2014-08-30 01:03:01 +02:00
vlj
fc80ebbbcb Use storage buffer for vao manager 2014-08-29 21:59:05 +02:00
vlj
1e1ba34f45 Use a separate update() member 2014-08-29 21:59:04 +02:00
Deve
61d70ea599 Add rain sound 2014-08-29 21:54:17 +02:00
Deve
5a937d6f12 Fixed creating rain class 2014-08-29 21:54:17 +02:00
Vlj
537d435f7f Add some compile time check 2014-08-29 21:29:18 +02:00
Deve
50319c7c58 Check if user config dir exists 2014-08-29 21:12:00 +02:00
Vincent Lejeune
99b110cc99 Use uvec2 instead of sampler2D 2014-08-29 01:30:19 +02: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
vlj
ae18730c92 Use ATI instead of AMD in vendor name. 2014-08-28 22:08:56 +02:00
vlj
5878cb35ec Implement runtime detection of srgb bindless fix 2014-08-28 22:02:12 +02:00
Vincent Lejeune
a3b8494ad5 Remove Base Vertex/Offset if base instance is unavailable 2014-08-27 22:27:06 +02:00
Vincent Lejeune
998b5a89ac Fix transparents 2014-08-27 19:32:45 +02:00
Vincent Lejeune
5a212989df Fix build on travis 2014-08-27 17:44:24 +02:00
vlj
00049f2f04 Init texture only once, not each frame 2014-08-27 17:22:59 +02: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
46396f4a7e Fix #1484 (crash on windows in release mode). 2014-08-27 13:46:42 +10:00
Vincent Lejeune
4cb8955f83 Free texture memory when an object is destroyed 2014-08-26 23:58:42 +02:00
Vincent Lejeune
a1ec19e672 Factorise AZDO related code 2014-08-26 23:52:48 +02:00
vlj
53c52470ee Use one call for each shadow cascade instead of a big one. 2014-08-26 21:56:16 +02:00
Vincent Lejeune
4f411ccdb1 Fix spheremap shader 2014-08-26 21:05:43 +02:00