Commit Graph
100 Commits
Author SHA1 Message Date
Steve Checkoway 2985f1a6ec Fix warnings. 2005-12-29 02:03:14 +00:00
Steve Checkoway 451bb4c396 SetExtension does not modify sName. Also, after calling SetExtension( sName, "" ), the period is removed so if the file name is foo.bar.baz, then calling SetExtension with "" followed by "bur" you end up with foo.bur. Instead, just append "." + sExt. 2005-12-29 02:01:10 +00:00
Steve Checkoway 2301565b2a Fix threaded input not actually running in the created thread. Allow nonthreaded input (by using the gui--i.e. main event loop--thread) according to PREFSMAN->m_bThreadedInput. 2005-12-27 05:55:06 +00:00
Steve Checkoway 3f14485b5d Make default values correspond to the defaults in DialogDriver.h. When the user clicks Ignore, make sure it really does get ignored. Implement AbortRety. 2005-12-24 02:08:01 +00:00
Steve Checkoway b58452d48e Implement fullscreen and give the correct key equiv. to the menu item. 2005-12-23 14:41:03 +00:00
Steve Checkoway c577c65ecc The input has been handled. 2005-12-23 14:39:49 +00:00
Steve Checkoway 29b0689d76 Fix quotes in About box. 2005-12-23 14:33:45 +00:00
Steve Checkoway b0177e38a4 Add support for toggling windowed mode other than alt-enter. E.g. from a menu item. 2005-12-23 14:19:43 +00:00
Steve Checkoway 8c47a17f67 I think this should be s not g. 2005-12-23 13:36:56 +00:00
Steve Checkoway 77d9169679 Add/remove files. 2005-12-23 13:14:35 +00:00
Steve Checkoway 1f78c80200 Put written files in ~/Library/Application Support/PRODUCT_ID. 2005-12-23 13:11:59 +00:00
Steve Checkoway bfd39f66ac Fix screenshot crash. 2005-12-23 13:10:21 +00:00
Steve Checkoway 417461540b dstwidth, dstheight >= 0 2005-12-23 12:54:45 +00:00
Steve Checkoway 4e84abb2b6 Fix warnings. 2005-12-23 09:51:09 +00:00
Steve Checkoway 8d93b172ef Cleanup comment, flatten preprocessor directives. 2005-12-23 07:34:38 +00:00
Steve Checkoway f688db98a8 Fix compile. "The keyword __attribute__ allows you to specify special attributes when making a declaration." -- http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html 2005-12-23 06:15:43 +00:00
Steve Checkoway 87c3fd131a Cleanup. 2005-12-21 07:12:45 +00:00
Steve Checkoway 0311b4256b Cleanup. 2005-12-20 03:27:17 +00:00
Steve Checkoway 99c41cde08 Cleanup registered threads. 2005-12-20 03:20:31 +00:00
Steve Checkoway 06d3eb564b Fix implicit typenames. 2005-12-19 04:20:58 +00:00
Steve Checkoway a8d0b5c9f9 Cleanup. 2005-12-19 01:32:36 +00:00
Steve Checkoway b1e0cc776c Fix linking 2005-12-18 03:57:10 +00:00
Steve Checkoway 3b9479e271 Add files 2005-12-18 01:44:23 +00:00
Steve Checkoway 833d06d1f3 pthread_join() returns an error code, it does not set errno. 2005-12-17 13:17:35 +00:00
Steve Checkoway 0338fb01ef Forcing a crash with a stack trace on a user settable preference seems wrong. "Throw" an exception instead which will show a lovely dialog box with the message. 2005-12-17 13:16:22 +00:00
Steve Checkoway 510254abb4 Add more property listeners, name the two threads created by the audio HAL. 2005-12-17 13:10:23 +00:00
Steve Checkoway 866d34a97d Remove ExitGame() 2005-12-17 13:09:04 +00:00
Steve Checkoway ee07c1d20d Use ArchHooks::SetUserQuit() 2005-12-17 13:03:04 +00:00
Steve Checkoway 2ab8fcd709 update 2005-12-17 12:50:28 +00:00
Steve Checkoway 7fab468409 Make UserQuit and SetUserQuit static members of ArchHooks. Windows and linux not tested. MountInitialFilesystems also appears to be static, fix compile on OS X. 2005-12-17 12:44:46 +00:00
Steve Checkoway 21a9c65791 Fix crash if thread exits before the dtor is called. 2005-12-17 12:32:59 +00:00
Steve Checkoway f4e1603411 Add files incase I want to work on this in Washington...on my laptop. (Never develop on a laptop, compiling drains my battery faster than anything else.) 2005-12-15 11:48:16 +00:00
Steve Checkoway ac3e467913 update 2005-12-15 11:45:51 +00:00
Steve Checkoway 223c541ecc This stops crashes when headphones are removed. If they're removed during gameplay, the arrows stop scrolling and the receptors stop flashing to the beat. After the hardware reconfigures itself (~.5s), the music resumes.
My guess (which I don't have time to test right now) is that the returned position is reset when the hardware starts back up.
2005-12-15 11:44:46 +00:00
Steve Checkoway 89ded25ed4 Simplify. 2005-12-15 08:59:48 +00:00
Steve Checkoway 5e7176015a Cleanup. 2005-12-15 08:59:27 +00:00
Steve Checkoway 315d907ef1 Add CreateThisThread(). Use it instead of the static object to name the main thread (and the GUI thread on OS X). 2005-12-15 08:32:29 +00:00
Steve Checkoway bdf4898ecb Use consistent thread names. 2005-12-15 07:18:52 +00:00
Steve Checkoway 6708056847 Cleanup comments. 2005-12-13 06:59:20 +00:00
Steve Checkoway 947116ee67 Remove what are most likely no ops but they could potentially cause a crash. (I haven't seen that happen, though.) 2005-12-13 06:56:57 +00:00
Steve Checkoway dc960d0b69 Fix crash caused by race conditions. 2005-12-13 06:52:03 +00:00
Steve Checkoway deb83df80a Add handler for uncaught NSExceptions. 2005-12-13 06:48:58 +00:00
Steve Checkoway 0e5ba41c65 Oddly enough, fix memory cards for OS X. 2005-12-13 01:43:00 +00:00
Steve Checkoway f8a954fa14 Add files, move a few around. 2005-12-12 10:02:42 +00:00
Steve Checkoway 6aab1a354c Missed old commit: Use image in Data/splash.png, fall back on internal splash if it's missing. 2005-12-12 10:02:22 +00:00
Steve Checkoway d62b517636 Use SpecialFiles. 2005-12-12 09:59:37 +00:00
Steve Checkoway d833390f9d Fix signed v. unsigned comparison warnings. 2005-12-12 09:59:17 +00:00
Steve Checkoway 5e68c985a6 Fix warning. (It _should_ be %zu...) 2005-12-12 09:48:58 +00:00
Steve Checkoway 14c705a2de Fix abort at runtime. 2005-12-12 09:48:18 +00:00
Steve Checkoway f164a13d69 If you're relying on a variable being a certain bit length, specify it explicitly. Also, You should just use inet_ntop (or if that's not defined inet_ntoa). 2005-12-12 09:45:58 +00:00
Steve Checkoway 9293fb0f02 Cleanup. 2005-12-10 08:45:27 +00:00
Steve Checkoway 43066e5cb1 Only rebuild the removable device list when it changes. 2005-12-10 08:41:16 +00:00
Steve Checkoway f91fb3b574 Missed a file. 2005-12-10 07:34:01 +00:00
Steve Checkoway 9ef614f2f1 OS X memory card helper. 2005-12-10 07:14:53 +00:00
Steve Checkoway 43f7034bbb Add files. 2005-12-10 07:14:19 +00:00
Steve Checkoway 11aacd82a7 OS X memory card driver. 2005-12-10 07:14:09 +00:00
Steve Checkoway fc0f6b8e73 Fix compile. 2005-12-10 05:33:34 +00:00
Steve Checkoway 745744193b Fix compile. 2005-12-10 05:06:19 +00:00
Steve Checkoway 34d979d364 Set SDKROOT 2005-11-29 08:07:33 +00:00
Steve Checkoway 7580e3d9bf Fix for pre 10.4 2005-11-12 23:10:13 +00:00
Steve Checkoway ad26458081 Fix compile on OS X. 2005-11-12 03:59:24 +00:00
Steve Checkoway 67477db9f2 Don't show version number here. 2005-11-10 07:09:48 +00:00
Steve Checkoway c0056e546a Use a different api for this. 2005-11-08 06:04:09 +00:00
Steve Checkoway 69452209e3 SM 2005-11-07 09:51:01 +00:00
Steve Checkoway 5f2a151e9f hmm 2005-11-07 09:49:57 +00:00
Steve Checkoway 164555ac24 No debugging! 2005-11-07 09:49:18 +00:00
Steve Checkoway 90e4e1b039 Update. 2005-11-07 09:45:30 +00:00
Steve Checkoway 3e3ae3f34f Remove files I haven't finished writing from the build and fix the libjpeg header search path. 2005-11-04 12:56:12 +00:00
Steve Checkoway c45ef95e27 unused 2005-11-04 12:53:32 +00:00
Steve Checkoway e56e3551dd Write the bundle path for a particular version into the users preferences. 2005-11-04 09:23:15 +00:00
Steve Checkoway 45bdf1f517 This is supposed to "[take] the form of a Java package name, com.foosoft." 2005-11-04 07:47:02 +00:00
Steve Checkoway bafc4797a2 Use correct define. 2005-11-04 07:43:33 +00:00
Steve Checkoway 937721f718 Slight change to ProductInfo.h. Now just enter the strings without quotes in the PRODUCT_{NAME,VER}_BARE defines but still use PRODUCT_{NAME,VER} or PRODUCT_NAME_VER in the code.
Use PRODUCT_{NAME,VER}_BARE in the Info.plist instead of having to hand code that for every release (and forgetting for about a third of them).
2005-11-02 09:18:39 +00:00
Steve Checkoway 7042ab88f5 cleanup 2005-10-31 22:00:26 +00:00
Steve Checkoway 4df02ed98d cleanup 2005-10-31 21:28:53 +00:00
Steve Checkoway 8bb2254628 cleanup 2005-10-31 20:37:34 +00:00
Steve Checkoway 5d56e7e154 Cleanup, ensure that the stack finding functions are not inlined. 2005-10-31 20:37:18 +00:00
Steve Checkoway cc189a7e5d Update. 2005-10-31 03:24:52 +00:00
Steve Checkoway 57830f22ff Add separator between "Show All" and "Quit StepMania". 2005-10-31 03:09:02 +00:00
Steve Checkoway ed5fa87584 Fix spelling. 2005-10-31 03:03:53 +00:00
Steve Checkoway 33fb76772f Remove hack. 2005-10-31 02:30:22 +00:00
Steve Checkoway 9ef6cff623 cleanup 2005-10-31 01:56:42 +00:00
Steve Checkoway 8221c2f20d Let SM play nice with OS X's headers. 2005-10-31 01:56:15 +00:00
Steve Checkoway f89319f256 Fix warnings. 2005-10-31 01:55:05 +00:00
Steve Checkoway 784a073764 Quit is now handled by a menu key equivalent. 2005-10-31 00:51:06 +00:00
Steve Checkoway cdcf01470d Exclude from Window menu. 2005-10-31 00:49:40 +00:00
Steve Checkoway d87989bb8c Handle key equivalents in menus. 2005-10-31 00:47:58 +00:00
Steve Checkoway b6df02af4c Cannot use FOREACH here since --song is not valid for the first element. 2005-10-31 00:32:30 +00:00
Steve Checkoway 7a3887c1c1 Fix crash. 2005-10-30 23:59:12 +00:00
Steve Checkoway 2ca163bf00 oops 2005-10-30 13:53:10 +00:00
Steve Checkoway 3cb0889324 Fix ppc linux compile. 2005-10-30 13:11:15 +00:00
Steve Checkoway 91c38af1f7 Add/remove files. 2005-10-30 09:47:11 +00:00
Steve Checkoway 8d56d70e0f Move ExitGame into GameLoop.h. 2005-10-30 09:45:52 +00:00
Steve Checkoway 33c0408ca2 Move ExitGame into GameLoop.h 2005-10-30 09:45:39 +00:00
Steve Checkoway eea687a01a Fix warning. 2005-10-30 09:44:25 +00:00
Steve Checkoway 74bfe9f8a2 License. 2005-10-30 08:53:21 +00:00
Steve Checkoway c576663c15 Add cursor hack since SDL_ShowCursor fails. Also, prevent resizing the window. 2005-10-30 08:51:02 +00:00
Steve Checkoway 5ff545cbf2 Use setNeedsDisplay: since I think display: should only be called from the GUI thread. 2005-10-30 08:38:03 +00:00
Steve Checkoway 962652291d Cleanup. 2005-10-30 08:36:10 +00:00
Steve Checkoway 950e10c761 remove 2005-10-30 07:13:20 +00:00