Commit Graph
100 Commits
Author SHA1 Message Date
Steve Checkoway 6282d6b0b5 Cleanup unused. 2007-07-23 05:26:37 +00:00
Steve Checkoway dd78150ab6 Remove copied code since we don't use 10.2.8 any more. Minimum requirements are 10.3.9. 2007-07-23 05:25:24 +00:00
Steve Checkoway 7671e73bb6 Use sysctlbyname. 2007-07-23 05:23:30 +00:00
Steve Checkoway 73485cb56a Use the hardware dictionary to specify the model of mac being used.
Move to sysctl instead of gestalt since it's being used for hw.model already.
2007-07-23 05:18:38 +00:00
Steve Checkoway 242fd6076e Add shell script phase to convert the plist to binary and included it in the resources. 2007-07-23 05:17:22 +00:00
Steve Checkoway ce42a671f5 Add a dictionary of known hardware, for debug info only. (It is sort of interesting to see what type of computer people are using.) 2007-07-23 05:16:41 +00:00
Steve Checkoway 540ff632e2 Simplify. Do not differentiate between misses and those that break the combo. 2007-07-22 23:19:41 +00:00
Steve Checkoway 0e467413f0 Make this blend in a little better. It is not perfect, but someone with skill can make it look good. 2007-07-22 13:20:28 +00:00
Steve Checkoway f7c32df4b1 Move SPLoad before SSDifficulty.
This fixes bug 1738254, selecting difficulties does nothing.
2007-07-22 13:19:16 +00:00
Steve Checkoway 3041311588 Set the difficulty correctly. Before, it was using the difficulty as a direction. 2007-07-22 12:28:35 +00:00
Steve Checkoway ccf0b6ca8c Fix bizarre recursion. The Difficulty enum was being cast to an int and passed as the direction. This is probably a poorly named function since it is fundamentally different from ChangePrefferedDifficultyAndStepsType(). 2007-07-22 12:28:06 +00:00
Steve Checkoway 0e7ff5180c Style. 2007-07-22 11:46:17 +00:00
Steve Checkoway 5f2da0b6ae Save the announcer prefs.
Fixes bug 1737851.
2007-07-22 11:45:21 +00:00
Steve Checkoway 3a7ec2f937 Upgrade writing ini failure to a warning in an attempt to track down bug 1696113. 2007-07-22 08:57:38 +00:00
Steve Checkoway 5b0620ff88 Make internal functions private. 2007-07-22 08:35:29 +00:00
Steve Checkoway 725f2e7c27 Any given step can continue the combo, maintain the combo, break the combo, or outright miss. Those that break the combo aren't misses and shouldn't increase the miss counter but they should break the combo.
Fixes bug 1738253.
2007-07-22 08:25:25 +00:00
Steve Checkoway 5fd893291d Outdent loop a bit. 2007-07-22 07:53:06 +00:00
Steve Checkoway bd1ef80e4d License update. 2007-07-03 07:05:12 +00:00
Steve Checkoway 870a4c0c69 Handle numbers larger than 9. Even this is deprecated and should probably be replaced by reading /System/Library/CoreServices/SystemVersion.plist and parsing the property list, but that really seems overkill to get the system version. 2007-06-23 09:08:55 +00:00
Steve Checkoway 58060121d8 Allow running with sh. Check for configure. 2007-06-21 22:02:31 +00:00
Steve Checkoway ca65ebdd63 static 2007-06-09 23:52:10 +00:00
Steve Checkoway 12bad2d6ca Run Choose even if not the first player to choose. 2007-06-09 23:45:07 +00:00
Steve Checkoway bfefade4f3 -Move player input together on the second page (this will probably be changed to an option for the metrics).
-Play (Gain|Lose)Focus on the icon only when the first player moves onto it/last player moves off of it. This doesn't work correctly when switching pages.
-Move the cursor at the beginning of switching page so that it can begin to animate along with the rest of the elements. This requires knowing where it is going so use the destination x and y of the corresponding icons.
2007-06-09 23:33:45 +00:00
Steve Checkoway e23f090f60 Run OnCommand on everything, the hidden actors remain hidden. 2007-06-09 22:00:48 +00:00
Steve Checkoway b9cdcc3e7b Simplify. 2007-06-09 21:56:16 +00:00
Steve Checkoway 733215ac14 No SET_XY, do in OnCommand. 2007-06-09 21:51:14 +00:00
Steve Checkoway 8c31e4126e If not shared selection, load everything in init. Don't SET_XY, just do that all in OnCommand. 2007-06-09 21:49:51 +00:00
Steve Checkoway 9ef3b2b838 Load the commands and set xy. The metrics can handle keeping the second page off screen. 2007-06-09 21:08:27 +00:00
Steve Checkoway 2477d97e88 NUM_PAGES -> NUM_Page 2007-06-09 20:54:28 +00:00
Steve Checkoway c8a83abb3d ARRAYSIZE -> ARRAYLEN 2007-06-09 08:26:56 +00:00
Steve Checkoway 9779519bfd Include RageUtil.h for ARRAYLEN. 2007-06-09 08:18:28 +00:00
Steve Checkoway 0159759464 Include LuaReference.h for apActorCommands. 2007-06-09 08:17:53 +00:00
Steve Checkoway 3bc4b6d602 Unused. 2007-06-09 08:07:30 +00:00
Steve Checkoway 32a9724841 Move ColorBitmapText to SNetSelectBase since this is very specific to the SMO code. This should probably be done in a general way in BitmapText and the string parsing to color code should be kept where it is used instead of part of the bitmap text class. 2007-06-09 07:56:34 +00:00
Steve Checkoway acb030f229 ARRAYSIZE -> ARRAYLEN. 2007-06-09 07:53:22 +00:00
Steve Checkoway f1bc9cc1cd Remove dependence on PlayerNumber.h in GameConstantsAndTypes.h. Make RANKING_TO_FILL_IN_MARKER more robust in the face of NUM_PLAYERS changing. 2007-06-09 07:50:51 +00:00
Steve Checkoway 23c5b96074 Add PlayerNumber.h header. 2007-06-09 07:49:40 +00:00
Steve Checkoway 041eb476f6 Update static libraries. 2007-06-03 23:27:48 +00:00
Steve Checkoway 987edba1f1 Update library project settings. Push most things into the project settings rather than the target settings since they are common. Disable sse3 since not all intel processors Apple uses support it. 2007-06-03 23:25:48 +00:00
Steve Checkoway b2443b9758 Don't warn in debug because this requires optimizations and gcc "helpfully" gives a warning for each file compiled. 2007-06-03 06:49:24 +00:00
Steve Checkoway c027389c17 Add prototypes to silence warnings since LoadingWindow_Cocoa.h isn't included and it's pointless to do the work required allow it to be included from an objective-c file. 2007-06-02 23:08:25 +00:00
Steve Checkoway f8d851d317 Simplify settings by setting more at the project level. 2007-06-02 23:04:49 +00:00
Steve Checkoway 89840c3fff Finish implementing RenderTarget_Cocoa. I'm not sure how to test this though. 2007-06-02 12:16:11 +00:00
Steve Checkoway d32d7fa970 Stop supporting 10.2.8. Require 10.3.9. 2007-06-02 12:14:31 +00:00
Steve Checkoway 609f5e151e Fix lua compile without committing the compiled files. 2007-06-01 21:40:51 +00:00
Steve Checkoway 62ea952c92 Revert. 2007-06-01 21:39:51 +00:00
Steve Checkoway e6b082ed37 Fix lua compile. 2007-06-01 21:36:14 +00:00
Steve Checkoway 1b425da852 Flip hold body when reverse too. 2007-06-01 21:31:40 +00:00
Steve Checkoway 52abc1c874 Return StepsType_Invalid. Let callers handle invalid steps. 2007-06-01 05:04:50 +00:00
Steve Checkoway e8b931aa8e Set the steps type to dance single if invalid. 2007-06-01 05:04:31 +00:00
Steve Checkoway f2535d1c83 If the steps type is invalid, warn and skip it. 2007-06-01 05:04:01 +00:00
Steve Checkoway 666d241a4f Cleanup. 2007-06-01 04:50:36 +00:00
Steve Checkoway 75fc300d14 Fix warning in log on ScreenRanking. 2007-05-31 18:58:55 +00:00
Steve Checkoway d71e313dd2 Fix warning in log on ScreenRanking. 2007-05-31 18:58:26 +00:00
Steve Checkoway bd9dafc7ba Don't warn about number of states in _missing either. 2007-05-31 18:35:58 +00:00
Steve Checkoway 3f6b99b589 Unneeded headers. 2007-05-30 16:07:17 +00:00
Steve Checkoway b24aac13d7 Add a way for NoteSkins to fall back on the default theme but handle explosion rotation on their own. 2007-05-28 10:41:08 +00:00
Steve Checkoway 5f1aec302d Update to new style. 2007-05-28 10:13:08 +00:00
Steve Checkoway 9c9565f7a3 Type -> Class. 2007-05-28 10:12:39 +00:00
Steve Checkoway fdb6d9bf0d Fix warning. 2007-05-27 08:55:28 +00:00
Steve Checkoway 4765a11d90 Add cast to fix compile. 2007-05-27 07:44:20 +00:00
Steve Checkoway c9f5d9de49 Check for alloca.h. 2007-05-27 07:25:48 +00:00
Steve Checkoway 02a4226a90 Fix compile. 2007-05-27 07:24:22 +00:00
Steve Checkoway 0e06bf54b4 xml -> lua. Not tested. 2007-05-21 00:14:13 +00:00
Steve Checkoway bfb3a52be6 xml -> lua. These could probably be BitmapText, if they scale well, that is. 2007-05-20 23:57:59 +00:00
Steve Checkoway 97987f5ae8 xml -> lua 2007-05-20 23:46:30 +00:00
Steve Checkoway 88b6bb5159 xml -> lua. I am not sure why this text is not just a Bitmap text. Some of the graphics need to be scaled back too. 2007-05-20 22:54:06 +00:00
Steve Checkoway ebb7a7a91d Fix Player judgments. 2007-05-20 22:20:50 +00:00
Steve Checkoway 1dd699f78e Load but set visible to false. 2007-05-19 22:36:37 +00:00
Steve Checkoway 15515d466b Move into Actors. 2007-05-19 22:20:50 +00:00
Steve Checkoway 3632a20c5b Revert. This is the wrong way to do it. 2007-05-19 22:20:32 +00:00
Steve Checkoway b5aecac462 revert. 2007-05-19 22:20:04 +00:00
Steve Checkoway 2ccaa568da Only show the score frames for enabled players. 2007-05-19 22:17:15 +00:00
Steve Checkoway c2f99f83cd Do not just set visible to false, do not even load the graphic unless the player is human. 2007-05-19 22:04:40 +00:00
Steve Checkoway 3329d87c51 xml -> lua. 2007-05-19 21:58:22 +00:00
Steve Checkoway 4f29dd5508 Flip heads and tails when reverse. 2007-05-17 08:34:17 +00:00
Steve Checkoway 66894d80ed CRASH_HANDLER is always defined for OS X. Make sure that we _exit() after fatal signals. (Initialize the crash handler while I'm at it since that's likely to be needed for the x86 crash handler, which I can't really write without an x86.) 2007-05-16 08:07:49 +00:00
Steve Checkoway 11262ae912 Use GoToURL since HOOKS is set up by this point. 2007-05-16 08:02:01 +00:00
Steve Checkoway 2b46dbc74a Fix backwards. 2007-05-16 07:48:14 +00:00
Steve Checkoway ad23ae70ed Fix warning about not having any options selected and no fallback set. 2007-05-16 07:02:05 +00:00
Steve Checkoway 6a30575bbd Fix comment and header guards. 2007-05-16 06:50:00 +00:00
Steve Checkoway fe46839027 Cleanup. 2007-05-15 08:19:08 +00:00
Steve Checkoway 6a665f43fb Generic tween on/off. 2007-05-13 03:42:31 +00:00
Steve Checkoway e5c803d24c The stats are reset in BeginStage(). Fixes a crash if you fail the first song since the stats are reset so it tries to go to SEvalSummary. 2007-05-13 03:41:13 +00:00
Steve Checkoway 0a9979e507 Bind Flush(). A wait to step through lua would really be great. 2007-05-13 03:07:18 +00:00
Steve Checkoway 78d78d7e4a Missed commit. Update the OS X release process. 2007-05-13 00:32:40 +00:00
Steve Checkoway fe516372cf Partial revert. I'm not sure what I was thinking. The first argument is the binary run. 2007-05-12 23:17:12 +00:00
Steve Checkoway 153fe902d6 const. 2007-05-12 21:33:35 +00:00
Steve Checkoway b1a7a883d6 Force gcc to inline these functions. This should help satisfy the constraints for the instructions that take immediate arguments. 2007-05-10 18:35:24 +00:00
Steve Checkoway f86bc2e24e Revert. 2007-05-08 18:37:13 +00:00
Steve Checkoway e7562b27a3 Add LW_Null.h. 2007-05-08 18:36:51 +00:00
Steve Checkoway 30b7cb3311 Start implementing render targets for OS X. Mostly just copying of the linux code so far. 2007-05-08 13:14:34 +00:00
Steve Checkoway 96026cade1 Remove LoadingWindow_Null.h 2007-05-08 12:15:20 +00:00
Steve Checkoway b723042427 Unneeded. 2007-05-08 12:14:44 +00:00
Steve Checkoway 53b5a1f5e2 Having a separate class which does nothing is no better than just having the base class do nothing. Remove LW_Null. 2007-05-08 12:14:21 +00:00
Steve Checkoway 2853fd09fc Make SetText pure virtual instead of Paint(). 2007-05-08 12:06:50 +00:00
Steve Checkoway 961e2008fa Unused header. 2007-05-08 11:57:28 +00:00
Steve Checkoway a0077d5f22 Just poking around at code because I can't sleep. 2007-05-08 11:53:39 +00:00
Steve Checkoway 73577f4178 C header file, not C++. Just fixes syntax highlighting in Xcode. 2007-05-08 11:30:31 +00:00
Steve Checkoway b8c95a7938 Increment argv to skip the process serial number in the arguments list passed to SM_main. Also, "-psn_" has 5 characters. 2007-05-08 11:29:39 +00:00