1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 18:59:09 +00:00

Convert custom HeadSpin integer types to standard types from stdint.h

This commit is contained in:
2012-01-19 21:19:26 -05:00
parent a0d54e2644
commit 5027b5a4ac
1301 changed files with 14497 additions and 14532 deletions

View File

@ -294,14 +294,14 @@ void pfGmHeek::OnOwnerChange (const Srv2Cli_Game_OwnerChange & msg) {
}
//============================================================================
void pfGmHeek::PlayGame (unsigned position, dword points, const wchar name[]) {
void pfGmHeek::PlayGame (unsigned position, uint32_t points, const wchar_t name[]) {
Cli2Srv_Heek_PlayGame msg;
msg.messageId = kCli2Srv_Heek_PlayGame;
msg.messageBytes = sizeof(msg);
msg.recvGameId = GetGameId(); // send to GameSrv on server
msg.transId = 0;
msg.position = (byte)position;
msg.position = (uint8_t)position;
msg.points = points;
StrCopy(msg.name, name, arrsize(msg.name));
@ -327,7 +327,7 @@ void pfGmHeek::Choose (EHeekChoice choice) {
msg.recvGameId = GetGameId(); // send to GameSrv on server
msg.transId = 0;
msg.choice = (byte)choice;
msg.choice = (uint8_t)choice;
GameMgrSend(&msg);
}
@ -340,7 +340,7 @@ void pfGmHeek::SequenceFinished (EHeekSeqFinished seq) {
msg.recvGameId = GetGameId(); // send to GameSrv on server
msg.transId = 0;
msg.seqFinished = (byte)seq;
msg.seqFinished = (uint8_t)seq;
GameMgrSend(&msg);
}

View File

@ -86,7 +86,7 @@ public:
//========================================================================
// Game methods
//-------------
void PlayGame (unsigned position, dword points, const wchar name[]);
void PlayGame (unsigned position, uint32_t points, const wchar_t name[]);
void LeaveGame ();
void Choose (EHeekChoice choice);
void SequenceFinished (EHeekSeqFinished seq);