Author: mordante
Date: Mon Jun 23 18:59:39 2008
New Revision: 27445
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27445&view=rev
Log:
Update doxygen comment style.
Modified:
trunk/src/ai_dfool.cpp
trunk/src/ai_dfool.hpp
Modified: trunk/src/ai_dfool.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai_dfool.cpp?rev=27445&r1=27444&r2=27445&view=diff
==============================================================================
--- trunk/src/ai_dfool.cpp (original)
+++ trunk/src/ai_dfool.cpp Mon Jun 23 18:59:39 2008
@@ -13,8 +13,7 @@
See the COPYING file for more details.
*/
-//! @file ai_dfool.cpp
-//!
+/** @file ai_dfool.cpp */
#include "global.hpp"
@@ -98,7 +97,7 @@
// LOG_STREAM(info, ai)<<"dfool filter:"<<std::endl;
unit_list
filtered_units=filter_units(ff,my_units,get_info().units);
- //! @todo FIXME: add sorting
+ /** @todo FIXME: add sorting */
for(unit_list::iterator i = filtered_units.begin(); i !=
filtered_units.end() && (num > order_units.size()); ++i) {
unit_map::iterator ui=unit(*i,get_info().units);
@@ -251,7 +250,7 @@
int closest_distance = -1;
std::pair<location,location> closest_move;
- //! @todo This undoubtedly could be done more cleanly
+ /** @todo This undoubtedly could be done more cleanly */
for(move_map::const_iterator i = dstsrc.begin(); i != dstsrc.end();
++i) {
// Must restrict move_map to only unit that is moving.
if(i->second==m->first){
Modified: trunk/src/ai_dfool.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai_dfool.hpp?rev=27445&r1=27444&r2=27445&view=diff
==============================================================================
--- trunk/src/ai_dfool.hpp (original)
+++ trunk/src/ai_dfool.hpp Mon Jun 23 18:59:39 2008
@@ -12,9 +12,10 @@
See the COPYING file for more details.
*/
-//! @file ai_dfool.hpp
-//! The Standard-AI ??.
-//! This ai uses for its decisions only units it has "seen".
+/**
+ * @file ai_dfool.hpp
+ * This ai uses for its decisions only units it has "seen".
+ */
#ifndef AI_DFOOL_HPP_INCLUDED
#define AI_DFOOL_HPP_INCLUDED
@@ -92,9 +93,11 @@
std::string evaluate_tokens(std::list<std::string>&);
};
- //! An ai that keeps track of what it has "seen",
- //! does not target units that it has not "seen",
- //! and does not make decisions based on unseen units.
+ /**
+ * An ai that keeps track of what it has "seen",
+ * does not target units that it has not "seen",
+ * and does not make decisions based on unseen units.
+ */
class dfool_ai : public ai_interface {
public:
dfool_ai(info& i) :
ai_interface(i),unit_memory_(i.teams[i.team_num-1].ai_memory()){}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits