From: Astrid S. <ast...@us...> - 2009-02-26 21:19:50
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/common In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv20169/src/games/stendhal/common Modified Files: Debug.java NotificationType.java Log Message: code format added TODO for suspicious code Index: Debug.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/common/Debug.java,v retrieving revision 1.70 retrieving revision 1.71 diff -C2 -d -r1.70 -r1.71 *** Debug.java 19 Feb 2009 19:46:23 -0000 1.70 --- Debug.java 26 Feb 2009 21:19:35 -0000 1.71 *************** *** 16,27 **** * @author mtotz * - * TODO: Replace with an XML configuration file? */ public interface Debug { - - /** server version. */ - // Note: This line is updated by build.xml using a regexp so be sure to adjust it in case you modify this line. - String VERSION = "0.72"; - /** if this is enable tileset are loaded on demand. */ public static final boolean VERY_FAST_CLIENT_START = true; --- 16,21 ---- *************** *** 29,32 **** --- 23,32 ---- /** enables cycling through the panel textures by clicking at the title bar. */ public static final boolean CYCLE_PANEL_TEXTURES = false; + + /** server version. */ + // Note: This line is updated by build.xml using a regexp so be sure to adjust it in case you modify this line. + String VERSION = "0.72"; + + /** * This emulates perception losses. Never make this true and commit it to *************** *** 39,42 **** */ boolean SHOW_LIST_SIZES = false; ! } --- 39,43 ---- */ boolean SHOW_LIST_SIZES = false; ! ! } Index: NotificationType.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/common/NotificationType.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** NotificationType.java 27 Nov 2008 15:23:44 -0000 1.6 --- NotificationType.java 26 Feb 2009 21:19:35 -0000 1.7 *************** *** 17,20 **** --- 17,22 ---- */ public enum NotificationType { + + CLIENT("client") { @Override *************** *** 89,93 **** --- 91,118 ---- } }; + public static final Color COLOR_CLIENT = Color.gray; + + public static final Color COLOR_ERROR = Color.red; + + public static final Color COLOR_INFORMATION = Color.orange; + + public static final Color COLOR_NEGATIVE = Color.red; + + public static final Color COLOR_NORMAL = Color.black; + + public static final Color COLOR_POSITIVE = Color.green; + + public static final Color COLOR_EMOTE = new Color(99, 61, 139); + + public static final Color COLOR_PRIVMSG = Color.darkGray; + + public static final Color COLOR_RESPONSE = new Color(0x006400); + + public static final Color COLOR_SIGNIFICANT_NEGATIVE = Color.pink; + + public static final Color COLOR_SIGNIFICANT_POSITIVE = new Color(65, + 105, 225); + public static final Color COLOR_TUTORIAL = new Color(172, 0, 172); /** * The mapping mnemonic. *************** *** 126,153 **** return COLOR_NORMAL; } - public static final Color COLOR_CLIENT = Color.gray; - - public static final Color COLOR_ERROR = Color.red; - - public static final Color COLOR_INFORMATION = Color.orange; - - public static final Color COLOR_NEGATIVE = Color.red; - - public static final Color COLOR_NORMAL = Color.black; - - public static final Color COLOR_POSITIVE = Color.green; - - public static final Color COLOR_EMOTE = new Color(99, 61, 139); - - public static final Color COLOR_PRIVMSG = Color.darkGray; - - public static final Color COLOR_RESPONSE = new Color(0x006400); - public static final Color COLOR_SIGNIFICANT_NEGATIVE = Color.pink; - - public static final Color COLOR_SIGNIFICANT_POSITIVE = new Color(65, - 105, 225); - - public static final Color COLOR_TUTORIAL = new Color(172, 0, 172); --- 151,155 ---- |