From: tomtt <to...@us...> - 2006-12-12 00:19:55
|
Update of /cvsroot/planeshift/planeshift/src/client/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21961 Modified Files: pawsinteractwindow.cpp Log Message: Added an lock interact case to go with unlock. Index: pawsinteractwindow.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/gui/pawsinteractwindow.cpp,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** pawsinteractwindow.cpp 9 Dec 2006 16:32:38 -0000 1.40 --- pawsinteractwindow.cpp 12 Dec 2006 00:19:50 -0000 1.41 *************** *** 75,78 **** --- 75,79 ---- #define INTERACT_PLAYGAME 2000 #define INTERACT_ENTER 2100 + #define INTERACT_LOCK 2200 ////////////////////////////////////////////////////////////////////// *************** *** 82,85 **** --- 83,87 ---- names.Push("ButtonExamine"); names.Push("ButtonUnlock"); + names.Push("ButtonLock"); names.Push("ButtonUse"); names.Push("ButtonPickup"); *************** *** 104,107 **** --- 106,110 ---- types.Push(psGUIInteractMessage::EXAMINE); types.Push(psGUIInteractMessage::UNLOCK); + types.Push(psGUIInteractMessage::LOCK); types.Push(psGUIInteractMessage::USE); types.Push(psGUIInteractMessage::PICKUP); *************** *** 284,287 **** --- 287,291 ---- } case INTERACT_UNLOCK: + case INTERACT_LOCK: { psengine->GetCmdHandler()->Execute("/picklock"); |