wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src intro.cpp


From: Cedric Duval
Subject: [Wesnoth-cvs-commits] wesnoth/src intro.cpp
Date: Wed, 25 Aug 2004 17:01:51 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Cedric Duval <address@hidden>   04/08/25 20:57:09

Modified files:
        src            : intro.cpp 

Log message:
        Added possibility to filp overlayed image (patch #3315, reviewed by 
isaac)

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/intro.cpp.diff?tr1=1.57&tr2=1.58&r1=text&r2=text

Patches:
Index: wesnoth/src/intro.cpp
diff -u wesnoth/src/intro.cpp:1.57 wesnoth/src/intro.cpp:1.58
--- wesnoth/src/intro.cpp:1.57  Tue Aug 17 21:09:35 2004
+++ wesnoth/src/intro.cpp       Wed Aug 25 20:57:09 2004
@@ -1,4 +1,4 @@
-/* $Id: intro.cpp,v 1.57 2004/08/17 21:09:35 ydirson Exp $ */
+/* $Id: intro.cpp,v 1.58 2004/08/25 20:57:09 cedricd Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -162,6 +162,9 @@
                        surface 
img(image::get_image(image_name,image::UNSCALED));
                        if(img.null()) continue;
 
+                       if ((**i)["flip"] == "yes")
+                               img.assign(image::reverse_image(img));
+
                        SDL_Rect image_rect;
                        image_rect.x = x + dstrect.x;
                        image_rect.y = y + dstrect.y;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]