ddnet/src/engine
bors[bot] eea0a95550
Merge #4204
4204: Lower worst/best case frame time calculations r=heinrich5991 a=Jupeyy

1 second is too much, 1 frame of 60 fps is more than enough, dropping a whole frame when using 60fps as limit is already quite alot

## Checklist

- [ ] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2021-12-19 16:23:52 +00:00
..
client Merge #4204 2021-12-19 16:23:52 +00:00
docs Fix a woopsie in snapshot docs 2021-05-29 11:07:33 +02:00
external Fix serverinfo json parser to work with system libjsonparser (fixes #4202) 2021-11-17 18:26:16 +01:00
server Skip the UTF-8 BOM on all read text files 2021-12-17 22:07:01 +01:00
shared Skip the UTF-8 BOM on all read text files 2021-12-17 22:07:01 +01:00
antibot.h Allow the antibot to get more insight into the network 2021-06-24 20:32:41 +02:00
client.h Disallow dummy option (closes #4305, #4316) 2021-11-17 20:35:39 +01:00
config.h Port CConfig API from the upstream (0.7.5) 2021-01-10 17:10:19 +03:00
console.h Use default color, if print color is white 2021-10-24 01:48:38 +02:00
demo.h add functions for packing/unpacking int/unsigned using char arrays 2021-11-09 22:19:32 +01:00
discord.h Put the Discord stuff into its own file 2021-01-31 10:17:21 +01:00
editor.h Adopt upstream refactoring: Mark several functions as 'const' 2021-02-23 18:26:16 +03:00
engine.h Add serverbrowser ping cache 2021-05-14 01:00:41 +02:00
friends.h Run clang-format 2020-09-26 21:50:15 +02:00
ghost.h Update ghost format to v6: Replace CRC with SHA256 2020-10-14 17:08:58 +02:00
graphics.h Revert "Add new mouse state" 2021-10-23 13:48:21 +02:00
input.h Revert "Add new mouse state" 2021-10-23 13:48:21 +02:00
kernel.h Run clang-format 2020-09-26 21:50:15 +02:00
keys.h Use scancodes instead of keycodes for input (fixes #796, please test) 2017-07-21 19:53:49 +02:00
map.h Run clang-format 2020-09-26 21:50:15 +02:00
masterserver.h Adopt upstream refactoring: Mark several functions as 'const' 2021-02-23 18:26:16 +03:00
message.h Run clang-format 2020-09-26 21:50:15 +02:00
server.h add IServer::ChangeMap to fix change_map command 2021-12-15 03:36:25 +03:00
serverbrowser.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
sound.h Modulize skins, particles, emoticons and game 2020-10-09 09:07:19 +02:00
sqlite.h Add sqlite3 to the client 2021-05-14 01:00:41 +02:00
steam.h Allow joining and inviting others via Steam friend list while ingame 2020-09-06 17:08:38 +02:00
storage.h Make use of IO_MAX_PATH_LENGTH 2021-09-13 12:14:50 +02:00
textrender.h Add basic selection support for ui ex edit boxes 2021-10-04 19:58:25 +02:00
updater.h Overhauled job system 2017-11-23 15:47:38 +01:00
uuid.h Make sure headers compile standalone 2020-09-26 21:50:27 +02:00
warning.h Add block list for drivers 2020-11-05 21:07:14 +01:00