Commit Graph

13201 Commits

Author SHA1 Message Date
Vincent Lejeune
0d7a425aac Do not compute shadow/rsm mesh list if not available. 2014-09-05 01:35:38 +02:00
hiker
1c23309161 Merge branch 'master' into gui_screen 2014-09-05 09:18:17 +10:00
hiker
8fd6877e92 Fixed #1486. Made most menus more consistent (e.g. same position
and height for heading).
2014-09-05 08:46:06 +10:00
hiker
6671182efd Fixed memory leak. 2014-09-04 23:37:38 +10:00
hiker
973399f5cb Fixed memory leak. 2014-09-04 21:14:37 +10:00
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
vlj
9fc8b6ae10 Use unordered_map in scenemanager 2014-09-04 03:58:49 +02:00
Marianne Gagnon
449c6a07b4 fix weird profiler bug, hovering it would change the values. No idea why these changes work 2014-09-03 21:13:07 -04:00
vlj
0a6735a6ec Simplify culling. 2014-09-04 03:07:00 +02:00
vlj
4482ed6fc8 Remove aggressive culling 2014-09-04 02:41:13 +02:00
vlj
0cf6345bc2 Revert "Remove unnecessary memory barrier"
This reverts commit b3ad817999.
2014-09-04 02:09:11 +02:00
Vincent Lejeune
b28df0f4d0 Fix skybox shader sampler type. 2014-09-04 01:41:10 +02:00
hiker
7c3164a9c1 Added 'reload' random GP support, fixed 'back' icon on screen. 2014-09-04 09:38:25 +10:00
Vincent Lejeune
05f01c70ea Make m_sync part of irr_driver. 2014-09-04 01:35:08 +02:00
Vincent Lejeune
b3ad817999 Remove unnecessary memory barrier 2014-09-04 01:32:40 +02:00
vlj
059a707196 Fix some uint->float conversion warning. 2014-09-03 23:15:35 +02:00
vlj
25926caef5 Fix GLuint instead of GLuint64 for some handles. 2014-09-03 23:15:26 +02:00
Vincent Lejeune
b3b6b05765 Add profiler counter for rsm 2014-09-03 22:52:16 +02:00
Vincent Lejeune
6f9820b82b Fix skybox filtering 2014-09-03 22:42:18 +02:00
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