diff --git a/saco/main.h b/saco/main.h index 89c3f46..268195e 100644 --- a/saco/main.h +++ b/saco/main.h @@ -24,6 +24,7 @@ typedef struct _GAME_SETTINGS { #include "game/game.h" +#include "../raknet/NetworkTypes.h" #include "../raknet/GetTime.h" #include "net/netgame.h" diff --git a/saco/net/netgame.cpp b/saco/net/netgame.cpp index b226e5d..7a664b0 100644 --- a/saco/net/netgame.cpp +++ b/saco/net/netgame.cpp @@ -17,3 +17,8 @@ CNetGame::CNetGame(PCHAR szHostOrIp, int iPort, // TODO: CNetGame::CNetGame(...) .text:1000B930 } + +DWORD CNetGame::GetTime() +{ + return (DWORD)RakNet::GetTime(); +} diff --git a/saco/net/netgame.h b/saco/net/netgame.h index 6419a86..b1a7e99 100644 --- a/saco/net/netgame.h +++ b/saco/net/netgame.h @@ -47,4 +47,7 @@ private: public: CNetGame(char *a2, int a3, char *a4, char *a5); + + DWORD GetTime(); + }; diff --git a/saco/saco.vcproj b/saco/saco.vcproj index 2e7c128..4f5e26b 100644 --- a/saco/saco.vcproj +++ b/saco/saco.vcproj @@ -257,6 +257,16 @@ RelativePath="..\ttmath\ttmathuint_x86.h"> + + + + + +