mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 18:59:09 +00:00
Add more temporary hack macros to help speed up conversion and testing
This commit is contained in:
@ -52,6 +52,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "pnInputCore/plKeyDef.h"
|
||||
#include "hsBitVector.h"
|
||||
#include "hsTemplates.h"
|
||||
#include "plString.h"
|
||||
class plMessage;
|
||||
struct plMouseInfo;
|
||||
class plPipeline;
|
||||
@ -189,6 +190,7 @@ public:
|
||||
static bool GetInverted() { return plMouseDevice::bInverted; }
|
||||
static void SetInverted(bool inverted) { plMouseDevice::bInverted = inverted; }
|
||||
static void AddNameToCursor(const char* name);
|
||||
static void AddNameToCursor(const plString& name) { AddNameToCursor(_TEMP_CONVERT_TO_CONST_CHAR(name)); }
|
||||
static void AddIDNumToCursor(UInt32 idNum);
|
||||
static void AddCCRToCursor();
|
||||
|
||||
|
@ -837,8 +837,8 @@ void plSceneInputInterface::ILinkOffereeToAge()
|
||||
std::string title;
|
||||
std::string desc;
|
||||
|
||||
unsigned nameLen = StrLen(plNetClientMgr::GetInstance()->GetPlayerName());
|
||||
if (plNetClientMgr::GetInstance()->GetPlayerName()[nameLen - 1] == 's' || plNetClientMgr::GetInstance()->GetPlayerName()[nameLen - 1] == 'S') {
|
||||
unsigned nameLen = plNetClientMgr::GetInstance()->GetPlayerName().GetSize();
|
||||
if (plNetClientMgr::GetInstance()->GetPlayerName().CharAt(nameLen - 1) == 's' || plNetClientMgr::GetInstance()->GetPlayerName().CharAt(nameLen - 1) == 'S') {
|
||||
xtl::format( title, "%s'", plNetClientMgr::GetInstance()->GetPlayerName() );
|
||||
xtl::format( desc, "%s' %s", plNetClientMgr::GetInstance()->GetPlayerName(), link.GetAgeInfo()->GetAgeInstanceName() );
|
||||
}
|
||||
|
Reference in New Issue
Block a user