Added CStr and some other things to precompiled.h, to reduce build times.

Altered CStr/UniDoubler's macros, to avoid polluting/conflicting/etc.
Fixed headers in non-PCH builds.
Used the _d version of vorbisfile*.lib in Debug builds.

This was SVN commit r2366.
This commit is contained in:
Ykkrosh
2005-06-01 20:12:45 +00:00
parent cfb4ac8d27
commit b657a1cbca
23 changed files with 163 additions and 106 deletions
+3 -3
View File
@@ -47,7 +47,7 @@ bool __ParseString<CRect>(const CStr& Value, CRect &Output)
// Use the parser to parse the values
CParser& parser (CParserCache::Get("_$value_$value_$value_$value_"));
string str = (const TCHAR*)Value;
string str = Value;
CParserLine line;
line.ParseString(parser, str);
@@ -124,7 +124,7 @@ bool __ParseString<CSize>(const CStr& Value, CSize &Output)
// Use the parser to parse the values
CParser& parser (CParserCache::Get("_$value_$value_"));
string str = (const TCHAR*)Value;
string str = Value;
CParserLine line;
line.ParseString(parser, str);
@@ -288,7 +288,7 @@ CRect CClientArea::GetClientArea(const CRect &parent) const
bool CClientArea::SetClientArea(const CStr& Value)
{
// Get value in STL string format
string _Value = (const TCHAR*)Value;
string _Value = Value;
// This might lack incredible speed, but since all XML files
// are read at startup, reading 100 client areas will be