Added scripts for source code maintainance
[supertux.git] / src / video / font.cpp
index e1bac5a..4aac58a 100644 (file)
@@ -17,8 +17,8 @@
 
 #include <config.h>
 
-#include <cstdlib>
-#include <cstring>
+#include <stdlib.h>
+#include <string.h>
 #include <stdexcept>
 #include <SDL_image.h>
 #include <physfs.h>
@@ -27,7 +27,6 @@
 
 #include "util/file_system.hpp"
 
-#include "lisp/lisp.hpp"
 #include "lisp/list_iterator.hpp"
 #include "lisp/parser.hpp"
 #include "supertux/screen.hpp"
@@ -100,10 +99,13 @@ bool vline_empty(SDL_Surface* surface, int x, int start_y, int end_y, Uint8 thre
 
 Font::Font(GlyphWidth glyph_width_,
            const std::string& filename,
-           int shadowsize_)
-  :   glyph_width(glyph_width_),
-      shadowsize(shadowsize_),
-      glyphs(65536)
+           int shadowsize_) :
+  glyph_width(glyph_width_),
+  glyph_surfaces(),
+  shadow_surfaces(),
+  char_height(),
+  shadowsize(shadowsize_),
+  glyphs(65536)
 {
   for(unsigned int i=0; i<65536;i++) glyphs[i].surface_idx = -1;