Glenn Maynard
9c867fdd70
We have two "gamestate Lua environments": mapEnv and m_Environment. The
...
former is a map<CString,CString>; the latter is a Lua table. The former
is reset on gamestate reset, the latter is not.
Merge the map into the table, and eliminate it. We only need one, and
it makes sense for a Lua environment to be a Lua table.
Do reset the table on Reset. Otherwise, there's little point; if you want
to store data inside Lua, you don't need GameState to help.
2006-01-13 21:49:35 +00:00
Glenn Maynard
51a2d29493
unuseds
2006-01-13 06:50:16 +00:00
Glenn Maynard
c0de3d0397
remove unused stuff
2006-01-13 06:35:46 +00:00
Glenn Maynard
e8d67d9191
Remove "note skin for beat range", "beat range revision" stuff.
...
We still load all note skins for a course in advance, and note skins
are still sent through the weird "attack queue" stuff.
2006-01-12 21:39:00 +00:00
Chris Danford
66c5a45117
SetLoadedFromProfile when the Steps are created, not when they are saved
2005-12-06 23:44:01 +00:00
Chris Danford
cd9cf4c1e2
move some service menu actions from GameCommand into ScreenServiceAction
2005-11-29 23:15:11 +00:00
Chris Danford
e12e28d904
fix mods stored in profile cause DQ in Survival even though they're overridden
2005-11-02 20:02:47 +00:00
Chris Danford
6e5b3a5ed8
fix PrefsManager::m_sCurrentGame not current, so GamePrefs from Static.ini weren't being used
2005-10-28 01:44:19 +00:00
Chris Danford
112564dc99
fix [Common] DefaultModifers not being applied in most places
2005-10-27 07:51:37 +00:00
Glenn Maynard
5dda60ba52
cleanup, fix warning
2005-10-18 20:30:20 +00:00
Glenn Maynard
1168414cf0
m_bPastHereWeGo -> !m_bGameplayLeadIn, default false. This is more natural;
...
!m_bPastHereWeGo was the usual case.
2005-10-10 04:36:04 +00:00
Glenn Maynard
b0df6d2d68
broadcast bPastHereWeGo
2005-10-10 02:24:58 +00:00
Chris Danford
feb1bfb0fc
naming cleanup: rename scoring "Tier1"s to "W1"s (short for "Window 1")
...
add Preference1D so that we can index into the grading and life values
2005-10-09 04:30:59 +00:00
Chris Danford
b6cf3477b4
Use generic names for TapNoteScore values since they are treated genericly by the code.
...
Theme changes coming...
2005-10-08 00:57:40 +00:00
Chris Danford
15880eafd6
When in attract and not playing attract sounds, have SOUNDMAN only play sounds with RageSoundParams.m_bCriticalSound == true.
...
Currently, only the coin sound has RageSoundParams.m_bCriticalSound = true.
2005-10-04 06:51:06 +00:00
Chris Danford
a1cc399f3f
mute attract sounds inside of RageSound and don't mute everywhere that a sound might possibly be used in an attract screen
2005-10-03 23:54:40 +00:00
Glenn Maynard
36f30957a6
simplify
2005-09-08 05:52:37 +00:00
Glenn Maynard
12426c547c
simplify - less state is better
2005-09-03 04:10:52 +00:00
Glenn Maynard
56817d9490
broadcast m_SortOrder
2005-08-24 20:42:14 +00:00
Chris Danford
995b441180
store PlayerStates for MultiPlayers
2005-08-23 20:55:58 +00:00
Chris Danford
9731e806b1
move MultiPlayer and MultiPlayer join info into GameState
2005-08-20 22:51:43 +00:00
Chris Danford
e50a401341
move Character stuff out of messy GAMESTATE and into CHARMAN
2005-08-14 12:06:40 +00:00
Chris Danford
6ba0d4ac35
add GetCharacterFromID
2005-08-14 01:52:01 +00:00
Chris Danford
68f8e632f0
Add new ScreenOptionsManageProfiles
2005-08-04 21:13:29 +00:00
Chris Danford
fcae1e142c
more work on course editor
2005-08-03 03:28:13 +00:00
Chris Danford
881001b6c6
broadcast on PlayMode changed
2005-07-25 03:59:24 +00:00
Glenn Maynard
a7039d9eec
remove m_bEditing
2005-07-14 05:14:49 +00:00
Glenn Maynard
6badb0dd8c
transitioning m_bEditing -> m_EditMode, IsEditing()
2005-07-14 05:12:56 +00:00
Chris Danford
3752bdf702
cleanup
2005-07-13 19:08:44 +00:00
Chris Danford
e9166ac4ab
load EditableData for all local profile on startup so that we don't have to load every profile from disk to enumerate names
2005-07-12 20:19:52 +00:00
Chris Danford
fcc6c4408a
working on SSelectProfile
2005-07-07 22:08:05 +00:00
Glenn Maynard
fd700eb123
move RebuildPlayerOptionsFromActiveAttacks into PlayerState (SGameplay
...
commit in a moment)
2005-07-07 21:29:35 +00:00
Steve Checkoway
2a179a0380
Backing out of the final stage prevents getting extra stage. Backing out of extra stage (or second extra stage) fails the stage.
2005-06-29 07:57:15 +00:00
Chris Danford
6ab20c5ad9
more work on a new course editor
2005-06-28 08:11:30 +00:00
Chris Danford
7a1d736694
working on new course editor
2005-06-26 21:31:07 +00:00
Chris Danford
f0335f486c
GROUP_ALL_MUSIC -> GROUP_ALL
...
use GROUP_ALL as sentinel value in PreferredCourse
2005-06-24 06:06:16 +00:00
Chris Danford
2a6dcba6e8
cleanup:
...
"GroupName" -> "SongGroup" to make room for CourseGroup
replace checks for "cvs" with a call to StripCvs()
m_Rows -> m_pRows
broadcast on preferred group changes
2005-06-23 08:05:09 +00:00
Chris Danford
8f9951e38d
less fragile attract sound logic
2005-06-12 04:22:16 +00:00
Chris Danford
f7c6023412
fix attract sound frequency if initial screen not in attract loop
2005-06-11 11:25:34 +00:00
Chris Danford
d67d60e178
sync controls cleanup:
...
move sync display/saving out of complicated ScreenGameplay
show sync UI in editor playback as well as gameplay
revert sync from in-memory backup, not from disk
move more functions into debug overlay
2005-05-19 23:29:39 +00:00
Chris Danford
e504fb4e98
broadcast on changed course/trail
2005-05-18 07:14:19 +00:00
Chris Danford
e734e00bcc
give up if all human players have 30 misses so that battle will end early
2005-05-09 14:22:21 +00:00
Chris Danford
16818e54c8
broadcast on style change
2005-05-07 08:34:20 +00:00
Chris Danford
49bbddcb74
broadcast players joined and finalized
2005-05-07 00:27:31 +00:00
Chris Danford
a122528974
Allow AutoActors for Stage and CouseNumber
2005-05-06 10:48:32 +00:00
Glenn Maynard
16fd7077bb
separate song beat for lights, to fix off-sync lights in menus
2005-05-04 20:32:31 +00:00
Chris Danford
f7b43c71fd
add Lua method
2005-04-24 10:47:44 +00:00
Chris Danford
812943886b
fix aborted attacks continue to show in the active attack list
2005-04-15 13:00:30 +00:00
Chris Danford
c8636e1728
add Lua method PlayerIsUsingModifier
2005-04-15 09:07:57 +00:00
Chris Danford
228ca9f166
reload SSM help text on sort changed
...
clean up SortOrder names
2005-04-15 07:18:40 +00:00