Commit Graph
100 Commits
Author SHA1 Message Date
Steve Checkoway 9004da0be7 Fix crash. 2006-02-21 12:37:58 +00:00
Steve Checkoway 3996629264 Set the master player number. (Maybe this should just be reverted to use PLAYER_1.) 2006-02-21 12:35:17 +00:00
Steve Checkoway 9b76b934d2 Oh boy, more copy/paste errors. 2006-02-21 11:43:20 +00:00
Steve Checkoway e40a94ebe2 Missed commit? I could have sworn I'd already committed this. 2006-02-21 11:28:05 +00:00
Steve Checkoway bd9fe065c9 Fix spelling. 2006-02-21 11:24:53 +00:00
Steve Checkoway cacb193780 Cleanup spacing. 2006-02-21 11:01:29 +00:00
Steve Checkoway 4033e5c1a7 Import/export. 2006-02-21 02:51:34 +00:00
Steve Checkoway cc7a528269 The distinction between a random course entry and a nonfixed one is not clear. A newly created course entry would have IsRandomSong() return false yet when placed in a course, the course would return AllSongsFixed() as false. Redefine a random song to be pSong = NULL.
Remove the sentinel value since the songs are already shuffled. Picking the first one is enough.
2006-02-21 02:29:22 +00:00
Steve Checkoway 9c1cba73f5 Revert. I didn't mean to commit this. 2006-02-21 02:01:29 +00:00
Steve Checkoway 2c1324b70b This doesn't even make sense. Having a random entry has nothing to do with it being random. Also, IsRandomSong() always returns false with the current reading logic so the if statement's condition was logically entry.bSecret. 2006-02-21 01:59:36 +00:00
Steve Checkoway 6bc529f51b This only modifies mutable data so make it const to silence the compiler warning about calling it from a const function. 2006-02-21 01:54:50 +00:00
Steve Checkoway 439c0f2011 IsFixed and AllSongsAreFixed were identical. IsFixed -> AllSongsAreFixed. 2006-02-21 01:48:01 +00:00
Steve Checkoway e6a456e1c3 Handle random entries. 2006-02-21 01:36:49 +00:00
Steve Checkoway d691fe9919 Working on course editor. 2006-02-20 06:18:57 +00:00
Steve Checkoway c3246da6b7 Add redir for the sound. 2006-02-20 04:26:30 +00:00
Steve Checkoway 1946083107 Don't change player one's course difficulty preferenes. Play a sound when the difficulty changes. 2006-02-20 04:25:53 +00:00
Steve Checkoway bd36a41a35 Hush... 2006-02-20 03:28:50 +00:00
Steve Checkoway 6577998a44 Cleanup. 2006-02-20 02:46:22 +00:00
Steve Checkoway 4d2f9bfbf4 These are not subclasses of SOMaster so do not fall back on SOSimple which falls back on SOMaster. 2006-02-20 02:42:49 +00:00
Steve Checkoway 884aaf40f3 Add strings. 2006-02-20 02:41:49 +00:00
Steve Checkoway 2ec2ea1bcb Themeable. 2006-02-20 02:40:47 +00:00
Steve Checkoway 7542d474df Localize. 2006-02-20 02:38:29 +00:00
Steve Checkoway 752f559b99 No really, -1. 2006-02-19 22:46:54 +00:00
Steve Checkoway 4c593087a3 Cleanup. 2006-02-19 11:24:37 +00:00
Steve Checkoway 2c99a2b194 Do not strip debugging symbols during debug build. 2006-02-19 09:11:10 +00:00
Steve Checkoway 714470969f Missing graphic. 2006-02-19 08:51:26 +00:00
Steve Checkoway 7fa3507499 Fix back sound when you press start. 2006-02-19 08:21:54 +00:00
Steve Checkoway 95e30d9146 Put pch caches in a directory that depends on the active configuration. Use 3 types of configurations:
Native: compiles with optimizations, no debug symbols and only for the native arch.
Debug: compiles without optimization but with debug symbols, only for the native arch.
Universal: compiles with optimizations, no debug symbols, and for ppc and i386.
2006-02-19 07:58:15 +00:00
Steve Checkoway 1b3c3096c2 The correct value is -1. 2006-02-19 07:43:58 +00:00
Steve Checkoway aa53402671 Fix up a few metrics. 2006-02-19 06:17:02 +00:00
Steve Checkoway 468eee4cf3 Simplify. 2006-02-19 06:12:01 +00:00
Steve Checkoway e76f7c7902 Add helper function for removing objects from STL containers. mem_fun() and mem_fun_ref() are handy for using const (?) member functions as predicates. 2006-02-19 06:04:34 +00:00
Steve Checkoway c57798bf09 Cleanup. 2006-02-19 06:00:35 +00:00
Steve Checkoway dd46ba19b5 Cleanup. 2006-02-19 01:01:11 +00:00
Steve Checkoway 1090af5ac0 Simplify. 2006-02-19 00:07:03 +00:00
Steve Checkoway 29f97b8dfa This is a metrics error. 2006-02-18 23:51:21 +00:00
Steve Checkoway bf6058b251 Add some screens. 2006-02-18 23:24:47 +00:00
Steve Checkoway 165d6e5096 Silence warning. 2006-02-18 21:22:02 +00:00
Steve Checkoway 1b15a88f17 Static. 2006-02-18 21:17:24 +00:00
Steve Checkoway 02fcb18cf0 Fix install name for the i386 version. 2006-02-18 21:02:48 +00:00
Steve Checkoway 83c414a6f3 Add missing files. 2006-02-17 04:40:53 +00:00
Steve Checkoway 13e555f4b3 Add target stepmania-bare. This version does not include networking support nor does it support mp3s. 2006-02-13 10:24:53 +00:00
Steve Checkoway 5466c15968 Remove resample 2006-02-13 09:09:05 +00:00
Steve Checkoway d76475ce79 Don't copy the fallback picture any longer. 2006-02-13 04:06:28 +00:00
Steve Checkoway 8abbd1799c Don't fall back. If it can't find the picture, just don't show a loading window. 2006-02-13 04:05:47 +00:00
Steve Checkoway 731368a0e7 Use host_os and host_cpu. 2006-02-12 22:38:38 +00:00
Steve Checkoway b09d333d14 Add placeholder. 2006-02-11 09:31:39 +00:00
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