Steve Checkoway
9da602cec4
Use the theme metric rather than "default".
2006-05-20 09:00:09 +00:00
Chris Danford
bb10c6bb36
remove unnecessary capitalization hack - it's messing up UTF8 strings
2006-05-02 00:03:36 +00:00
Glenn Maynard
96b027ac1d
broadcast ChangeCourseSongIn/Out (deprecates CourseSongNumberChangeIn/Out)
...
more general way of showing graphics bound to the song number (still a hack, though)
2006-04-29 02:03:08 +00:00
Chris Danford
c6bddd9165
make autoplay available everywhere but DQ if used
2006-04-25 02:35:55 +00:00
Chris Danford
41197493b4
DQ on give up to prevent unlock cheating
2006-04-25 00:40:16 +00:00
Chris Danford
bead3edf0e
add multiplayer status
2006-04-21 00:43:32 +00:00
Glenn Maynard
46c1b2ac05
oops. Do keep the non-offset beat around, and use it for actor effects.
...
(This should probably be used for more than this; this stuff needs a
cleanup ...)
(test case: pick a song with a stop near the beginning of the sample music,
eg. Fly With Me; no matter what the offset is set to, it should always show
the same pause on beat effects. This could do so while honoring the offset,
but getting that right in GameSoundManager is very tricky, and it's usually
not important for non-gameplay cosmetics.)
2006-04-09 15:54:53 +00:00
Glenn Maynard
788ad134f1
This broke beat alignment, and after that was fixed, other questions
...
came up (like how to align beat effects correctly). Revert this and
fix assist tick differently.
Add GetBeatAndBPSFromElapsedTimeNoOffset, GetBeatFromElapsedTimeNoOffset,
GetElapsedTimeFromBeatNoOffset. Use them to ignore GlobalOffsetSeconds.
2006-03-29 11:12:20 +00:00
Glenn Maynard
6faf9b9b69
fix selecting an edit and moving to chance results in weird difficulty
...
selection behavior
2006-03-29 02:54:11 +00:00
Glenn Maynard
ee9c292b09
Implement GlobalOffsetSeconds in GameState::UpdateSongPosition,
...
not TimingData. TimingData is a simple data structure, and shouldn't
be affected by hardware tweaks. This is also easier to bypass in cases
we don't want GlobalOffsetSeconds.
Don't adjust assist tick by GlobalOffsetSeconds.
2006-03-28 09:28:55 +00:00
Chris Danford
ee8329cee6
don't DQ because of forced mods
2006-03-26 17:48:39 +00:00
Chris Danford
64ea81fac1
Best -> Popular
...
populate SORT_PREFERRED from a txt file
2006-03-20 01:04:46 +00:00
Chris Danford
036935282e
remove global Lua function in GameState.cpp
2006-03-18 22:15:26 +00:00
Glenn Maynard
974bcafc4a
fix ApplyGameCommand(pn)
2006-03-14 03:10:43 +00:00
Chris Danford
0e12a206f4
blank m_sNoteSkin mean "no change in NoteSkin". Don't hardcode the NoteSkin "default" everywhere because "default" is not guaranteed to exist.
2006-02-22 17:15:13 +00:00
Steve Checkoway
9b76b934d2
Oh boy, more copy/paste errors.
2006-02-21 11:43:20 +00:00
Steve Checkoway
1946083107
Don't change player one's course difficulty preferenes. Play a sound when the difficulty changes.
2006-02-20 04:25:53 +00:00
Glenn Maynard
01629e7f53
spacing
2006-02-14 11:35:00 +00:00
Chris Danford
cce97c40b8
move autosync logic out of Player and GameState, into a separate file
2006-02-06 01:23:25 +00:00
Chris Danford
8d584de037
push ScreenSaveSync instead of making it a separate screen. Simplifies branching.
2006-02-04 20:14:04 +00:00
Glenn Maynard
5467ab21ed
remove GameState::GetUndisplayedBeats
2006-02-01 04:45:31 +00:00
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