mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 03:09:13 +00:00
Convert custom HeadSpin integer types to standard types from stdint.h
This commit is contained in:
@ -93,7 +93,7 @@ void plNetClientRecorder::IMakeFilename(const char* recName, char* path)
|
||||
|
||||
bool plNetClientRecorder::IsRecordableMsg(plNetMessage* msg) const
|
||||
{
|
||||
UInt16 idx = msg->ClassIndex();
|
||||
uint16_t idx = msg->ClassIndex();
|
||||
|
||||
return (
|
||||
idx == CLASS_INDEX_SCOPED(plNetMsgLoadClone) ||
|
||||
@ -123,7 +123,7 @@ bool plNetClientLoggingRecorder::IProcessRecordMsg(plNetMessage* msg, double sec
|
||||
if (msg->ClassIndex() == CLASS_INDEX_SCOPED(plNetMsgGameMessage))
|
||||
{
|
||||
plNetMsgGameMessage* gameMsg = plNetMsgGameMessage::ConvertNoRef(msg);
|
||||
UInt16 gameMsgIdx = gameMsg->StreamInfo()->GetStreamType();
|
||||
uint16_t gameMsgIdx = gameMsg->StreamInfo()->GetStreamType();
|
||||
|
||||
if (gameMsgIdx == CLASS_INDEX_SCOPED(plServerReplyMsg))
|
||||
return false;
|
||||
|
@ -250,7 +250,7 @@ bool plNetClientStreamRecorder::IIsValidMsg(plNetMessage* msg)
|
||||
{
|
||||
if (plNetMsgGameMessage* gameMsg = plNetMsgGameMessage::ConvertNoRef(msg))
|
||||
{
|
||||
Int16 type = gameMsg->StreamInfo()->GetStreamType();
|
||||
int16_t type = gameMsg->StreamInfo()->GetStreamType();
|
||||
|
||||
//
|
||||
// These messages will be regenerated if they are for the local avatar,
|
||||
@ -367,7 +367,7 @@ void plNetClientStreamRecorder::ILogMsg(plNetMessage* msg, const char* preText)
|
||||
|
||||
bool plNetClientStressStreamRecorder::IsRecordableMsg(plNetMessage* msg) const
|
||||
{
|
||||
UInt16 idx = msg->ClassIndex();
|
||||
uint16_t idx = msg->ClassIndex();
|
||||
|
||||
return (
|
||||
plNetClientStreamRecorder::IsRecordableMsg(msg)
|
||||
|
Reference in New Issue
Block a user