Commit Graph
590 Commits
Author SHA1 Message Date
Glenn Maynard f53f30f6cf don't use bitwise ops as boolean ops 2006-01-27 08:19:53 +00:00
Glenn Maynard 24e016c397 split out CreateWindow 2006-01-27 08:17:29 +00:00
Steve Checkoway 3cb4f5711d If we can't run, perform clean up right then. 2006-01-27 07:30:42 +00:00
Renaud Lepage 7153137012 needed for Xbox. 2006-01-23 16:38:19 +00:00
Renaud Lepage 4874587cba Missing header 2006-01-23 16:17:36 +00:00
Steve Checkoway bab07ebf58 Factor out HIDDevice. 2006-01-23 03:48:03 +00:00
Steve Checkoway 4000781478 This belongs in archutils. 2006-01-22 09:51:07 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Chris Danford 477e67a8aa fix smpackage file routines and registry writing 2006-01-21 12:18:26 +00:00
Steve Checkoway ca27a7d350 Change the API a bit. Use values between 0 and 1. 2006-01-21 11:13:53 +00:00
Chris Danford 3ec514f896 fix mounting to fix reading of Prefs.ini 2006-01-20 09:31:26 +00:00
Chris Danford f029c2f936 move Xbox hacks into archutils 2006-01-20 09:11:25 +00:00
Chris Danford a77fc07879 move Xbox hacks into archutils 2006-01-20 08:59:54 +00:00
Chris Danford 726fa7a8dd move Xbox hacks into archutils 2006-01-20 08:58:01 +00:00
Steve Checkoway a123e5bc76 Return a const reference rather than a copy. 2006-01-19 08:20:41 +00:00
Glenn Maynard 852ba5f336 see if this is fixed 2006-01-18 09:27:09 +00:00
Chris Danford 7b75640337 use only ANSI APIs and ConvertUTF8ToACP 2006-01-17 22:20:27 +00:00
Glenn Maynard af409260eb fix GraphicsWindow::GetParams doesn't return the actual refresh
rate
2006-01-17 01:42:17 +00:00
Steve Checkoway b4a2e38f11 Cleanup spacing, fix check HAVE_WCSLEN, and use __BEGIN_DECL and __END_DECL to keep Xcode from wanting to indent all of the functions another level. 2006-01-15 13:01:30 +00:00
Steve Checkoway 3a1c0fa30e Fix building for i386 OS X. 2006-01-15 11:45:03 +00:00
Steve Checkoway 4eb7f0dbdf Add method for passing one BOOL. Unlike NSObject's performSelector, an NSInvocation does not make any attempt to translate arguments. It just copies from the buffer passed to addArgument:atIndex: the size of paramter specified. A BOOL is one byte (as opposed to a _Bool bool, or boolean_t which are four bytes...) so it was copying just one byte of the address of the NSNumber object and invoking it with that. 2006-01-15 05:24:16 +00:00
Steve Checkoway 7449ae7420 Revert. 2006-01-15 04:48:05 +00:00
Steve Checkoway 2032f8f4fc On deallocation, perform the actions. 2006-01-15 04:43:50 +00:00
Steve Checkoway 353453a9df Add macros to simplify. 2006-01-15 04:28:03 +00:00
Steve Checkoway 429b1dac0f Add helper class to perform a sequence of actions on the main thread (that is, main from the perspective of OS X, i.e. the GUI thread). 2006-01-15 04:13:36 +00:00
Glenn Maynard affaf07d35 rename ConfigureGraphicsWindow -> CreateGraphicsWindow 2006-01-15 01:43:04 +00:00
Glenn Maynard 7adadb4d2c cleanup 2006-01-15 01:14:01 +00:00
Glenn Maynard 079ee70c90 cleanup 2006-01-15 01:12:58 +00:00
Glenn Maynard 692cee7ddc merge old CreateGraphicsWindow 2006-01-15 01:10:45 +00:00
Glenn Maynard 61654be8de remove remove SetVideoModeParams 2006-01-15 01:08:24 +00:00
Glenn Maynard 2de99a1d59 merge SetVideoModeParams into ConfigureGraphicsWindow (the lifetime of this data has always been too confusing) 2006-01-15 01:05:43 +00:00
Glenn Maynard 669339a57f don't export CreateGraphicsWindow 2006-01-15 01:01:53 +00:00
Steve Checkoway d2f8a2efdf Update. 2006-01-15 00:59:22 +00:00
Steve Checkoway 1a00f1f4d7 Remove SDL completely. 2006-01-15 00:58:54 +00:00
Glenn Maynard 76dca9fb6f add bForceRecreateWindow 2006-01-15 00:55:27 +00:00
Glenn Maynard 989fe982b7 call CreateGraphicsWindow when needed 2006-01-15 00:51:45 +00:00
Glenn Maynard 58a5e76ccd don't expose 2006-01-15 00:44:37 +00:00
Glenn Maynard d52b52386b remove RecreateGraphicsWindow 2006-01-15 00:39:20 +00:00
Glenn Maynard 72036009b3 merge CreateGraphicsWindow and RecreateGraphicsWindow 2006-01-15 00:37:03 +00:00
Glenn Maynard 5e2a79e1d3 nudge CreateGraphicsWindow and RecreateGraphicsWindow together 2006-01-15 00:34:21 +00:00
Glenn Maynard 60e0bccef0 nudge CreateGraphicsWindow and RecreateGraphicsWindow together 2006-01-15 00:29:34 +00:00
Glenn Maynard c78cbd62f4 Simplify: harmless to call ChangeDisplaySettings(NULL,0) when going
windowed to windowed, too.  (This g_CurrentParams use is confusing;
trying to reduce it ...)
2006-01-15 00:14:25 +00:00
Steve Checkoway e21934cbdf Cleanup. 2006-01-15 00:00:49 +00:00
Glenn Maynard a1592e71e7 VideoModeParams has a bunch of settings. It's confusing to
pass the whole thing around, since it's not clear what data
is actually used.  For simple functions, just pass the needed
data.
2006-01-14 23:44:31 +00:00
Steve Checkoway a0ed014d57 Remove hack for SDL. 2006-01-14 23:24:30 +00:00
Steve Checkoway 08173c6510 Handle swap interval in LLW_Cocoa itself. 2006-01-14 23:22:18 +00:00
Steve Checkoway bc3d7d8af4 Fix spacing issues (using 8 space tab stops and indents, but I think that should only matter for the final fprintf(). 2006-01-14 01:54:22 +00:00
Steve Checkoway a1a1061792 Unneeded. 2006-01-14 01:27:08 +00:00
Steve Checkoway 07c6998820 Fix. AC_CHECK_DECLS always defines HAVE_DECL_*. 2006-01-12 09:36:02 +00:00
Steve Checkoway 2336182b6a We have SIGUSR1 2006-01-11 06:20:13 +00:00