Commit Graph
100 Commits
Author SHA1 Message Date
Steve Checkoway a09220ebae Remove files. 2007-04-10 16:24:27 +00:00
Steve Checkoway 31174bded7 Make the div hide, not the table. Add newlines. 2007-04-09 03:37:58 +00:00
Steve Checkoway ce90152ab6 Do not persist ScreenGameplaySyncMachine. Init() needs to be called every time. 2007-04-08 23:56:03 +00:00
Steve Checkoway fa949c78e4 Don't play ready/go/failed/toasty/next song twice. I believe that since GenericTweenOn() returns true, BeginScreen() will run On on the entire screen. 2007-04-08 23:19:49 +00:00
Steve Checkoway 9f458bd62b Only load the commands once. 2007-04-08 22:48:25 +00:00
Steve Checkoway 8e2e7aefb9 No cheating. 2007-04-08 22:40:30 +00:00
Steve Checkoway cba7fe4362 Partial revert since firefox cannot seem to handle xml -> xhtml but it can handle xml -> html. 2007-04-08 10:42:37 +00:00
Steve Checkoway a5e1825914 It seems all I needed to do was change onClick to onclick and it is xhtml 1.0 strict. 2007-04-08 10:16:44 +00:00
Steve Checkoway 6c8f1992ac Add mostly empty documentation file. It should contain enough information to figure out how to add documentation to other lua functions. 2007-04-08 10:08:31 +00:00
Steve Checkoway 626e4a94dc Read LuaDocumentation.xml and add the documentation to the output file. Also, output HTML 4.01 strict. I would like xhtml 1.0 at some point, but it does not really matter. 2007-04-08 10:06:46 +00:00
Steve Checkoway 8aa8d9c144 Modify xml schema to support function documentation. 2007-04-08 10:04:49 +00:00
Steve Checkoway ec2f600056 Expand the class when clicking on a link for it. 2007-04-08 01:03:13 +00:00
Steve Checkoway 7f61fdcbc3 Simplify. I had no idea I could use {@name}. 2007-04-08 00:57:00 +00:00
Steve Checkoway 7487b2c933 Fix getting base class. 2007-04-08 00:26:52 +00:00
Steve Checkoway 7e393eb1cc Font redir for Thanks for playing! 2007-04-07 22:35:19 +00:00
Steve Checkoway e2542ad5fa Add text using Lua rather than baked in. 2007-04-07 22:33:53 +00:00
Steve Checkoway deed022f01 Remove ScreenMusicScroll. 2007-04-07 13:09:29 +00:00
Steve Checkoway 11db60a74c Implement ScreenMusicScroll's functionality in the overlay. It is not quite the same, but it does more or less the same thing without using thousands of actors (one per loaded song!). 2007-04-07 13:07:35 +00:00
Steve Checkoway a99dda6d95 Make ScreenMusicScroll use ScreenCredits. 2007-04-07 13:05:23 +00:00
Steve Checkoway 9ca668e26b Remove outdated screen, do it in lua. 2007-04-07 13:03:56 +00:00
Steve Checkoway 579e7e45cb Make the announcement themeable. 2007-04-07 13:02:12 +00:00
Steve Checkoway 0e219a16aa Add GetSongColor binding. 2007-04-07 13:00:14 +00:00
Steve Checkoway d909e8c6a9 cleanup. 2007-04-07 12:48:07 +00:00
Steve Checkoway f7577ffa78 stretchto -> scale_or_crop_background. This is a cool looking background but the baked in text looks bad. Is there any chance we could get this widescreen or at least without the text? 2007-04-07 11:33:14 +00:00
Steve Checkoway 7c5d42fb59 xml -> lua. The credits are now very easy to modify, just add a time in the correct section. 2007-04-07 11:18:37 +00:00
Steve Checkoway 00d44c63bc GetRandomSong() was returning songs in the same order every time using the internal RNG. Use g_RandomNumberGenerator instead. 2007-04-07 10:04:08 +00:00
Steve Checkoway 9d75ef8bf2 While I'm at it, const. 2007-04-07 06:13:00 +00:00
Steve Checkoway 72ed44a52e Don't use istring, just use a comparison object that ignores case. 2007-04-07 06:04:40 +00:00
Steve Checkoway 1e58cd8530 Remove unused GetAllSongs(). 2007-04-07 05:36:55 +00:00
Steve Checkoway 0cb56b6ec2 GetAllSongs() -> GetSongs(). 2007-04-07 05:36:40 +00:00
Steve Checkoway a9187f5ce4 Store the group names in the map case insensitively. 2007-04-07 05:27:29 +00:00
Steve Checkoway ef22ba5d57 SONGMAN API change. 2007-04-07 05:11:47 +00:00
Steve Checkoway 54035d6334 API change. SONGMAN->GetSongs( groupName ) returns a const reference to the songs in the group. If you want a copy of the songs, just copy the return value:
vector<Song *> vSongs = SONGMAN->GetSongs( groupName );
If you don't want to change the songs, get a const reference instead to keep it from copying.
2007-04-07 05:10:29 +00:00
Steve Checkoway c29eed3108 Simplify. 2007-04-07 02:37:38 +00:00
Steve Checkoway de3f6e0618 Working at cleaning up the n different ways to get songs. 1 is probably sufficient. 2007-04-07 02:34:17 +00:00
Steve Checkoway 23131dfb6d Push back, rather than insert at end. 2007-04-07 02:33:13 +00:00
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