Marianne Gagnon
5f70471bce
Fix previous commit about shadows vs UBOs, had forgotten shadows is an int and not a bool
2014-08-01 20:39:25 -04:00
Marianne Gagnon
2a9d63b7ae
Disable shadows when UBOs are off
2014-08-01 20:21:44 -04:00
Marianne Gagnon
edecfbdb59
Ignore minor logging spammed by recent nvidia drivers
2014-08-01 19:19:10 -04:00
Vincent Lejeune
ca30bf7d5a
Add screen fallback in case no ubo are here.
2014-08-02 01:02:06 +02:00
Vincent Lejeune
09d0c2eef5
Forget a shader + remove shader output
2014-08-02 00:56:36 +02:00
Vincent Lejeune
58c094917e
Use an header included in every shaders.
2014-08-02 00:50:56 +02:00
Deve
67948dfe28
xrandr: add support for rotated screens
2014-07-31 23:13:03 +02:00
konstin
a2d76dd098
Merge branch 'master' of https://github.com/supertuxkart/stk-code into save_gp
2014-07-31 10:57:11 +02:00
hiker
a81f21a27a
Applied konstin's bugfix for an editor crash.
2014-07-31 09:28:42 +10:00
hiker
6749944dd8
Applied bugfix from konstin.
2014-07-31 09:19:52 +10:00
konstin
691d1fb68c
Merge branch 'master' of https://github.com/supertuxkart/stk-code into save_gp
2014-07-30 21:54:55 +02:00
Deve
b11fd2aaf6
xrandr: now it seems to work fine. I enable it for testing.
...
This should be useful for people which have two or more display devices. It changes resolution only on main screen and leaves other screens untouched.
Currently I use screen which is the most on left (or on top). Ideally we should be able to choose in settings which screen we want to use. But support it on all platforms is rather too much of work. We could also detect from which screen STK was executed. This can be done differently on different window managers, but nothing impossible. Maybe in future.
Perhaps we should add fallback using old xrandr method.
BTW. in some specific cases it works better than SDL2 ;-)
2014-07-30 21:30:43 +02:00
Deve
73b45e71c7
xrandr: fixed issue with fullscreen window which was placed in wrong screen in some window managers.
...
In some cases main screen may have other position than (0, 0) - fixed it.
2014-07-30 21:30:43 +02:00
konstin
e7d3ab4be2
fix compilation
2014-07-30 16:17:40 +02:00
konstin
98d3728a4e
finish the save gp button
2014-07-30 16:06:44 +02:00
konstin
fb50c9c338
moving the button to xml
2014-07-30 14:58:53 +02:00
konstin
5a43fecdd0
Merge branch 'master' of https://github.com/supertuxkart/stk-code into save_gp
2014-07-30 13:59:41 +02:00
Vincent Lejeune
f9c7c3db5e
Try a fix for intel and kart selection screen.
2014-07-30 01:25:27 +02:00
Vincent Lejeune
f1c29ad26f
Port instancing shaders to singleton.
2014-07-30 00:34:00 +02:00
Vincent Lejeune
b935e9316a
Update doxygen comment.
2014-07-30 00:10:00 +02:00
Vincent Lejeune
a35c33e4f6
Remove ambient
...
It's already added in the diffuse env pass
2014-07-29 23:56:48 +02:00
Marianne Gagnon
db26ef3076
More work on billboard text
2014-07-28 19:49:14 -04:00
Marianne Gagnon
f803b01d10
Initial work on billboard text
2014-07-28 19:17:59 -04:00
Marianne Gagnon
3db9b867a6
In artist debug mode, fast-track race start even more, tired of waiting after thunderbird to test
2014-07-28 19:16:32 -04:00
Marianne Gagnon
c2cd32d4de
Fix c++2011 logic from previous commit. STK now builds again on my mac, finally!
2014-07-28 19:01:53 -04:00
Vincent Lejeune
ff5e457869
Fix include in wiimote_manager.hpp
2014-07-29 00:50:40 +02:00
Vincent Lejeune
fca54c8f74
Remove some other emplace_back.
2014-07-29 00:48:14 +02:00
Vincent Lejeune
f31013b4af
Fix include in stkbillboard
2014-07-29 00:40:37 +02:00
Vincent Lejeune
bd7babe11f
Rename cpp2011.h
2014-07-29 00:35:43 +02:00
Marianne Gagnon
6d100a23d8
Force billboard to render in transparent phase, won't work otherwise
2014-07-28 18:29:10 -04:00
Vincent Lejeune
13f22ab1cd
If there is a sphericalHarmonicsTexture, kill ambient.
2014-07-29 00:19:50 +02:00
Vincent Lejeune
b9e56303c1
Try to replace emplace_back() call.
...
Only on some part of the code, need confirmation it works before
propagating.
2014-07-28 23:41:01 +02:00
Deve
46f73e8ecc
Some improvements for xrandr
...
- choose best available refresh rate
- if resolution doesn't exist, choose first available
- other minor changes.
Works fine with Gnome, but I notices some issues on Openbox and Unity.
2014-07-28 19:23:03 +02:00
hiker
dbe722316a
If an addon icon can not be shown, delete the image file (which will
...
trigger a re-download on the next start).
2014-07-28 21:07:39 +10:00
hiker
f6fcb9d8da
Changed return type of getIconBasename() to be a reference.
2014-07-28 21:07:03 +10:00
hiker
d3dbc42174
Fix #1429 (physical objects do not reset when restarting a race).
2014-07-28 16:53:08 +10:00
hiker
425675bdac
Moved check_structure detection from center of kart to the front
...
of the kart (which will work better for a photo finish). Hopefully
no other side effect.
2014-07-28 09:52:44 +10:00
Deve
992c97258f
Few more checks
2014-07-27 20:00:04 +02:00
Deve
0409a84fa0
Remove debug output
2014-07-27 19:36:40 +02:00
Deve
068b88cb4b
Rename some variables, free memory etc.
2014-07-27 19:32:12 +02:00
Deve
85dd8d11a9
Add experimental support for multi-monitor on linux using xrandr.
...
Now you can play STK on one screen and watch TV on the second ;-)
Currently I use first (main) screen. We can detect from which screen STK was executed using xinerama.
Will be improved.
2014-07-27 00:48:34 +02:00
Vincent Lejeune
f87b404561
Add some doxygen on shader creation/usage
2014-07-26 23:54:57 +02:00
konstin
7a2e4e6336
corrections
2014-07-26 12:00:24 +02:00
Deve
b9eb981fcc
Some cleanup with USE_XRANDR flag
2014-07-25 19:24:35 +02:00
konstin
5167397441
Merge branch 'master' of https://github.com/supertuxkart/stk-code into laps
2014-07-25 14:18:54 +02:00
konstin
4e73ace0df
allow the track info dialog to override the default lap number for a track
2014-07-25 14:06:04 +02:00
konstin
58a8a4ff31
fix index
2014-07-25 13:02:47 +02:00
deve
f3746c068c
Some minor fixes for MinGW compiler
2014-07-25 13:00:01 +02:00
hiker
2f71c5f99f
Merge branch 'konstin-lapnumber'
2014-07-24 17:44:26 +10:00
hiker
fbf5bf4166
Changed default number of laps to be 3 (and not the number of laps
...
used last time), which seems to be a better default. Some minor
cosmetic changes.
2014-07-24 17:43:11 +10:00