ddnet/src/engine/client
bors[bot] dcc912d317
Merge #4602
4602: Fix windows macro and split the resize events r=def- a=Jupeyy

I noticed that the resize backend used the wrong macros `CONF_PLATFORM_WINDOWS` instead `CONF_FAMILY_WINDOWS`(windows seems to be the only one in detect.h that splits platform between 32bit and 64bit, maybe we should change that)

maybe this fixes #4351, because actually the workaround for windows was exactly inside the wrong macro to fix resizing in fullscreen.

I also split the resize functions, so its less confusing Resize (actively resize in the resolution list) vs GotResized (reported by SDL) and made some things a bit clearer

## Checklist

- [x] 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>
2022-01-15 16:17:15 +00:00
..
backend Skip the UTF-8 BOM on all read text files 2021-12-17 22:07:01 +01:00
backend_sdl.cpp Fix windows macro and split the resize events 2022-01-15 16:55:32 +01:00
backend_sdl.h Fix windows macro and split the resize events 2022-01-15 16:55:32 +01:00
blocklist_driver.cpp Add Intel as vendor to the block list on windows 2021-05-06 12:23:40 +02:00
blocklist_driver.h Add Intel as vendor to the block list on windows 2021-05-06 12:23:40 +02:00
client.cpp Fix OOB access in CSnapshotDelta::UnpackDelta, cleanup 2022-01-14 19:10:43 +01:00
client.h Implement "reset" command 2021-12-27 01:13:11 +01:00
demoedit.cpp Run clang-format 2020-09-26 21:50:15 +02:00
demoedit.h Manual preparation for cleaner clang-format 2020-09-26 21:41:01 +02:00
discord.cpp Support building universal binaries with discord 2021-12-20 16:07:00 +01:00
friends.cpp More colors from chat in console 2021-03-08 01:20:28 +01:00
friends.h Port CConfig API from the upstream (0.7.5) 2021-01-10 17:10:19 +03:00
ghost.cpp add functions for packing/unpacking int/unsigned using char arrays 2021-11-09 22:19:32 +01:00
ghost.h add functions for packing/unpacking int/unsigned using char arrays 2021-11-09 22:19:32 +01:00
graphics_defines.h Remove GL includes from headers 2021-05-01 23:56:30 +02:00
graphics_threaded.cpp Fix windows macro and split the resize events 2022-01-15 16:55:32 +01:00
graphics_threaded.h Fix windows macro and split the resize events 2022-01-15 16:55:32 +01:00
graphics_threaded_null.h Fix windows macro and split the resize events 2022-01-15 16:55:32 +01:00
http.cpp Disable connection reuse in curl (fixes #4342) 2021-11-28 01:56:08 +01:00
http.h Make some variables atomic, that are read from the main thread 2021-10-28 13:53:26 +02:00
input.cpp Fix windows macro and split the resize events 2022-01-15 16:55:32 +01:00
input.h Support GUI/Cmd key and use it as equivalent to ctrl in default shortcuts 2021-12-18 12:23:20 +01:00
keynames.h Enable most clang-tidy misc-* checks 2020-11-05 12:03:14 +01:00
notifications.cpp Further fixes for Haiku 2021-09-13 15:29:32 +02:00
notifications.h Libnotify support for linux client (#2099) 2020-04-14 17:53:53 +02:00
serverbrowser.cpp Remove compatible version filter 2021-12-28 15:09:38 +01:00
serverbrowser.h Update server list silently 2021-09-13 16:50:40 +02:00
serverbrowser_http.cpp Skip the UTF-8 BOM on all read text files 2021-12-17 22:07:01 +01:00
serverbrowser_http.h Save previously determined best serverlist 2021-05-14 01:01:09 +02:00
serverbrowser_ping_cache.cpp Add forgotten commit data from #3772 2021-05-27 21:48:04 +02:00
serverbrowser_ping_cache.h Add serverbrowser ping cache 2021-05-14 01:00:41 +02:00
sound.cpp Protect various variables for the sound class 2021-10-28 13:53:26 +02:00
sound.h Make sure headers compile standalone 2020-09-26 21:50:27 +02:00
sqlite.cpp Make use of IO_MAX_PATH_LENGTH 2021-09-13 12:14:50 +02:00
steam.cpp Fix string functions not to truncate in the middle of a UTF-8 character 2021-12-20 02:34:02 +01:00
text.cpp Fix string functions not to truncate in the middle of a UTF-8 character 2021-12-20 02:34:02 +01:00
updater.cpp Add IStorage::FormatTmpPath static method 2021-12-20 16:12:15 +01:00
updater.h Remove Windows XP code 2021-08-23 12:05:01 +02:00
video.cpp uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
video.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00