Chris Danford
bb6592a4e7
use float.h and limit.h constants instead of arbitrary large numbers
2005-03-25 20:01:51 +00:00
Steve Checkoway
ae02033893
Fix warnings.
2005-03-23 21:04:40 +00:00
Glenn Maynard
289244c911
fix messages
2005-03-23 09:57:04 +00:00
Chris Danford
7ca20486ef
use sin lookup table to fix terrible performance with float and tipsy performance on some archs
2005-03-22 00:58:05 +00:00
Chris Danford
0eb271a1b1
allow specifying a custom MusicWheel type
2005-03-17 09:34:05 +00:00
Charles Lohr
b36f6a6f04
VC6 cleanup. Remove .GetValue() "fixes" by overloading binary operators.
2005-03-14 20:26:50 +00:00
Charles Lohr
1e4fb95215
Added .GetValue() for VC6/7 compile. Maybe we should figure out a way around this for VC6/7 so it doesn't look so bad in code?
2005-03-14 00:18:07 +00:00
Chris Danford
a1b8f2d0ce
cache metrics
2005-03-13 18:17:09 +00:00
Chris Danford
410da1de20
optimize wheel switching - only rebuild the WheelItemDisplays that changed
2005-03-13 17:40:00 +00:00
Chris Danford
e17f7e060d
show random & roulette in all sorts excpet for roulette
...
have ABC_ONLY show sections in SORT_GROUP
2005-03-02 06:09:00 +00:00
Chris Danford
5cceae246e
add sort by genre
2005-03-02 01:48:38 +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
Glenn Maynard
0e59f3d135
Revert this, and do it differently: prefer the preferred song/course in
...
MusicWheel::SelectSongOrCourse instead of the active one. The advantage
of this is that if, for example, a PreferredCourse is set, the player is playing
regular play (not course mode), and then switches to course mode via the
mode menu, the course will be selected correctly. (Previously, it'd end up
on the default course in that case instead.)
2005-02-25 00:29:09 +00:00
Glenn Maynard
7f0ba99f77
Explicitly set the preferred song in SSM's ctor, instead of handling it in
...
the music wheel. This way, we can re-set the preferred song at any time
and have it take effect when we get back to the wheel; previously, if
we'd already played a song, m_pCurSong would override it.
2005-02-24 22:31:11 +00:00
Chris Danford
ab22e629d4
enforce that changed message is broadcast whenever value changes
2005-02-24 12:27:30 +00:00
Chris Danford
a2915c038b
add TemporaryEventMode flag to GameState
2005-02-21 17:29:49 +00:00
Glenn Maynard
74d27315d3
s/UnlockSystem.h/UnlockManager.h/
2005-02-21 06:22:46 +00:00
Chris Danford
4223e09cc8
GetPathTo -> GetPath
2005-02-06 03:32:53 +00:00
Glenn Maynard
c25910b6df
unused
2005-02-02 05:12:59 +00:00
Glenn Maynard
7c64310add
fixes
2005-01-29 22:02:52 +00:00
Glenn Maynard
8d48438c15
ModeMenuAvailable metric removed; change Codes instead.
...
Merge the sort menu into the mode menu.
GAMESTATE->m_SortOrder is now GAMESTATE->m_PreferredSortOrder.
Allow the mode menu to have non-mutually-exclusive items.
2005-01-29 20:46:08 +00:00
Chris Danford
8555a6da45
use Lua to execute commands
...
(needs cleanup)
2005-01-26 11:21:43 +00:00
Charles Lohr
3ce4a13410
Change: Way cool new ScreenNetSelect Music
...
Fix: Reporting Style didn't work right.
2005-01-22 05:31:35 +00:00
Glenn Maynard
cc70e8dd82
fix old sort not being selected in sort menu
2005-01-20 03:15:01 +00:00
Chris Danford
5d6eb1d236
put ActorUtil functions in a namespace
2005-01-17 05:42:52 +00:00
Glenn Maynard
f44facda48
fix roulette not being sorted
2005-01-13 17:40:56 +00:00
Chris Danford
4799c3414b
don't show random/roulette in non-preferred sorts
2005-01-13 09:56:41 +00:00
Chris Danford
223ca00728
Sprite -> AutoActor
2005-01-09 01:17:51 +00:00
Chris Danford
2c4b77ec62
more precise control over the draw distance
2005-01-08 08:34:31 +00:00
Glenn Maynard
7ef993564d
fix crash when selecting random with no songs loaded (don't show random at all)
2005-01-01 20:32:55 +00:00
Glenn Maynard
bd3b4cbc9d
fix log
2004-12-27 02:06:38 +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
0bc5f079ca
remove SortOrder from WheelItemData. Use the SortOrder in m_Action instead.
2004-12-04 22:36:29 +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
ab37218c47
rename: ModeChoice -> GameCommand
2004-12-02 06:29:20 +00:00
Chris Danford
e1da21f61c
Let ActorCommand do the parsing for ModeChoice
2004-12-02 05:56:38 +00:00
Chris Danford
683587e81b
rename: m_sPreferredGroup -> m_sPreferredSongGroup
...
add SongGroup to ModeChoice
2004-12-01 07:24:55 +00:00
Chris Danford
8fe7c75a9a
cleanup
...
Don't use GetSteps with the really long parameter list absolutely necessary.
2004-11-24 16:25:47 +00:00
Chris Danford
65fd0e3755
add comment
2004-11-07 00:19:55 +00:00
Chris Danford
8ead6559c2
revert
2004-11-07 00:19:01 +00:00
Chris Danford
4c4bdacf10
don't even choose a tutorial song in random
2004-11-06 23:53:57 +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
5127ceef4d
remove CachedThemeMetrics in favor of ThemeMetric<T>
...
fix "CachedThemeMetrics don't read HTML colors and don't evaluate Lua expressions"
2004-11-06 20:36:04 +00:00
Chris Danford
72bd480883
CENTER_* -> SCREEN_CENTER
2004-11-05 06:35:10 +00:00
Charles Lohr
3c821677e0
MSVC6 doesn't like .clear(); I think = "" would be better for now.
2004-10-12 04:42:45 +00:00
Glenn Maynard
945e662041
fix crash when portal is used with no open sections
2004-10-10 15:06:15 +00:00
Chris Danford
c37df8cc69
readability
2004-10-07 22:16:04 +00:00
Chris Danford
03fbb915f3
remove VC6 scoping hacks
2004-09-21 07:53:39 +00:00