Glenn Maynard
8f6dcdbecc
blind updates (probably incomplete, since this driver differs more widely
...
from my code)
2005-12-28 09:14:15 +00:00
Glenn Maynard
13087c9585
blind updates
2005-12-28 09:09:55 +00:00
Glenn Maynard
6571f6b475
merge input symbols
2005-12-28 09:04:51 +00:00
Glenn Maynard
31729a349c
remove unused
2005-12-28 08:57:30 +00:00
Glenn Maynard
c294e8eb74
merge input symbols
2005-12-28 08:55:13 +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
Glenn Maynard
9869b7c196
convenience
2005-12-28 08:49:09 +00:00
Glenn Maynard
9597cf13a4
fixup (this worked because NO_DEFAULT_KEY is defined to -1: "-1-1-1-1")
2005-12-28 08:23:25 +00:00
Glenn Maynard
d9862d3ac8
static, typo
2005-12-28 08:21:39 +00:00
Glenn Maynard
7c70c416d8
At some point (1989), ISO-639 changed several language codes, after
...
the standard had already been released. What's the point of having
standard language abbreviations if they're subject to change?
"Annex B" in ISO 639-1:2001 (over a decade later, if that's a year) says
"The changes were publicised, but they have not been included in printed
versions of ISO 639." The first google hit for ISO-639 still makes no mention
of these changes (http://www.w3.org/WAI/ER/IG/ert/iso639.htm ). That rules.
Remove "XS?"; as far as I can tell that's just an error in the "native language"
page.
2005-12-28 06:32:33 +00:00
Glenn Maynard
1ff91344b1
missed commit: cleanups
2005-12-28 06:07:17 +00:00
Chris Danford
0249ef8d3d
add language native names
2005-12-28 05:43:26 +00:00
Chris Danford
45082d0a74
#define hacks for smtools. Clean this up later.
2005-12-28 05:42:22 +00:00
Chris Danford
f7952eaf63
CString -> RString
...
make GetDefaultLanguage static for smtools
2005-12-28 05:41:04 +00:00
Chris Danford
d459f0b795
fix smpackage build
...
add localization tool to smpackage
2005-12-28 04:22:24 +00:00
Chris Danford
1fcfc22981
CString -> RString
...
const string params where possible for easier debug stepping
2005-12-28 03:59:52 +00:00
Chris Danford
1c209efd19
fix build
2005-12-28 03:54:41 +00:00
Glenn Maynard
bc372e308b
cosmetic changes only
2005-12-28 03:30:37 +00:00
Chris Danford
fe3a68d5cd
make string params const (stepping into RString constructors makes for frustrating debugging)
2005-12-28 03:10:07 +00:00
Chris Danford
d76876d1db
CString -> RString
...
make string params const (stepping into RString constructors makes for frustrating debugging)
2005-12-28 03:09:53 +00:00
Chris Danford
7dea392550
CString -> RString
2005-12-27 23:43:49 +00:00
Chris Danford
d507f3fd28
move LuaBinding into namespace
2005-12-27 22:58:30 +00:00
Chris Danford
1f81db0cec
move ScreenDimensions into a namespace
2005-12-27 18:45:07 +00:00
Chris Danford
62799c2999
CString -> RString
2005-12-27 17:45:07 +00:00
Chris Danford
fb259c7237
fix compile
2005-12-27 17:39:27 +00:00
Chris Danford
f99b179a5b
themable player number
2005-12-27 17:16:02 +00:00
Chris Danford
17e3661755
use Lua in smpackage
2005-12-27 17:12:46 +00:00
Chris Danford
037ed8ae51
CString -> RString
2005-12-27 17:11:38 +00:00
Chris Danford
6681ad9dd4
theme date/time strings
2005-12-27 17:10:08 +00:00
Chris Danford
e30f456383
localize strings
2005-12-27 17:08:23 +00:00
Steve Checkoway
2301565b2a
Fix threaded input not actually running in the created thread. Allow nonthreaded input (by using the gui--i.e. main event loop--thread) according to PREFSMAN->m_bThreadedInput.
2005-12-27 05:55:06 +00:00
Chris Danford
7a76b58bd3
style cleanup
2005-12-25 19:27:31 +00:00
Chris Danford
236a727d64
add missing SpecialDirs
2005-12-25 19:26:52 +00:00
Chris Danford
7f985da9ee
add separate method for string lookup
2005-12-25 19:01:13 +00:00
Chris Danford
a84b76890d
add assert
2005-12-25 18:59:52 +00:00
Chris Danford
0b98adff15
make RadarCategory enum and Lua names consistent
2005-12-24 20:18:56 +00:00
Chris Danford
035f20d234
add LocalizedString
2005-12-24 20:08:17 +00:00
Glenn Maynard
4671102354
cleanup
2005-12-24 07:36:27 +00:00
Glenn Maynard
e7e136566b
no, seriously, save to disk
2005-12-24 06:07:39 +00:00
Glenn Maynard
0a087099b6
fix possible crash if GetVolumeInformation fails: szVolumeNameBuffer would
...
be uninitialized
2005-12-24 06:06:45 +00:00
Glenn Maynard
635434ea17
fix for confusingly similar error codes
...
do log when the file already exists
2005-12-24 03:16:20 +00:00
Glenn Maynard
b923d82f90
cleanup
2005-12-24 03:10:22 +00:00
Glenn Maynard
53800b79a3
try to avoid writing to the device to do a wirte check
2005-12-24 03:09:33 +00:00
Glenn Maynard
792f8a4008
unused header
...
this stuff shouldn't be an input handler anymore ...
2005-12-24 02:38:31 +00:00
Glenn Maynard
33f7552be5
fix potential crash if QueryDosDevice fails, or returns more data than expected
2005-12-24 02:37:06 +00:00
Glenn Maynard
5ce5dc5060
simplify
2005-12-24 02:32:55 +00:00
Glenn Maynard
a5042f126c
suppress autorun
2005-12-24 02:27:25 +00:00
Glenn Maynard
99d586c5a9
attempt to flush memory cards on unmount
2005-12-24 02:08:17 +00:00
Steve Checkoway
3f14485b5d
Make default values correspond to the defaults in DialogDriver.h. When the user clicks Ignore, make sure it really does get ignored. Implement AbortRety.
2005-12-24 02:08:01 +00:00
Glenn Maynard
9a2229999c
unneeded (and not correct; actually surface->w/surface->h)
2005-12-23 19:10:28 +00:00