Commit Graph

78 Commits

Author SHA1 Message Date
Chris Danford 353e0c5b6e break up arch stuff into smaller .cpp files to fix smpackage build and not pull in unnecessary stuff 2005-12-16 04:16:09 +00:00
Chris Danford 100ce95f14 don't pass DISPLAY_OPT as a pointer to avoid NULL pointer deref 2005-11-22 21:14:48 +00:00
Glenn Maynard a2727f6644 warning: `static' is not at beginning of declaration 2005-10-27 16:57:18 +00:00
Chris Danford b2e9c616c8 fix Attr stuff 2005-10-18 07:00:33 +00:00
Glenn Maynard 8b7e6d6b92 add error check to prevent infinite recursion 2005-10-15 06:12:58 +00:00
Chris Danford de8a86213f fix VC6 compile 2005-10-12 21:27:15 +00:00
Glenn Maynard fc070a1d32 fix AppendAttr doesn't overwrite 2005-10-11 11:12:24 +00:00
Glenn Maynard 6b5f23ef02 simplify/optimize 2005-10-11 10:34:27 +00:00
Glenn Maynard 64d9c29568 Simplify: store attributes in a simple map<CString,CString>, not in an object.
Makes attributes lighter.
2005-10-11 10:24:07 +00:00
Glenn Maynard 489bb9b3ed cleanup 2005-10-11 09:37:18 +00:00
Glenn Maynard fc6e0a2571 Multiple attributes with the same name aren't allowed in XML. (grr, ugly)
Add copy ctor.
2005-10-11 09:35:53 +00:00
Glenn Maynard 35dfba854e g++ fix 2005-09-07 02:05:19 +00:00
Glenn Maynard f30533431d parse fix 2005-09-06 23:39:45 +00:00
Glenn Maynard 1c5ce3bf8b use CString 2005-09-06 18:25:16 +00:00
Glenn Maynard 76b98ce386 cleanup 2005-09-06 00:58:17 +00:00
Glenn Maynard e676f9449d remove unused escaping stuff (don't think this is even part of XML) 2005-09-05 23:22:15 +00:00
Glenn Maynard 852558eb06 replace slow entity parsing code 2005-09-04 23:05:58 +00:00
Glenn Maynard 7c88d5ed88 cleanup 2005-09-04 21:59:00 +00:00
Chris Danford c414d1bcf8 fix _DEBUG compile errors 2005-09-04 16:45:38 +00:00
Glenn Maynard 286c008b41 optimize: take CString&, not char*; passing char* causes a CString to be
constructed from it when we use it, which is a waste, since it often comes from
a CString already
cleanup
2005-09-04 05:12:48 +00:00
Glenn Maynard 4f5a07388a cleanup 2005-09-03 21:28:34 +00:00
Glenn Maynard e8182daf16 cleanups 2005-09-03 08:28:43 +00:00
Glenn Maynard eb05db1305 cleanup, optimize 2005-08-26 19:13:08 +00:00
Glenn Maynard 28c84b4002 cleanup 2005-07-15 22:58:11 +00:00
Glenn Maynard ebe60c9eb7 simplify 2005-06-27 05:24:24 +00:00
Chris Danford 8e6e0f182b fix edit hash values clamp (gcc) or wrap (msvc) when loading scores 2005-06-16 04:31:39 +00:00
Chris Danford 63eebeb75e add GetXML overload for convenience 2005-06-16 03:08:45 +00:00
Chris Danford 6c312c35df fix AV with null param to GetXml 2005-06-16 02:49:39 +00:00
Chris Danford 2ff715bd4f fix broken edit score reading. Unsigned ints were loaded from XML incorrectly. 2005-06-14 20:11:13 +00:00
Chris Danford 2276b03c55 background assert -> warning. This fired, but I can't repro it and the assert didn't give useful data. 2005-06-14 05:21:48 +00:00
Chris Danford ceef12b5cd Have the XML parser warn about the error. Don't make every XML user have their own warning code. 2005-05-29 01:05:23 +00:00
Glenn Maynard a7e4836149 Skip attribute parsing, to fix errors due to comment contents. 2005-02-25 06:13:21 +00:00
Chris Danford c435ed509a add comments parsing 2005-02-18 14:03:50 +00:00
Chris Danford cf698b55a0 clean up XML error handling 2005-02-18 13:05:17 +00:00
Chris Danford 26dc26ff62 fix misspelling 2005-02-18 11:55:34 +00:00
Glenn Maynard 8884936a17 const fix 2005-02-18 03:07:22 +00:00
Glenn Maynard 8ee052516a XNode::LoadFromFile(RageFileBasic) 2005-01-08 19:12:44 +00:00
Chris Danford 77e1c2fee8 fix VC7 warnings 2005-01-08 02:06:22 +00:00
Chris Danford e836a44a3f more whitespace fixes 2005-01-07 21:52:59 +00:00
Chris Danford 8b662089b7 fix "any whitespace char should be allowed between entitiy name and 1st attribute" 2005-01-07 21:11:36 +00:00
Chris Danford 981e52ec58 merge IniFile and XmlFile 2005-01-07 14:28:00 +00:00
Chris Danford 5b2582cab3 use multimap in XmlFile 2005-01-07 09:09:23 +00:00
Chris Danford b1070d2077 remove parent pointers 2005-01-07 06:51:53 +00:00
Chris Danford afc06a1d92 re-add typedefs 2005-01-07 03:18:11 +00:00
Chris Danford 31ea9c7bc4 cleanup 2005-01-07 02:07:10 +00:00
Glenn Maynard 6cd9622e05 RageFileBasic 2004-12-18 05:37:53 +00:00
Chris Danford 03fbb915f3 remove VC6 scoping hacks 2004-09-21 07:53:39 +00:00
Steve Checkoway 27d4678adf Cleanup. Do not use == true or == false. 2004-09-06 21:28:56 +00:00
Chris Danford f10efc414a reduce Stats.xml file size: don't write tab indent characters 2004-08-28 21:37:57 +00:00
Glenn Maynard 1fdf3d68c2 s/TCHAR/char/ 2004-08-18 22:09:23 +00:00