[saco] Rename CUnkClass2 to CScoreBoard

This commit is contained in:
RD42 2024-04-21 21:51:23 +08:00
parent f2999a96b1
commit 14f26cc6f7
5 changed files with 13 additions and 13 deletions

View File

@ -33,7 +33,7 @@ IDirect3DDevice9 *pD3DDevice = NULL;
HANDLE hInstance=0; HANDLE hInstance=0;
CNewPlayerTags *pNewPlayerTags=NULL; CNewPlayerTags *pNewPlayerTags=NULL;
CUnkClass2 *pUnkClass2=NULL; CScoreBoard *pScoreBoard=NULL;
CUnkClass3 *pUnkClass3=NULL; CUnkClass3 *pUnkClass3=NULL;
CUnkClass4 *pUnkClass4=NULL; CUnkClass4 *pUnkClass4=NULL;
CUnkClass5 *pUnkClass5=NULL; CUnkClass5 *pUnkClass5=NULL;
@ -351,7 +351,7 @@ void DoInitStuff()
pDeathWindow = new CDeathWindow(pD3DDevice); pDeathWindow = new CDeathWindow(pD3DDevice);
pSpawnScreen = new CSpawnScreen(pD3DDevice); pSpawnScreen = new CSpawnScreen(pD3DDevice);
pNewPlayerTags = new CNewPlayerTags(pD3DDevice); pNewPlayerTags = new CNewPlayerTags(pD3DDevice);
pUnkClass2 = new CUnkClass2(pD3DDevice); pScoreBoard = new CScoreBoard(pD3DDevice);
pUnkClass3 = new CUnkClass3(pD3DDevice); pUnkClass3 = new CUnkClass3(pD3DDevice);
pUnkClass4 = new CUnkClass4(pD3DDevice); pUnkClass4 = new CUnkClass4(pD3DDevice);
pUnkClass5 = new CUnkClass5(pD3DDevice); pUnkClass5 = new CUnkClass5(pD3DDevice);

View File

@ -60,13 +60,13 @@ typedef struct _GAME_SETTINGS {
#include "spawnscreen.h" #include "spawnscreen.h"
#include "playertags.h" #include "playertags.h"
#include "newplayertags.h" #include "newplayertags.h"
#include "scoreboard.h"
#include "label.h" #include "label.h"
#include "netstats.h" #include "netstats.h"
#include "svrnetstats.h" #include "svrnetstats.h"
#include "audiostream.h" #include "audiostream.h"
#include "archive/ArchiveFS.h" #include "archive/ArchiveFS.h"
#include "unkclass2.h"
#include "unkclass3.h" #include "unkclass3.h"
#include "unkclass4.h" #include "unkclass4.h"
#include "unkclass5.h" #include "unkclass5.h"

View File

@ -591,12 +591,6 @@
<File <File
RelativePath=".\unkclass15.h"> RelativePath=".\unkclass15.h">
</File> </File>
<File
RelativePath=".\unkclass2.cpp">
</File>
<File
RelativePath=".\unkclass2.h">
</File>
<File <File
RelativePath=".\unkclass3.cpp"> RelativePath=".\unkclass3.cpp">
</File> </File>
@ -769,6 +763,12 @@
<File <File
RelativePath=".\saco.rc"> RelativePath=".\saco.rc">
</File> </File>
<File
RelativePath=".\scoreboard.cpp">
</File>
<File
RelativePath=".\scoreboard.h">
</File>
<File <File
RelativePath=".\spawnscreen.cpp"> RelativePath=".\spawnscreen.cpp">
</File> </File>

View File

@ -3,7 +3,7 @@
extern CGame* pGame; extern CGame* pGame;
CUnkClass2::CUnkClass2(IDirect3DDevice9 *pD3DDevice) CScoreBoard::CScoreBoard(IDirect3DDevice9 *pD3DDevice)
{ {
m_pD3DDevice = pD3DDevice; m_pD3DDevice = pD3DDevice;
field_34 = 0; field_34 = 0;
@ -33,7 +33,7 @@ CUnkClass2::CUnkClass2(IDirect3DDevice9 *pD3DDevice)
field_0 = 0; field_0 = 0;
} }
void CUnkClass2::sub_1006E930() void CScoreBoard::sub_1006E930()
{ {
RECT rect; RECT rect;

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
class CUnkClass2 class CScoreBoard
{ {
private: private:
int field_0; int field_0;
@ -23,7 +23,7 @@ private:
int field_40; int field_40;
public: public:
CUnkClass2(IDirect3DDevice9 *pD3DDevice); CScoreBoard(IDirect3DDevice9 *pD3DDevice);
void sub_1006E930(); void sub_1006E930();
}; };