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

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

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


From: Yann Dirson
Subject: [Wesnoth-cvs-commits] wesnoth/src display.cpp
Date: Tue, 05 Apr 2005 08:09:49 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Yann Dirson <address@hidden>    05/04/05 12:09:49

Modified files:
        src            : display.cpp 

Log message:
        set default zoom level in tinygui mode consistently with size of tiles

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

Patches:
Index: wesnoth/src/display.cpp
diff -u wesnoth/src/display.cpp:1.312 wesnoth/src/display.cpp:1.313
--- wesnoth/src/display.cpp:1.312       Sun Mar 27 23:06:16 2005
+++ wesnoth/src/display.cpp     Tue Apr  5 12:09:49 2005
@@ -1,4 +1,4 @@
-/* $Id: display.cpp,v 1.312 2005/03/27 23:06:16 gruikya Exp $ */
+/* $Id: display.cpp,v 1.313 2005/04/05 12:09:49 ydirson Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -48,7 +48,12 @@
 std::map<gamemap::location,fixed_t> display::debugHighlights_;
 
 namespace {
+#ifdef USE_TINY_GUI
+       const int DefaultZoom = 36;
+#else
        const int DefaultZoom = 72;
+#endif
+
        const int MaxZoom = 200;
 
        int MinZoom(const gamemap& map, const SDL_Rect& viewport)




reply via email to

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