Commit Graph

25 Commits

Author SHA1 Message Date
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