Commit Graph

22958 Commits

Author SHA1 Message Date
Glenn Maynard d84d69edbc GetCurrentStyle 2006-09-30 22:24:11 +00:00
Glenn Maynard 0b45f5dd0a use SetCurrentStyle 2006-09-30 22:22:26 +00:00
Glenn Maynard fcffe3c80f add SetCurrentStyle 2006-09-30 22:15:22 +00:00
Glenn Maynard a8dd0c5fdc GetCurrentStyle() 2006-09-30 22:13:20 +00:00
Glenn Maynard cd8f1fc1c6 "I made this"
lua_replace -> lua_remove
2006-09-30 21:55:31 +00:00
Glenn Maynard 3b9c5f18fb GetInputScheme 2006-09-30 19:54:27 +00:00
Glenn Maynard e82add1f62 SetInputScheme 2006-09-30 09:35:02 +00:00
Steve Checkoway c404b1ccb3 Initialize. 2006-09-30 09:27:34 +00:00
Jason Felds 9b2c28db6a True VC8 fix (thanks again drano). 2006-09-30 09:19:33 +00:00
Glenn Maynard 4a3f7054f0 InputScheme 2006-09-30 09:05:13 +00:00
Steve Checkoway 77ad6633ee Removed. 2006-09-30 08:57:25 +00:00
Jason Felds 1a50d4b078 Fix off by one error (thanks drano). 2006-09-30 08:49:23 +00:00
Glenn Maynard 3f315b0464 InputScheme 2006-09-30 08:24:05 +00:00
Glenn Maynard b6c3ea14d7 simplify 2006-09-30 08:22:36 +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 928e950006 Most of Game is generic, but not all. Split the InputMapper-
specific stuff apart into InputScheme.
2006-09-30 08:18:36 +00:00
Glenn Maynard 3460f79f54 simplify 2006-09-30 07:48:36 +00:00
Glenn Maynard 09f5687615 simplify 2006-09-30 07:47:54 +00:00
Glenn Maynard 303ae8cfea simplify 2006-09-30 07:45:15 +00:00
Glenn Maynard a010517276 Don't change the game with GameCommand. It's not a simple
game mode; it normally can change the theme and input maps.
2006-09-30 07:04:26 +00:00
Glenn Maynard f03cd3054a This is only called by ScreenOptionsMasterPrefs, which saves prefs on its own. 2006-09-30 07:01:07 +00:00
Glenn Maynard c0a590d0e9 unused decl
old comment
2006-09-30 06:03:18 +00:00
Glenn Maynard 875050eeef unused 2006-09-30 05:58:24 +00:00
Glenn Maynard 85fc5a2dfb simplify (now InputMapper::ControllerToPlayerNumber logic is the
same as InputMapper::MenuToGame)
2006-09-30 05:52:06 +00:00
Glenn Maynard 13085923c5 simplify 2006-09-30 05:49:54 +00:00
Glenn Maynard 2700d88b18 use INPUTMAPPER->ControllerToPlayerNumber 2006-09-30 05:47:22 +00:00
Glenn Maynard 24a6df7b9d simplify 2006-09-30 05:33:47 +00:00
Glenn Maynard 6409c606ec 'EnumTraits<T>' : type name first seen using 'struct' now seen using 'class' 2006-09-30 05:07:07 +00:00
Jason Felds f4add4a5c9 Add the ControllerStateDisplay.* files. 2006-09-30 04:16:21 +00:00
Steve Checkoway 8cbb19e890 Add files. 2006-09-30 04:05:09 +00:00
Steve Checkoway 0acebabd01 We're instantiating the class, not the class members. 2006-09-30 04:03:42 +00:00
Steve Checkoway 307b94e934 Fix compile. 2006-09-30 04:01:34 +00:00
Glenn Maynard e7250509dd declare PushObject before using it 2006-09-30 03:23:45 +00:00
Glenn Maynard 84163cb7af "too few template-parameter-lists" 2006-09-30 03:18:15 +00:00
Glenn Maynard 261849d895 move "merged input" test into InputMapper; this moves the GAMESTATE
dependency out of Game (doesn't belong in InputMapper either, working on
it ...)
2006-09-30 03:08:18 +00:00
Glenn Maynard 5e99a1c9e9 remove GameState::PlayerUsingBothSides 2006-09-30 02:57:05 +00:00
Glenn Maynard 12ce0f9bf4 fix TWO_PLAYERS_SHARED_SIDES 2006-09-30 01:29:55 +00:00
Glenn Maynard a6ba9a4b3b move ColToButtonName from Game to Style 2006-09-30 01:23:10 +00:00
Steve Checkoway 406a8dbc0d Cannot pass non-POD through ... 2006-09-30 01:18:41 +00:00
Steve Checkoway d4d5daea7c We have virtual methods, we need virtual dtors. 2006-09-30 01:12:13 +00:00
Glenn Maynard 5541709a1f move ColToButtonName from Game to Style, to reduce GAMESTATE use
in Game
2006-09-30 00:46:21 +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
Chris Danford 7c3531a96a show controller state 2006-09-29 21:58:00 +00:00
Glenn Maynard d160802fc0 Streamline type checking. Store a list of all base classes
in a heirarchy table, so we don't have to iterate over lots
of tables for every function dispatch.
2006-09-29 21:37:01 +00:00
Glenn Maynard 896e7ce54c cleanup 2006-09-29 21:30:55 +00:00
Glenn Maynard 63e5c3dac3 simplify 2006-09-29 21:25:57 +00:00
Glenn Maynard 2c5ed2c7a1 FromStack(string): clear the string on nil 2006-09-29 21:20:33 +00:00
Glenn Maynard 728f2d32b7 fixes/updates: both tables and userdata can be instances of a class;
binding changes
2006-09-29 21:18:50 +00:00
Glenn Maynard f759525a80 simplify 2006-09-29 20:35:14 +00:00