// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#include <assert.h>
-#include "drawing_context.h"
-
-#include <iostream>
#include <algorithm>
+#include <cassert>
+#include <iostream>
+
+#include "drawing_context.h"
#include "texture.h"
#include "globals.h"
#include "font.h"
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#ifndef __DRAWINGCONTEXT_H__
-#define __DRAWINGCONTEXT_H__
+#ifndef SUPERTUX_DRAWINGCONTEXT_H
+#define SUPERTUX_DRAWINGCONTEXT_H
#include <vector>
#include <string>
+
+#include "SDL.h"
+
#include "vector.h"
#include "screen.h"
-#include <SDL.h>
class Surface;
class Font;
DrawingRequests drawingrequests;
};
-#endif
+#endif /*SUPERTUX_DRAWINGCONTEXT_H*/
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
-#include <stdlib.h>
-#include <string.h>
+#include <cstdlib>
+#include <cstring>
+
#include "globals.h"
#include "defines.h"
#include "screen.h"
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
-#ifndef SUPERTUX_TEXT_H
-#define SUPERTUX_TEXT_H
+#ifndef SUPERTUX_FONT_H
+#define SUPERTUX_FONT_H
#include <string>
+
#include "texture.h"
#include "vector.h"
int last_char;
};
-#endif /*SUPERTUX_TEXT_H*/
+#endif /*SUPERTUX_FONT_H*/
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <iostream>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
+#include <cerrno>
+
#include <unistd.h>
-#include <SDL.h>
-#include <SDL_image.h>
+
+#include "SDL.h"
+#include "SDL_image.h"
#ifndef WIN32
#include <sys/types.h>
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
-#include <assert.h>
+#include <cassert>
#include <iostream>
#include <algorithm>
+
#include "SDL.h"
#include "SDL_image.h"
+
#include "texture.h"
#include "globals.h"
#include "setup.h"
#ifndef SUPERTUX_TEXTURE_H
#define SUPERTUX_TEXTURE_H
-#include <SDL.h>
#include <string>
+#include <list>
+
#ifndef NOOPENGL
-#include <SDL_opengl.h>
+#include "SDL_opengl.h"
#endif
-#include <list>
+#include "SDL.h"
+
#include "screen.h"
#include "vector.h"