godot/main
lawnjelly 3025b6d299 Delta smoothing - fix overflow for long frames
Extremely long frames caused by suspending and resuming the machine could result in an overflow in the delta smoothing because it uses 32 bit math on delta values measured in nanoseconds.

This PR puts a cap of a second as the maximum frame delta that will be processed by the smoothing, otherwise it returns the frame delta 64 bit value unaltered. It also converts internal math to explicitly use 64 bit integers.
2021-08-11 09:47:23 +01:00
..
tests Fix Transform::xform(Plane) functions, add Transform unit tests 2021-08-07 08:05:39 +01:00
app_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
default_controller_mappings.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
gamecontrollerdb.txt Sync controller mappings DB with SDL2 community repo 2021-07-20 13:20:40 +02:00
godotcontrollerdb.txt [HTML5] Add 2 controllers to the godot database. 2021-07-20 13:05:10 +02:00
input_default.cpp Allow checking for exact matches with Action events. 2021-07-30 15:35:39 +02:00
input_default.h Allow checking for exact matches with Action events. 2021-07-30 15:35:39 +02:00
main_builders.py Tweak the editor splash screen color to better match the default theme 2021-03-19 10:51:39 +01:00
main_timer_sync.cpp Delta smoothing - fix overflow for long frames 2021-08-11 09:47:23 +01:00
main_timer_sync.h Delta smoothing - fix overflow for long frames 2021-08-11 09:47:23 +01:00
main.cpp Print a warning when the engine is started as root/superuser 2021-08-03 10:20:18 +02:00
main.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
performance.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
performance.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
splash_editor.png Update AUTHORS and DONORS list 2020-10-28 15:09:17 +01:00
splash.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2019-10-12 23:23:33 +02:00