[saco] Update DoProcessStuff()

* Add `CNetGame::Process()` stub
* Add `CNetGame::UpdateNetwork()` stub
* Implement `GetPacketID(...)`
* Implement `HasTimestamps()`
This commit is contained in:
RD42
2024-03-16 23:28:06 +08:00
parent 3687b95a9d
commit b6d8c9c215
3 changed files with 67 additions and 0 deletions

View File

@ -349,6 +349,18 @@ void DoInitStuff()
void DoProcessStuff()
{
DoInitStuff();
SetupD3DFog(TRUE);
// Process the netgame if it's active.
if(pNetGame) {
//Sleep(0); // This hands the context over to raknet
pNetGame->Process();
}
if(pAudioStream) {
pAudioStream->Process();
}
}
//----------------------------------------------------