Steve Checkoway
153fe902d6
const.
2007-05-12 21:33:35 +00:00
Steve Checkoway
78a233d669
Unused. There is a similarly named one that is used.
2007-04-19 10:05:42 +00:00
Glenn Maynard
84acfa0bd3
cleanup, static
2007-04-10 15:40:33 +00:00
Glenn Maynard
2158a90bca
rearrange: games point to styles, not vice versa
2007-04-09 22:26:11 +00:00
Steve Checkoway
07a517da09
Better crash message.
2007-04-01 12:06:04 +00:00
Chris Danford
d2e3c4b22c
fix use of m_iColumnDrawOrder
...
in pump, draw inner-most first and outermost last
2007-03-11 23:26:49 +00:00
Chris Danford
8cbbc48523
when a 2nd player joins, remove double steps from the list. They're no longer playable with 2 players joined.
2007-03-06 08:06:26 +00:00
Chris Danford
0160e23705
style cleanup: use FOREACH_ENUM( X, x ) everywhere instead of FOREACH_X( x ) for consistency
...
The FOREACH_X defines are not very useful, and they were created back before FOREACH_ENUM was convenient.
2007-02-23 22:29:42 +00:00
Chris Danford
9061e2c1c1
move stage logic out of SongManager
...
allow selecting between multiple StepsTypes on ScreenSelectMusic (ala Pump's combined single/double list)
2007-02-23 21:13:45 +00:00
Chris Danford
59df866348
add TODO comments
2007-02-22 07:09:29 +00:00
Chris Danford
23851388b9
style cleanup:
...
use bool instead of a bit field
DontAutogen -> AllowAutogen (don't use negatives in names)
2007-02-22 07:06:21 +00:00
Chris Danford
491ab6eaf5
StyleType enum name cleanup
2007-02-22 06:56:17 +00:00
Glenn Maynard
ff420be0eb
fix default game selection
2007-02-08 21:21:17 +00:00
Chris Danford
541c6d80f6
rename: StepsTypes -> g_StepsTypes
...
add missing guitar-five to g_StepsTypes
2007-01-15 05:48:04 +00:00
Glenn Maynard
58065fa455
MenuButton -> GameButton
2007-01-13 03:47:36 +00:00
Glenn Maynard
f8e9574f1e
merge m_SecondaryMenuButton into GameButtonInfo
2007-01-13 00:12:08 +00:00
Glenn Maynard
59e880e760
invert m_SecondaryMenuButton. This way, it only has as many
...
entries as that game has buttons; adding global GAME_BUTTONs
doesn't need adding dummy entries to each one of these.
2007-01-12 23:44:14 +00:00
Glenn Maynard
369a060afa
Don't duplicate the data for common GameButtons.
...
InputScheme separates the generic, low-level engine data
from the Game*-specific high-level data. GameButtonType
is a high-level distinction; in fact, it's only needed
for custom GameButtons (eg. DANCE_BUTTON_*), since the
function of generic GameButtons (GAME_BUTTON_*) can simply
be identified by their value--that's why, for example, we
don't have GameButtonType for GAME_BUTTON_COIN.
2007-01-12 22:57:55 +00:00
Glenn Maynard
4d761d588e
Define keyboard mappings with InputMapping. Add a
...
default keyboard mapping, so we don't have to define
mappings for common keys in every game.
2007-01-12 08:00:31 +00:00
Glenn Maynard
7c112811a4
remove Game enum. Games are identified by their Game* or Game->szName.
2007-01-12 05:39:15 +00:00
Glenn Maynard
adaf15291c
Refactor. Instead of
...
static Game g_Games[NUM_GAMES] =
{
{ a ... },
{ b ... }
};
do
static Game g_Game_A =
{
a ...
};
static Game &g_Games[NUM_GAMES] =
{ &g_Game_A, &g_Game_B, &g_Game_C };
This allows much easier organizing data by game, and splitting large arrays
into a dynamically sized array instead of having large fixed-size arrays sized
for the largest one. The GAME_ array may be deprecated, and this may be done
for styles too.
2007-01-12 05:30:21 +00:00
Glenn Maynard
59da84966f
merge code for common GameButtons
2007-01-11 06:31:48 +00:00
Glenn Maynard
606daa7808
consistency
2007-01-11 06:20:34 +00:00
Glenn Maynard
c129a5f6dd
merge code for common GameButtons (buttons in every game)
2007-01-11 06:10:18 +00:00
Chris Danford
1e3fe0ad38
add bAllowHopo to fix hopo highlighing showing for Game types that don't support hopos
2006-12-02 00:15:59 +00:00
Glenn Maynard
91ee16754f
move GetMenuButtonSecondaryFunction into InputScheme
2006-11-21 07:16:19 +00:00
Glenn Maynard
52a878504b
Remove redundant m_SecondaryMenuButtons that are the same as
...
m_DedicatedMenuButton.
Simplify overcomplicated logic.
2006-11-21 07:08:06 +00:00
Chris Danford
5216992b26
change InputScheme for easier maintenance of game definitions
2006-10-23 06:47:54 +00:00
Glenn Maynard
2ce839e4eb
Invalid
2006-10-07 04:25:28 +00:00
Glenn Maynard
2d52c578a5
Most of Game is generic, but not all. Split the InputMapper-
...
specific stuff apart into InputScheme. (duplicate szName may go
away)
2006-09-30 08:19:10 +00:00
Glenn Maynard
77d506de27
remove m_szDescription. Nothing uses it, it doesn't do much
...
to describe the game, and it can't be localized.
2006-09-30 00:42:08 +00:00
Glenn Maynard
e256606d7f
remove unused m_iNumControllers. That's defined by the style,
...
not the game.
2006-09-29 23:52:48 +00:00
Glenn Maynard
c690fdcfe4
unify registration
2006-09-29 00:01:32 +00:00
Glenn Maynard
f4975f1f54
simpler Lua boilerplate
2006-09-27 20:30:29 +00:00
Glenn Maynard
982228b7e6
bind StepsType
2006-09-27 06:09:52 +00:00
Glenn Maynard
6e6ea7971d
NUM_GameButton
2006-09-27 04:39:51 +00:00
Glenn Maynard
3311f1992c
CabinetLight_Invalid
2006-09-26 21:23:30 +00:00
Glenn Maynard
d19fdc9caf
NUM_GameController
2006-09-26 20:57:31 +00:00
Glenn Maynard
a7b53444f8
NUM_STEPS_TYPES -> NUM_StepsType
2006-09-26 20:22:28 +00:00
Glenn Maynard
578c6d5726
simplify singleton registration
2006-09-21 04:42:45 +00:00
Glenn Maynard
518a9fce85
GetFirstStepsTypeForCurrentGame -> GetFirstStepsTypeForGame
...
to remove GameState dependency
2006-09-15 07:56:34 +00:00
Glenn Maynard
3183dcf60b
GameInputToStyleInput -> GameInputToColumn
2006-09-13 09:22:24 +00:00
Glenn Maynard
9da4770fe0
StyleInput_INVALID -> Column_INVALID
2006-09-13 09:14:03 +00:00
Glenn Maynard
1ceac53825
phase out StyleInput; it's just a column number now
2006-09-13 09:07:04 +00:00
Glenn Maynard
e206261b80
ARRAYSIZE -> ARRAYLEN
2006-09-13 03:11:38 +00:00
Glenn Maynard
1ca5c9a4b7
reduce StyleInput to an int
2006-09-13 00:46:21 +00:00
Steve Checkoway
22dfc2a81b
Yes it should.
2006-07-30 23:55:56 +00:00
Steve Checkoway
c72c23f035
Remove empty ctor and dtor. This class has no member variables. It would probably work just as well as a namespace but I don't know how that would interact with lua.
2006-07-24 05:56:16 +00:00
Steve Checkoway
52d48a1eac
CanAutoGenStepsType. For some reason lights cannot be autogenned. I've moved that from Song to GameManager. Whenever this restriction is lifted (I don't know why the restriction exists), it should be changed to ST_FLAGS_NONE.
2006-07-24 05:01:48 +00:00
Steve Checkoway
a07e194cf1
Revert. Fixes Linux build.
2006-07-18 05:51:37 +00:00