Commit Graph
1708 Commits
Author SHA1 Message Date
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Steve Checkoway ccd3332cc2 Const. 2006-01-22 00:43:41 +00:00
Steve Checkoway d10e652b97 Style. 2006-01-22 00:40:53 +00:00
Steve Checkoway 1414546919 Remove nonexistant audio driver, do not use SDL for input and simplify since HAVE_XDK is checked first. 2006-01-21 14:37:03 +00:00
Steve Checkoway 2dc6a8fa66 Cleanup and use core graphics directly to swap buffers rather than going though the overhead of the obj-c calls. 2006-01-21 13:40:01 +00:00
Steve Checkoway 3f5c921357 Implement concurrent rendering. 2006-01-21 13:33:04 +00:00
Steve Checkoway 297949b7c5 If the OGL context changes, we must set the display mode and we must set vsync. 2006-01-21 13:00:51 +00:00
Steve Checkoway 9ed7548de1 Use new api. 2006-01-21 11:14:13 +00:00
Steve Checkoway 5150e3a9c3 Don't shutdown full screen if attempt fails. It's possible other attempts will be made in full screen. Going back and forth causes unnecessary flickering. 2006-01-20 11:36:26 +00:00
Steve Checkoway cdd1f94019 Don't attempt to change the display modes unless it's needed. (It's most likely a no-op, but don't even bother.) 2006-01-20 11:33:07 +00:00
Steve Checkoway 6b236cee94 Simplify. 2006-01-20 11:19:25 +00:00
Chris Danford 65aff05a13 fix compile 2006-01-20 08:33:27 +00:00
Steve Checkoway a123e5bc76 Return a const reference rather than a copy. 2006-01-19 08:20:41 +00:00
Steve Checkoway d5cde8a0f7 Cleanup. 2006-01-18 09:44:30 +00:00
Steve Checkoway 5676e10e33 Attempt to handle the OGL contexts more gracefully. 2006-01-18 08:44:52 +00:00
Steve Checkoway 378a8a2adc m([:upper:][:alpha:]*) -> m_\1 2006-01-18 02:48:10 +00:00
Chris Danford 7b75640337 use only ANSI APIs and ConvertUTF8ToACP 2006-01-17 22:20:27 +00:00
Chris Danford b1564c4200 use MessageBoxW. Todo: link with unicows for Win9x. 2006-01-17 21:57:08 +00:00
Steve Checkoway 562501ac78 Attempt at concurrent rendering. It seems to cause the computer to crash, so commented out. Clearly, I'm doing something wrong but I'm not sure what. 2006-01-17 09:33:14 +00:00
Chris Danford a6d2ad5957 cleanup joystick with keyboard hack 2006-01-17 09:03:33 +00:00
Steve Checkoway 3a10c521de Hack around using actual video mode params to store preferences. 2006-01-17 08:35:51 +00:00
Steve Checkoway ec789f1473 Use a buffered window. This fixes the last of the GUI issues. Allows resizing and is very careful to update the graphics context only in the main thread (in this case, SM's main thread, not the GUI thread). It does so by managing the NSOpenGLContext explicitly rather than using NSOpenGLView to do it for us. 2006-01-17 06:10:33 +00:00
Steve Checkoway 6edba40152 Do neither. Just copy the value. 2006-01-17 04:20:02 +00:00
Glenn Maynard 9404d25a0e cleanup 2006-01-17 03:25:25 +00:00
Glenn Maynard 5e010c8f23 minor style tweaks 2006-01-17 02:08:32 +00:00
Glenn Maynard b1015f0458 We allow this in Windows, and I don't see any reason to disallow it ... 2006-01-17 02:03:07 +00:00
Glenn Maynard 918dac41ab cleanup 2006-01-17 02:00:27 +00:00
Glenn Maynard c17c03b4f0 static 2006-01-17 01:28:24 +00:00
Glenn Maynard 8c78a40703 Implement concurrent rendering in OpenGL in Windows. (D3D already
worked.)  It's still off by default.
2006-01-17 01:27:29 +00:00
Glenn Maynard 35b4fef38e add concurrent rendering hooks 2006-01-17 01:24:40 +00:00
Steve Checkoway 5d2d6692c3 If we don't have a crash handler, don't try to invoke it. 2006-01-15 23:39:48 +00:00
Steve Checkoway f4f0d604b3 Cleanup. 2006-01-15 23:20:13 +00:00
Steve Checkoway 75ec9b356c PBXGetVolInfoSync is deprecated but there are something like 15 different functions with different prefixes that all do about the same thing. For now, just mark it as deprecated until I can figure out which I should be using. 2006-01-15 12:22:47 +00:00
Steve Checkoway ca51dc9bd3 Apple decided to deprecate two perfectly good functions, replace them with lower level dyld code and use two-level namespace lookup instead. 2006-01-15 12:21:19 +00:00
Steve Checkoway d42617abf1 Remove unused. 2006-01-15 11:07:30 +00:00
Steve Checkoway 7034879a79 Use SMMainThread with LLW_Cocoa. This fixes just about every GUI issue. For some reason, mousing over the button does not highlight them. Other than that, everything seems to work. 2006-01-15 05:30:48 +00:00
Steve Checkoway 0e1ca06a49 Use the ADD_ACTIONb macro. 2006-01-15 05:24:47 +00:00
Steve Checkoway 4c9fdec12b Simplify. 2006-01-15 04:28:14 +00:00
Steve Checkoway 56779e06e5 Cleanup. 2006-01-15 04:15:39 +00:00
Steve Checkoway 45cb8038bd Use SMMainThread to perform a sequence of actions on the main thread as required by the App Kit. 2006-01-15 04:15:05 +00:00
Glenn Maynard 2025761281 cleanup 2006-01-15 04:12:50 +00:00
Glenn Maynard affaf07d35 rename ConfigureGraphicsWindow -> CreateGraphicsWindow 2006-01-15 01:43:04 +00:00
Glenn Maynard 16c7813949 remove SetVideoModeParams call 2006-01-15 01:07:32 +00:00
Glenn Maynard 50b0f360f4 CreateGraphicsWindow is done by ConfigureGraphicsWindow 2006-01-15 00:59:32 +00:00
Glenn Maynard 7c2f1fc48b RecreateGraphicsWindow -> CreateGraphicsWindow 2006-01-15 00:38:43 +00:00
Glenn Maynard 1fdb63a26d clarify 2006-01-15 00:12:52 +00:00
Steve Checkoway 3673740438 Cleanup. 2006-01-14 23:39:04 +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 ca85424ec5 Fix memory leak, set OGL parameters. 2006-01-14 22:56:23 +00:00