mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-19 20:26:14 +08:00
[saco] Add few class stub
+ CChatWindow + CCmdWindow + CNetGame + CFontRender
This commit is contained in:
7
saco/chatwindow.cpp
Normal file
7
saco/chatwindow.cpp
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
#include "chatwindow.h"
|
||||||
|
|
||||||
|
CChatWindow::CChatWindow()
|
||||||
|
{
|
||||||
|
// TODO: CChatWindow::CChatWindow() .text:100680F0
|
||||||
|
}
|
11
saco/chatwindow.h
Normal file
11
saco/chatwindow.h
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
class CChatWindow // size: 25578
|
||||||
|
{
|
||||||
|
private:
|
||||||
|
char _gap0[25578];
|
||||||
|
|
||||||
|
public:
|
||||||
|
CChatWindow();
|
||||||
|
};
|
7
saco/cmdwindow.cpp
Normal file
7
saco/cmdwindow.cpp
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
#include "cmdwindow.h"
|
||||||
|
|
||||||
|
CCmdWindow::CCmdWindow()
|
||||||
|
{
|
||||||
|
// TODO: CCmdWindow::CCmdWindow() .text:100693D0
|
||||||
|
}
|
11
saco/cmdwindow.h
Normal file
11
saco/cmdwindow.h
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
class CCmdWindow // size: 6908
|
||||||
|
{
|
||||||
|
private:
|
||||||
|
char _gap0[6908];
|
||||||
|
|
||||||
|
public:
|
||||||
|
CCmdWindow();
|
||||||
|
};
|
7
saco/fontrender.cpp
Normal file
7
saco/fontrender.cpp
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
#include "fontrender.h"
|
||||||
|
|
||||||
|
CFontRender::CFontRender()
|
||||||
|
{
|
||||||
|
// TODO: CFontRender::CFontRender() .text:1006BAF0
|
||||||
|
}
|
11
saco/fontrender.h
Normal file
11
saco/fontrender.h
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
class CFontRender // size: 40
|
||||||
|
{
|
||||||
|
private:
|
||||||
|
char _gap0[40];
|
||||||
|
|
||||||
|
public:
|
||||||
|
CFontRender();
|
||||||
|
};
|
@ -1,7 +1,20 @@
|
|||||||
|
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
|
|
||||||
GAME_SETTINGS tSettings;
|
GAME_SETTINGS tSettings;
|
||||||
|
CConfig *pConfig=0;
|
||||||
|
CChatWindow *pChatWindow=0;
|
||||||
|
CCmdWindow *pCmdWindow=0;
|
||||||
|
//DWORD dword_1026EB88=0;
|
||||||
|
CAudioStream *pAudioStream=0;
|
||||||
|
//DWORD dword_1026EB90=0;
|
||||||
|
CNetGame *pNetGame=0;
|
||||||
|
//DWORD dword_1026EB98=0;
|
||||||
|
CFontRender *pDefaultFont=0;
|
||||||
|
//DWORD dword_1026EBA0=0;
|
||||||
|
//DWORD dword_1026EBA4=0;
|
||||||
|
//DWORD dword_1026EBA8=0;
|
||||||
|
|
||||||
HANDLE hInstance=0;
|
HANDLE hInstance=0;
|
||||||
|
|
||||||
CGame *pGame=0;
|
CGame *pGame=0;
|
||||||
|
@ -20,6 +20,13 @@ typedef struct _GAME_SETTINGS {
|
|||||||
|
|
||||||
#include "game/game.h"
|
#include "game/game.h"
|
||||||
|
|
||||||
|
#include "net/netgame.h"
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
#include "fontrender.h"
|
||||||
|
#include "chatwindow.h"
|
||||||
|
#include "cmdwindow.h"
|
||||||
|
#include "audiostream.h"
|
||||||
#include "archive/ArchiveFS.h"
|
#include "archive/ArchiveFS.h"
|
||||||
|
|
||||||
void SetStringFromCommandLine(char *szCmdLine, char *szString);
|
void SetStringFromCommandLine(char *szCmdLine, char *szString);
|
||||||
|
7
saco/net/netgame.cpp
Normal file
7
saco/net/netgame.cpp
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
#include "netgame.h"
|
||||||
|
|
||||||
|
CNetGame::CNetGame(char *a2, int a3, char *a4, char *a5)
|
||||||
|
{
|
||||||
|
// TODO: CNetGame::CNetGame(...) .text:1000B930
|
||||||
|
}
|
46
saco/net/netgame.h
Normal file
46
saco/net/netgame.h
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
|
||||||
|
struct struc_41
|
||||||
|
{
|
||||||
|
char field_0;
|
||||||
|
int field_1;
|
||||||
|
char _gap5[17];
|
||||||
|
float field_16;
|
||||||
|
char field_1A;
|
||||||
|
char _gap1B[4];
|
||||||
|
char field_1F;
|
||||||
|
char field_20;
|
||||||
|
char field_21;
|
||||||
|
char field_22;
|
||||||
|
int field_23;
|
||||||
|
float field_27;
|
||||||
|
char _gap2B;
|
||||||
|
char field_2C;
|
||||||
|
char field_2D;
|
||||||
|
char field_2E;
|
||||||
|
char field_2F;
|
||||||
|
char _gap30[10];
|
||||||
|
};
|
||||||
|
|
||||||
|
class CNetGame // size: 994
|
||||||
|
{
|
||||||
|
private:
|
||||||
|
int field_0;
|
||||||
|
char _gap4[44];
|
||||||
|
char field_30[257];
|
||||||
|
char field_131[257];
|
||||||
|
char field_232;
|
||||||
|
char field_233;
|
||||||
|
char field_234;
|
||||||
|
int field_235;
|
||||||
|
int field_239;
|
||||||
|
char field_23D[400];
|
||||||
|
int field_3CD;
|
||||||
|
int field_3D1;
|
||||||
|
struc_41 *field_3D5;
|
||||||
|
char field_3D9;
|
||||||
|
char _gap3DA[8];
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
CNetGame(char *a2, int a3, char *a4, char *a5);
|
||||||
|
};
|
@ -233,6 +233,16 @@
|
|||||||
RelativePath=".\archive\TinyEncrypt.h">
|
RelativePath=".\archive\TinyEncrypt.h">
|
||||||
</File>
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
<Filter
|
||||||
|
Name="net"
|
||||||
|
Filter="">
|
||||||
|
<File
|
||||||
|
RelativePath=".\net\netgame.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\net\netgame.h">
|
||||||
|
</File>
|
||||||
|
</Filter>
|
||||||
<Filter
|
<Filter
|
||||||
Name="ttmath"
|
Name="ttmath"
|
||||||
Filter="">
|
Filter="">
|
||||||
@ -252,6 +262,18 @@
|
|||||||
<File
|
<File
|
||||||
RelativePath=".\buildinfo.h">
|
RelativePath=".\buildinfo.h">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\chatwindow.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\chatwindow.h">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\cmdwindow.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\cmdwindow.h">
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\config.cpp">
|
RelativePath=".\config.cpp">
|
||||||
</File>
|
</File>
|
||||||
@ -270,6 +292,12 @@
|
|||||||
<File
|
<File
|
||||||
RelativePath=".\filesystem.h">
|
RelativePath=".\filesystem.h">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\fontrender.cpp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\fontrender.h">
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\httpclient.cpp">
|
RelativePath=".\httpclient.cpp">
|
||||||
</File>
|
</File>
|
||||||
|
Reference in New Issue
Block a user