Commit Graph
100 Commits
Author SHA1 Message Date
Steve Checkoway fbe91a6c7e Simplify. 2006-02-11 04:41:39 +00:00
Steve Checkoway 4633edaefa Comment. 2006-02-10 15:05:51 +00:00
Steve Checkoway 3a61afbc08 Attempt to do this with slightly less voodoo. It was spamming output due to failure before, which was causing skips every time the log/info was flushed. 2006-02-10 13:36:26 +00:00
Steve Checkoway c0c7804333 Revert. 2006-02-10 11:48:41 +00:00
Steve Checkoway d2136fb15b Cleanup. There is no way to prevent being preempted on OS X. 2006-02-10 10:28:01 +00:00
Steve Checkoway f1e8662ac6 Spacing cleanup. 2006-02-10 10:14:15 +00:00
Steve Checkoway b6d4aa4ff7 Spacing cleanup. 2006-02-10 10:05:20 +00:00
Steve Checkoway 0955b5410b Cleanup. 2006-02-10 10:01:12 +00:00
Steve Checkoway 8e1f4254a7 Get thread backtrace context on i386. 2006-02-10 09:55:53 +00:00
Steve Checkoway bd614eed21 Simplify. 2006-02-10 09:42:37 +00:00
Steve Checkoway 5c5655b137 Check for NULL. 2006-02-10 09:41:42 +00:00
Steve Checkoway 3f199dbf2a Check all values returned from dictionaries. 2006-02-10 09:36:35 +00:00
Steve Checkoway dfa720254d dict -> properties 2006-02-10 09:21:39 +00:00
Steve Checkoway 7f097a9946 Document the API. 2006-02-10 09:21:20 +00:00
Steve Checkoway 69337c8e0f Follow the stricter API. 2006-02-10 08:54:22 +00:00
Steve Checkoway b1818e1831 Make API stricter so that a physical device cannot have logical devices of different types.
For example, if 15 joysticks already have IDs and an adaptor that has two logical joysticks is assigning IDs, it cannot have DEVICE_JOY16 for the first and DEVICE_PUMP1 for the second.
2006-02-10 08:54:07 +00:00
Steve Checkoway 4199cbc9c0 Create JoystickDevices for HID game pads (untested). 2006-02-10 08:50:24 +00:00
Steve Checkoway bb9848adcc Revert. 2006-02-10 04:49:45 +00:00
Steve Checkoway d449ca554c Add stretch hint. 2006-02-07 08:34:36 +00:00
Steve Checkoway c1520c025b Add bStretched as a hint that the display will stretch the pixels to fill the screen. 2006-02-07 08:33:45 +00:00
Steve Checkoway a65d13c6d1 class -> typedef set. 2006-02-07 08:29:36 +00:00
Steve Checkoway 2ea7e8c897 GetMonitorAspectRatio. 2006-02-07 08:08:37 +00:00
Steve Checkoway 0b9330ccf6 Fix abort at runtime. 2006-02-07 06:08:30 +00:00
Steve Checkoway df048b72d3 Fix last warning in the OS X project. Only prebind symbols when targeting pre 10.4, that is, only on ppc. 2006-02-06 03:48:19 +00:00
Steve Checkoway 8ae4ac6f98 put_string conflicts with another function. Just rename it. 2006-02-06 03:40:01 +00:00
Steve Checkoway b2ccd3e249 Add files. 2006-02-06 03:37:31 +00:00
Steve Checkoway 52b7411cee PBXGetVolInfoSync is deprecated as is just about every other function that will convert from a path to a vol ref number so don't bother. Just use the volume name to flush since that was the only thing the vol ref number was used for.
Compute volume size using block size times number of blocks.
2006-02-06 02:58:34 +00:00
Steve Checkoway e541108c52 Cleanup settings a bit. 2006-02-06 01:52:21 +00:00
Steve Checkoway 799c1af1ab A tiny amount of work toward an x86 backtrace facility. 2006-02-06 01:18:04 +00:00
Steve Checkoway 3cd26abb99 Just in case these are ever implemented, fix. sem_* return -1 for all error conditions. Only sem_destroy sets errno to EBUSY anway.
Also, ASSERT so we get a backtrace.
2006-02-05 13:24:44 +00:00
Steve Checkoway 79218ae6ad Bah. Revert. The functions sem_init() and sem_destroy() are implemented as stubs only. They return -1 with errno=ENOSYS. 2006-02-05 13:21:58 +00:00
Steve Checkoway 48bf80b5f6 OS X has semaphores for every version we support (10.2.8 and on). 2006-02-05 13:00:09 +00:00
Steve Checkoway 2c6ce27743 Out of date comment. 2006-02-05 00:29:14 +00:00
Steve Checkoway a74b6cd7d2 Remove ScreenTest. 2006-02-03 13:07:01 +00:00
Steve Checkoway a00d8bf8af Cleanup. 2006-02-03 11:02:13 +00:00
Steve Checkoway efb89707c6 Don't unlock and then immediately lock again. 2006-02-03 10:50:34 +00:00
Steve Checkoway e7844d28b5 No, really fix cstdlib issue. 2006-02-02 22:09:04 +00:00
Steve Checkoway 2b9e688796 Fix llabs test. 2006-02-02 22:00:31 +00:00
Steve Checkoway 43e476c38b Updated README. 2006-01-29 06:34:10 +00:00
Steve Checkoway 6bcb29aa03 Add/remove files. 2006-01-28 23:26:31 +00:00
Steve Checkoway 30f5cd9bcd Fix compile. 2006-01-28 23:22:30 +00:00
Steve Checkoway 0175a59715 Give the user 3 choices. "File Bug Report" opens REPORT_BUG_URL and the crashinfo.txt. "Open crashinfo.txt" just opens crashinfo.txt. You can guess what "Quit" does. 2006-01-28 07:22:26 +00:00
Steve Checkoway eb7b96178b Fix memory leak. 2006-01-28 07:06:11 +00:00
Steve Checkoway 3a669a84e6 Hot pluggable input devices on OS X. 2006-01-28 07:01:10 +00:00
Steve Checkoway ba00800245 Don't just make the text box the size of the splash picture. Make it 4 pixels larger than 3 times the height of a line of text. 2006-01-28 04:32:20 +00:00
Steve Checkoway 1b4ce04331 Move to precompiled header. 2006-01-28 03:10:34 +00:00
Steve Checkoway 811f1cc0c0 Update. 2006-01-28 03:10:11 +00:00
Steve Checkoway db075e472d I forget why I thought I needed this. It won't be included again due to GLOBAL_H anyway. 2006-01-28 03:09:46 +00:00
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 9b9759d916 Remove hack for EMS. 2006-01-27 10:30:59 +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
Steve Checkoway a8043ac3d8 Don't map more than MAX_GAME_CONTROLLERS. 2006-01-27 10:20:10 +00:00
Steve Checkoway 9120254fdc Fix crash when using EMS USB2. 2006-01-27 10:11:50 +00:00
Steve Checkoway e5bbe7f1e9 Spacing cleanup. 2006-01-27 09:51:51 +00:00
Steve Checkoway 7b1140fed6 Some cleanup. Work around EMS auto mapping problem. 2006-01-27 09:25:27 +00:00
Steve Checkoway 6f6127b658 Some tiny change that I don't really understand. 2006-01-27 09:22:36 +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
Steve Checkoway 3cb4f5711d If we can't run, perform clean up right then. 2006-01-27 07:30:42 +00:00
Steve Checkoway f44603d19b Fix compile. 2006-01-26 04:49:45 +00:00
Steve Checkoway 7c9bd202cb Spacing. 2006-01-25 09:17:59 +00:00
Steve Checkoway 63faf60b0e Simplify. 2006-01-24 11:58:57 +00:00
Steve Checkoway e83e7acce5 Add files. 2006-01-23 06:41:35 +00:00
Steve Checkoway fb9219e93b Add files. 2006-01-23 03:48:27 +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 4000781478 This belongs in archutils. 2006-01-22 09:51:07 +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 bc616e8145 Although, I'd rather the code not hide virtual functions, I can't see problems when 800+ warnings are emitted. 2006-01-22 02:51:42 +00:00
Steve Checkoway 79faafb593 CString -> RString 2006-01-22 02:50:56 +00:00
Steve Checkoway 16fcc71cbf Fix warnings. 2006-01-22 02:50:47 +00:00
Steve Checkoway 870ed267fc Update year. 2006-01-22 00:46:36 +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 ca27a7d350 Change the API a bit. Use values between 0 and 1. 2006-01-21 11:13:53 +00:00
Steve Checkoway 1268e3d3f0 Fall back onto more a sensible fallback. 2006-01-20 11:40:35 +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
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 635564b3fa Handle GUI quit correctly. 2006-01-18 08:17:39 +00:00
Steve Checkoway 378a8a2adc m([:upper:][:alpha:]*) -> m_\1 2006-01-18 02:48:10 +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
Steve Checkoway 3a10c521de Hack around using actual video mode params to store preferences. 2006-01-17 08:35:51 +00:00
Steve Checkoway 9c2e35a91a Okay, I lied. -O3 is smaller. 2006-01-17 07:21:11 +00:00
Steve Checkoway 2381b3f5e9 Cleanup. While I'm at it, might as well skip the "src/" too. 2006-01-17 06:50:34 +00:00
Steve Checkoway fb18491df2 Optimize for size. Apple's engineers swear that the improved cache hits as a result more than makes up for not using -O3. 2006-01-17 06:14:23 +00:00