Author: euschn
Date: Wed Jun 3 21:14:48 2009
New Revision: 36050
URL: http://svn.gna.org/viewcvs/wesnoth?rev=36050&view=rev
Log:
changed the name of the function toConfig() to to_config()
Modified:
trunk/src/savegame_config.hpp
trunk/src/soundsource.cpp
trunk/src/soundsource.hpp
trunk/src/team.cpp
trunk/src/team.hpp
trunk/src/tod_manager.cpp
trunk/src/tod_manager.hpp
Modified: trunk/src/savegame_config.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/savegame_config.hpp?rev=36050&r1=36049&r2=36050&view=diff
==============================================================================
--- trunk/src/savegame_config.hpp (original)
+++ trunk/src/savegame_config.hpp Wed Jun 3 21:14:48 2009
@@ -22,7 +22,7 @@
{
public:
virtual ~savegame_config() {};
- virtual config toConfig() = 0;
+ virtual config to_config() = 0;
};
#endif
Modified: trunk/src/soundsource.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/soundsource.cpp?rev=36050&r1=36049&r2=36050&view=diff
==============================================================================
--- trunk/src/soundsource.cpp (original)
+++ trunk/src/soundsource.cpp Wed Jun 3 21:14:48 2009
@@ -117,7 +117,7 @@
}
}
-config manager::toConfig()
+config manager::to_config()
{
config cfg;
write_sourcespecs(cfg);
Modified: trunk/src/soundsource.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/soundsource.hpp?rev=36050&r1=36049&r2=36050&view=diff
==============================================================================
--- trunk/src/soundsource.hpp (original)
+++ trunk/src/soundsource.hpp Wed Jun 3 21:14:48 2009
@@ -110,7 +110,7 @@
*/
void write_sourcespecs(config& cfg) const;
- config toConfig();
+ config to_config();
};
/**
Modified: trunk/src/team.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/team.cpp?rev=36050&r1=36049&r2=36050&view=diff
==============================================================================
--- trunk/src/team.cpp (original)
+++ trunk/src/team.cpp Wed Jun 3 21:14:48 2009
@@ -967,7 +967,7 @@
LOG_NG << "Added all recruitable units\n";
}
-config team::toConfig()
+config team::to_config()
{
config cfg;
config& result = cfg.add_child("side");
Modified: trunk/src/team.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/team.hpp?rev=36050&r1=36049&r2=36050&view=diff
==============================================================================
--- trunk/src/team.hpp (original)
+++ trunk/src/team.hpp Wed Jun 3 21:14:48 2009
@@ -313,7 +313,7 @@
/** clear the shroud, fog, and enemies cache for all teams*/
static void clear_caches();
- config toConfig();
+ config to_config();
private:
//Make these public if you need them, but look at knows_about_team(...)
first.
Modified: trunk/src/tod_manager.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/tod_manager.cpp?rev=36050&r1=36049&r2=36050&view=diff
==============================================================================
--- trunk/src/tod_manager.cpp (original)
+++ trunk/src/tod_manager.cpp Wed Jun 3 21:14:48 2009
@@ -39,7 +39,7 @@
}
}
-config tod_manager::toConfig()
+config tod_manager::to_config()
{
config cfg;
std::stringstream buf;
Modified: trunk/src/tod_manager.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/tod_manager.hpp?rev=36050&r1=36049&r2=36050&view=diff
==============================================================================
--- trunk/src/tod_manager.hpp (original)
+++ trunk/src/tod_manager.hpp Wed Jun 3 21:14:48 2009
@@ -32,7 +32,7 @@
tod_manager(const config& time_cfg);
~tod_manager() {}
- config toConfig();
+ config to_config();
/** Returns time of day object for current turn. */
time_of_day get_time_of_day() const;
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits