Glenn Maynard
8d970cc4ea
add SetOneUnthemedChoice for common case
...
don't theme dynamic choices and already-themed choices
2005-12-29 04:19:22 +00:00
Glenn Maynard
a13cbcaafb
simplify edit_stop
2005-12-29 04:01:54 +00:00
Glenn Maynard
e0c221396d
comment
2005-12-29 03:33:00 +00:00
Glenn Maynard
242e8b65fd
merge undo handling
2005-12-29 03:29:20 +00:00
Glenn Maynard
9f5b83f65c
Rename SM_Success -> SM_SaveSuccessful and SM_Failure to SM_SaveFailed
...
in the editor, to avoid confusion with the SM_Success message sent when
Prompt pops itself.
Merge completion prompts in home and full mode. Only show a full
ScreenPrompt if we're about to exit the screen.
2005-12-29 03:27:21 +00:00
Glenn Maynard
6657db528d
old comment
2005-12-29 03:05:07 +00:00
Glenn Maynard
a373237962
simplify
2005-12-29 03:00:33 +00:00
Glenn Maynard
72bb71d50e
use SM_Success; don't duplicate it
2005-12-29 02:59:23 +00:00
Chris Danford
3eb451f76f
fix compile
2005-12-29 02:42:29 +00:00
Chris Danford
df984aef76
working on localization tool
2005-12-29 02:40:09 +00:00
Chris Danford
2d7ae984e2
fix VC6 compile (braindead std::string?)
2005-12-29 02:36:46 +00:00
Glenn Maynard
18d29783ba
compile fix
2005-12-29 02:34:27 +00:00
Glenn Maynard
ae17e2ffe3
simplify
2005-12-29 02:24:12 +00:00
Glenn Maynard
5303e7aab9
This isn't right: it'll add a period to the end, even when there was no
...
extension at all. Remove it; it wasn't meant to be committed to begin
with.
2005-12-29 02:10:18 +00:00
Steve Checkoway
2985f1a6ec
Fix warnings.
2005-12-29 02:03:14 +00:00
Steve Checkoway
451bb4c396
SetExtension does not modify sName. Also, after calling SetExtension( sName, "" ), the period is removed so if the file name is foo.bar.baz, then calling SetExtension with "" followed by "bur" you end up with foo.bur. Instead, just append "." + sExt.
2005-12-29 02:01:10 +00:00
Glenn Maynard
0e946835b6
filter filenames, so creating an edit named "foo 2/3" doesn't fail when
...
writing
2005-12-29 01:22:23 +00:00
Glenn Maynard
86572cc1f3
add MakeValidFilename
2005-12-29 01:20:33 +00:00
Glenn Maynard
6177fe5884
fixup
2005-12-29 00:42:03 +00:00
Glenn Maynard
983a34dde4
style
2005-12-28 23:34:10 +00:00
Glenn Maynard
b73fe69ff2
style
2005-12-28 23:33:11 +00:00
Glenn Maynard
88fb796c6b
cleanup
2005-12-28 21:08:10 +00:00
Glenn Maynard
c48acf2b16
use enum_add2
2005-12-28 21:05:43 +00:00
Glenn Maynard
71c7380f44
device-neutral
2005-12-28 20:56:49 +00:00
Glenn Maynard
ce93d6be50
fix overlap between keyboard digits and numbered joystick buttons
2005-12-28 20:53:54 +00:00
Glenn Maynard
87dc61af3e
operator< for use in maps
2005-12-28 20:53:42 +00:00
Glenn Maynard
70d67b6e5e
fix slightly excessive memory usage
2005-12-28 20:50:12 +00:00
Glenn Maynard
3193f1b774
fix slow STestInput
2005-12-28 20:41:51 +00:00
Glenn Maynard
4664c25bee
fix excessive memory usage by m_ButtonState
2005-12-28 20:41:24 +00:00
Chris Danford
b42d28af34
add language localization tools
2005-12-28 19:21:08 +00:00
Glenn Maynard
76e78a1bc4
avoid iterating over all buttons
2005-12-28 19:21:01 +00:00
Chris Danford
bd0087ae04
CString -> RString
2005-12-28 19:17:34 +00:00
Chris Danford
1e51ee136d
use language code for file name
2005-12-28 19:16:26 +00:00
Glenn Maynard
4631c30ca7
remove unused
2005-12-28 19:16:17 +00:00
Glenn Maynard
29422da7d3
MAX_DEVICE_BUTTONS -> NUM_DeviceButton
2005-12-28 19:15:48 +00:00
Glenn Maynard
445df4ea85
Don't poll and acquire the same device in both the input thread and Update.
2005-12-28 19:02:50 +00:00
Glenn Maynard
906179d035
cleanup
2005-12-28 19:00:40 +00:00
Glenn Maynard
596d672d7f
remove unused
2005-12-28 18:59:25 +00:00
Glenn Maynard
dd04d0d85e
cleanup
2005-12-28 18:09:52 +00:00
Glenn Maynard
400580d842
change warnings to assertions
2005-12-28 09:53:03 +00:00
Glenn Maynard
841bbf4c1f
remove GetNumDeviceButtons
2005-12-28 09:48:32 +00:00
Glenn Maynard
2d1ad839fa
remove old
2005-12-28 09:32:31 +00:00
Glenn Maynard
f9140c92ab
update use of old function
2005-12-28 09:23:14 +00:00
Glenn Maynard
028cae7117
cosmetic
2005-12-28 09:15:33 +00:00
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