From: Luca P. <lpa...@us...> - 2006-12-09 19:30:38
|
Update of /cvsroot/planeshift/planeshift/src/server/bulkobjects In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6095/bulkobjects Modified Files: psitemstats.cpp psitemstats.h Log Message: many fixes for case sensitive checks. most strings are now finally case insensitive. like: assign quest", "player gives", "give" and all item names ("steel falchion") Index: psitemstats.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/bulkobjects/psitemstats.cpp,v retrieving revision 1.97 retrieving revision 1.98 diff -C2 -d -r1.97 -r1.98 *** psitemstats.cpp 9 Dec 2006 16:35:33 -0000 1.97 --- psitemstats.cpp 9 Dec 2006 19:30:34 -0000 1.98 *************** *** 765,768 **** --- 765,774 ---- } + const char *psItemStats::GetDownCaseName() + { + csString downcaseName = name; + return downcaseName.Downcase(); + } + void psItemStats::SetName(const char *v) { Index: psitemstats.h =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/bulkobjects/psitemstats.h,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -d -r1.62 -r1.63 *** psitemstats.h 9 Dec 2006 16:36:11 -0000 1.62 --- psitemstats.h 9 Dec 2006 19:30:34 -0000 1.63 *************** *** 447,450 **** --- 447,451 ---- const char *GetName(); + const char *GetDownCaseName(); void SetName(const char *v); |