ioq3/code/sdl
Zack Middleton e452b7ac04 Fix macOS client/server failing to start from terminal
The macOS client and server were completely unusable when run from a
terminal. They blocked forever in `[NSApp run];` which was called by
Sys_InitProtocolHandler(). `applicationDidFinishLaunching` was never
called to exit the NSApp run loop.

Use SDL's SDL_DROPFILE event to receive URLs to handle on macOS instead.
This also handles URLs while the game is running (connect to new server)
instead of nothing happening when clicking a link while the game is
running.
2023-06-11 11:05:13 -04:00
..
sdl_gamma.c Added SDL_GetError() 2015-07-26 15:45:21 +02:00
sdl_glimp.c [sdl] Turn tentative definition into actual definition. 2020-11-17 18:08:13 +00:00
sdl_icon.h Reverting. 2008-07-06 17:16:14 +00:00
sdl_input.c Fix macOS client/server failing to start from terminal 2023-06-11 11:05:13 -04:00
sdl_snd.c Allow using pulseaudio for SDL audio capture 2021-02-26 23:55:12 -05:00