diff options
author | Eugene Sandulenko | 2012-04-28 01:00:14 +0300 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-02 12:42:08 +0200 |
commit | 28c78b956dac6ee59d066f7ff2499569fe9877c7 (patch) | |
tree | 07e37e79e5610d3f21d22a8243083b78e09f8542 /engines/wintermute/BFont.cpp | |
parent | 84fd9d0daca1846829b077aa18a7634df5e5ef9e (diff) | |
download | scummvm-rg350-28c78b956dac6ee59d066f7ff2499569fe9877c7.tar.gz scummvm-rg350-28c78b956dac6ee59d066f7ff2499569fe9877c7.tar.bz2 scummvm-rg350-28c78b956dac6ee59d066f7ff2499569fe9877c7.zip |
WINTERMUTE: Mass rename m_FooBar -> _fooBar
Diffstat (limited to 'engines/wintermute/BFont.cpp')
-rw-r--r-- | engines/wintermute/BFont.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/wintermute/BFont.cpp b/engines/wintermute/BFont.cpp index 93d870875d..92ce8595ae 100644 --- a/engines/wintermute/BFont.cpp +++ b/engines/wintermute/BFont.cpp @@ -73,7 +73,7 @@ int CBFont::GetTextWidth(byte *text, int MaxLenght) { //////////////////////////////////////////////////////////////////////
HRESULT CBFont::LoadFile(char * Filename)
{
- BYTE* Buffer = Game->m_FileManager->ReadWholeFile(Filename);
+ BYTE* Buffer = Game->_fileManager->ReadWholeFile(Filename);
if(Buffer==NULL){
Game->LOG(0, "CBFont::LoadFile failed for file '%s'", Filename);
return E_FAIL;
@@ -81,8 +81,8 @@ HRESULT CBFont::LoadFile(char * Filename) HRESULT ret;
- m_Filename = new char [strlen(Filename)+1];
- strcpy(m_Filename, Filename);
+ _filename = new char [strlen(Filename)+1];
+ strcpy(_filename, Filename);
if(FAILED(ret = LoadBuffer(Buffer))) Game->LOG(0, "Error parsing FONT file '%s'", Filename);
@@ -122,7 +122,7 @@ HRESULT CBFont::LoadBuffer(byte * Buffer) case TOKEN_TRANSPARENT:
parser.ScanStr(params, "%d,%d,%d", &r, &g, &b);
- custom_trans = true;
+ custo_trans = true;
break;
}
@@ -187,7 +187,7 @@ bool CBFont::IsTrueType(CBGame *Game, char *Filename) { TOKEN_TABLE_END
- byte *Buffer = Game->m_FileManager->ReadWholeFile(Filename);
+ byte *Buffer = Game->_fileManager->ReadWholeFile(Filename);
if (Buffer == NULL) return false;
byte *WorkBuffer = Buffer;
|