X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fvideo%2Ffont.cpp;h=4aac58a6403dd1aaf28079971bdcb28990eff35e;hb=53209e9747f4c830eeeb926d3a44918ed86621ba;hp=e1bac5a469c17ff39adb4b9e1c42283ef138efa3;hpb=08813a74da6ac1fd045a105e4e8105f1d7f716f0;p=supertux.git diff --git a/src/video/font.cpp b/src/video/font.cpp index e1bac5a46..4aac58a64 100644 --- a/src/video/font.cpp +++ b/src/video/font.cpp @@ -17,8 +17,8 @@ #include -#include -#include +#include +#include #include #include #include @@ -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;