Commit Graph

13201 Commits

Author SHA1 Message Date
Vincent Lejeune
4b2b56035f Use default mat for untextured mat too 2014-09-19 19:54:16 +02:00
Marianne Gagnon
478110f4bf Remove outdated comment 2014-09-19 19:54:15 +02:00
Marianne Gagnon
933e27052d Create a "default material" object and use it for materials that don't appear in materials.xml, instead of an hardcoded special case 2014-09-19 19:54:15 +02:00
Vincent Lejeune
3349b9907d Improve naming convention of textures 2014-09-19 19:54:14 +02:00
Vincent Lejeune
39c56dcb78 Slightly improve getUnicolorTexture 2014-09-19 19:54:14 +02:00
Vincent Lejeune
24cd727899 Add glossytex to textures 2014-09-19 19:54:00 +02:00
vlj
9a114b2f6f Gather glsl material handling code 2014-09-19 19:22:04 +02:00
Vincent Lejeune
bb63cf9e86 Clean material handling code. 2014-09-19 19:22:03 +02:00
Vincent Lejeune
1f05a66b79 Split material into single/dual tex 2014-09-19 19:12:46 +02:00
Vincent Lejeune
f86663f9c2 Add Instance type to some templates 2014-09-19 18:49:14 +02:00
vlj
8dff9b5b98 Factorize part of scenemanager 2014-09-19 18:43:18 +02:00
vlj
1bd487fb60 Factorize Instance Vertex Attrib Setter 2014-09-19 18:43:17 +02:00
hiker
8a25683e2c Disable submitting the data for now. 2014-09-19 16:28:30 +10:00
hiker
63c7d02c7e Made line endings consistent. 2014-09-19 16:25:18 +10:00
hiker
c05896729e Made the user_id (which is apparently necessary on the server to calculate
number of configurations correctly) a random number, that is saved in the
config file.
2014-09-19 16:23:26 +10:00
hiker
2600b17132 Removed unused code and objects. 2014-09-19 14:31:25 +10:00
hiker
e18c20db65 Fixed various compiler warnings. 2014-09-19 11:02:20 +10:00
hiker
64702d8ada Don't submit requests for now (server is still expecting compressed
data, and can't handle he requests we send atm).
2014-09-19 09:41:44 +10:00
hiker
48e5e7c4e6 Added a version number to the hardware report, and report the hw config
only once per installation. Print error messages in case submitting the
request.
2014-09-19 09:40:11 +10:00
hiker
cba1c8c471 Report memory on windows and osx (not tested). 2014-09-19 08:16:20 +10:00
hiker
00f7829ad4 Fixed (c) statement. 2014-09-19 08:15:59 +10:00
hiker
48938f2880 Started to add GL limits to the statistics. Work in progress. 2014-09-18 22:09:56 +10:00
hiker
08b2beb339 Report available RAM on linux. 2014-09-18 15:55:25 +10:00
hiker
2e42898f4a Fixed incorrect value for opengl version. 2014-09-18 12:55:30 +10:00
hiker
e7096bc3b0 Merge branch 'master' of github.com:supertuxkart/stk-code 2014-09-18 11:43:59 +10:00
hiker
c147dacbc2 Queue up sfx instead of starting them immediately. Preparation for
threading the sfx manager.
2014-09-18 11:43:26 +10:00
konstin
47deab4614 commenting out an unused function which only throws deprecation warnings 2014-09-18 02:19:26 +02:00
hiker
64fc2dd968 Added comments. 2014-09-18 07:55:24 +10:00
hiker
8c3beef69b Removed unnecessary static variable. 2014-09-18 07:48:31 +10:00
Vincent Lejeune
9ba19c7290 Move m_sync 2014-09-17 18:49:15 +02:00
hiker
66da6d9435 Removed old/unused declaration. 2014-09-17 22:08:43 +10:00
hiker
86b351fbf4 Turn sfx_manager into a singleton. 2014-09-17 21:38:21 +10:00
hiker
04dd7869cb Added gfx_drv_ver and gfx_vard to hardware report. 2014-09-17 16:58:50 +10:00
hiker
fca103b6a0 File missing in previous commit. 2014-09-17 16:16:38 +10:00
hiker
9035fde10b Avoid crashes on server side by supplying (unnecessary) values like
os_win=0 on linux etc. Added more opengl data to keep the server
happier ... though not yet entirely happy ;)
2014-09-17 16:08:41 +10:00
hiker
8efc7110c8 Merge branch 'master' of github.com:supertuxkart/stk-code 2014-09-17 13:41:54 +10:00
hiker
c7650ba769 Fixed parameter names and missing / in URL (which is required). 2014-09-17 13:21:03 +10:00
Marianne Gagnon
105f7b49a3 Add profier marker for updatePhysics 2014-09-16 20:19:07 -04:00
Vincent Lejeune
1d2c77d86a Use ProjectionViewMatrix in glow_object.vert 2014-09-17 02:12:28 +02:00
Vincent Lejeune
13402543ce Use glClientWaitSync with a 0 timeout
It turns out to be much more responsive this way.
2014-09-17 01:01:45 +02:00
hiker
008aa7f22f Merge branch 'master' of github.com:supertuxkart/stk-code 2014-09-17 08:47:24 +10:00
hiker
1e1f921d08 Fix turning behaviour (karts would turn a lot more than with
previous stk versions, which resulted in hard controlling karts
(esp. at higher speed).
2014-09-17 08:44:28 +10:00
Vincent Lejeune
a2a6553d93 Fix srgb mismatch 2014-09-17 00:11:34 +02:00
vlj
534bcedecb Fix for multiplayer with non basic mode. 2014-09-16 23:22:02 +02:00
Vincent Lejeune
19420fb5f2 Some fix for basic glsl mode 2014-09-16 19:46:21 +02:00
Vincent Lejeune
e2b6538d2d Avoid clearing buffer if not strictly necessary 2014-09-16 19:42:10 +02:00
Vincent Lejeune
b9c547278f Do not enter renderLights if dynamic light is disabled 2014-09-16 19:24:47 +02:00
Vincent Lejeune
d6d4b1948c Use glewExperimental on OSX too 2014-09-16 17:19:24 +02:00
Vincent Lejeune
dd70f09fce Revert "Apply patch from http://sourceforge.net/p/glew/patches/40/"
This reverts commit ef5039c02f.
2014-09-16 17:17:56 +02:00
Vincent Lejeune
20f10e0235 Revert "Remove glewexperimental flag"
This reverts commit 7516dc920a.
2014-09-16 17:17:51 +02:00