Commit Graph
1735 Commits
Author SHA1 Message Date
Steve Checkoway aef7bdf3c1 Cleanup. 2006-01-27 10:35:56 +00:00
Steve Checkoway 28f218abbc Year. 2006-01-27 10:33:47 +00:00
Steve Checkoway 00429b8c9d Add license. 2006-01-27 10:33:07 +00:00
Steve Checkoway 6ac24c8cda Fix concurrent rendering while windowed. Also shutdown fullscreen cleanly and fix memory leak. 2006-01-27 10:30:24 +00:00
Glenn Maynard f4f326f893 implement concurrent rendering on X11. Still a little flickery when switching in and out of threaded mode; not sure why yet. 2006-01-27 09:21:43 +00:00
Glenn Maynard eb0e1f4295 add an overload which is called from the main thread, just before using the concurrent rendering thread 2006-01-27 09:13:03 +00:00
Glenn Maynard dca00042c2 fix segfault when unbound keys are pressed 2006-01-27 08:15:46 +00:00
Steve Checkoway dae517d250 Make sure that the run loop runs until the input handler terminates by adding a run loop source. 2006-01-27 07:33:11 +00:00
Glenn Maynard 322f713e89 cleanup 2006-01-27 00:59:42 +00:00
Glenn Maynard 89a1e0c79e cleanup 2006-01-27 00:58:20 +00:00
Chris Danford 7bec4f7a3e show "space" instead of "Key " 2006-01-26 02:41:35 +00:00
Steve Checkoway 7c9bd202cb Spacing. 2006-01-25 09:17:59 +00:00
Glenn Maynard 27b6663832 fix HDC leak of 2 HDCs per LoadWin32Surface call
(this may be a permanent resource leak in Win98)
2006-01-24 21:32:43 +00:00
Glenn Maynard 1a070c7a0c fix comment 2006-01-24 21:15:35 +00:00
Steve Checkoway 63faf60b0e Simplify. 2006-01-24 11:58:57 +00:00
Renaud Lepage aab7d3a74e Update. 2006-01-23 23:11:26 +00:00
Renaud Lepage 519357929b Correction based on recent code. 2006-01-23 23:10:34 +00:00
Renaud Lepage e900d0062f Added Language ID. 2006-01-23 18:50:54 +00:00
Steve Checkoway bab07ebf58 Factor out HIDDevice. 2006-01-23 03:48:03 +00:00
Steve Checkoway 92f64dc940 Device -> HIDDevice. 2006-01-23 01:37:11 +00:00
Steve Checkoway 5ea801b506 Style. 2006-01-23 01:30:38 +00:00
Steve Checkoway 75d67fbe85 Spacing. 2006-01-22 07:24:18 +00:00
Steve Checkoway 3a4f3a8efd Less noisy. 2006-01-22 07:23:05 +00:00
Steve Checkoway 4a8daa3671 Fix: plugging in head phones causes arrows to stop moving. 2006-01-22 07:21:31 +00:00
Steve Checkoway f909c72376 Cleanup spacing. 2006-01-22 05:33:37 +00:00
Steve Checkoway bf42e5a4d7 I forgot to test concurrent rendering in windowed mode. It isn't working so remove it for now. 2006-01-22 03:18:28 +00:00
Steve Checkoway 79faafb593 CString -> RString 2006-01-22 02:50:56 +00:00
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