dhewm3/neo/sys/win32
Daniel Gibson 6181f24c44 SDL3: Now works on Windows as well
Refactored the pseudo-custom SDL_main code a bit: SDL_win32_main.c
is now only used for SDL1.2, SDL2 and SDL3 have a WinMain() function
in win_main.cpp that works pretty much like the SDL2 SDL_main or SDL3
SDL_RunApp() code - except that the argv[] strings passed to the Doom3
main() function (now renamed to SDL_main()) are encoded in ANSI instead
of UTF-8, so paths passed as commandline arguments, like
 dhewm3 +set fs_basepath C:\SüperGämes\Doom3
work with the Win32 ANSI function used by Doom3 to handle paths and files.

For this I also moved the stdout/stderr redirection code from
SDL_win32_main.c to win_main.cpp and cleaned it up a bit
2024-10-09 17:37:08 +02:00
..
rc Fixup: typo: 'hiehgt' -> 'height' in a few places around the codebase 2023-02-04 19:34:29 +01:00
sdk Fix all whitespace errors 2011-12-10 15:35:54 +01:00
SDL_win32_main.c SDL3: Now works on Windows as well 2024-10-09 17:37:08 +02:00
win_input.cpp Recreate s_scantokey_* tables in win_input.cpp to fix MinGW build 2019-06-17 03:50:07 +02:00
win_local.h Make MFC Tools work with MSAA enabled 2021-05-11 00:39:00 +02:00
win_main.cpp SDL3: Now works on Windows as well 2024-10-09 17:37:08 +02:00
win_net.cpp Use idStr::Copynz() instead of strncpy() 2022-01-08 16:58:48 +01:00
win_shared.cpp Get rid of memory status functions 2012-01-08 12:24:58 +01:00
win_syscon.cpp Fix freezing of dedicated server window on Windows 2012-11-12 20:18:00 +01:00