From 3120be4f673c3e106c47ee250ca02179bacec52f Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Thu, 8 Oct 2015 09:10:08 -0400 Subject: improved inventory, debug flags --- src/ui.cpp | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'src/ui.cpp') diff --git a/src/ui.cpp b/src/ui.cpp index e4af3e2..68601d8 100644 --- a/src/ui.cpp +++ b/src/ui.cpp @@ -28,12 +28,18 @@ namespace ui { abort(); } fontSize=12; // to be safe +#ifdef DEBUG + DEBUG_printf("Initialized FreeType2.\n"); +#endif // DEBUG } void setFontFace(const char *ttf){ if(FT_New_Face(ftl,ttf,0,&ftf)){ std::cout<<"Error! Couldn't open "<