Changeset - r20551:582529d7fba1
[Not reviewed]
master
0 1 0
rubidium - 11 years ago 2013-07-10 15:38:42
rubidium@openttd.org
(svn r25579) -Fix [FS#5642] (r25577): doxygen generation failed + typo fix
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/script/api/script_list.hpp
Show inline comments
 
@@ -30,17 +30,17 @@ public:
 
		SORT_BY_VALUE, ///< Sort the list based on the value of the item.
 
		SORT_BY_ITEM,  ///< Sort the list based on the item itself.
 
	};
 

	
 
	/** Sort ascending */
 
	static const bool SORT_ASCENDING = true;
 
	/** Sort descnding */
 
	/** Sort descending */
 
	static const bool SORT_DESCENDING = false;
 

	
 
private:
 
	ScriptListSorter *sorter;         ///< Sorting algorithm
 
	ScriptListSorter *sorter;     ///< Sorting algorithm
 
	SorterType sorter_type;       ///< Sorting type
 
	bool sort_ascending;          ///< Whether to sort ascending or descending
 
	bool initialized;             ///< Whether an iteration has been started
 
	int modifications;            ///< Number of modification that has been done. To prevent changing data while valuating.
 

	
 
public:
 
@@ -60,13 +60,13 @@ public:
 
	 * @param item the item to add. Should be unique, otherwise it is ignored.
 
	 * @param value the value to assign.
 
	 */
 
	void AddItem(int32 item, int32 value);
 
#else
 
	void AddItem(int32 item, int32 value = 0);
 
#endif
 
#endif /* DOXYGEN_API */
 

	
 
	/**
 
	 * Remove a single item from the list.
 
	 * @param item the item to remove. If not existing, it is ignored.
 
	 */
 
	void RemoveItem(int32 item);
0 comments (0 inline, 0 general)