Fix building errors

This commit is contained in:
RD42 2024-02-14 22:51:29 +08:00
parent 2e7a8b8bda
commit 03cc592835
12 changed files with 62 additions and 0 deletions

View File

@ -159,6 +159,12 @@
<File <File
RelativePath="..\raknet\DataBlockEncryptor.h"> RelativePath="..\raknet\DataBlockEncryptor.h">
</File> </File>
<File
RelativePath="..\raknet\EmailSender.cpp">
</File>
<File
RelativePath="..\raknet\EmailSender.h">
</File>
<File <File
RelativePath="..\raknet\Export.h"> RelativePath="..\raknet\Export.h">
</File> </File>
@ -231,6 +237,12 @@
<File <File
RelativePath="..\raknet\Rand.h"> RelativePath="..\raknet\Rand.h">
</File> </File>
<File
RelativePath="..\raknet\ReliabilityLayer.cpp">
</File>
<File
RelativePath="..\raknet\ReliabilityLayer.h">
</File>
<File <File
RelativePath="..\raknet\RPCMap.cpp"> RelativePath="..\raknet\RPCMap.cpp">
</File> </File>
@ -255,6 +267,9 @@
<File <File
RelativePath="..\raknet\SimpleMutex.h"> RelativePath="..\raknet\SimpleMutex.h">
</File> </File>
<File
RelativePath="..\raknet\SingleProducerConsumer.h">
</File>
<File <File
RelativePath="..\raknet\TEABlockEncryptor.cpp"> RelativePath="..\raknet\TEABlockEncryptor.cpp">
</File> </File>

View File

@ -1,5 +1,7 @@
// TODO: Implement RPCMap.cpp // TODO: Implement RPCMap.cpp
#include "RPCMap.h"
// Called from the user thread for the local system // Called from the user thread for the local system
void RPCMap::AddIdentifierWithFunction(unsigned char uniqueIdentifier, void *functionPointer, bool isPointerToMember) void RPCMap::AddIdentifierWithFunction(unsigned char uniqueIdentifier, void *functionPointer, bool isPointerToMember)
{ {

View File

@ -3,6 +3,8 @@
#ifndef __RAK_CLIENT_INTERFACE_H #ifndef __RAK_CLIENT_INTERFACE_H
#define __RAK_CLIENT_INTERFACE_H #define __RAK_CLIENT_INTERFACE_H
#include "NetworkTypes.h"
class RakClientInterface class RakClientInterface
{ {

View File

@ -2,6 +2,8 @@
#include "RakPeer.h" #include "RakPeer.h"
#include <string.h>
void RakPeer::vftable_0() void RakPeer::vftable_0()
{ {
// TODO: RakPeer::vftable_0() (saco W: 10042780) (server W: 459CC0 L: 8072430) (bot W: 40D490 L: 807229E) // TODO: RakPeer::vftable_0() (saco W: 10042780) (server W: 459CC0 L: 8072430) (bot W: 40D490 L: 807229E)

View File

@ -3,6 +3,7 @@
#ifndef __RAK_PEER_INTERFACE_H #ifndef __RAK_PEER_INTERFACE_H
#define __RAK_PEER_INTERFACE_H #define __RAK_PEER_INTERFACE_H
#include "NetworkTypes.h"
#include "Export.h" #include "Export.h"
class RAK_DLL_EXPORT RakPeerInterface class RAK_DLL_EXPORT RakPeerInterface

View File

@ -3,6 +3,7 @@
#ifndef __RAK_SERVER_INTERFACE_H #ifndef __RAK_SERVER_INTERFACE_H
#define __RAK_SERVER_INTERFACE_H #define __RAK_SERVER_INTERFACE_H
#include "NetworkTypes.h"
#include "Export.h" #include "Export.h"
/// This is a user-interface class to act as a game server. All it does is implement some functionality on top of RakPeer. /// This is a user-interface class to act as a game server. All it does is implement some functionality on top of RakPeer.

View File

@ -4,6 +4,8 @@
extern CChatWindow *pChatWindow; extern CChatWindow *pChatWindow;
extern CCmdWindow *pCmdWindow; extern CCmdWindow *pCmdWindow;
extern CDeathWindow *pDeathWindow; extern CDeathWindow *pDeathWindow;
extern GAME_SETTINGS tSettings;
void cmdDefaultCmdProc(PCHAR szCmd) void cmdDefaultCmdProc(PCHAR szCmd)
{ {

View File

@ -4,6 +4,8 @@
#include "keystuff.h" #include "keystuff.h"
#include "aimstuff.h" #include "aimstuff.h"
extern int iGtaVersion;
char *szGameTextMessage; char *szGameTextMessage;
int unnamed_10150340[210]; int unnamed_10150340[210];

View File

@ -31,6 +31,7 @@ typedef struct _GAME_SETTINGS {
#include "net/netrpc.h" #include "net/netrpc.h"
#include "net/actorpool.h" #include "net/actorpool.h"
#include "net/playerpool.h"
#include "net/vehiclepool.h" #include "net/vehiclepool.h"
#include "net/pickuppool.h" #include "net/pickuppool.h"
#include "net/objectpool.h" #include "net/objectpool.h"

View File

@ -181,6 +181,9 @@
<File <File
RelativePath=".\game\scripting.h"> RelativePath=".\game\scripting.h">
</File> </File>
<File
RelativePath=".\game\unnamed_1.cpp">
</File>
<File <File
RelativePath=".\game\util.cpp"> RelativePath=".\game\util.cpp">
</File> </File>
@ -332,6 +335,12 @@
<File <File
RelativePath="..\raknet\DataBlockEncryptor.h"> RelativePath="..\raknet\DataBlockEncryptor.h">
</File> </File>
<File
RelativePath="..\raknet\EmailSender.cpp">
</File>
<File
RelativePath="..\raknet\EmailSender.h">
</File>
<File <File
RelativePath="..\raknet\Export.h"> RelativePath="..\raknet\Export.h">
</File> </File>
@ -404,6 +413,12 @@
<File <File
RelativePath="..\raknet\Rand.h"> RelativePath="..\raknet\Rand.h">
</File> </File>
<File
RelativePath="..\raknet\ReliabilityLayer.cpp">
</File>
<File
RelativePath="..\raknet\ReliabilityLayer.h">
</File>
<File <File
RelativePath="..\raknet\RPCMap.cpp"> RelativePath="..\raknet\RPCMap.cpp">
</File> </File>
@ -428,6 +443,9 @@
<File <File
RelativePath="..\raknet\SimpleMutex.h"> RelativePath="..\raknet\SimpleMutex.h">
</File> </File>
<File
RelativePath="..\raknet\SingleProducerConsumer.h">
</File>
<File <File
RelativePath="..\raknet\TEABlockEncryptor.cpp"> RelativePath="..\raknet\TEABlockEncryptor.cpp">
</File> </File>

View File

@ -62,6 +62,7 @@
// Raknet // Raknet
#include "../raknet/RakServer.h" #include "../raknet/RakServer.h"
#include "../raknet/RakNetworkFactory.h" #include "../raknet/RakNetworkFactory.h"
#include "../raknet/PacketEnumerations.h"
#include "../raknet/SAMPRPC.h" #include "../raknet/SAMPRPC.h"
#include "../raknet/GetTime.h" #include "../raknet/GetTime.h"

View File

@ -136,6 +136,12 @@
<File <File
RelativePath="..\raknet\DataBlockEncryptor.h"> RelativePath="..\raknet\DataBlockEncryptor.h">
</File> </File>
<File
RelativePath="..\raknet\EmailSender.cpp">
</File>
<File
RelativePath="..\raknet\EmailSender.h">
</File>
<File <File
RelativePath="..\raknet\Export.h"> RelativePath="..\raknet\Export.h">
</File> </File>
@ -208,6 +214,12 @@
<File <File
RelativePath="..\raknet\Rand.h"> RelativePath="..\raknet\Rand.h">
</File> </File>
<File
RelativePath="..\raknet\ReliabilityLayer.cpp">
</File>
<File
RelativePath="..\raknet\ReliabilityLayer.h">
</File>
<File <File
RelativePath="..\raknet\RPCMap.cpp"> RelativePath="..\raknet\RPCMap.cpp">
</File> </File>
@ -232,6 +244,9 @@
<File <File
RelativePath="..\raknet\SimpleMutex.h"> RelativePath="..\raknet\SimpleMutex.h">
</File> </File>
<File
RelativePath="..\raknet\SingleProducerConsumer.h">
</File>
<File <File
RelativePath="..\raknet\TEABlockEncryptor.cpp"> RelativePath="..\raknet\TEABlockEncryptor.cpp">
</File> </File>