00001 /* 00002 * Copyright (C) 2004 Ivo Danihelka (ivo@danihelka.net) 00003 * 00004 * This program is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation; either version 2 of the License, or 00007 * (at your option) any later version. 00008 */ 00009 #include "EffectNone.h" 00010 00011 //----------------------------------------------------------------- 00012 /** 00013 * Blit without special effect. 00014 */ 00015 void 00016 EffectNone::blit(SDL_Surface *screen, SDL_Surface *surface, int x, int y) 00017 { 00018 SDL_Rect rect; 00019 rect.x = x; 00020 rect.y = y; 00021 SDL_BlitSurface(surface, NULL, screen, &rect); 00022 } 00023