Commit Graph

17090 Commits

Author SHA1 Message Date
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
Elderme
41cd1e0364 merged with master 2016-08-18 22:36:19 +02: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
hiker
e56d324738 Moved the kart control events from the kart control class instead
of the kart rewinder.
2016-08-17 08:08:42 +10:00
Deve
489c34edbf Fixed minimap with scale_rtts_factor parameter 2016-08-16 23:59:36 +02:00
auria.mg
084fa04012 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2016-08-15 20:33:11 -04:00
auria.mg
63a82c915c Bugfix: prevent activating disabled ribbon items 2016-08-15 20:33:06 -04:00
hiker
7c899c943c Refactored KartControl to use setters/getters instead of
just public variables.
2016-08-15 17:26:07 +10:00
Deve
bd6ad544cc Fixed bloom with scale_rtts_factor parameter. 2016-08-15 08:46:02 +02:00
Deve
26d2bf847c Allow to use non-hd textures in OpenGL ES renderer 2016-08-13 00:01:08 +02:00
Deve
b23f39f1cd Fixed non-hd textures in legacy pipeline 2016-08-12 23:51:29 +02:00
Deve
08202f2fa8 Remove USE_XRANDR flag from cmake.
Our vidmode code is old, has some bugs (eg. resolution is not restored properly in some cases), doesn't have multi monitor support and IMO shouldn't be used in current state.

If someone really wants to use it, the flags can be set directly in IrrCompileConfig.h.
2016-08-12 23:39:12 +02:00
Deve
d320df749f Allow to set max texture size in config file.
It gives much lower memory usage when it's set for example to 128.
2016-08-12 23:30:10 +02:00
Deve
1481da9718 Fixed button icons with non-hd textures and low MAX_TEXTURE_SIZE parameter 2016-08-12 20:51:19 +02:00
Benau
c5446c4cf1 Remove unused header 2016-08-12 10:41:07 +08:00
Benau
c71b24f98f Correct fixes to #2599 2016-08-12 09:41:08 +08:00
Benau
aa15b0070e Determine the texture size of bold face smartly 2016-08-12 08:31:52 +08:00
Benau
2d95df1722 Update appdata file to latest standard 2016-08-12 00:48:57 +08:00
hiker
239881ef5e Refactored event handling, so that now not only Rewinder objects
can store events. This allows e.g. a 'new attachment' event to
be handled entirely in the attachment class, not in the kart
rewinder anymore.
2016-08-11 17:16:54 +10:00
Deve
5cfed1bc1c Allow to set lower RTTs resolution.
It allows to increase performance on devices that have only one available resolution.

It also allows to draw GUI elements in full resolution while rendering the scene with slightly lower resolution, which gives you few additional FPS.

Note that particles don't work as expected yet with this feature.
2016-08-11 02:04:35 +02:00
hiker
e621e93f4c Updated comments. 2016-08-10 08:35:23 +10:00
hiker
eaf21fe2f8 Replaced #include in kart.hpp to reduce dependencies; some coding style fixes. 2016-08-10 08:21:37 +10:00
hiker
7c598df8d1 Save powerup state in kart status. 2016-08-09 17:46:06 +10:00
hiker
f4f2f11943 Fix crash in case the same event is replayed more than once. 2016-08-09 17:39:20 +10:00
hiker
a5ce27caa5 Added events for new attachments. 2016-08-09 17:16:45 +10:00
hiker
5f6c954c5a Added documentation. 2016-08-08 18:10:30 +10:00
hiker
5da96cf9d0 Fixed documentation and usage of ATTACHMENT_NOLOKS_SWATTER (which is
never an actual attachment value, even nolok has 'ATTACHMENT_SWATTER'
set).
2016-08-08 17:57:15 +10:00
hiker
f341cd1440 Optimised rewind of attachments (avoid creating new attachments
when the attachment was not changed).
2016-08-08 17:46:52 +10:00
hiker
c01f838b0f Merge remote-tracking branch 'origin/master' into rewind 2016-08-08 14:34:24 +10:00
Benau
15a2526971 Merge branch 'fix_graph' 2016-08-08 08:56:05 +08:00
hiker
b3f932a0e3 Renamed getState to saveState, and added support for saving a kart's
attachmend in a state.
2016-08-08 10:33:12 +10:00
MTres19
8e8433f08c Credit where credit is due (#2593)
* Give GeekPenguinBR and TuxKartDriver credit

* Give credit to samuncle and konstin
2016-08-05 19:12:52 -04:00
hiker
40697ab5f7 Bugfix for rewind: previously for a floating point value f add(f)
would actually call add(Vec3(f)), which adds a vector (f,f,f).
2016-08-05 17:22:04 +10:00
hiker
e039eb59c9 Added more fields to debug output. 2016-08-05 17:21:17 +10:00
hiker
05db7c1481 Use BareNetworkString for storing states and events. 2016-08-04 23:17:16 +10:00
Elderme
6f78f5b9b9 Fixed GLES 2016-08-04 14:36:35 +02:00
hiker
1025e25846 Refactored RewindInfo into astand-alone class/file with separate
classes for time, event, and states.
2016-08-03 17:48:38 +10:00