dhewm3/neo/sys
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
..
aros dhewm3log.txt for AROS 2022-01-16 06:12:51 +01:00
cmake Use stb_vorbis instead of libogg and libvorbis(file) 2021-04-27 20:08:59 +02:00
linux It builds with SDL3 and SDL2 and SDL1.2 (on Linux) 2024-10-07 17:22:03 +02:00
osx Make it build and work on old PPC Macs again (#568) 2024-03-27 01:04:11 +01:00
posix Introduce and use sys_sdl.h to unify <SDL3/SDL.h> and <SDL.h> includes 2024-10-07 17:38:01 +02:00
stub Add glimpParms_t GLimp_GetCurState() to get current window state 2024-06-12 22:26:30 +02:00
win32 SDL3: Now works on Windows as well 2024-10-09 17:37:08 +02:00
cpu.cpp It builds with SDL3 and SDL2 and SDL1.2 (on Linux) 2024-10-07 17:22:03 +02:00
doom_icon.h Window Icon, make in_nograb work with SDL2 2015-03-02 00:03:30 +01:00
events.cpp SDL3: Fix textinput; print available displays and their fullscreen modes 2024-10-07 21:15:22 +02:00
glimp.cpp SDL3: Now works on Windows as well 2024-10-09 17:37:08 +02:00
imgui_savestyle.cpp Update code using Dear ImGui for v1.91.2 2024-10-02 22:18:30 +02:00
platform.h Don't use GCC's __builtin_alloca_with_align(), fix #572 2024-04-19 07:24:32 +02:00
proggyvector_font.h ImGui: Improve integration, use scalable font, Control Options menu 2024-05-22 19:46:38 +02:00
sys_imgui.cpp Introduce and use sys_sdl.h to unify <SDL3/SDL.h> and <SDL.h> includes 2024-10-07 17:38:01 +02:00
sys_imgui.h Dhewm3SettingsMenu: Improve cursor handling and opening menu ingame 2024-05-28 04:49:24 +02:00
sys_local.cpp Get rid of Sys_FPU_StackIsEmpty() 2012-07-06 01:06:53 +02:00
sys_local.h Get rid of Sys_FPU_StackIsEmpty() 2012-07-06 01:06:53 +02:00
sys_public.h Some functions that will be used by the ImGui keybinding menu 2024-05-22 19:46:38 +02:00
sys_sdl.h Introduce and use sys_sdl.h to unify <SDL3/SDL.h> and <SDL.h> includes 2024-10-07 17:38:01 +02:00
threads.cpp Introduce and use sys_sdl.h to unify <SDL3/SDL.h> and <SDL.h> includes 2024-10-07 17:38:01 +02:00