ddnet/src/game/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
..
components Merge #4602 2022-01-15 16:17:15 +00:00
prediction clang-format fix 2022-01-08 12:30:51 +01:00
animstate.cpp Fix clang-analyzer-core.UndefinedBinaryOperatorResult 2020-10-14 15:45:47 +02:00
animstate.h Manual preparation for cleaner clang-format 2020-09-26 21:41:01 +02:00
component.cpp Make components member of CGameClient 2021-07-12 12:07:31 +02:00
component.h Revert "Add new mouse state" 2021-10-23 13:48:21 +02:00
gameclient.cpp Livefreeze implementation with CHARACTERFLAG_NO_MOVEMENTS flag. 2022-01-07 16:53:40 +01:00
gameclient.h Livefreeze implementation with CHARACTERFLAG_NO_MOVEMENTS flag. 2022-01-07 16:53:40 +01:00
lineinput.cpp Support GUI/Cmd key and use it as equivalent to ctrl in default shortcuts 2021-12-18 12:23:20 +01:00
lineinput.h replace DeleteUntilCursor and DeleteFromCursor with SetRange 2021-11-25 00:05:04 +01:00
projectile_data.cpp Sanitize owner data in client (fixes #4388) 2021-11-24 15:41:27 +01:00
projectile_data.h force tunezone 2021-04-23 11:01:38 +08:00
race.cpp Enable modernize-loop-convert clang-tidy check 2020-11-02 22:40:24 +01:00
race.h Fix all the header guards and adjust the script a little 2018-07-06 16:11:38 +02:00
render.cpp Refactor CUIElements 2021-09-14 00:21:20 +02:00
render.h Livefreeze implementation with CHARACTERFLAG_NO_MOVEMENTS flag. 2022-01-07 16:53:40 +01:00
render_map.cpp uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
skin.h Different comparators for skins in UI (no case) and regular skins (with case) 2021-03-23 13:39:54 +01:00
ui.cpp rename Init method and move implementation 2021-12-03 20:26:27 +01:00
ui.h rename Init method and move implementation 2021-12-03 20:26:27 +01:00
ui_ex.cpp Support GUI/Cmd key and use it as equivalent to ctrl in default shortcuts 2021-12-18 12:23:20 +01:00
ui_ex.h move DoClearableEditBox to CUIEx 2021-12-03 20:26:23 +01:00