dhewm3/neo
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
..
cm Fix/work around other misc. compiler warnings 2023-01-05 09:06:34 +01:00
d3xp Detect endianess in CMakeLists.txt, get rid of most SDL_endian.h uses 2024-10-07 03:15:50 +02:00
framework Fix more SDL3 compatibility problems 2024-10-09 03:32:17 +02:00
game Detect endianess in CMakeLists.txt, get rid of most SDL_endian.h uses 2024-10-07 03:15:50 +02:00
idlib Detect endianess in CMakeLists.txt, get rid of most SDL_endian.h uses 2024-10-07 03:15:50 +02:00
libs/imgui Update Dear ImGui to v1.91.3 2024-10-05 17:49:50 +02:00
MayaImport s/LittleLong/LittleInt/ to match the return type 2012-06-28 13:02:47 +02:00
renderer SDL3: Fix textinput; print available displays and their fullscreen modes 2024-10-07 21:15:22 +02:00
sound Detect endianess in CMakeLists.txt, get rid of most SDL_endian.h uses 2024-10-07 03:15:50 +02:00
sys SDL3: Now works on Windows as well 2024-10-09 17:37:08 +02:00
tools Introduce and use sys_sdl.h to unify <SDL3/SDL.h> and <SDL.h> includes 2024-10-07 17:38:01 +02:00
TypeInfo Get rid of Sys_FPU_StackIsEmpty() 2012-07-06 01:06:53 +02:00
ui HighDPI support, hopefully 2024-06-03 14:49:23 +02:00
CMakeLists.txt SDL3: Now works on Windows as well 2024-10-09 17:37:08 +02:00
config.h.in Introduce CMAKE_INSTALL_PREFIX relative paths 2012-07-04 02:18:42 +02:00
mmakefile.src # move the AROS specific folder icon and default.cfg mmakefile.src under neo/sys/aros/setup 2017-04-22 16:21:14 +02:00