X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fresources.cpp;h=940b0a06bdff6dc892c765df360591c1d9cda39f;hb=f53572ad2b744ddddd7cc4b6479489543d44f98d;hp=fdb043f5b429cee0fdad22b86b81253ba8fd56c2;hpb=acd1950b9b853d6b7c56a2cb43e77ec3147b2369;p=supertux.git diff --git a/src/resources.cpp b/src/resources.cpp index fdb043f5b..940b0a06b 100644 --- a/src/resources.cpp +++ b/src/resources.cpp @@ -1,7 +1,8 @@ // $Id$ // -// SuperTux - A Jump'n Run +// SuperTux // Copyright (C) 2003 Tobias Glaesser +// Copyright (C) 2006 Matthias Braun // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -27,18 +28,15 @@ #include "object/gameobjs.hpp" #include "object/player.hpp" -SpriteManager* sprite_manager = 0; -TileManager* tile_manager = 0; +MouseCursor* mouse_cursor = NULL; -MouseCursor* mouse_cursor = 0; +Font* gold_text = NULL; +Font* blue_text = NULL; +Font* gray_text = NULL; +Font* white_text = NULL; +Font* white_small_text = NULL; +Font* white_big_text = NULL; -Font* gold_text; -Font* blue_text; -Font* gray_text; -Font* white_text; -Font* white_small_text; -Font* white_big_text; - /* Load graphics/sounds shared between all levels: */ void load_shared() { @@ -131,9 +129,9 @@ void unload_shared() } delete sprite_manager; - sprite_manager = 0; + sprite_manager = NULL; delete tile_manager; - tile_manager = 0; + tile_manager = NULL; /* Free mouse-cursor */ delete mouse_cursor;