Got it to compile with these changes:
rdtsc.cpp:
//untested!
unsigned long high, low;
__asm {
rdtsc
mov high, edx
mov low, eax
}
res = ((sint64)high)<<32 | low;
TO
//untested!
unsigned long tshigh, tslow;
__asm {
rdtsc
mov tshigh, edx
mov tslow, eax
}
res = ((sint64)tshigh)<<32 | tslow;
AND
usleep(SLEEP_TIME * 1000); //ms * 1000
TO
Sleep(SLEEP_TIME * 1000); //ms * 1000 // Windows version of usleep()
Also need to add the following files to both World and Zone:
EQChatPacket.h
EQLoginPacket.h
EQMailPacket.h
EQWorldPacket.h
EQZonePacket.h
EQChatPacket.cpp
EQLoginPacket.cpp
EQMailPacket.cpp
EQWorldPacket.cpp
EQZonePacket.cpp
Hope this helps
|