Glenn Maynard
6ea2f37a36
Change MenuUp(pn,type) overrides to MenuUp(IEP), so info like DeviceI.ts is always accessible.
2005-09-23 00:44:52 +00:00
Chris Danford
bb10c7c21f
pass around InputEventPlus in Screen::Input instead of multiple input structures
2005-09-05 02:26:50 +00:00
Chris Danford
48ebc53549
return NULL -> return CString() for clarity and efficiency
2005-09-04 16:55:21 +00:00
Glenn Maynard
eafaf7fbb4
cleanup (avoid multiple *)
2005-09-03 18:19:25 +00:00
Chris Danford
e439ae2a96
return "" -> return NULL
2005-09-02 00:14:07 +00:00
Glenn Maynard
8d7733c6f2
removing GetMetricC
2005-08-26 21:12:48 +00:00
Glenn Maynard
9b08148f60
ScreenTextEntry::TextEntry/ScreenTextEntry::Password
2005-07-03 04:45:34 +00:00
Charles Lohr
8c5909ebe9
Modify AutoScreenMessage to keep map of all non-standard ScreenMessages.
...
This has a lot of advantages over the old ways. Some of the initial ones are that
you can log a list of all screenmessages and their respective number and another
is that it would be fairly easy to add a reverse lookup, so you could get the name
of a ScreenMessage for log use by getting the ScreenMessage number.
2005-03-28 08:01:36 +00:00
Chris Danford
880e42e1d3
fix conflicting ScreenMessage IDs by automatically generating unique values
2005-03-23 08:48:38 +00:00
Chris Danford
ee4be22260
add input length cap
...
fix bogus s_bCancelled flag
2005-03-23 04:08:27 +00:00
Chris Danford
96852c234c
Add a virtual keyboard to ScreenTextEntry
2005-03-22 20:15:24 +00:00
Chris Danford
48e6cb1a69
rename back -> cancel because "back" conflicts with "background"
2005-03-20 06:14:41 +00:00
Glenn Maynard
b51b0cfb4c
Use Init() for all screens, so we can set state before the base class
...
members are loaded--they'll see resets, score finalization, etc. It
also results in smaller code, due to a g++ bug that causes constructors
to be emitted several times.
2005-02-23 06:29:05 +00:00
Charles Lohr
6b885a56a2
Update: Fix more stuff for smonline.
2005-01-07 22:00:08 +00:00
Glenn Maynard
4feb167b6e
It's fine to call Close() on a file which isn't open.
2004-12-10 06:35:17 +00:00
Steve Checkoway
508be4894d
Fix warnings.
2004-12-01 13:14:55 +00:00
Glenn Maynard
26ecd6b000
fix warnings
2004-11-30 08:57:45 +00:00
Glenn Maynard
03e22da030
simplify
2004-11-30 01:26:56 +00:00
Charles Lohr
42bc4ede89
Fix: Linux compile
2004-11-29 23:16:09 +00:00
Ryan Dortmans
7bbfaaa061
Translate non-keyboard input to keyboard input
2004-11-26 23:33:07 +00:00
Glenn Maynard
21bbc0124d
simplify
2004-11-26 23:14:35 +00:00
Glenn Maynard
855cae4f47
cleanup
2004-11-26 22:53:16 +00:00
Glenn Maynard
5ab845ce08
fix corruption
2004-11-26 22:48:29 +00:00
Glenn Maynard
151a61ef7a
fix check
2004-11-26 21:13:55 +00:00
Glenn Maynard
722a0ad8b0
fall through after getting header
2004-11-26 21:10:41 +00:00
Glenn Maynard
f74a35d45b
"Addy" -> Address.
2004-11-26 21:00:05 +00:00
Glenn Maynard
d19a2c6b69
I can't even guess why a RageFile enum value was hardcoded ...
...
Don't call Flush(), Close() does that.
Stream output.
2004-11-26 20:58:38 +00:00
Glenn Maynard
530c46b1b8
simplify
2004-11-26 20:52:08 +00:00
Glenn Maynard
5383707e3b
remove some excess punctuation, eg. if( ( x == y ) )
2004-11-26 20:49:18 +00:00
Glenn Maynard
9c2d06e150
string::find() result is a size_t, not an int
...
unwrap conditional
return after error, or the output string will just be overwritten
2004-11-26 20:48:06 +00:00
Glenn Maynard
4d98c72902
m_iResponceName -> m_sResponseName
...
CString::find and CString::Find are not interchangeable; Find() is only
for compatibility, prefer find()
2004-11-26 20:45:26 +00:00
Glenn Maynard
5a51991740
find does not return < 0
...
reponce -> response
2004-11-26 20:43:47 +00:00
Glenn Maynard
be93eb845d
scope/style cleanup
...
if ReadData returns -1, be sure to not append(-1)
2004-11-26 20:41:13 +00:00
Glenn Maynard
41d6f9ad2c
m_iResponceCode -> m_iResponseCode
2004-11-26 20:37:59 +00:00
Glenn Maynard
82d76ea224
more style cleanups
2004-11-26 20:37:32 +00:00
Glenn Maynard
2c566f6391
Cleanup: instead of
...
func
{
if( x )
{
three pages of code
}
}
do
func
{
if( !x )
return;
three pages of code;
}
which reduces the indentation level and is easier to understand.
2004-11-26 20:36:23 +00:00
Glenn Maynard
cf54c6fea7
join all
...
"headder" -> header
2004-11-26 20:33:46 +00:00
Glenn Maynard
9e46888c7d
Style cleanups: don't overparenthesize, if( x ), not if ( x )
2004-11-26 20:18:23 +00:00
Glenn Maynard
25d12ee6a4
fix warning
2004-11-26 20:15:50 +00:00
Charles Lohr
a012b208c1
Fix: Don't use ITOA
2004-11-26 18:39:43 +00:00
Chris Danford
a862f62b4f
minor cleanup
2004-11-26 17:37:09 +00:00
Chris Danford
7f336c2ce6
self-registering screen classes
2004-11-26 17:28:47 +00:00
Charles Lohr
b333841085
OOps, maybe the work around will work this time around.
2004-11-26 16:17:01 +00:00
Charles Lohr
7963914c37
Fix: GCC include, enum type, a work around, and a minor fix.
2004-11-26 15:55:34 +00:00
Ryan Dortmans
1f52adc59f
Xbox: Reset virtual keyboard before taking input
2004-11-26 14:38:35 +00:00
Charles Lohr
f84df92e13
Add: ScreenPackages
2004-11-26 07:20:03 +00:00