Commit Graph

12709 Commits

Author SHA1 Message Date
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
Vincent Lejeune
264a9dbe46 Do not split animated mesh from static list 2014-08-26 20:45:55 +02:00
Vincent Lejeune
bf5410b793 Add unlit instanced shader 2014-08-26 20:34:59 +02:00
Vincent Lejeune
cad1efbff1 Add instanced detail shader 2014-08-26 20:34:37 +02:00
Vincent Lejeune
0960f090dc Add instanced spheremap shader 2014-08-26 20:34:26 +02:00
Deve
4b597b97b7 Fixed path to data directory on linux.
Ideally we should use relative paths, which could make possible to run the game after using:
make install DESTDIR=./any/local/path

I also added path to "supertuxkart-assets" directory, which cmake already search.
2014-08-25 21:53:24 +02:00
Vincent Lejeune
0b4532b6da Implement AZDO 2014-08-25 17:30:03 +02:00
hiker
8f3bff10f8 If minimum or maximum is set for a spinner widget, automatically
adjust the value if its too low or high.
2014-08-25 21:57:43 +10:00
hiker
bf23f31a10 Fixed typo. 2014-08-25 10:33:29 +10:00
hiker
aef5b3aaea Merge branch 'master' of github.com:supertuxkart/stk-code 2014-08-25 10:30:12 +10:00
Vincent Lejeune
805d35a5e6 Do not draw twice the second pass instanced mesh 2014-08-25 02:17:23 +02:00
Vincent Lejeune
55346185d7 Fix instancing without base instance support 2014-08-25 02:13:01 +02:00
Vincent Lejeune
f3752a03f0 Enable arb debug output on all non apple platform 2014-08-25 01:53:05 +02:00
Vincent Lejeune
44de38bf10 Pack instanceData 2014-08-25 01:45:33 +02:00
Vincent Lejeune
b401d1e082 Push empty InstanceData independently of gl level 2014-08-25 01:09:52 +02:00
Vincent Lejeune
aa6e3570df Fix attempt for crash. 2014-08-25 00:40:19 +02:00
Deve
0fa38161b5 Install icons in $PREFIX/share/icons/hicolor path.
Don't use static paths in .desktop file. Actually I don't know about any application which uses it :P
2014-08-24 21:58:34 +02:00
Vincent Lejeune
7bff68870c Read sampler from attributes. 2014-08-24 21:50:59 +02:00
Deve
db53dd6767 xrandr: Simplify code a bit.
Fixed some memory leaks.
2014-08-24 17:40:40 +02:00
vlj
4a62fd7968 Use an instance manager 2014-08-23 19:53:54 +02:00
Vincent Lejeune
a0b376f04d Fix some warnings 2014-08-23 18:53:38 +02:00
hiker
16b88d13db Fixed compiler warning. 2014-08-23 12:10:12 +10:00
hiker
fbc438b998 Fixed error message to correctly say that online user names needs to
be at least 3 characters long - though at this stage we need to
wait for the server to be updated as well, since it will now reject
a shorter user name.
2014-08-23 09:56:30 +10:00
hiker
5b633f0487 Merge branch 'master' of github.com:supertuxkart/stk-code 2014-08-23 09:50:39 +10:00
Vincent Lejeune
6ac3d69471 Play with bindless textures 2014-08-22 23:48:28 +02:00
vlj
bc24c4558f Register some api functions 2014-08-22 23:48:14 +02:00
Deve
90ecf50414 Show console on windows only in debug mode 2014-08-22 20:40:22 +02:00
Deve
8711955bdc Fixed onEscapePressed event in addons loading screen.
It actually was unused previously. I'm also not sure why there was assert(false) ?
2014-08-22 19:59:30 +02:00
Deve
ad870c37f4 Back to previous resolution when escape was pressed in confirm resolution dialog 2014-08-22 19:46:03 +02:00
hiker
52a7d071dd Fixed some Log:: messages that used incorrect syntax and did not print
some variables. Made all log:: messages use the same components 'addons'.
2014-08-22 16:34:18 +10:00
hiker
3ef30dfd48 Merge branch 'no_floating' 2014-08-22 12:46:10 +10:00
hiker
80e1effccf Added some debug output to get more info for #1464 (unnecessary download
of addon icons). To be removed later.
2014-08-22 12:44:46 +10:00
hiker
84e78d884a Merge remote-tracking branch 'origin/master' into no_floating
Conflicts:
	src/karts/kart.cpp
2014-08-22 12:23:55 +10:00
hiker
0e23c54562 Merge branch 'master' of github.com:supertuxkart/stk-code 2014-08-22 12:15:14 +10:00
hiker
f0f4b8d9f6 Improved error message. 2014-08-22 12:14:06 +10:00
Vincent Lejeune
b5273d6426 Port gaussian17*shader (non compute) to TextureRead. 2014-08-22 02:21:20 +02:00
Vincent Lejeune
dc35efa9d7 Port nvidia workaround to TextureRead 2014-08-22 02:08:05 +02:00
hiker
c3821e703b Made line endings consistent. 2014-08-22 09:49:55 +10:00
Vincent Lejeune
5c879b623f Fix pointlight call 2014-08-22 00:47:19 +02:00
Vincent Lejeune
547018f0ab Port PointLight shader 2014-08-22 00:30:14 +02:00
Vincent Lejeune
cee48821d3 Port diffuse env map shaders 2014-08-22 00:20:04 +02:00
Vincent Lejeune
062bcb1ff0 Fix gl debug output rant about uninitialised sync 2014-08-21 23:31:45 +02:00
Vincent Lejeune
187c9fca85 Port SunLight to TextureRead 2014-08-21 23:29:40 +02:00
Vincent Lejeune
c38a26b92a Use a separate rtt for diffuse/specular 2014-08-21 23:26:16 +02:00
Deve
4584464798 Add icon to exe file as resource.
It's hard to test for me because currently I can compile it only on virtual machine and it takes long time.
But it should work.
2014-08-21 21:38:59 +02:00
hiker
c6f7448911 Use sqrt(speed) to scale the collision impulse, which results in
weaker impulses when hitting the terrain.
2014-08-21 22:34:51 +10:00
hiker
1179ebf4e9 Fix suspension to some more realistic values. 2014-08-21 21:33:26 +10:00