Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard 37fe56a4f7 cosmetic 2005-01-16 20:37:08 +00:00
Glenn Maynard 39384227c4 allow Lua expressions in text metrics by prepending @ 2005-01-16 20:36:27 +00:00
Glenn Maynard 0849ef8a46 log dialogs 2005-01-16 20:32:53 +00:00
Glenn Maynard 9ff1834076 remove LoadFromActorFile overload that's only used in one place 2005-01-16 19:52:41 +00:00
Glenn Maynard 5057144536 remove old debug (note: FAIL_M(x) is better than ASSERT_M(0, x)) 2005-01-16 19:43:13 +00:00
Glenn Maynard 77faa0d089 don't need to keep m_bGeneric around 2005-01-16 19:19:24 +00:00
Glenn Maynard c1e3239a5f cleanup 2005-01-16 19:18:23 +00:00
Glenn Maynard 8f99164eb5 All BGAnimations are "generic", except for those loaded directly from
Background.  This should be more consistent (we were creating BGAnimations
as non-generic in some places where it probably should have been generic).
This means all themes need to explicitly set the position of all BGAnimation
graphics, which is good practice anyway.
2005-01-16 18:25:29 +00:00
Glenn Maynard a65c514dad fix test_audio_readers build 2005-01-16 16:34:19 +00:00
Glenn Maynard 0e94b4cbdf SM_BeginFadingOut is being sent by ScreenAttract already 2005-01-16 14:53:32 +00:00
Glenn Maynard 7183a5e271 Add ScreenAttract::AutoBeginFadingOut() to disable sending
SM_BeginFadingOut.  We can't do this in the ctor (since it's sent during
Update now); we can't do it in Update(), because if the message is posted
with a delay of 0 (ScreenRanking), the message will be added by
ScreenAttract::Update and immediately processed by Actor::Update
before the derived Update can remove it.
2005-01-16 14:48:44 +00:00
Glenn Maynard 82ed283ac0 load scroller in LoadFromAniDir for now; not sure why this doesn't always work 2005-01-16 02:04:39 +00:00
Glenn Maynard 7a0373aafd update 2005-01-16 00:25:24 +00:00
Glenn Maynard b573ab428f remove unused stuff 2005-01-16 00:23:08 +00:00
Glenn Maynard 8ef0fff740 cleanup 2005-01-15 22:58:27 +00:00
Glenn Maynard f256618fe1 no need to persist some of this particle stuff 2005-01-15 22:52:46 +00:00
Glenn Maynard ad7b93372a EFFECT_TILE_PULSE isn't in m_Type ... 2005-01-15 22:36:23 +00:00
Glenn Maynard 0abc942910 clean up OnCommand handling in song backgrounds 2005-01-15 22:34:04 +00:00
Glenn Maynard a0e9c5a8c6 Remove CommandRepeatSeconds. Instead, do:
OnCommand=x;y;z;queuecommand,playcommand,On
2005-01-15 22:31:43 +00:00
Glenn Maynard 762c9a77fb cleanup 2005-01-15 22:29:42 +00:00
Glenn Maynard 4ce9b72e41 BGAnimation -> AutoActor 2005-01-15 21:03:26 +00:00
Glenn Maynard b1227b4372 headers 2005-01-15 21:00:50 +00:00
Glenn Maynard 862f19ed65 simplify 2005-01-15 20:55:04 +00:00
Glenn Maynard 635d5e43e2 eliminate LoadFromStaticGraphic 2005-01-15 20:48:20 +00:00
Glenn Maynard 594587607c Eliminate BGAnimation::LoadFromMovie and BGAnimationLayer::LoadFromMovie. 2005-01-15 20:37:46 +00:00
Glenn Maynard 66d39dd65c Add ActorFrame::DeleteChildrenWhenDone, to call DeleteAllChildren automatically.
Move movie GainFocus/LoseFocus handling to Sprite.
Visualizations are part of Background, not BGAnimation; move them there.  Remove BGAnimation::LoadFromVisualization and BGAnimationLayer::LoadFromVisualization.
2005-01-15 20:32:35 +00:00
Glenn Maynard f4a51bef4d move FullScreenRectF into ScreenDimensions.h 2005-01-15 19:44:32 +00:00
Glenn Maynard 6d64f3aa78 cleanup 2005-01-15 19:42:47 +00:00
Glenn Maynard c9091a1214 Don't play "On" automatically for non-generic BGAnimations; play it
explicitly, like we do with all other objects.
2005-01-15 19:21:09 +00:00
Glenn Maynard dc7fcbc776 remove m_Overlay (duplicates ScreenWithMenuElements::m_sprOverlay) 2005-01-15 18:54:04 +00:00
Glenn Maynard 314e801115 m_vpBGAnimations hasn't actually done anything in about a year (it's
never loaded); remove it.  It's not useful, anyway: it gives no means to
tween options when changing the selection.
2005-01-15 18:50:52 +00:00
Glenn Maynard 29b2a6d22f remove m_bgOverlay (duplicates ScreenWithMenuElements::m_sprOverlay) 2005-01-15 18:41:09 +00:00
Glenn Maynard bf7eeb60fb unused includes 2005-01-15 18:36:29 +00:00
Glenn Maynard 754fb297fa cleanups, fixes 2005-01-15 18:33:09 +00:00
Glenn Maynard 78800818e3 Remove BGAnimation::GetLengthSeconds; use GetTweenTimeLeft instead. 2005-01-15 18:31:14 +00:00
Glenn Maynard 8cd0d9e04c load Scroller in BGAnimation::LoadFromNode 2005-01-15 14:52:37 +00:00
Glenn Maynard 336a035660 BGAnimationLayer::LoadFromIni -> BGAnimationLayer::LoadFromNode 2005-01-15 13:56:05 +00:00
Glenn Maynard 4267a5f942 ActorScroller::LoadFromIni -> ActorScroller::LoadFromNode 2005-01-15 13:47:02 +00:00
Glenn Maynard 2ecbfae787 fix record
eliminate g_pCurrentMap (one less piece of state to become desynced)
2005-01-15 13:14:36 +00:00
Glenn Maynard 8781bb055d cleanup, fix gcc compile 2005-01-15 13:05:33 +00:00
Glenn Maynard 0b4ad2db3b generalize 2005-01-15 04:31:35 +00:00
Glenn Maynard 18103607fd minor cleanup 2005-01-15 04:26:49 +00:00
Glenn Maynard db57380d59 cleanup 2005-01-15 04:19:35 +00:00
Glenn Maynard 6548069e5e tween 2005-01-15 04:15:15 +00:00
Glenn Maynard 8c93684189 s/help/overlay/ 2005-01-15 04:02:30 +00:00
Glenn Maynard 9fba6088f7 actually, s/help/overlay/ 2005-01-15 04:01:56 +00:00
Glenn Maynard db72422cfd metrics 2005-01-15 03:57:56 +00:00
Glenn Maynard 779e7777a1 cleanup 2005-01-15 03:56:32 +00:00
Glenn Maynard 874fe6298c don't reload note skin when entering play mode in the editor (for real) 2005-01-15 03:33:55 +00:00
Glenn Maynard f265551c97 don't reload mine sounds, etc when entering play mode in the editor 2005-01-15 03:31:07 +00:00
Glenn Maynard 4478914862 don't reload note skin when entering play mode in the editor 2005-01-15 03:26:38 +00:00
Glenn Maynard 0efe680c70 unused function 2005-01-15 03:22:51 +00:00
Glenn Maynard 0409fe9d96 comment, cleanup
don't reload sounds unnecessarily
2005-01-15 03:10:08 +00:00
Glenn Maynard 44d55b431a add foreach.h 2005-01-15 02:38:33 +00:00
Glenn Maynard 73caca5eea Use NonblockingRng instead of AutoSeededRandomPool. AutoSeededRandomPool allows adding entropy from various sources, but we only have one source (the OS's random number generation). If we really want to seed entropy from multiple sources, we can use the code in crypto/ from Putty, which does the same thing in a tiny fraction of the code. 2005-01-15 02:36:07 +00:00
Glenn Maynard 79e018f52f only one-line description I can think of for NoteField ... 2005-01-15 02:14:09 +00:00
Glenn Maynard 894592a56e cleanup 2005-01-15 02:12:34 +00:00
Glenn Maynard 0dfdaee605 remove some more old experimental stuff 2005-01-15 02:01:26 +00:00
Glenn Maynard da407f2fb7 unused header 2005-01-15 01:48:53 +00:00
Glenn Maynard 1c5d87fa57 remove ArrowBackdrop 2005-01-15 01:48:17 +00:00
Glenn Maynard aad97fbcb9 remove some more old experimental stuff 2005-01-15 01:45:34 +00:00
Glenn Maynard f8b90e0bcf remove some old experimental stuff 2005-01-15 01:38:42 +00:00
Glenn Maynard f4391c932b remove some old experimental stuff 2005-01-15 01:35:58 +00:00
Glenn Maynard 3a9b2f7f4b working on fixing up extra loads when entering play mode in the editor 2005-01-15 01:28:29 +00:00
Glenn Maynard 36445d1e1b typo 2005-01-15 01:09:08 +00:00
Glenn Maynard 8431430721 merge PlayerMinus and Player back together 2005-01-15 01:03:48 +00:00
Glenn Maynard 0a6ac4092e remove unneeded comments 2005-01-14 23:37:52 +00:00
Glenn Maynard 856dc5c2ff Handle editor keymappings more sanely; this fixes the "#ifdef XBOX"
everywhere (tip: if you're putting that many preprocessor checks in
high-level code, you're doing something wrong).
2005-01-14 23:17:04 +00:00
Glenn Maynard dbca4bbf7f fix crashes due to big meter values 2005-01-14 15:58:19 +00:00
Glenn Maynard 19512c4e9c remove oaep 2005-01-14 15:00:26 +00:00
Glenn Maynard a2995abbd2 cleanup 2005-01-14 14:59:27 +00:00
Glenn Maynard 87b65e5f8a remove oaep 2005-01-14 13:19:56 +00:00
Glenn Maynard 69ef41300e remove oaep 2005-01-14 03:06:13 +00:00
Glenn Maynard c554712d08 more unused 2005-01-14 03:05:41 +00:00
Glenn Maynard 0d3d5efb92 merge http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/putty/sshbn.c?rev=4372&r1=3760&r2=4372 2005-01-14 03:00:42 +00:00
Glenn Maynard 367f192d6d create keys with the same object that we sign/verify; not instantiating encrypt/decrypt objects saves ~100k stripped 2005-01-14 01:57:56 +00:00
Glenn Maynard 7b141f8f1f remove rng.h 2005-01-13 23:40:25 +00:00
Glenn Maynard 1687def015 cleanup, remove rng.h 2005-01-13 23:39:44 +00:00
Glenn Maynard a44c970ca8 cleanup 2005-01-13 23:35:46 +00:00
Glenn Maynard fcda95a607 remove unused stuff 2005-01-13 22:14:14 +00:00
Glenn Maynard f44facda48 fix roulette not being sorted 2005-01-13 17:40:56 +00:00
Glenn Maynard 6b931070cb fix wrong preferred sort for songs that have no easy steps 2005-01-13 17:39:14 +00:00
Glenn Maynard f082368325 fix up Song::GetClosestNotes: search all difficulties; if not looking for an
edit, don't return one
2005-01-13 17:38:18 +00:00
Glenn Maynard 887020242b base class should be explicitly initialized in the copy constructor 2005-01-12 19:20:18 +00:00
Glenn Maynard 0460501020 check Lua, even when using lua-config 2005-01-12 14:24:44 +00:00
Glenn Maynard 2592150cb9 fix long/marathon StageStats::GetAverageMeter results 2005-01-10 18:55:49 +00:00
Glenn Maynard 917893ec06 simplify 2005-01-10 15:37:29 +00:00
Glenn Maynard faa835f980 rename iMaxScoreToNow -> iCurMaxScore, to look like iCurCombo, iCurMissCombo 2005-01-10 15:26:21 +00:00
Glenn Maynard c7c28b9aea narrow StageStats* -> PlayerStageStats* 2005-01-10 15:18:13 +00:00
Glenn Maynard fc163a4c04 do save ScoreDisplay optoin to profile 2005-01-10 15:10:36 +00:00
Glenn Maynard 8c89672c89 float m_fScoreDisplay -> ScoreDisplay m_ScoreDisplay
minor cleanup
2005-01-10 15:10:02 +00:00
Glenn Maynard 681cf95ebc work around compiler oddity 2005-01-10 13:09:19 +00:00
Glenn Maynard f98a51d87e fix player 2 getting wrong player options applied 2005-01-10 13:04:31 +00:00
Glenn Maynard 87c4555a0c fix some cases of transforms brute-force iterating over rows 2005-01-10 01:03:36 +00:00
Glenn Maynard cde599f33a clamp .gz/.zip data: don't read more than it said would be available 2005-01-10 01:01:34 +00:00
Glenn Maynard 8d40bee10c fix shift-0 hold notes
These #ifdef Xbox-specific hacks need to go.  Making the entire editor
code unreadable and hard to maintain is just not acceptable.
2005-01-10 00:52:04 +00:00
Glenn Maynard 9aaaea6e7e fix TODO 2005-01-09 22:28:31 +00:00
Glenn Maynard d7aba9fd68 fix some cases of transforms brute-force iterating over rows 2005-01-09 22:24:52 +00:00
Glenn Maynard 7ccc7731dc fix some cases of transforms brute-force iterating over rows 2005-01-09 22:13:18 +00:00
Glenn Maynard c26f402bba Fix mirror; only the pre-4s transform rows were being iterated over, which
broke holds.
2005-01-09 21:42:01 +00:00