about summary refs log tree commit diff
path: root/src/engine/client
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2010-07-17 14:10:43 +0200
committeroy <Tom_Adams@web.de>2010-07-17 14:10:43 +0200
commit6193f354232b3cc9a7272c3b17cfc52b6415c9b8 (patch)
tree1b1b8bd1698240391ad89923edf33899a1046237 /src/engine/client
parent052820dc888a0912fd2ff413389bc24b1cfbf08d (diff)
parenta8acf8c6ff3af78369a0194b7f3ee34b5ab9df5c (diff)
downloadzcatch-6193f354232b3cc9a7272c3b17cfc52b6415c9b8.tar.gz
zcatch-6193f354232b3cc9a7272c3b17cfc52b6415c9b8.zip
Merge branch 'master' of http://github.com/matricks/teeworlds
Diffstat (limited to 'src/engine/client')
-rw-r--r--src/engine/client/text.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/engine/client/text.cpp b/src/engine/client/text.cpp
index 8fa8efee..672fde60 100644
--- a/src/engine/client/text.cpp
+++ b/src/engine/client/text.cpp
@@ -67,8 +67,9 @@ struct CFontSizeData
 	int m_CurrentCharacter;	
 };
 
-struct CFont
+class CFont
 {
+public:
 	char m_aFilename[128];
 	FT_Face m_FtFace;
 	CFontSizeData m_aSizes[NUM_FONT_SIZES];
@@ -101,7 +102,7 @@ class CTextRender : public IEngineTextRender
 	
 	int m_FontTextureFormat;
 
-	struct CFont *m_pDefaultFont;
+	CFont *m_pDefaultFont;
 
 	FT_Library m_FTLibrary;
 	
@@ -470,7 +471,7 @@ public:
 		mem_free(pFont);
 	}
 
-	virtual void SetDefaultFont(struct CFont *pFont)
+	virtual void SetDefaultFont(CFont *pFont)
 	{
 		dbg_msg("textrender", "default pFont set %p", pFont);
 		m_pDefaultFont = pFont;