[Jcrossclient-cvs] jcrossclient CFclient.java,1.31,1.32 Changelog,1.35,1.36 TalkWin.java,1.6,1.7 bui
Status: Alpha
Brought to you by:
cavesomething
From: <jcr...@li...> - 2006-02-12 20:52:19
|
Update of /cvsroot/jcrossclient/jcrossclient In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17185 Modified Files: CFclient.java Changelog TalkWin.java build.xml Log Message: Added beginnings of an actions menu, which I hope will eventually contain most in-game actions turned on javac deprecations warnings in build file Index: TalkWin.java =================================================================== RCS file: /cvsroot/jcrossclient/jcrossclient/TalkWin.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** TalkWin.java 1 Feb 2006 19:14:29 -0000 1.6 --- TalkWin.java 12 Feb 2006 20:52:12 -0000 1.7 *************** *** 253,256 **** --- 253,264 ---- } + /* used if some other object wants to set the text in the input box */ + + public void setAction(String str){ + input.setText(str + " "); + input.setCaretPosition(str.length() + 1); + + } + public TalkWin(CFclient parent) { Parent = parent; Index: build.xml =================================================================== RCS file: /cvsroot/jcrossclient/jcrossclient/build.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** build.xml 14 Jan 2006 16:41:07 -0000 1.4 --- build.xml 12 Feb 2006 20:52:12 -0000 1.5 *************** *** 16,20 **** <!-- Compile the java code from ${src} into ${src} --> <javac srcdir="${src}" destdir="${src}" ! classpath=".:${javapng}" source="1.4" target="1.4" debug="true"/> </target> --- 16,21 ---- <!-- Compile the java code from ${src} into ${src} --> <javac srcdir="${src}" destdir="${src}" ! classpath=".:${javapng}" source="1.4" target="1.4" ! deprecation="true" debug="true"/> </target> Index: CFclient.java =================================================================== RCS file: /cvsroot/jcrossclient/jcrossclient/CFclient.java,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** CFclient.java 1 Feb 2006 19:14:29 -0000 1.31 --- CFclient.java 12 Feb 2006 20:52:12 -0000 1.32 *************** *** 9,32 **** import com.sixlegs.png.*; /* I'd like to remove this last import eventually, but the javax libraries cause ! * exceptions, the javax equivilents are commented out in various places. */ /* ! * Copyright (c) 1997, Phil Brown, ph...@bo... ! * Copyright (c) 2005, Brendan Lally, bre...@gm... ! * ! * This file is part of jcrossclient. ! * [...2433 lines suppressed...] } ! // only print these messages if in debug mode void debug(String str) { ! if ( debugflag ) System.out.println(str); } // ALWAYS print, whether debug or not void print(String str) { ! System.out.println(str); } ! static void errmsg(String str) { // IS there ever a reason why we dont want error messages? // if(params.getBoolean("errmsg")) { ! System.err.println(str); // } } ! public static void main(String args[]) { CFclient me = new CFclient(args); Index: Changelog =================================================================== RCS file: /cvsroot/jcrossclient/jcrossclient/Changelog,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** Changelog 1 Feb 2006 19:14:29 -0000 1.35 --- Changelog 12 Feb 2006 20:52:12 -0000 1.36 *************** *** 267,269 **** InvWin - tidy up item locking, and make it actually work. ! 01/02/2006 - everything - ran pmd on the code, fixed most of what it found, also some misc cleanups. \ No newline at end of file --- 267,274 ---- InvWin - tidy up item locking, and make it actually work. ! 01/02/2006 - everything - ran pmd on the code, fixed most of what it found, also some misc cleanups. ! ! 02/12/2006 - build.xml - told javac to warn about deprecations ! CFclient - added first stab at an actions menu ! TalkWin - added setAction public method, which is used by some actions menu entries ! \ No newline at end of file |