Commit Graph
251 Commits
Author SHA1 Message Date
Chris Danford cd139430f5 CustomDiffiuclty cleanup, now takes CourseType as a parameter
DifficultyList -> StepsDisplayList
Course editor screen cleanup
Change GameManager back to singleton for consistency with other classes
2009-08-09 02:59:32 +00:00
Andrew Livy 75d5b63d96 Fine-tunes Ez2dancers Real Squished Column Spacing and if a Noteskin fails to be loaded by the time the notes need to be displayed, attempt to force the default theme on and throw errors into the log rather than crashing SM. 2009-05-24 14:26:38 +00:00
Andrew Livy ae33daf798 Ez2dancer arrows on REAL should be more scrunched up. 2009-05-05 19:03:22 +00:00
Andrew Livy 41a6b57454 Fixes a crash with EZ2Dancer doubles. 2009-04-25 12:25:14 +00:00
Chris Danford e3155aec51 cleanup StepsType enum names 2008-12-21 01:53:48 +00:00
Chris Danford f076363776 push the lua enum string, not a number value of the enum 2008-11-27 02:54:08 +00:00
Colby Klein 907c23bebb Fix KB7 gameplay buttons 2008-06-20 10:12:58 +00:00
Chris Danford 0a5e9ab26a fix col order in halfdouble 2008-06-17 02:37:53 +00:00
Colby Klein e1e097b548 Add KB7 game mode, as requested by some in the community 2008-05-30 01:29:46 +00:00
Chris Danford d377c2b1a4 MENU_BUTTON_ -> GAME_BUTTON_ 2008-05-21 05:36:09 +00:00
Chris Danford 68756648bd Use constructors for input types instead of initialization lists to get rid of weird iterating and end markers. Allow joystick automappings from file (Data/AutoMappings/) so that a recompile is not necessary to a new controller. 2008-04-25 05:58:52 +00:00
Chris Danford c13a36e948 FOREACH_ENUM cleanup 2008-04-24 09:34:01 +00:00
Steve Checkoway 551d9bfc23 Make GameManager a namespace rather than a singleton since it doesn't contain any data. 2008-03-24 12:49:31 +00:00
Chris Danford 2f683bee2f data-driven pump-style coloring/naming (merge disparate difficulty string/color systems and simplify Lua) 2008-03-24 12:00:51 +00:00
Chris Danford f714e46b13 GAMEMAN->GetStepsTypeInfo -> GameManager::GetStepsTypeInfo to allow Lua to call before GameManager singleton is initialized, remove para-versus 2008-03-24 08:40:06 +00:00
Chris Danford 077a1a3b85 Add StepsTypeInfo and return the structure rather than having GameManager methods for each piece of data 2008-03-24 04:39:24 +00:00
Chris Danford 5e87c2e81a karaoke prototype (disabled) 2008-03-12 23:17:39 +00:00
Steve Checkoway acb030f229 ARRAYSIZE -> ARRAYLEN. 2007-06-09 07:53:22 +00:00
Steve Checkoway 52abc1c874 Return StepsType_Invalid. Let callers handle invalid steps. 2007-06-01 05:04:50 +00:00
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