Chris Danford
599db61b62
Always call LoadAllCommands explicitly.
...
The hack to LoadAllCommands when playing a command was leading to weird interactions: If a theme element contained an OnCommand, it would cause the rest of the commands defined in metrics to not be loaded.
2007-02-19 09:30:07 +00:00
Glenn Maynard
ce86b65827
fix base call
2006-11-21 20:03:28 +00:00
Glenn Maynard
3a57dca6c4
ActorCommands -> ActorUtil::ParseActorCommands
2006-09-21 02:24:22 +00:00
Glenn Maynard
8548f1cb33
simplify ActorCommands
2006-09-21 01:39:38 +00:00
Steve Checkoway
944a913790
PlayerNumber -> IEP.
2006-09-15 01:47:24 +00:00
Glenn Maynard
c7dfb9f2ec
MenuInput -> MenuButton
2006-09-14 20:52:34 +00:00
Glenn Maynard
f1cd95828e
remove MenuInput.IsValid(); if invalid, the button is simply MenuButton_INVALID
2006-09-14 20:31:46 +00:00
Glenn Maynard
aeb9c89191
use input.pn
2006-09-13 10:02:58 +00:00
Glenn Maynard
3fc0d75570
remove IET_LEVEL_CHANGED
2006-09-08 18:51:12 +00:00
Glenn Maynard
7b995b8487
remove unused
2006-08-20 20:01:53 +00:00
Glenn Maynard
982ffa6a65
use IsMarathon, IsLong
2006-08-17 00:37:40 +00:00
Chris Danford
7ac45c24e4
save Preferred, Stage, Song, and Current modifiers separately. This eliminates the fragile mods store/restore.
2006-08-05 02:38:05 +00:00
Chris Danford
af3e1c571c
move Steps searching out of song into SongUtil so that it can be shared with CourseEntry
2006-06-13 01:10:37 +00:00
Glenn Maynard
a87993bcb1
finish ctor transition
2006-01-15 20:46:15 +00:00
Glenn Maynard
470c909ec6
Transition away from Screen(sName).
2006-01-15 18:54:03 +00:00
Chris Danford
fc18dbd342
make more strings localizable
2006-01-08 18:40:20 +00:00
Steve Checkoway
cd8788c941
Newlines do not work here.
2006-01-04 19:54:34 +00:00
Chris Danford
74749a19bb
move localized string to separate file
2005-12-22 03:10:04 +00:00
Chris Danford
28959facb3
make prompt strings localizable
2005-12-21 09:56:16 +00:00
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