Commit Graph

25426 Commits

Author SHA1 Message Date
Glenn Maynard 023025e01b add ResetOptions 2007-04-06 16:03:50 +00:00
Glenn Maynard c69d045490 remove odd command loading (also, load commands in Init, not BeginScreen) 2007-04-06 15:59:07 +00:00
Glenn Maynard ff6263a9f3 fix command name 2007-04-06 15:58:01 +00:00
Glenn Maynard 3f776c5bb5 ResetToDefaultPlayerOptions, ResetToDefaultSongOptions 2007-04-06 15:44:39 +00:00
Chris Danford 25a82867cc fix long songs showing in last stage and causing crash b/c no steps are playable 2007-04-04 02:19:09 +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
Chris Danford 3f1862a1ee explicitly load commands to fix "command not loaded" asserts 2007-04-03 21:16:28 +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
Glenn Maynard f7ce0e3892 preserve load order 2007-04-03 03:34:50 +00:00
Glenn Maynard 5d33947ff0 theme sort list 2007-04-03 03:34:17 +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
Glenn Maynard 594e839bd1 theme sort list 2007-04-03 02:50:25 +00:00
Glenn Maynard b244f60e84 merge ThemeMetric and DynamicThemeMetric 2007-04-03 02:43:41 +00:00
Glenn Maynard 0efd18575b fix rotation keys 2007-04-03 02:05:36 +00:00
Steve Checkoway 82c2f596fb Use scale_or_crop_background instead of zoom/stretch/scale. 2007-04-02 19:22:26 +00:00
AJ Kelly c3f405eede xml -> lua 2007-04-02 17:36:59 +00:00
AJ Kelly a63851f13c xml -> lua. should I be using zoomtowidth/zoomtoheight or stretchto,LEFT,TOP,RIGHT,BOTTOM? 2007-04-02 17:05:40 +00:00
AJ Kelly 59902632fc since in theory we can use the default theme for multiple gametypes, add a notification of current gametype. 2007-04-02 16:59:59 +00:00
AJ Kelly 3608aaa0c5 if we're centering the menu, let's center the bitmaptext objects. also, xml -> lua 2007-04-02 16:54:44 +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
AJ Kelly a6adfbb75d small fix 2007-04-01 19:32:58 +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
Glenn Maynard c580a8af59 fix backwards (cosmetically) 2007-03-27 06:47:02 +00:00
Glenn Maynard d1a78c315d fix m_fTimestampOffset 2007-03-27 06:17:37 +00:00
Chris Danford edcfb9a990 Calculate stage based on the player with the highest current stage index. 2007-03-27 01:18:45 +00:00
Glenn Maynard a8e02fc40e GL_ARB_pixel_buffer_object check 2007-03-27 00:24:56 +00:00
Glenn Maynard dc8b481268 temporary fix for
004f2fec: void debug_crash(void) [00400000+f2fda+12]
004dc1f0: void sm_crash(char const *) [00400000+dc1d5+1b]
005aa73e: class Style const * GameManager::GetFirstCompatibleStyle(class Game const *,int,enum StepsType)const  [00400000+1aa6a9+95]
005ae440: void GameState::JoinPlayer(enum PlayerNumber) [00400000+1ae3c4+7c]
7c421201: MSVCP80!std::char_traits<char>::_Copy_s [7c420000+11ec+15]
00418707: void ScreenEditMenu::Init(void) [00400000+186ee+19]
2007-03-27 00:24:21 +00:00
Glenn Maynard d4b6b0b7b3 set width, so halign works 2007-03-26 23:20:24 +00:00
Glenn Maynard 6e7b44522e SetPosition 2007-03-26 22:54:21 +00:00