Marianne Gagnon
55e880530a
bugfix, only use the texture in layer 0 to apply material
2014-08-02 20:33:30 -04:00
Vincent Lejeune
a03a6809f7
Fix strange colors in rtts.
2014-08-02 22:30:48 +02:00
vlj
4b7918021e
Try to fix too dark tracks.
2014-08-02 21:43:14 +02:00
Marianne Gagnon
24ff6790f2
Add option to randomize particles start position, and use it on snow, so that snow falls more evenly
2014-08-01 21:17:56 -04:00
Marianne Gagnon
db0241c5e2
more video settings fixes
2014-08-01 20:56:04 -04:00
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
hiker
a81f21a27a
Applied konstin's bugfix for an editor crash.
2014-07-31 09:28:42 +10: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
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
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
Deve
b9eb981fcc
Some cleanup with USE_XRANDR flag
2014-07-25 19:24:35 +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
hiker
9267e2d304
Merge branch 'lapnumber' of https://github.com/konstin/stk-code into konstin-lapnumber
2014-07-24 16:48:03 +10:00
Marianne Gagnon
9478adbd8c
Merge branch 'TupleTest'
2014-07-23 21:17:08 -04:00
hiker
12259c6c48
Try to fix travis building debug and release (cd failed before, causing
...
travis to fail).
2014-07-24 09:52:29 +10:00
hiker
2896b47233
Try to let yavis compile both debug and release mode.
2014-07-24 09:26:27 +10:00
Marianne Gagnon
7f56bf6946
Invalid defaut value for sortable was used in list widget
2014-07-23 18:43:12 -04:00
Deve
16d4f0481e
Merge pull request #1421 from Flakebi/master
...
Fix compiling issues without debug mode in my log code
2014-07-23 23:13:44 +02:00
Flakebi
277aab1a0e
Fix compiling issues without debug mode in my log code
2014-07-23 21:40:46 +02:00
hiker
9fa93d74d5
Fixed linux compilation.
2014-07-23 22:11:37 +10:00