tools/dummy_video.cpp

Go to the documentation of this file.
00001 /* $Id: dummy_video.cpp 52533 2012-01-07 02:35:17Z shadowmaster $ */
00002 /*
00003    Copyright (C) 2004 - 2012 by Philippe Plantier <ayin@anathas.org>
00004    Part of the Battle for Wesnoth Project http://www.wesnoth.org
00005 
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License as published by
00008    the Free Software Foundation; either version 2 of the License, or
00009    (at your option) any later version.
00010    This program is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY.
00012 
00013    See the COPYING file for more details.
00014 */
00015 
00016 /** @file */
00017 
00018 #include "../video.hpp"
00019 #include "../sdl_utils.hpp"
00020 
00021 static surface dummy_screen_surface(NULL);
00022 
00023 surface& CVideo::getSurface()
00024 {
00025     return dummy_screen_surface;
00026 }
00027 
00028 void update_rect(const SDL_Rect&)
00029 {
00030 }
00031 
00032 surface display_format_alpha(surface)
00033 {
00034     return NULL;
00035 }
00036 
00037 surface get_video_surface()
00038 {
00039     return NULL;
00040 }
00041 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:02:54 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs