Commit Graph

12477 Commits

Author SHA1 Message Date
Glenn Maynard 641ccdbd72 fix warnings (and style fixes) 2004-11-30 08:09:27 +00:00
Glenn Maynard 4c72e16e18 RageException::Throw is for user errors, used for errors that are meaningful on their own ("file corrupt") and probably meaningful to the user; these should never indicate internal logic errors
FAIL_M is like a failed assertion, and dumps a crashinfo
2004-11-30 07:58:07 +00:00
Glenn Maynard c5a1874234 probably fix DisplayBpms::BpmIsConstant problems
const fixes
2004-11-30 07:56:01 +00:00
Charles Lohr d3cf647638 FIX: that nasty memory leak! 2004-11-30 06:38:41 +00:00
Ryan Dortmans 24c1d009a9 Remove SDL references 2004-11-30 02:30:42 +00:00
Ryan Dortmans c64819ec85 Remove SDL references. Clean up. 2004-11-30 02:29:49 +00:00
Glenn Maynard b144644c7b wchar_t:wstring::char:string; fixes warning 2004-11-30 01:39:22 +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
Charles Lohr 5369a5175b Add: Theme Utility (dirty and in VB) 2004-11-29 16:16:48 +00:00
Ben Anderson cd541f58dc Add VirtualKeyboard 2004-11-27 06:23:52 +00:00
Chris Danford 0493949aa9 registering screens 2004-11-27 06:10:33 +00:00
Glenn Maynard a207a57116 cleanup:
use one line for header short description
 do not use "#pragma once"
2004-11-27 02:33:03 +00:00
Thad Ward ccf3cc79e4 add ScreenSystemLayer.* 2004-11-27 00:03:59 +00:00
Ryan Dortmans 01c4b7a0f8 No longer needed; platform independent version implemented 2004-11-26 23:35:10 +00:00
Ryan Dortmans 7bbfaaa061 Translate non-keyboard input to keyboard input 2004-11-26 23:33:07 +00:00
Ryan Dortmans e2d265993f Xbox compile fix 2004-11-26 23:30:59 +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
Glenn Maynard 166bb5b451 If you use code from someone else, list them, not where you got the code from. 2004-11-26 20:02:01 +00:00
Glenn Maynard 7caea1f23a cleanup (this stuff appears stubbed on xbox) 2004-11-26 19:58:36 +00:00
Glenn Maynard 07f7827cec typo 2004-11-26 19:47:26 +00:00
Glenn Maynard 83da2ee50f fix assert output 2004-11-26 19:45:03 +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
Ryan Dortmans f9e0cfb07c StepsID::Invalidate -> StepsID::ClearCache 2004-11-26 14:26:20 +00:00
Charles Lohr f84df92e13 Add: ScreenPackages 2004-11-26 07:20:03 +00:00
Charles Lohr 1f32396aa1 Cleanup: Move metrics common to all ScreenEvaluation screens to ScreenEvaluation. 2004-11-26 07:00:42 +00:00
Chris Danford db04a5e89a move ScreenSystemLayer to a separate file 2004-11-25 19:16:46 +00:00