Commit Graph

10715 Commits

Author SHA1 Message Date
Glenn Maynard 5cd0e91ea5 EmergencyShutdownSDL, moved out of ArchHooks 2004-06-14 17:13:46 +00:00
Glenn Maynard 78ed3f3be6 oops; use DoEmergencyShutdown 2004-06-14 17:04:57 +00:00
Thad Ward 4adbb7e2c6 only pull in some headers on non-windows platforms. 2004-06-14 12:45:51 +00:00
Steve Checkoway 2cee3eddc1 unused headers 2004-06-14 12:44:04 +00:00
Steve Checkoway 1f1a120d9e Header cleanup 2004-06-14 12:41:02 +00:00
Steve Checkoway 7450f75bbf Thank you Apple for renaming standard header files. I really appreciate it, a lot. 2004-06-14 11:14:16 +00:00
Thad Ward 1c46a4880f global.h must be included before anything else. it sets up such things as
disabling stupid warnings for some archs.
2004-06-14 11:10:53 +00:00
Steve Checkoway 10c69f957d Define CRASH_HANDLER. 2004-06-14 11:02:12 +00:00
Sean Burke ae40217dff Fix possible compile error on PPC Linux. 2004-06-14 11:02:09 +00:00
Steve Checkoway 206054a134 Darwin uses unix CrashHandler. 2004-06-14 11:01:10 +00:00
Steve Checkoway 0970b4714a Fix compile without CRASH_HANDLER. 2004-06-14 10:57:21 +00:00
Glenn Maynard 690b86936d test set now links without SDL 2004-06-14 07:12:59 +00:00
Glenn Maynard 2ab9a8e073 add EmergencyShutdown, cleanup 2004-06-14 07:08:21 +00:00
Glenn Maynard 12fc5b9440 add EmergencyShutdown 2004-06-14 07:06:37 +00:00
Glenn Maynard b73e2614bb split out SDL- and arch-specific stuff from arch base stuff 2004-06-14 06:44:05 +00:00
Glenn Maynard 1182fa0390 pull in GL ourself 2004-06-14 05:54:01 +00:00
Glenn Maynard 7ef3d3e6bb set g_X11Display 2004-06-14 05:50:40 +00:00
Glenn Maynard 6440ee4936 LowLevelWindow is responsible for setting g_X11Display 2004-06-14 05:48:28 +00:00
Glenn Maynard ec75189203 comment 2004-06-14 05:47:17 +00:00
Glenn Maynard 025780fc21 (no, don't use SDL for the rest) 2004-06-14 05:46:49 +00:00
Glenn Maynard 344ab681ef cleanup 2004-06-14 05:46:13 +00:00
Glenn Maynard 4459d84a17 use RageSemaphore 2004-06-14 05:36:42 +00:00
Glenn Maynard 22fe9d6841 RageSemaphore 2004-06-14 05:29:12 +00:00
Glenn Maynard 1f0ac3792d #include <pthread.h>, just in case 2004-06-14 05:28:30 +00:00
Glenn Maynard 003ba7cb63 fix compile 2004-06-14 05:25:25 +00:00
Glenn Maynard cf9d31917f add TryLock
add semaphores
2004-06-14 05:21:46 +00:00
Glenn Maynard 34b3862833 log SDL version 2004-06-14 05:19:42 +00:00
Glenn Maynard e534493c42 split out SetupSDL 2004-06-14 05:18:09 +00:00
Glenn Maynard 7fd8f3d3cc define HAVE_SDL 2004-06-14 04:12:19 +00:00
Glenn Maynard 235935572e remove SDL version check; we only required 1.2.6 due to an alpha blit
bug in 1.2.5, and we no longer use SDL's blits
2004-06-14 04:00:14 +00:00
Glenn Maynard c2d109dc02 events 2004-06-14 03:55:38 +00:00
Glenn Maynard 58cf9f21c5 HandleSDLEvents is too small to be worth splitting
handle hwnd changes within the renderers, since it's tied to the window
2004-06-14 03:54:46 +00:00
Glenn Maynard aa7ad967ae HandleSDLEvents is too small to be worth splitting
all code that handles SDL events is also responsible for enabling and
disabling those events
2004-06-14 03:53:41 +00:00
Fred Wulff b3470b32ed Fixed Linux compile issue (lib conflict) 2004-06-14 03:47:42 +00:00
Glenn Maynard 03e11c81a1 call SDL_UpdateHWnd 2004-06-14 03:34:38 +00:00
Glenn Maynard b1d49657ab UpdateHWnd -> SDL_UpdateHWnd in utils 2004-06-14 03:32:32 +00:00
Glenn Maynard 66397a57d3 add HAVE_SDL 2004-06-14 03:23:44 +00:00
Glenn Maynard 04aa247bd7 add HAVE_SDL 2004-06-14 03:16:44 +00:00
Glenn Maynard 9f72b10743 don't call HandleSDLEvents; cleanup 2004-06-14 03:14:00 +00:00
Glenn Maynard f4cea53212 HandleSDLEvents, comment 2004-06-14 03:13:13 +00:00
Glenn Maynard 56af82b1c9 HandleSDLEvents 2004-06-14 03:12:32 +00:00
Glenn Maynard 47a277ce2b move HandleSDLEvents to SDL_utils; the renderer is now responsible
for calling this
2004-06-14 03:11:39 +00:00
Glenn Maynard bc7a7b0d37 FocusChanged prototype 2004-06-14 03:09:28 +00:00
Glenn Maynard 6de244ebb1 fix stack framing (why is vc so bad at inline asm?) 2004-06-14 03:02:16 +00:00
Glenn Maynard 0fbd740a37 fix linux compile 2004-06-14 02:32:41 +00:00
Glenn Maynard bd9494fd43 split out FocusChanged 2004-06-14 02:13:44 +00:00
Glenn Maynard a69428d17b explicit RET (return value goes in EAX) 2004-06-14 02:10:47 +00:00
Steve Checkoway 42392d484e add files 2004-06-14 01:23:09 +00:00
Glenn Maynard 7481f3fcb3 remove PATH_MAX check 2004-06-14 01:23:02 +00:00
Glenn Maynard 2c3db44464 error handling fixes; SDL color key fix 2004-06-14 01:13:31 +00:00