Commit Graph
100 Commits
Author SHA1 Message Date
Steve Checkoway f52f0f4022 ModsCommand -> ScreenModsCommand. 2007-04-06 19:03:31 +00:00
Steve Checkoway 1ffcdab974 Apply speed up loading patch from https://sourceforge.net/tracker/?func=detail&atid=421366&aid=1691830&group_id=37892 2007-04-03 23:04:25 +00:00
Steve Checkoway 4f11ae0d98 Hack to make SetHorizAlign() and SetVertAlign() call the correct functions. Anything using the OptionIcon with TextHAlign and TextVAlign of anything other than 0 needs to be fixed as the alignment is now being properly handled. Values of 1 were being treated as align_right and align_bottom. 2007-04-03 07:10:56 +00:00
Steve Checkoway c330a32ce7 Make the horizontal and vertical alignment explicit. 2007-04-03 07:07:16 +00:00
Steve Checkoway a856377219 Change these to their floating point counterparts since BitmapText::SetHorizAlign(float) hides Actor::SetHorizAlign(HorizAlign). 2007-04-03 06:51:26 +00:00
Steve Checkoway e501603b52 Do the scaling/croping in Init, rather than each time through On. 2007-04-03 03:12:47 +00:00
Steve Checkoway 82c2f596fb Use scale_or_crop_background instead of zoom/stretch/scale. 2007-04-02 19:22:26 +00:00
Steve Checkoway 0bf8bbfb88 Center the title menu a bit. 2007-04-02 09:29:27 +00:00
Steve Checkoway 9215f529f5 xml -> lua 2007-04-02 09:19:58 +00:00
Steve Checkoway 31b6d174a0 These note skins don't exist any more. Replace with default for now. 2007-04-02 08:42:23 +00:00
Steve Checkoway 02d65d68b8 Too noisy. 2007-04-02 08:32:40 +00:00
Steve Checkoway 04e1584a5b Only load commands once. 2007-04-02 08:18:08 +00:00
Steve Checkoway ed5823dc38 Use flat for extra stage 2. 2007-04-02 00:53:28 +00:00
Steve Checkoway 67f9ccce87 Add flat note skin. 2007-04-02 00:20:56 +00:00
Steve Checkoway fafa1b92b4 Move to ModsCommand. 2007-04-02 00:14:47 +00:00
Steve Checkoway 6aaa0f6b1b Fix extra stage by playing Mods before calling BeginScreen() on the music wheel. I'm not sure that this is the correct way to do this. 2007-04-02 00:14:11 +00:00
Steve Checkoway 07a517da09 Better crash message. 2007-04-01 12:06:04 +00:00
Steve Checkoway dfe930eea9 Fix a crash with SDemo by using the current style if it is set. 2007-04-01 12:05:20 +00:00
Steve Checkoway 33e69bc576 Free the courses before the songs as per prior comments. 2007-04-01 11:24:40 +00:00
Steve Checkoway 8afb8b821f Cleanup. 2007-04-01 09:32:51 +00:00
Steve Checkoway 47b17ca841 Fix Roulette and Random. Both of these were picking a song immediately but making the wheel spinning noises.
Random looks like it was written with two behaviors in mind. The first is that it acts like Roulette except that where you are in the wheel has no correlation with the song picked and it stops spinning immediately. The second (which seems to have been added later), is to pick a song directly, a la Portal but without giving away any information about it. I went with the former since it was easier (less to clean up).

Roulette feels horribly wrong to me but at least the basic mechanics are there again. I think the Select() logic is wonky.
2007-04-01 09:26:53 +00:00
Steve Checkoway dbff8560a7 Scale the background here rather than in every piece of lua that loads them. This also fixes the last of the jerks between screens that load them separately. 2007-04-01 07:24:34 +00:00
Steve Checkoway 3817a695e1 Only human players can have beginner helpers. 2007-04-01 06:55:01 +00:00
Steve Checkoway e9b35b60dc Add debugging. Print out the first of the enum strings. 2007-04-01 06:48:18 +00:00
Steve Checkoway 4768fc55fb Fix oni. Use default. 2007-04-01 06:38:06 +00:00
Steve Checkoway 0f873f8282 Simplify. 2007-04-01 06:25:46 +00:00
Steve Checkoway 8bf6365464 Simplify. 2007-04-01 06:19:37 +00:00
Steve Checkoway 7febbc80ad Fix triggered assert in AfterStepsOrTrailChange. 2007-04-01 05:53:14 +00:00
Steve Checkoway 923ef8eeb9 Add shaders. 2007-03-26 03:49:39 +00:00
Steve Checkoway 0a02a623a2 Swapped repeat and delay. 2007-03-26 00:38:45 +00:00
Steve Checkoway 5fb9c616d7 Set the repeat delay to a more reasonable 1.2 seconds instead of 12 seconds. That still seems slow. I am not sure what the intended value was. 2007-03-26 00:26:58 +00:00
Steve Checkoway a4e807bc80 Add files. 2007-03-26 00:06:43 +00:00
Steve Checkoway 812dd48169 Handle race condition more intelligently by invalidating in the callback itself. 2007-03-25 23:51:53 +00:00
Steve Checkoway fa53ebfc07 Call InputFilter::ButtonPressed() directly. 2007-03-25 23:44:22 +00:00
Steve Checkoway 5bfab179db Spacing. 2007-03-25 23:41:32 +00:00
Steve Checkoway ce89481346 wchar_t. 2007-03-25 23:35:58 +00:00
Steve Checkoway 95429c20eb Include global.h. 2007-03-24 04:38:47 +00:00
Steve Checkoway ffc4fb00bd Set the hardware sample rate first. There seems to be an issue with setting the stream format's sample rate and then the device's sample rate before initializing the AudioUnit. Once initialized, it handles device format changes. I'm not sure why it doesn't before initialization. 2007-03-24 03:29:01 +00:00
Steve Checkoway fef107f778 Doing this one time is enough. 2007-03-24 03:15:08 +00:00
Steve Checkoway ce02b88261 Remove DisableDimensionWarning. 2007-03-24 03:13:31 +00:00
Steve Checkoway 352b8d2f5c Only disable odd dimension warning when loading song backgrounds. 2007-03-24 03:13:05 +00:00
Steve Checkoway 867fc6e7fb BeginCommand, not OnCommand. 2007-03-24 03:05:09 +00:00
Steve Checkoway e3fe352263 Move to Sprite and use LoadBackground. 2007-03-24 02:57:32 +00:00
Steve Checkoway aa5262c5b6 LoadActor( GetSongBackground() ) -> LoadSongBackground() 2007-03-23 14:11:47 +00:00
Steve Checkoway 1fcded0db4 xml -> lua 2007-03-23 14:06:46 +00:00
Steve Checkoway d0b8780fe6 LoadSongBackground() returns an actor for the song background and explicitly disables the dimension warning. 2007-03-23 13:48:56 +00:00
Steve Checkoway 0b03fffc07 Let sprites disable the odd dimension warning. 2007-03-23 13:47:25 +00:00
Steve Checkoway 809878d816 Holy copy and paste, Batman! xml -> lua. 2007-03-23 12:29:35 +00:00
Steve Checkoway 79b8fa200d xml -> lua 2007-03-23 12:15:54 +00:00
Steve Checkoway b82f040c90 Remove two blank lines. 2007-03-23 11:03:14 +00:00
Steve Checkoway dfd5bda05e Don't spew userlog to stdout. 2007-03-23 10:59:07 +00:00
Steve Checkoway 8505ea0578 This was moved to global.h. 2007-03-22 06:30:12 +00:00
Steve Checkoway 468ceae283 Sort the extensions. 2007-03-21 12:01:54 +00:00
Steve Checkoway dfa844b24a Make SM play nice with ffmpeg. 2007-03-21 11:56:58 +00:00
Steve Checkoway 301f98f70d Update ffmpeg. 2007-03-21 11:19:33 +00:00
Steve Checkoway 61e923cffa ffmpeg patch is no longer needed. 2007-03-21 07:11:51 +00:00
Steve Checkoway 4d2fd489fb Update build script to get the correct version of ffmpeg from the subversion repository. 2007-03-21 07:07:21 +00:00
Steve Checkoway e29a42f3f1 Work aorund a gcc bug where it is giving an error that the copy ctor is private even though it isn't being used. This has the unfortunate effect of turning compile time errors into link-time errors. 2007-03-19 03:43:14 +00:00
Steve Checkoway 9e7a8778ac Add CodeSet.*. 2007-03-18 13:00:52 +00:00
Steve Checkoway c17ce3eff3 These are not installed by aclocal by default but are needed for iconv.m4. 2007-03-14 08:17:49 +00:00
Steve Checkoway 2cd80d2048 Cleanup. The time critical stuff will never work like that on OS X. 2007-03-14 07:06:41 +00:00
Steve Checkoway 0927be48a4 Fix silly comment. 2007-03-13 17:54:27 +00:00
Steve Checkoway dd19e26e59 Remove obsolete macros. This was easier than I thought. I just ran autoupdate on configure.ac and the .m4 files and compared the output. 2007-03-13 10:20:57 +00:00
Steve Checkoway cc9664b304 Add option -fsigned-char when gcc requires it. Note that AC_TRY_* are obsolete macros <http://www.gnu.org/software/autoconf/manual/autoconf.html#Obsolete-Macros> and should probably be replaced at some point. 2007-03-13 10:04:59 +00:00
Steve Checkoway bd796e566c Update build script. 2007-03-13 09:00:45 +00:00
Steve Checkoway 3c73e111fd Change set precedence api to return an error message. 2007-03-12 03:37:24 +00:00
Steve Checkoway 778172314f Add license notice. I believe I got the years correct. 2007-03-11 22:49:10 +00:00
Steve Checkoway 9a7bdd0fe1 I'm not sure why my name was on this. All of my code (save a few black lines and { }) was rewritten a while ago. 2007-03-11 22:43:04 +00:00
Steve Checkoway 9d847bc099 Disable two part selection. 2007-03-11 09:28:02 +00:00
Steve Checkoway 266d8b9e97 Selecting a song is supposed to be final. 2007-03-11 01:32:43 +00:00
Steve Checkoway 2df0e33424 When using two part selection, allow backing out of selecting steps. 2007-03-11 01:05:01 +00:00
Steve Checkoway eeede7b6e5 Cleanup. 2007-03-11 00:52:50 +00:00
Steve Checkoway e017728ba7 scaletoclipped takes a width and a height so use SCREEN_{WIDTH,HEIGHT} in place of SCREEN_{RIGHT,BOTTOM}. 2007-03-11 00:39:28 +00:00
Steve Checkoway 9a0c41529f Fix compile. 2007-03-11 00:15:53 +00:00
Steve Checkoway 5088a880f4 Scale for widescreen. 2007-03-10 14:45:23 +00:00
Steve Checkoway ef8b106d19 Add/Remove files. 2007-03-10 14:06:33 +00:00
Steve Checkoway 9137825cd1 Fix warnings. 2007-03-10 14:06:08 +00:00
Steve Checkoway fa40d68c24 Missing metric. I am not sure what this is for or why I decided on false. Fix as needed. 2007-02-27 07:14:16 +00:00
Steve Checkoway e507e06144 sys/param.h should define BSD. 2007-02-25 15:23:44 +00:00
Steve Checkoway 2f80580882 sys/param.h should define BSD on bsd systems. Do not redefine it. 2007-02-25 15:22:22 +00:00
Steve Checkoway 2758771b1f Fix compile. 2007-02-25 14:37:32 +00:00
Steve Checkoway 596b5cf14d Possible compile fix for netbsd. 2007-02-25 14:20:34 +00:00
Steve Checkoway fced7b7a83 Fix warning. 2007-02-25 09:19:54 +00:00
Steve Checkoway 2afb681aea GetHighScoreForDifficulty -> GetHighGradeForDifficulty. 2007-02-25 07:02:27 +00:00
Steve Checkoway bf77a61057 Store the highest song grade in the HighScoreList. 2007-02-25 06:59:27 +00:00
Steve Checkoway 0f58d743f9 Spelling in a comment. 2007-02-25 05:01:58 +00:00
Steve Checkoway 2bfc4f77e5 Up to date libraries. Also link ffmpeg against the zlib we build. 2007-02-23 12:40:56 +00:00
Steve Checkoway ac17e6c8af I do not know what it cannot just use the same file, but it cannot, so stick in the copy. 2007-02-23 12:07:03 +00:00
Steve Checkoway 090cf465e2 Update README. 2007-02-23 12:00:56 +00:00
Steve Checkoway a1764ff913 Use static zlib. I could have it only use this for the ppc build and use the system one for i386 since that one is new enough, but I can't test that so I won't. 2007-02-23 11:58:33 +00:00
Steve Checkoway 5dc3c39603 Build zlib since the 10.2.8 sdk has a version that is too old. 2007-02-23 11:56:58 +00:00
Steve Checkoway a06dc00e7a Simplify. 2007-02-23 11:32:54 +00:00
Steve Checkoway 2faaa7518a GetCurThreadName -> GetCurrentThreadName to match GetCurrentThreadID. 2007-02-23 10:35:00 +00:00
Steve Checkoway 03ee27cf21 We can't throw exceptions except on the main thread. 2007-02-23 10:25:53 +00:00
Steve Checkoway 6ed2dcf230 Export GetInvalidThreadID() through RageThreads.h, rather than arch/Threads/Thread.h (via GetInvalidThreadId(), lowercase d). 2007-02-23 10:24:51 +00:00
Steve Checkoway 3b2e02d5fe Error() reinits the Dialog. Shut it down afterward. 2007-02-23 10:12:56 +00:00
Steve Checkoway a7cadaa835 Simplify. 2007-02-23 09:01:11 +00:00
Steve Checkoway 7ca0f5996b Unused. 2007-02-23 08:35:48 +00:00
Steve Checkoway 3c3fc0aaac Unused. 2007-02-23 08:09:49 +00:00
Steve Checkoway 65b279ce89 Misclick. 2007-02-22 19:36:58 +00:00