Commit Graph

2839 Commits

Author SHA1 Message Date
Benau
22e5c0909c Allow setting color without copying the mesh 2016-06-28 14:55:48 +08:00
Deve
bf54626815 Added missing file 2016-06-27 23:06:48 +02:00
deve
964baad705 Some fixes 2016-06-27 13:39:20 +02:00
deve
d5e30ee41e Port also other shaders to use #stk_include 2016-06-27 13:11:27 +02:00
Benau
892bc490f7 Make shaders run as efficient as possible 2016-06-27 13:49:27 +08:00
Deve
f679078e75 Port some basic shaders to use #stk_include.
Already working race with disabled advanced lighting :)
2016-06-26 16:39:34 +02:00
Benau
8bae12e080 Fix potential warning 2016-06-26 15:52:47 +08:00
Benau
b467d0819d Add a missed shader 2016-06-26 07:16:07 +08:00
Benau
416050a923 Use a more simple way to render red/blue karts 2016-06-26 07:14:11 +08:00
Deve
ce8a1c4e1b Already working GUI in shader-based pipeline 2016-06-25 15:10:53 +02:00
Elderme
80713ec019 Fixed glow color issue when GL_ARB_draw_indirect extension is not available 2016-06-25 14:55:51 +02:00
Benau
7e806fe86f Merge remote-tracking branch 'origin/master' into render_kart_driver_differently 2016-06-25 16:31:08 +08:00
Benau
2f217fd55b Allow render red or blue karts in soccer mode using shader 2016-06-25 16:29:54 +08:00
Deve
d13716a917 Initial linux version.
Currently works only with irrlicht-based renderer because shaders are not ported yet.
2016-06-24 02:47:13 +02:00
auria.mg
f90703beb6 Move hardcoded cutscene FOV to a config file 2016-06-23 19:10:56 -04:00
qwertychouskie
c17070209d Fix warning for cards without "Radeon" in string (#2523) 2016-06-21 19:38:44 -04:00
Elderme
b359e8f9fd Merged with master, solved conflicts 2016-06-18 19:28:54 +02:00
auria.mg
8e886b796a Improve python script that sets translation authors to be able to process all files at once 2016-06-08 19:54:17 -04:00
auria.mg
1469a9e396 Update pot file, slightly breaking string freeze. Sorry about that, better late than never :S 2016-06-07 19:49:33 -04:00
Deve
cc92ee6ef3 One more tweak in SSAO.
Just use mod(x, 6.283185307179586) as suggested by mesa developer, instead converting it to degrees and back to radians.
2016-05-26 11:48:57 +02:00
Deve
cee0de3af3 Fixed a bug in my previous commit.
I forgot that sin and cos functions want angle value in radians.
Now the code looks a bit ugly, but generates proper values.
2016-05-26 02:39:35 +02:00
Deve
cdae595724 Fixed SSAO on intel.
In ssao.frag we are computing theta valaue and it looks that intel driver doesn't like too big values for sinus and cosinus computations.

I just used modulo 360 to store lower angle values in theta variable.
2016-05-25 23:16:01 +02:00
auria.mg
6f36bc5b34 Update changelog and credits 2016-05-18 20:01:21 -04:00
auria.mg
2c6e678929 Add new volcano track 2016-05-18 19:57:09 -04:00
Deve
edfc7d285c Fixed shadows and GI for mesa drivers.
The check for GL_ARB_geometry_shader4 doesn't have sense at all because we don't use this extension and our geometry shaders use functionality which is available in core OpenGL 3.2.

The reason that it wasn't working for older mesa versions must be a bug in mesa or maybe missing other functionality (but not GL_ARB_geometry_shader4).

I checked it with mesa 11.2 and current git version and it works fine on intel, nouveau and with software rendering.

It needs some testing because it potentially affects all drivers with OpenGL >= 3.2 on every platform.

If someone could test it with Radeon drivers, I would be really happy to enable it in upcoming release, at least on linux.
2016-05-18 22:19:31 +02:00
auria.mg
5b2cb52dc5 Add higher-res icon 2016-05-14 21:15:11 -04:00
Deve
58f7424b4f Add a workaround for skybox.
The problem was with shader-based pipeline with disabled "advanced effects" in options.

In this case we don't use RTTs and gl_FragCoord contains values in range of whole window. So fo 2 players we still get gl_FragCoord.y = 0..window_size instead of gl_FragCoord.y = 0..window_size/2.

The easiest way to solve it seems to be modulo it by current viewport size. It should be compatible with advanced pipeline as well as single-player games.

Atm. I'm not sure if this should be applied to 0.9.2 branch. It should work fine, but needs some testing.
2016-05-08 21:39:50 +02:00
qwertychouskie
87f3609b06 Update screenshots and description 2016-05-06 19:50:57 -07:00
Deve
d989ae1d4a Update graphics restrictions for mesa:
- Increase version for sRGB-capable visual workaround because it doesn't look that it will be fixed anytime soon
- Enable compute shaders because it works fine now
- Enable texture compression because it works now too.

Texture compression for intel should work fine also for older versions, but it's hard to say which one version is the first working one.
2016-05-03 21:48:21 +02:00
Deve
62ea873373 Fixed compute shaders on mesa.
It was reporting an error:
[error  ] GLWrap: Error in shader gaussian6h.comp
[error  ] GLWrap: 0:77(1): error: storage qualifiers must come after precise, invariant, interpolation, layout and auxiliary storage qualifiers
2016-05-03 21:48:21 +02:00
hiker
1870691900 Decrease leaning somewhat, and increased leaning speed. 2016-04-27 18:11:57 +10:00
hiker
d90dc8ea37 Removed unused entry. 2016-04-27 17:58:28 +10:00
hiker
30d60acfaf Added freetype to list of software used. 2016-04-27 15:19:00 +10:00
auria.mg
4bc0cccf00 Fix user/login screen layout, fixes #2474 2016-04-25 19:10:56 -04:00
auria.mg
32eba771e2 Tweak GP win and GP lose buttons : translator reported they were too small, and also they were designed for mouse use only and didn't work well from another input device 2016-04-24 18:21:45 -04:00
auria.mg
8c337110a2 Fix text 2016-04-23 09:00:40 -04:00
auria.mg
b6431c3383 Tweak grand prix 2016-04-22 20:44:35 -04:00
auria.mg
cffd0bd00c Fix invalid XML and update translations 2016-04-22 20:28:21 -04:00
auria.mg
ea14dcc1ca Update pot file 2016-04-22 18:59:07 -04:00
auria.mg
1fc99d7948 Add a few more replays + minor text change 2016-04-22 18:55:26 -04:00
auria.mg
5e8168e020 Add a few more stock replays 2016-04-22 18:20:32 -04:00
Benau
55278122fe Allow showing same difficulty of ghost replay only 2016-04-22 23:07:45 +08:00
Benau
f6ce065cee Allow a few replays coming with the game 2016-04-22 09:49:46 +08:00
auria.mg
790cd807a3 Start updating changelog for STK 0.9.2. Prepare challenges/GPs for the new abyss track (replacing the old subsea) 2016-04-21 20:50:01 -04:00
auria.mg
c18343f60b Improvements to login screen : properly center buttons, and allow logging in by pressing enter 2016-04-12 19:27:11 -04:00
Benau
c258418577 Fix going back 2016-03-21 01:02:13 +08:00
Benau
fce3eec66f New GUI for track only screen, used in network and loaded from replay 2016-03-20 16:23:49 +08:00
Benau
b92210d4a0 No watching replay when split-screen
And some bugs fixes
2016-03-20 08:40:55 +08:00
Benau
da70d305a9 Allow watch replay only 2016-03-20 01:33:26 +08:00
Benau
07afd444a8 Allow racing against the replay on equal footing
It make record while replay possible too.

We show the ghost only when start racing, fixing the overlapping issue.
2016-03-19 14:57:22 +08:00
Benau
5b7161710d Add GUI option in track info screen for random item location. 2016-03-17 12:16:19 +08:00
Benau
c48ce20091 Thanks leper for this fix 2016-03-14 00:43:00 +08:00
Benau
8a9168a024 Remove the hard-coded localized name in language.cpp 2016-03-13 10:25:26 +08:00
Marianne Gagnon
5500a06ceb Tweak subsea challenge 2016-03-10 20:57:43 -05:00
Marianne Gagnon
90f0c12393 More work on networking UI 2016-03-10 18:48:40 -05:00
Marianne Gagnon
35451515a2 Work on "Create server" screen to include more options 2016-03-09 19:47:45 -05:00
Marianne Gagnon
193aabe393 Remove weird unicode character from help GUI files 2016-03-09 19:47:21 -05:00
Marianne Gagnon
8ba337c343 Regenerate pot file, fixing transifex issue hopefully 2016-03-08 21:35:25 -05:00
hiker
edbdde4536 Replaced another soft-dash with a normal - (to avoid transifex complains). 2016-03-07 13:58:44 +11:00
hiker
c6cef53c99 Merge branch 'refactor-network-string' 2016-03-07 12:26:36 +11:00
hiker
68e394702b Merge branch 'refactor-network-string' of github.com:supertuxkart/stk-code into refactor-network-string 2016-03-07 12:20:43 +11:00
hiker
64993718b4 Replaced soft-dash with a normal - (to avoid transifex complains). 2016-03-07 12:15:20 +11:00
Marianne Gagnon
04999c35ee More work on networking UI 2016-03-06 20:01:40 -05:00
Marianne Gagnon
14c8ecddb5 Add waiting screen for networking 2016-03-01 18:58:51 -05:00
Benau
96a10ce92c Update strings 2016-02-29 10:59:42 +08:00
Benau
64522d9d13 Merge remote-tracking branch 'origin/master' into fix_replay 2016-02-17 14:03:58 +08:00
Marianne Gagnon
9c49312714 Work on networking GUI, combine older server interfaces with the newer online/profile screens 2016-02-16 18:33:09 -05:00
Benau
a6412d7a07 Add ghost icon, use it in race setup screen 2016-02-15 09:28:36 +08:00
Benau
8a121ed32b Add Ghost replay GUI 2016-02-13 01:34:00 +08:00
Benau
7765b43d42 Merge remote-tracking branch 'origin/master' into fix_replay 2016-02-11 13:45:16 +08:00
Benau
ece95cbb81 Use MessageQueue to show whether the replay file is saved successfully 2016-02-11 13:42:25 +08:00
Marianne Gagnon
fe6bbb80c4 Delete unused da_DK translation, closes #2435 2016-02-10 19:56:45 -05:00
Benau
bb88a0f0ec Allow auto-save replay when specified in time trial mode.
It will disable AI when recording, also it will only save if the
race is completed, ie no one gave up or all events fit in max frame recorded.
2016-02-11 00:42:33 +08:00
Benau
e8adf7f051 Remove bubblegum in soccer mode as suggested by auria 2016-01-25 12:50:20 +08:00
Benau
a7aedbe208 Remove unused PNG 2016-01-22 09:20:03 +08:00
Benau
b7df193ed4 Add Red/Blue icon in soccer setup screen 2016-01-19 08:49:23 +08:00
Marianne Gagnon
025c117d58 Tweak soccer setup screen to be clearer 2016-01-17 21:21:55 -05:00
Benau
b410c8f67c Make soccer menu useful in single player
Notice: As race_manager->setKartSoccerTeam(i, info.team) already
pre-set karts team, there is no need to test for
(getNumKartsInTeam(SOCCER_TEAM_RED) == 0 || getNumKartsInTeam(SOCCER_TEAM_BLUE) == 0),
so the the menu code is simplified.
2016-01-16 16:11:33 +08:00
Benau
e296ebe4af Use white-black ball in minimap 2016-01-15 19:52:49 +08:00
Benau
283c1a7c37 Update supertuxkart desktop file to support searching with keywords 2016-01-08 09:34:13 +08:00
hiker
b8ed2025ed Merge remote-tracking branch 'origin/master' into refactor_networking 2016-01-06 17:53:45 +11:00
Benau
629f090646 More battle mode improvements
1. Fix text overflow in arena menu

2. Try to make battle AI avoiding eating banana
2015-12-29 08:27:24 +08:00
Benau
94c5ba4193 Add more arena info in track screen 2015-12-24 07:53:49 +08:00
Deve
5020f3ca2e Disable compute shader for intel on mesa for now, because it is shaking for some reason. 2015-12-20 13:46:41 +01:00
hiker
68e37c902f Merge remote-tracking branch 'origin/master' into refactor_networking 2015-12-15 22:52:55 +11:00
Deve
80d36208f1 Added ugly hack, which forces srgb-capable framebuffer creation for intel drivers on linux 2015-12-11 19:18:14 +01:00
Marianne Gagnon
508dcdd7e8 Update credits 2015-12-07 19:07:10 -05:00
Flakebi
c5277edc54
Change suspension-travel that was changed in master meanwhile 2015-12-03 02:15:58 +01:00
Flakebi
b3cb029087
Remove kart-type specific turn settings 2015-12-02 19:40:59 +01:00
Flakebi
ba3bc326eb
Minor refinements 2015-11-29 22:21:03 +01:00
hiker
da2671c6ee An 'authorised' client can now tell the server to select karts. 2015-11-23 08:08:23 +11:00
Flakebi
2f1d08edbd Add enabled property to skid characteristics 2015-11-21 23:27:00 +01:00
Flakebi
ffa85d2206 Merge remote-tracking branch 'upstream/master' into kart-properties 2015-11-21 23:03:58 +01:00
hiker
815d663ee3 Revert "Removed unnecessary stkgui file." - it was the wrong file :P
This reverts commit e804fc281a.
2015-11-21 12:21:16 +11:00
hiker
e804fc281a Removed unnecessary stkgui file. 2015-11-21 12:15:02 +11:00
Benau
f1982c1bee Fix coloring 2015-11-15 01:24:06 +08:00
Benau
0deb065fe9 Two new skin (Ruby and Forest)
Also fix some alignment issue when the multiplayer selection boxes.
2015-11-14 16:28:37 +08:00
Benau
2b0e3b8828 Reverse type and state 2015-11-14 10:38:14 +08:00
Benau
962fe919d2 Color the text (mainly border including title and billboard) base on current skin 2015-11-14 01:06:28 +08:00
Benau
7cf4d662ee Allow configurable fonts file names in stk-config 2015-11-13 02:25:52 +08:00