ddnet/src/engine/client
Robert Müller 8d774fa48c Define Windows header macros only once in CMakeLists.txt
Instead of defining the macro `WIN32_LEAN_AND_MEAN` and sometimes also the macro `_WIN32_WINNT` in each file that directly or indirectly includes `<windows.h>`, only define these macros once consistently in `CMakeLists.txt`.

Also define `NTDDI_VERSION`, which is the new macro to specify the minimum Windows version starting with Windows Vista. This macro needs to be defined in addition to old `_WIN32_WINNT` macro, according to the documentation.

See https://learn.microsoft.com/en-us/windows/win32/winprog/using-the-windows-headers
2024-02-28 21:40:28 +01:00
..
backend Add color palette and pipette to editor 2023-12-30 13:17:30 +01:00
backend_sdl.cpp remove unnecessary variables and loop 2024-02-07 02:31:06 +03:30
backend_sdl.h Remove unused parameter of SetWindowParams function 2024-01-23 17:49:55 +01:00
blocklist_driver.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
blocklist_driver.h Add Intel as vendor to the block list on windows 2021-05-06 12:23:40 +02:00
checksum.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
client.cpp Define Windows header macros only once in CMakeLists.txt 2024-02-28 21:40:28 +01:00
client.h Render loading message/indicator when receiving rcon commands 2024-02-18 18:15:33 +01:00
demoedit.cpp add error handling for CDemoEdit job 2024-02-26 18:44:11 +01:00
demoedit.h add error handling for CDemoEdit job 2024-02-26 18:44:11 +01:00
discord.cpp Fix discord build 2023-12-15 00:55:26 +01:00
favorites.cpp Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
friends.cpp Add templated str_append function for arrays with fixed size 2023-06-14 00:04:01 +02:00
friends.h Organize engine-client includes 2022-06-17 17:46:43 +02:00
ghost.cpp Small fixes for cl_race_ghost_strict_map 2023-10-28 14:54:35 +02:00
ghost.h Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
graph.cpp Add time scale to debug graphs for constant scrolling speed 2024-01-17 20:43:19 +01:00
graph.h Add time scale to debug graphs for constant scrolling speed 2024-01-17 20:43:19 +01:00
graphics_defines.h Replace all usages of C standard headers with C++ headers 2023-03-01 19:26:51 +01:00
graphics_threaded.cpp rename Modes 2024-02-09 23:01:09 +03:30
graphics_threaded.h rename Modes 2024-02-09 23:01:09 +03:30
input.cpp Define Windows header macros only once in CMakeLists.txt 2024-02-28 21:40:28 +01:00
input.h Replace static variables in MouseRelative with member variable 2023-10-15 20:36:59 +02:00
keynames.h Regenerate key lists with latest SDL version 2023-05-30 23:39:47 +02:00
notifications.cpp Add INotifications kernel interface 2023-12-16 18:15:43 +01:00
notifications.h Add INotifications kernel interface 2023-12-16 18:15:43 +01:00
serverbrowser.cpp Add has_finishes attribute to community info 2024-02-20 20:34:21 +01:00
serverbrowser.h Write DDNet info file only when it changed 2024-02-04 23:29:11 +01:00
serverbrowser_http.cpp Allow background jobs to be aborted, refactoring 2024-02-25 17:03:45 +01:00
serverbrowser_http.h Use curl-multi 2023-12-18 20:06:43 +01:00
serverbrowser_ping_cache.cpp Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
serverbrowser_ping_cache.h Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
smooth_time.cpp Properly initialize all CClient member variables 2023-12-02 18:33:46 +01:00
smooth_time.h Make prediction margin take effect immediately 2023-11-19 19:52:39 +01:00
sound.cpp Optimize allocation of sound sample indices 2023-12-29 13:07:04 +01:00
sound.h Optimize allocation of sound sample indices 2023-12-29 13:07:04 +01:00
sqlite.cpp Make use of IO_MAX_PATH_LENGTH 2021-09-13 12:14:50 +02:00
steam.cpp Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
text.cpp Various fixes to map settings handling 2024-01-23 20:15:30 +01:00
updater.cpp Fix client/server updates 2024-01-28 19:34:30 +01:00
updater.h Fix client/server updates 2024-01-28 19:34:30 +01:00
video.cpp Fix readability-make-member-function-const 2023-12-14 23:38:03 +01:00
video.h Fix readability-make-member-function-const 2023-12-14 23:38:03 +01:00
warning.cpp Fix warning title being uninitialized in some cases 2024-01-16 20:12:25 +01:00