Commit Graph

16876 Commits

Author SHA1 Message Date
hiker
e1af0cc353 Fixed various bugs in max speed state saving. 2016-09-09 13:36:49 +10:00
Deve
f2d1eb7117 Use high precision floating point variables if possible.
On desktop medium and high precision is generally the same, at least for mesa drivers. But on some Android devices medium precision is much worse, which causes artifacts. We need high precision float variables in vertex shaders for proper scene rendering. Setting different precision for fragment and vertex shaders seems to be not possible, so we just set it to high for both shader types when it's available.
2016-09-07 22:43:11 +02:00
hiker
3a367ce989 For debugging: instead of specifying the time to go back, specify the
time to go back to.
2016-09-07 08:46:46 +10:00
hiker
6245cea609 Added MaxSpeed to saved state of each kart. 2016-09-07 08:15:09 +10:00
hiker
7d7b98564f Fixed speed smoothing factor (which hopefully fixes the shaking camera). 2016-09-05 17:54:45 +10:00
hiker
77ae30a0c5 Avoid compiler warning. 2016-09-05 09:59:29 +10:00
hiker
1860edca4e Save startup-boost information in state. 2016-09-05 08:14:51 +10:00
hiker
a563266988 Made the KartRewinder to be a kart (which gives it easier access to
some of the kart attributes that need to be saved).
2016-09-05 08:00:21 +10:00
Benau
262eb40dfe Allow showing yellow (2d) / green (3d) quads in track debug 2016-09-04 14:33:23 +08:00
Benau
9d41f4b429 Add assert check for graph.xml 2016-09-04 13:15:51 +08:00
Benau
23a49d5245 Merge remote-tracking branch 'origin/master' into walldriving 2016-09-04 11:56:28 +08:00
Benau
21dc569f70 Start to clean up quad and graph node 2016-09-04 11:56:03 +08:00
Benau
78baaff23e Fix crash in profile mode 2016-09-03 23:03:14 +00:00
hiker
b91ecc9754 Use exponential smoothing for speed, to further reduce stuttering
in speed (and therefore camera).
2016-09-01 15:52:26 +10:00
hiker
f89aaa67f5 Reduce (admittedly very minor) camera jitter by computing the speed
of a kart after it was capped by max speed.
2016-09-01 09:54:09 +10:00
Deve
29eda8a206 Merge pull request #2620 from LoadingPleaseWait/tiny-typo
Fix CPU marker typo
2016-08-31 22:57:00 +02:00
LoadingPleaseWait
3dc13eb071 Fix CPU marker typo 2016-08-31 15:36:15 -05:00
hiker
2a06036fb7 Changed order in which rendering and various updates are done, which
results in the physics reacting one frame earlier to user input.
2016-08-31 16:31:59 +10:00
hiker
ce91d6c2b4 Bugfix (saved incorrect variable). 2016-08-31 16:27:05 +10:00
deve
6c9050f47a Merge branch 'master' of https://github.com/supertuxkart/stk-code 2016-08-26 10:36:09 +02:00
deve
5abc047b0c Declare precision also in vertex shaders in GLES renderer.
Some drivers complain that it was declared only in fragment shaders.
2016-08-26 10:35:48 +02:00
Benau
35ce9a39ce Merge branch 'master' into walldriving 2016-08-26 15:36:57 +08:00
auria.mg
061323ffb0 Add information for translators 2016-08-23 20:01:06 -04:00
auria.mg
a07a8b6516 Fix XML files and regenerate strings 2016-08-23 19:53:41 -04:00
Aapo Rantalainen
38e5799167 Four help?.stkgui -files were treated as binary by git (#2612) 2016-08-23 19:36:16 -04:00
konstin
138daf57a4 Move credits file back 2016-08-23 11:07:13 +02:00
konstin
4ce6fb04ea Remove unused documentation and tool files 2016-08-23 01:58:53 +02:00
konstin
fb226a717f Proper building instructions in the readme 2016-08-23 01:51:27 +02:00
Deve
7f4d815dde Request GLES 3.0 context and fallback to 2.0 if not available. 2016-08-22 20:05:36 +02:00
hiker
e6b2c0f1a0 Fised neniry leak. 2016-08-22 18:08:51 +10:00
hiker
75e1f1c82b Bugfix, wrong variable type. 2016-08-22 18:06:26 +10:00
hiker
8f068c4ff0 Somewhat reduced debug output. 2016-08-22 18:05:14 +10:00
hiker
e62948499f Fixed compiler warning. 2016-08-22 18:04:06 +10:00
Deve
ed5a957a64 Fixed typo in config.xml 2016-08-20 23:39:31 +02:00
Deve
790634a914 Use proper size for RSM framebuffer when scale rtts parameter is set.
It looks that only RSM visualization was affected.
2016-08-20 23:34:12 +02:00
Deve
a4dfbc552f Fixed also minimap in overworld with scale rtts parameter 2016-08-20 22:47:53 +02:00
Deve
150e40e4e8 Break the loop with glClientWaitSync also when GL_CONDITION_SATISFIED is returned.
The GL_CONDITION_SATISFIED says that the sync was signaled before the timeout expired. In this case there is no reason to make another glClientWaitSync execution.
2016-08-20 09:31:29 +02:00
Deve
d5fe015ba7 Fixed typo in previous commit. 2016-08-20 08:35:08 +02:00
Deve
a001505abd Set ForceLegacyDevice for intel ironlake and for old radeon drivers.
This hopefully will allow to run STK with these graphics cards and drivers.
2016-08-20 08:13:17 +02:00
Deve
c7d970b745 Allow to set ForceLegacyDevice in graphics restrictions 2016-08-20 08:13:17 +02:00
Benau
91e11a8d88 Don't crash in overworld 2016-08-20 09:01:52 +08:00
Alpt
67e94e73ce In the addons screen, show a tip to remember that the Internet connection is disabled. (Issue #1763). (#2605) 2016-08-19 18:28:59 -04:00
hiker
e7803fe1ab Don't use intermediate states when replaying (only the original state),
since the states after the original are potentially incorrect (due to
the (later) insertion of an event that triggers the rewind).
Rewinds are now much more different than previously ... wip.
2016-08-19 16:38:49 +10:00
Benau
a1c09c4adb Fix potential crash 2016-08-18 15:34:58 +08:00
Benau
6b0fe9dd89 Clean up:
Try to use forward enum declaration for KartRenderType

NoCopy for RenderInfo
2016-08-18 11:15:05 +08:00
hiker
3d5de1c24c Fixed saving kart control events (they stored the previous value, not
the new value).
2016-08-17 17:54:26 +10:00
Benau
fa39de691e Fix Release build 2016-08-17 12:08:20 +08:00
Benau
f07452842d Add support for colorizing library objects using material.xml only 2016-08-17 11:57:18 +08:00
Michael Murphey
d213bef9db Place buttons in confirm dialog horizontally (#2573)
* Place buttons in confirm dialog horizontally closes #2548

* Use RibbonWidget for MessageDialog

* Use buttonbar for confirm dialog
2016-08-16 19:08:45 -04:00
hiker
adba5c48c8 Fix commented out code to use setter/getter in KartControl. 2016-08-17 08:32:11 +10:00