Commit Graph

103 Commits

Author SHA1 Message Date
Steve Checkoway e5bbe7f1e9 Spacing cleanup. 2006-01-27 09:51:51 +00:00
Chris Danford e507e4ab9e only save mappings for user-changable mapping slots (less cluttered keymaps.ini) 2006-01-26 06:05:35 +00:00
Chris Danford 6fdfc482de automapping for Ignition 2006-01-26 05:50:43 +00:00
Chris Danford 6a1ef9d858 refresh mapping screen text when automapping is applied because of a joystick plug/unplug 2006-01-26 04:51:07 +00:00
Chris Danford 7f821e8cfc CString -> RString 2006-01-22 01:00:06 +00:00
Glenn Maynard c48acf2b16 use enum_add2 2005-12-28 21:05:43 +00:00
Glenn Maynard 70d67b6e5e fix slightly excessive memory usage 2005-12-28 20:50:12 +00:00
Glenn Maynard 841bbf4c1f remove GetNumDeviceButtons 2005-12-28 09:48:32 +00:00
Glenn Maynard 7039cafa9a Merge input symbols: any device can have any input key.
- This reduces the number of types associated with input; adding a
   distinct input type doesn't introduce a whole new enumerated type
   and related functions.
 - Special handling for different devices is needed less often.  If you
   want to respond to an F1 press, simply check for KEY_F1; the device
   type doesn't really matter (though it'll usually be a keyboard).
 - This allows cleaner support for generalized USB devices.  While they're
   usually of the traditional classes (keyboard, joystick) with associated
   inputs, they don't have to be.
 - Forced casts between parallel types can be removed, and weakly-specified
   variables (ints instead of the enum type) can be fixed.

Some things that might have been merged havn't; for example, arrow keys
on a keyboard (KEY_UP) are still distinct from axes on a joystick (JOY_UP).
These may or may not be merged in the future.

Some were: removed PUMP_ symbols.  Treat them as generic buttons, and just
give them names with GetDeviceSpecificInputString.  It's not worth
introducing more special names for something only used in one place.
2005-12-28 08:52:20 +00:00
Chris Danford 74749a19bb move localized string to separate file 2005-12-22 03:10:04 +00:00
Chris Danford d698a5f1ec CString -> RString in RageUtil
ThemeMetric<CString> -> LocalizedString to eliminate dependencies
2005-12-20 08:35:47 +00:00
Chris Danford f1af56a261 fix mappings screwed up after mapping comma key and restarting
fix VC6 compile
2005-12-19 12:52:59 +00:00
Glenn Maynard c4c66841ec move some prefs out of PrefsMan 2005-12-19 00:18:33 +00:00
Glenn Maynard 3fbde68e4a better encapsulation, reduce GameLoop.cpp depending on StepMania.cpp: move
CheckForChangedInputDevicesAndRemap into InputMapper
2005-12-18 23:45:46 +00:00
Steve Checkoway d62b517636 Use SpecialFiles. 2005-12-12 09:59:37 +00:00
Steve Checkoway 14c705a2de Fix abort at runtime. 2005-12-12 09:48:18 +00:00
Chris Danford ec51af900e CString -> RString for files used by smpackage 2005-12-10 08:15:44 +00:00
Chris Danford 37f82b43f7 remove CStringArray #define 2005-12-09 21:36:22 +00:00
Glenn Maynard a3efa94b2a return true if something changed 2005-12-09 03:05:17 +00:00
Glenn Maynard cfe76dd96e cleanup 2005-12-09 01:48:20 +00:00
Chris Danford 2d5af283c5 automapping for Para 2005-12-08 05:09:24 +00:00
Chris Danford 0f0caf7972 Writable files in "Save", read-only files in "Data". This simplifies the installer and packaging. 2005-10-30 23:08:38 +00:00
Chris Danford 349c19cb09 add checkpoints to catch input assert 2005-10-15 16:52:01 +00:00
Chris Danford ae7300b3be const cleanup 2005-10-15 16:47:44 +00:00
Glenn Maynard 7a51f0e8cf update 2005-10-11 10:25:26 +00:00
Chris Danford 0b808c6685 naming cleanup 2005-10-08 16:36:14 +00:00
Chris Danford 833acb950d add SmartJoy PLUS mappings 2005-10-07 20:21:14 +00:00
Chris Danford 6c2233fd03 JOY_1 -> JOY_BUTTON_1. I've confused DEVICE_JOY1 with JOY_1 many times. 2005-09-12 08:48:16 +00:00
Chris Danford ca22d71ba4 check invalid values in MultiPlayer conversions 2005-09-05 02:19:01 +00:00
Chris Danford aaa7a2d18a cleanup MultiPlayer/InputDevice mapping 2005-08-30 16:22:48 +00:00
Chris Danford 54c7eeb7cb fix Linux EMS2 mapping 2005-06-08 08:09:17 +00:00
Chris Danford f46f9d70d7 human readable Keymaps.ini 2005-04-24 02:15:41 +00:00
Steve Checkoway ae02033893 Fix warnings. 2005-03-23 21:04:40 +00:00
Ben Anderson 0db665d4d6 Thorough(!) remodeling of the arch/ directory and the contents therein; fixed link-time warnings on GCC and should make things a lot easier to manage. A pile of other random things too, mostly cleanups and getting things to work with the remodeled arch/ directory. 2005-03-14 06:44:38 +00:00
Glenn Maynard 54f469c84e write extra mappings
don't write empty fields
2005-02-20 05:00:56 +00:00
Chris Danford 5f175c041c fix keymaps reading 2005-01-26 09:13:59 +00:00
Chris Danford 981e52ec58 merge IniFile and XmlFile 2005-01-07 14:28:00 +00:00
Charles Lohr f8a8294588 Automap to LevelSix USB Ignition V3 2004-10-09 07:03:15 +00:00
Glenn Maynard cdcb0f1c8f make InputMapper::ApplyMapping public 2004-08-13 00:27:52 +00:00
Chris Danford ff4c12b727 rename GameDef -> Game 2004-07-25 17:07:32 +00:00
Chris Danford 504ba6c163 GetPath*N->GetPath*F 2004-07-25 06:29:50 +00:00
Chris Danford 64628fac21 remove enum Game. Instead, pass around the GameDef pointer 2004-07-25 04:27:20 +00:00
Glenn Maynard 12f1372843 fix secondary controller mappings 2004-07-07 00:30:18 +00:00
Chris Danford 5544445ad0 name cleanup: StyleDef -> Style 2004-06-28 07:26:00 +00:00
Chris Danford 3809715db0 cleanup: Remove Style and use StyleDef everywhere. This gets rid of a lot of Style->StyleDef lookups and discourages code that's specific to a Style. All game logic should be data-driven. 2004-06-27 06:52:49 +00:00
Glenn Maynard 733127d8ed license update 2004-06-08 01:24:17 +00:00
Glenn Maynard c0adadd3a5 IniFile cleanup 2004-05-23 02:27:51 +00:00
Chris Danford dede9ec8cd add constants for NO_DEFAULT_KEY and joy mapping end marker 2004-04-20 08:27:40 +00:00
Glenn Maynard 5d34bff39d Don't warn about files not existing that aren't expected to exist on the
first run.
2004-01-13 03:04:11 +00:00
Glenn Maynard c4f67bb95d unneeded header 2004-01-05 19:57:35 +00:00