mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 04:09:16 +00:00
Update1 for MSVC10
Capitalize the ref macro in hsTypes.h due to a name collision.
This commit is contained in:
@ -386,9 +386,9 @@ static void DownloadCallback (
|
||||
) {
|
||||
s_numConnectFailures = 0;
|
||||
|
||||
ref(result);
|
||||
ref(param);
|
||||
ref(filename);
|
||||
REF(result);
|
||||
REF(param);
|
||||
REF(filename);
|
||||
|
||||
ManifestFile *mf = (ManifestFile *)param;
|
||||
if (IS_NET_ERROR(result) && s_running && !s_patchError) {
|
||||
@ -732,7 +732,7 @@ static void ThinManifestCallback (
|
||||
){
|
||||
s_numConnectFailures = 0;
|
||||
|
||||
ref(group);
|
||||
REF(group);
|
||||
|
||||
plLauncherInfo * info = (plLauncherInfo *) param;
|
||||
char text[256];
|
||||
@ -831,7 +831,7 @@ static void FileSrvIpAddressCallback (
|
||||
void * param,
|
||||
const wchar addr[]
|
||||
) {
|
||||
ref(param);
|
||||
REF(param);
|
||||
|
||||
NetCliGateKeeperDisconnect();
|
||||
|
||||
@ -960,7 +960,7 @@ void UruPrepProc (void * param) {
|
||||
void PlayerStopProc (void * param) {
|
||||
s_running = false;
|
||||
plLauncherInfo *info = (plLauncherInfo *) param;
|
||||
ref(param);
|
||||
|
||||
//TerminateProcess(s_pi.hProcess, kExitCodeTerminated);
|
||||
info->stopCallback(kStatusOk, nil);
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ static wchar s_newPatcherFile[MAX_PATH];
|
||||
|
||||
//============================================================================
|
||||
static void NetErrorHandler (ENetProtocol protocol, ENetError error) {
|
||||
ref(protocol);
|
||||
REF(protocol);
|
||||
LogMsg(kLogError, L"NetErr: %s", NetErrorToString(error));
|
||||
if (IS_NET_SUCCESS(s_patchResult))
|
||||
s_patchResult = error;
|
||||
@ -109,8 +109,8 @@ static void DownloadCallback (
|
||||
const wchar filename[],
|
||||
hsStream * writer
|
||||
) {
|
||||
ref(param);
|
||||
ref(filename);
|
||||
REF(param);
|
||||
REF(filename);
|
||||
|
||||
if(IS_NET_ERROR(result)) {
|
||||
switch (result) {
|
||||
@ -158,8 +158,8 @@ static void ManifestCallback (
|
||||
const NetCliFileManifestEntry manifest[],
|
||||
unsigned entryCount
|
||||
) {
|
||||
ref(param);
|
||||
ref(group);
|
||||
REF(param);
|
||||
REF(group);
|
||||
|
||||
if(IS_NET_ERROR(result)) {
|
||||
switch (result) {
|
||||
@ -208,7 +208,7 @@ static void FileSrvIpAddressCallback (
|
||||
void * param,
|
||||
const wchar addr[]
|
||||
) {
|
||||
ref(param);
|
||||
REF(param);
|
||||
|
||||
NetCliGateKeeperDisconnect();
|
||||
|
||||
|
Reference in New Issue
Block a user