From: Anders R. <ma...@us...> - 2003-10-18 21:32:01
|
Update of /cvsroot/planeshift/planeshift/src/common/net In directory sc8-pr-cvs1:/tmp/cvs-serv16966/src/common/net Modified Files: messages.cpp messages.h Log Message: - Added command /train to start training with a trainer. - Added trainer_skills table to DB. This is the skills a trainer will train in. - Added new psTrainerInfo to hold skills trained by trainer. Index: messages.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/net/messages.cpp,v retrieving revision 1.101 retrieving revision 1.102 diff -C2 -d -r1.101 -r1.102 *** messages.cpp 16 Oct 2003 20:20:43 -0000 1.101 --- messages.cpp 18 Oct 2003 21:25:38 -0000 1.102 *************** *** 563,566 **** --- 563,567 ---- command == "/spawn" || command == "/loot" || + command == "/train" || command == "/stopattack" || command == "/starttrading" || Index: messages.h =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/net/messages.h,v retrieving revision 1.101 retrieving revision 1.102 diff -C2 -d -r1.101 -r1.102 *** messages.h 17 Oct 2003 06:29:06 -0000 1.101 --- messages.h 18 Oct 2003 21:25:38 -0000 1.102 *************** *** 1105,1109 **** SKILL_LIST, SKILL_SELECTED, ! DESCRIPTION}; /** Constuct a new equipment message to go on the network. --- 1105,1110 ---- SKILL_LIST, SKILL_SELECTED, ! DESCRIPTION, ! QUIT}; /** Constuct a new equipment message to go on the network. *************** *** 1113,1117 **** * @param clientNum Client destination. * @param command One of REQUEST,BUY_SKILL, SKILL_LIST, ! * SKILL_SELECTED, DESCRIPTION * @param commandData XML string with command data * --- 1114,1118 ---- * @param clientNum Client destination. * @param command One of REQUEST,BUY_SKILL, SKILL_LIST, ! * SKILL_SELECTED, DESCRIPTION, QUIT * @param commandData XML string with command data * |