Author: shadowmaster
Date: Tue Mar 24 13:20:38 2009
New Revision: 34084
URL: http://svn.gna.org/viewcvs/wesnoth?rev=34084&view=rev
Log:
Clarify C++ documentation of the ~RC() image functor's primitive.
Modified:
trunk/src/image_function.hpp
Modified: trunk/src/image_function.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/image_function.hpp?rev=34084&r1=34083&r2=34084&view=diff
==============================================================================
--- trunk/src/image_function.hpp (original)
+++ trunk/src/image_function.hpp Tue Mar 24 13:20:38 2009
@@ -38,10 +38,10 @@
};
/**
- * Recolor (RC) function.
- * It is used both for palette switches (e.g. "~RC(pal1=pal2)")
- * color-range-based recoloring (also known as TC, e.g. "~RC(magenta>teal)")
- * and team-based recoloring (e.g. "~TC(1,magenta)").
+ * Recolor (RC/TC/PAL) function.
+ * It is used not only for color-range-based recoloring ("~RC(magenta>teal)")
+ * but also for team-color-based color range selection and recoloring
+ * ("~TC(3,magenta)") and palette switches ("~PAL(000000,005000 >
FFFFFF,FF00FF)").
*/
class rc_function : public function_base
{
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits