Author: mordante
Date: Mon Jun 23 21:07:30 2008
New Revision: 27450

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27450&view=rev
Log:
Update doxygen comment style.

Modified:
    trunk/src/ai_python.cpp
    trunk/src/ai_python.hpp

Modified: trunk/src/ai_python.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai_python.cpp?rev=27450&r1=27449&r2=27450&view=diff
==============================================================================
--- trunk/src/ai_python.cpp (original)
+++ trunk/src/ai_python.cpp Mon Jun 23 21:07:30 2008
@@ -13,14 +13,16 @@
    See the COPYING file for more details.
 */
 
-//! @file ai_python.cpp
-//! Interface to python for ai-scripts.
-//
-//! Note this file isn't C-style cast safe:
-//! PyObject_NEW this macro contains 2 casts
-//! Py_DECREF this macro contains 3 casts
-//! Py_InitModule3 this macro contains 1 cast
-//! Py_XDECREF this macro contains 3 casts
+/**
+ * @file ai_python.cpp
+ * Interface to python for ai-scripts.
+ *
+ * Note this file isn't C-style cast safe:
+ * PyObject_NEW this macro contains 2 casts
+ * Py_DECREF this macro contains 3 casts
+ * Py_InitModule3 this macro contains 1 cast
+ * Py_XDECREF this macro contains 3 casts
+ */
 
 /* Note about Python exceptions:
 
@@ -1064,8 +1066,10 @@
 
     PyObject* dict = PyDict_New();
 
-    //! @todo FIXME: There should be a C++ method to return all targets 
instead,
-       // for now it's just copy&pasted.
+    /**
+        * @todo FIXME: There should be a C++ method to return all targets 
instead,
+        * for now it's just copy&pasted.
+        */
     std::vector<team::target>& team_targets =
         running_instance->current_team().targets();
 
@@ -1479,9 +1483,11 @@
                &wesnoth_location_type, &to, &weapon ) )
                return NULL;
 
-       //! @todo FIXME: Remove this check and let the C++ code do the check
-       // if the attack is valid at all (there may be ranged attacks or 
similar later,
-       // and then the code below will horribly fail).
+       /**
+        * @todo FIXME: Remove this check and let the C++ code do the check if 
the
+        * attack is valid at all (there may be ranged attacks or similar later,
+        * and then the code below will horribly fail).
+        */
        if (!tiles_adjacent(*from->location_, *to->location_))
                return_none;
 

Modified: trunk/src/ai_python.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai_python.hpp?rev=27450&r1=27449&r2=27450&view=diff
==============================================================================
--- trunk/src/ai_python.hpp (original)
+++ trunk/src/ai_python.hpp Mon Jun 23 21:07:30 2008
@@ -12,8 +12,7 @@
    See the COPYING file for more details.
 */
 
-//! @file ai_python.hpp
-//!
+/** @file ai_python.hpp */
 
 #ifndef AI_PYTHON_HPP_INCLUDED
 #define AI_PYTHON_HPP_INCLUDED


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to