Commit Graph

12980 Commits

Author SHA1 Message Date
Vincent Lejeune
df1e87b934 Factorise Skybox shader 2014-09-03 22:38:50 +02:00
vlj
9866ecea29 Enable openMP flags in cmake 2014-09-03 17:18:49 +02:00
vlj
61c350ba96 Merge branch 'scenemanager-optimisation' 2014-09-03 17:12:51 +02:00
deve
e57b927c96 Allow to compile STK on Windows using MinGW compiler.
It needs vorbis dll's as additional dependencies.

TODO: add an alternative to inet_ntop function.
TODO: link wiimote library
2014-09-03 14:08:23 +02: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
vlj
2b1c5be315 Use more aggressive culling. 2014-09-03 03:07:45 +02:00
vlj
d51754c237 Fix culling of solid node for good 2014-09-03 02:54:33 +02:00
vlj
55b5194673 Fix culling 2014-09-03 02:41:32 +02:00
vlj
d617e36f22 Fix poly counter with OpenMP 2014-09-03 02:27:47 +02:00
vlj
0bc8befc57 Use Irrlicht culling function 2014-09-03 01:50:23 +02:00
vlj
13e1a40b7b Remove stkinstancedscenenode.h/cpp 2014-09-03 01:33:52 +02:00
vlj
cf85f97315 Fix crash with RSM 2014-09-03 01:29:24 +02:00
Marianne Gagnon
102e517497 Remove manual LOD code, it's now automatic 2014-09-02 18:54:38 -04: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
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