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

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

[Wesnoth-cvs-commits] wesnoth/src map.cpp mapgen_dialog.hpp statistic...


From: Yann Dirson
Subject: [Wesnoth-cvs-commits] wesnoth/src map.cpp mapgen_dialog.hpp statistic...
Date: Thu, 10 Mar 2005 17:03:33 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Yann Dirson <address@hidden>    05/03/10 22:03:32

Modified files:
        src            : map.cpp mapgen_dialog.hpp statistics.hpp 
                         terrain.cpp terrain.hpp theme.cpp theme.hpp 
                         titlescreen.hpp 

Log message:
        include cleanup: statistics, theme, terrain, titlescreen

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/map.cpp.diff?tr1=1.53&tr2=1.54&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/mapgen_dialog.hpp.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/statistics.hpp.diff?tr1=1.8&tr2=1.9&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/terrain.cpp.diff?tr1=1.25&tr2=1.26&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/terrain.hpp.diff?tr1=1.20&tr2=1.21&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/theme.cpp.diff?tr1=1.32&tr2=1.33&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/theme.hpp.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/titlescreen.hpp.diff?tr1=1.5&tr2=1.6&r1=text&r2=text

Patches:
Index: wesnoth/src/map.cpp
diff -u wesnoth/src/map.cpp:1.53 wesnoth/src/map.cpp:1.54
--- wesnoth/src/map.cpp:1.53    Sat Mar  5 13:03:19 2005
+++ wesnoth/src/map.cpp Thu Mar 10 22:03:32 2005
@@ -1,4 +1,4 @@
-/* $Id: map.cpp,v 1.53 2005/03/05 13:03:19 ydirson Exp $ */
+/* $Id: map.cpp,v 1.54 2005/03/10 22:03:32 ydirson Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -13,6 +13,7 @@
 
 #include "global.hpp"
 
+#include "config.hpp"
 #include "log.hpp"
 #include "map.hpp"
 #include "pathutils.hpp"
Index: wesnoth/src/mapgen_dialog.hpp
diff -u wesnoth/src/mapgen_dialog.hpp:1.10 wesnoth/src/mapgen_dialog.hpp:1.11
--- wesnoth/src/mapgen_dialog.hpp:1.10  Sat Oct  9 19:49:20 2004
+++ wesnoth/src/mapgen_dialog.hpp       Thu Mar 10 22:03:32 2005
@@ -1,6 +1,7 @@
 #ifndef MAPGEN_DIALOG_HPP_INCLUDED
 #define MAPGEN_DIALOG_HPP_INCLUDED
 
+#include "config.hpp"
 #include "mapgen.hpp"
 
 class default_map_generator : public map_generator
Index: wesnoth/src/statistics.hpp
diff -u wesnoth/src/statistics.hpp:1.8 wesnoth/src/statistics.hpp:1.9
--- wesnoth/src/statistics.hpp:1.8      Thu Aug 26 00:33:11 2004
+++ wesnoth/src/statistics.hpp  Thu Mar 10 22:03:32 2005
@@ -1,8 +1,8 @@
 #ifndef STATISTICS_HPP_INCLUDED
 #define STATISTICS_HPP_INCLUDED
 
+class unit;
 #include "actions.hpp"
-#include "unit.hpp"
 
 namespace statistics
 {
Index: wesnoth/src/terrain.cpp
diff -u wesnoth/src/terrain.cpp:1.25 wesnoth/src/terrain.cpp:1.26
--- wesnoth/src/terrain.cpp:1.25        Fri Dec 31 21:01:37 2004
+++ wesnoth/src/terrain.cpp     Thu Mar 10 22:03:32 2005
@@ -1,4 +1,4 @@
-/* $Id: terrain.cpp,v 1.25 2004/12/31 21:01:37 isaaccp Exp $ */
+/* $Id: terrain.cpp,v 1.26 2005/03/10 22:03:32 ydirson Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -13,6 +13,7 @@
 
 #include "global.hpp"
 
+#include "config.hpp"
 #include "terrain.hpp"
 
 #include <cstdlib>
Index: wesnoth/src/terrain.hpp
diff -u wesnoth/src/terrain.hpp:1.20 wesnoth/src/terrain.hpp:1.21
--- wesnoth/src/terrain.hpp:1.20        Tue Oct 19 20:49:09 2004
+++ wesnoth/src/terrain.hpp     Thu Mar 10 22:03:32 2005
@@ -1,4 +1,4 @@
-/* $Id: terrain.hpp,v 1.20 2004/10/19 20:49:09 gruikya Exp $ */
+/* $Id: terrain.hpp,v 1.21 2005/03/10 22:03:32 ydirson Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -13,10 +13,12 @@
 #ifndef TERRAIN_H_INCLUDED
 #define TERRAIN_H_INCLUDED
 
-#include "config.hpp"
+class config;
 #include "sdl_utils.hpp"
 
+#include <map>
 #include <string>
+#include <vector>
 
 class terrain_type
 {
Index: wesnoth/src/theme.cpp
diff -u wesnoth/src/theme.cpp:1.32 wesnoth/src/theme.cpp:1.33
--- wesnoth/src/theme.cpp:1.32  Mon Feb 21 09:05:51 2005
+++ wesnoth/src/theme.cpp       Thu Mar 10 22:03:32 2005
@@ -1,5 +1,6 @@
 #include "global.hpp"
 
+#include "config.hpp"
 #include "font.hpp"
 #include "language.hpp"
 #include "log.hpp"
Index: wesnoth/src/theme.hpp
diff -u wesnoth/src/theme.hpp:1.5 wesnoth/src/theme.hpp:1.6
--- wesnoth/src/theme.hpp:1.5   Tue Jul 20 11:56:58 2004
+++ wesnoth/src/theme.hpp       Thu Mar 10 22:03:32 2005
@@ -2,9 +2,10 @@
 #define THEME_HPP_INCLUDED
 
 #include <map>
+#include <string>
 #include <vector>
 
-#include "config.hpp"
+class config;
 
 #include "SDL.h"
 
Index: wesnoth/src/titlescreen.hpp
diff -u wesnoth/src/titlescreen.hpp:1.5 wesnoth/src/titlescreen.hpp:1.6
--- wesnoth/src/titlescreen.hpp:1.5     Sun Oct 31 00:31:59 2004
+++ wesnoth/src/titlescreen.hpp Thu Mar 10 22:03:32 2005
@@ -1,7 +1,8 @@
 #ifndef TITLE_HPP_INCLUDED
 #define TITLE_HPP_INCLUDED
 
-#include "display.hpp"
+class config;
+class display;
 
 namespace gui {
 




reply via email to

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