Commit Graph
18870 Commits
Author SHA1 Message Date
Glenn Maynard c7a3cbc5fb missed a piece 2005-12-29 08:14:52 +00:00
Glenn Maynard 580ff0716a Centering is a user preference, to adjust the screen, not a theme
setting.  It's usually tied to the screen resolution (will usually
need readjustment anyway if the resolution changes).  Treat the
values as pixels, as if we were using glViewport to do this.
(Reduces dependencies on ScreenDimensions.h, and we don't need
to worry about calling ChangeCentering when the theme changes.)
2005-12-29 08:12:51 +00:00
Glenn Maynard 336e3be92b call base (even though it happens to be a no-op right now) 2005-12-29 07:45:06 +00:00
Glenn Maynard eb50b6fc7e unneeded 2005-12-29 07:44:38 +00:00
Glenn Maynard 1f58f31a51 clarify 2005-12-29 07:35:23 +00:00
Chris Danford c7d769829a add ThemeManager to smtools 2005-12-29 05:52:50 +00:00
Glenn Maynard b704036996 refactor so StringToDeviceButton doesn't iterate over every button 2005-12-29 05:10:11 +00:00
Chris Danford cdc7df02b1 finish language im/exporting 2005-12-29 04:37:52 +00:00
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