13796 Commits

Author SHA1 Message Date
hiker
65c8cb7ae1 Replaced arrays with std::vector (to get better error checking). 2017-07-30 23:03:40 +10:00
Deve
7d4fbb8d0c Minor modification in play tutorial text. Fixes #2535 2017-07-29 00:43:17 +02:00
hiker
fdd551a730 Fixed debug compilation. 2017-07-24 23:56:34 +10:00
hiker
ea3f9f8945 Merge branch 'master' into game_protocol 2017-07-24 21:12:36 +10:00
hiker
46bc3493b4 Coding style changes to profiler. Replaced ";" as separator with " "
(which is gnuplot friendly), and also added column number to header
to make it easier to know which column is what field.
2017-07-24 16:54:45 +10:00
hiker
48de916f68 Added non-interpolated physics position to debug output. 2017-07-24 16:53:51 +10:00
Benau
979e1546fb Fix #2881, only create a camera when initializing 2017-07-21 09:27:57 +08:00
Deve
0dba3c8f67 Add a prefix to irrlicht key codes 2017-07-20 22:58:11 +02:00
Benau
10909b9556 Remove m_scale_rtts_factor == 1.0f in image quality for now
Because not working in advanced pipeline
2017-07-20 10:19:30 +08:00
Deve
11b2409fab Activate accelerometer only if needed 2017-07-18 21:43:45 +02:00
Deve
d44802a482 Add a workaround for some qualcomm devices on android 4.4 2017-07-11 00:37:31 +02:00
Deve
70c481cb26 Add a possibility to set android version in graphics restrictions. 2017-07-10 22:54:38 +02:00
Benau
8653d410f8 Option 1 for fixing android 4.4
Reinit vertex attribute pointer each time, performance may hurt
2017-07-09 00:46:42 +08:00
QwertyChouskie
7b185ce2f1 Add new GPwin cutscene (#2875)
* Add new cutscene

* Cleanup

* Make all podiums arrive at the same time
2017-07-06 20:54:42 -04:00
Deve
6fc285b794 Show only native resolution in settings on android.
Changing resolution is atm. not available, so adding 1024x768 doesn't have a sense.
2017-07-06 23:18:43 +02:00
Deve
9fc1acc4c0 Allow to draw steering wheel on the right side 2017-07-05 21:21:33 +02:00
Deve
2cda14686d Simplify touch device settings 2017-07-05 20:43:57 +02:00
Deve
09262a606b Add missing copyright.
The EGL context manager has been written from scratch, so our copyright should be fine.
2017-07-04 22:55:08 +02:00
Deve
f13f69851f Fixed black screen on some GLES 2.0 devices.
It affects only GLES 2.0. The GLES >= 3.0 and OpenGL allow sized internal formats.
2017-06-29 23:00:08 +02:00
Deve
8462c552d1 Add a warning for very low screen resolutions.
There are some android devices that are 320x240, 400x240 etc... Bare minimum to run STK is 640x480. Otherwise some important gui elements are not displayed and it may crash in guiengine.
2017-06-28 21:32:12 +02:00
hiker
721cebc325 Added timestamp to debug output. 2017-06-27 19:02:03 +10:00
Deve
68cfdfbf17 Minor fix for android progress bar that probably doesn't make any difference anyway 2017-06-24 21:41:36 +02:00
hiker
59ae3e8e63 Added documentation. 2017-06-22 17:39:56 +10:00
hiker
95016d03f4 Removed unnecessary loop. 2017-06-22 17:32:27 +10:00
hiker
60bbd4951a Added more debug output. 2017-06-22 09:54:55 +10:00
Matthew Trescott
1d8a709e38 Fix the --cutscene=<cutscene> commandline flag (#2861)
If the menu is shown, there's this ugly purple background (the OpenGL default, I think) and the cutscene won't play.
2017-06-17 18:49:00 -04:00
Matthew Trescott
3dee6ce5dd Add option to unlock everything (and disable that option) from the command line
This was a complaint of Michael Larabel from Phoronix and is why he doesn't use STK in benchmarks; because the new tracks are mostly locked from the start and unavailable even with the --track flag
2017-06-17 11:45:57 -04:00
QwertyChouskie
10e439b6a1 Clean up output (#2856) 2017-06-13 20:50:13 -04:00
hiker
dd9e361289 Stop startup time being accelerated in network games (which results
in client and server to become out of synch).
2017-06-14 08:28:06 +10:00
hiker
283f3b94d3 Fixed tiem correctoin (which was in the wrong direction). 2017-06-14 08:27:34 +10:00
QwertyChouskie
be00283b2e Fix a few compiler warnings (#2854)
* Fix compiler warnings in gpwrap.cpp

* Fix compiler warning in skybox.cpp
2017-06-11 15:59:12 -04:00
hiker
72e7c5a4cb Updated unit testing for latest code changes, removed old/commented
out code.
2017-06-08 09:29:42 +10:00
hiker
08cd8bf235 Added debug output. 2017-06-08 09:17:34 +10:00
hiker
f772c090ec If a state from the server is received in the future (which can happen
if the server is forced to a rewind), make sure to still replay
the state.
2017-06-07 22:09:22 +10:00
hiker
0cc3a2d63f Removed unnecessary call. 2017-06-07 18:57:24 +10:00
hiker
48bbdc0e07 Determine end of rewind period by reaching the latest TimeStepInfo
(i.e. the one that was just added for the upcoming timestep that
first needed to do the rewind) instead of comparing world time
and end time - the latter is prone to floating point differences,
causing rewinds to 'rewind' the timestep that has yet being computed.
2017-06-07 09:33:40 +10:00
hiker
a13856c6d1 Adjust DT on client (due to server requests) at time DT is computed
(to keep consistent DT across all further calls, esp. avoid
issues with rewinding getting different DT).
2017-06-05 09:46:34 +10:00
hiker
f32a1961e2 Minor bugfix. 2017-06-05 09:06:12 +10:00
hiker
3747427c5f ixed handling of adding states to time step info to minimise
rewindw by assigning new events to existing time step info events.
2017-06-05 08:54:52 +10:00
hiker
34af963cc1 Fixed incorrect server-start-delay (caused by the start delay
being delivered in a different thread, so adding DT in the main
thread was not the right time step).
2017-05-29 15:08:32 +10:00
Deve
c8137fc0fa Add a possibility to set a window class in irr device.
This makes one ugly #ifdef less in the irr_driver.cpp.
2017-05-25 21:26:31 +02:00
Deve
ce0a7bde84 Correct the rule for Polish plural forms.
It's already fixed in transifex.
2017-05-25 16:17:38 +02:00
hiker
742be06c21 Removed code duplication by using macros. 2017-05-22 12:38:21 +10:00
Deve
8968706c09 Merge branch 'wayland' 2017-05-18 21:25:53 +02:00
hiker
fb5a600787 Remove 'duplicated' input events (e.g. auto-repeat might send
'accelerate' events over and over). This reduces traffic to
the server and other clients (and fixed a bug caused by rewinding
those events in the wrong order).
2017-05-17 09:19:19 +10:00
hiker
54fdd2d586 Add prefix for log messages during a rewind. 2017-05-16 22:01:32 +10:00
hiker
6162be9432 Add support for a 'prefix' to be printed for all log messages. 2017-05-16 22:00:35 +10:00
Deve
1966d3f072 Use x11 functions in irr_driver only if x11 device was created 2017-05-14 00:05:36 +02:00
hiker
91bad37939 Fixed incorrect position for a rubber ball in a cannon. 2017-05-13 21:38:59 +10:00
hiker
bdbc7fd728 Reduce the height of a rubber ball in a cannon over time, so that
it starts closer to the ground when released after the cannon.
2017-05-12 17:52:15 +10:00