Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
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
56d209b24f
cleanup, style
2006-01-13 05:16:04 +00:00
Glenn Maynard
75120c7a12
migrate some stuff to PlayerState
2006-01-13 05:14:42 +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
Glenn Maynard
714478dcfe
fix backing out of course mode trashes song sync data (from GameState::CancelStage)
2006-01-12 20:32:48 +00:00
Glenn Maynard
2af53bb703
fix "illegal conversion; more than one user-defined conversion has been implicitly applied"
2006-01-12 19:40:41 +00:00
Glenn Maynard
c682db354e
Removing dynamic note skin change support during courses
...
and battle.
- It's very rarely used.
- It requires authoring new note skins just to use it, which is too
time-consuming for the value of the feature.
- Colorblind players may pick a note skin that they can read. The option
to do this should always be available, and not overridden by courses,
or they're not going to be able to read it.
- The code is extremely complicated and ugly, and breaks very often.
Spring cleaning in January ...
2006-01-12 19:22:08 +00:00
Chris Danford
bd265e0bea
localize strings
2006-01-08 22:58:43 +00:00
Chris Danford
44225ad379
XToThemedString -> XToLocalizedString
2006-01-07 04:11:29 +00:00
Glenn Maynard
a89a488251
use find()
2005-12-21 08:46:30 +00:00
Glenn Maynard
a6aa42a9a4
FlushAndReset is a no-op. (It used to be used to reset drivers in Linux,
...
but that's no longer necessary.)
2005-12-21 05:52:11 +00:00
Chris Danford
66c5a45117
SetLoadedFromProfile when the Steps are created, not when they are saved
2005-12-06 23:44:01 +00:00
Glenn Maynard
90ad56522c
move GetCommandlineArgument, g_argc and g_argv into RageUtil.cpp,
...
so tests don't have to duplicate stuff, and because PrefsManager
uses it
2005-11-22 21:18:43 +00:00
Chris Danford
81037f05cd
move Preferences from ThemeManager to completely in PrefsManager
...
Also, allow Defaults.ini and Static.ini to have sections
2005-11-09 10:55:30 +00:00
Chris Danford
924cd3261b
revert sync changes when backing out of gameplay instead of silently saving them
2005-11-08 18:04:51 +00:00
Chris Danford
489cf3b202
.dat -> .txt so that file associations will find a text editor
2005-11-07 05:45:48 +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
Glenn Maynard
00d4790a18
add SetCurrentTrail
2005-10-31 03:34:48 +00:00
Glenn Maynard
14b57d3833
return components in GetCurrentStepsCredits, not formatted
2005-10-31 03:34:05 +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
Chris Danford
8b8fa8aad3
move CommonMetrics into a namespace so that it's clear where they're coming from when used.
2005-10-27 05:16:19 +00:00
Chris Danford
5d7885c764
move game prefs into PrefsManager
2005-10-27 04:54:45 +00:00
Glenn Maynard
5dda60ba52
cleanup, fix warning
2005-10-18 20:30:20 +00:00
Glenn Maynard
9bf28a134c
move to GameState
2005-10-15 04:44:31 +00:00
Glenn Maynard
71f295fc55
allow IsDisqualified for inactive players
2005-10-15 02:20:44 +00:00
Glenn Maynard
1a3d247dbf
simplify: m_bGameplayLeadIn is regular state, not music state; reset in Reset(),
...
not ResetMusicStatistics
2005-10-10 04:50:53 +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
Glenn Maynard
9b41085586
fix IsTimeToPlayAttractSounds
2005-10-04 07:44:38 +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
Chris Danford
eddf78aa5e
lock difficulties in couple Styles
2005-10-02 20:17:19 +00:00
Chris Danford
1c9f10be42
default DancingCharacters to random, not off
2005-09-29 06:30:09 +00:00
Glenn Maynard
eb6c1b5781
IsDraw
2005-09-10 18:32:40 +00:00
Chris Danford
65d71a4f23
expermienting with DEFINE_METHOD macro for Lua methods
2005-09-10 02:47:04 +00:00
Glenn Maynard
a02626a90f
implement IsStagePossible
2005-09-08 19:59:07 +00:00
Glenn Maynard
0cdc96abd6
bind GetCurrentStage and IsStagePossible
2005-09-08 06:08:08 +00:00
Glenn Maynard
36f30957a6
simplify
2005-09-08 05:52:37 +00:00
Glenn Maynard
14e6059328
cleanup
2005-09-03 23:49:19 +00:00
Glenn Maynard
12426c547c
simplify - less state is better
2005-09-03 04:10:52 +00:00
Glenn Maynard
94ea3cb9e0
cleanup
2005-09-03 00:30:46 +00:00
Glenn Maynard
1c2a9bfae6
add IsDisqualified
2005-08-30 02:52:38 +00:00
Glenn Maynard
f723e70fa3
GetPlayerState
2005-08-30 01:59:15 +00:00
Chris Danford
d912c743b3
don't save stats in multiplayer
2005-08-28 18:29:01 +00:00