Commit Graph

121 Commits

Author SHA1 Message Date
Glenn Maynard dfc67cd84d ScreenWithMenuElements::StartTransitioning -> StartTransitioningScreen, to make searching
for it easier (vs. Transition::StartTransitioning).  (Trying to simplify tweening; this
may go back later.)
2005-10-13 22:17:13 +00:00
Glenn Maynard 6ea2f37a36 Change MenuUp(pn,type) overrides to MenuUp(IEP), so info like DeviceI.ts is always accessible. 2005-09-23 00:44:52 +00:00
Chris Danford bb10c7c21f pass around InputEventPlus in Screen::Input instead of multiple input structures 2005-09-05 02:26:50 +00:00
Glenn Maynard 96b510e04c missing header 2005-09-03 06:11:26 +00:00
Glenn Maynard 0d0b8d5dae (GetDifficultyColor is going away ...) 2005-08-31 02:16:01 +00:00
Glenn Maynard fc7c1a1645 use default 2005-07-12 06:42:36 +00:00
Glenn Maynard 28133ca105 cleanup 2005-07-07 10:29:04 +00:00
Glenn Maynard 2cb0658151 ScreenPrompt::Prompt update 2005-07-03 04:34:53 +00:00
Glenn Maynard 0289b1a91e use RageTexturePreloader 2005-06-30 22:41:22 +00:00
Chris Danford 91d375d31a store course group names
show courses on wheel with a group color
2005-06-03 01:57:10 +00:00
Charles Lohr 8c5909ebe9 Modify AutoScreenMessage to keep map of all non-standard ScreenMessages.
This has a lot of advantages over the old ways.  Some of the initial ones are that
you can log a list of all screenmessages and their respective number and another
is that it would be fairly easy to add a reverse lookup, so you could get the name
of a ScreenMessage for log use by getting the ScreenMessage number.
2005-03-28 08:01:36 +00:00
Chris Danford 880e42e1d3 fix conflicting ScreenMessage IDs by automatically generating unique values 2005-03-23 08:48:38 +00:00
Chris Danford 66a30e72b8 optimize: Add GetTimeSinceStartFast() that caches the time for archs where GetMicrosecondsSinceStart() is slow 2005-03-21 21:40:07 +00:00
Chris Danford 48e6cb1a69 rename back -> cancel because "back" conflicts with "background" 2005-03-20 06:14:41 +00:00
Chris Danford 70663436bb wrap GameState difficulties 2005-02-26 08:32:49 +00:00
Chris Danford 071f02a862 allow access to individual BroadcastOnChangePtrs within BroadcastOnChangePtr1D 2005-02-25 18:17:26 +00:00
Chris Danford 4104edcad9 use BroadcastOnChange wrappers 2005-02-25 05:27:28 +00:00
Chris Danford ab22e629d4 enforce that changed message is broadcast whenever value changes 2005-02-24 12:27:30 +00:00
Chris Danford 42c5e2b3f9 allow specifying a Lua function for a command with "%funciton(self) self:blah end" 2005-02-23 19:15:24 +00:00
Glenn Maynard b51b0cfb4c Use Init() for all screens, so we can set state before the base class
members are loaded--they'll see resets, score finalization, etc.  It
also results in smaller code, due to a g++ bug that causes constructors
to be emitted several times.
2005-02-23 06:29:05 +00:00
Chris Danford 4223e09cc8 GetPathTo -> GetPath 2005-02-06 03:32:53 +00:00
Chris Danford a24bd3014c cleanup: "(PlayerNumber)" -> "" 2005-01-31 03:18:46 +00:00
Glenn Maynard 8a5bf17203 remove some hardcoded screen names 2005-01-29 23:45:27 +00:00
Chris Danford 8555a6da45 use Lua to execute commands
(needs cleanup)
2005-01-26 11:21:43 +00:00
Chris Danford cfd7f6300f fix CoinMode toggling on ScreenTitleMenu 2005-01-05 04:35:15 +00:00
Chris Danford f840c014a9 Move some player-specific data out of the bloated GameState class.
Have gameplay objects hold a PlayerState pointer instead of a PlayerNumber and indexing back into GameState.
This will simplify off-screen players (e.g. CPU ghosts, network replicated human players, >2 players using one NoteField)
2004-12-20 06:25:59 +00:00
Chris Danford ed19821e09 rename: ActorCommand -> Command
Make Command smaller and more generic.
Parse arguments on use, not in Command::Load.
2004-12-03 05:19:46 +00:00
Chris Danford 7f336c2ce6 self-registering screen classes 2004-11-26 17:28:47 +00:00
Chris Danford bcbe615c0d Pass ActorCommand structures to Actor instead of unparsed command strings.
This way, we can potentially do the parsing early and not parse inside of Actor as the command is executing.
2004-11-06 23:13:47 +00:00
Chris Danford 72bd480883 CENTER_* -> SCREEN_CENTER 2004-11-05 06:35:10 +00:00
Chris Danford 807d892f4f allow theme to specify logical screen dimensions 2004-09-21 06:07:12 +00:00
Glenn Maynard 649b3df153 handle IET_LEVEL_CHANGED 2004-09-09 22:21:50 +00:00
Charles Lohr 8bdc2d1ffb Tween out title and artist. 2004-07-24 03:29:45 +00:00
Glenn Maynard 94d0cba859 RageSounds -> GameSoundManager 2004-07-08 00:10:34 +00:00
Chris Danford 5544445ad0 name cleanup: StyleDef -> Style 2004-06-28 07:26:00 +00:00
Chris Danford 3809715db0 cleanup: Remove Style and use StyleDef everywhere. This gets rid of a lot of Style->StyleDef lookups and discourages code that's specific to a Style. All game logic should be data-driven. 2004-06-27 06:52:49 +00:00
Glenn Maynard e4d124dd91 license update 2004-06-08 05:22:33 +00:00
Chris Danford 6ad780417e "SetFromNotes" -> "SetFromSteps" 2004-05-29 04:50:47 +00:00
Chris Danford b05d25ab24 "m_pCurNotes" -> "m_pCurSteps" 2004-05-24 06:12:17 +00:00
Chris Danford 4bb777232d name cleanup: "pNotes" -> "pSteps" 2004-05-24 03:41:39 +00:00
Chris Danford 6590bd2d48 don't load multiple copies of "common start" or "common invalid" sound 2004-05-01 23:28:53 +00:00
Chris Danford df5cd5e813 move MenuElements into a base ScreenWithMenuElements so that metrics can be overridden using the Fallback mechanism 2004-05-01 23:19:33 +00:00
Chris Danford 1920634135 move Song/Steps sorting into Song/StepsUtil.h/cpp 2004-04-18 07:34:37 +00:00
Steve Checkoway 20a8bab45c Clean up includes. 2004-04-05 05:22:32 +00:00
Chris Danford 10a4580c12 remove Actor::Fade*, remove unnessary virtuals in Actor 2004-02-14 03:38:34 +00:00
Chris Danford 646f67a3d2 allow save screenshot on eval screen with MenuLeft-MenuRight-Start 2004-02-12 09:44:16 +00:00
Glenn Maynard 6021c6e7da make the stage count work if the eval screen isn't shown at all 2004-01-22 03:11:40 +00:00
Andrew Livy 336411233f Credit modification. 2003-12-14 08:11:05 +00:00
Chris Danford 47def7d3dc xbox updates 2003-11-13 00:39:36 +00:00
Glenn Maynard 884488732d reduce MenuTimer dependencies 2003-11-07 20:10:38 +00:00