[saco] Rename CUnkClass9 to CLabel

This commit is contained in:
RD42 2024-04-21 20:49:59 +08:00
parent e55ff78e60
commit 49a8482549
5 changed files with 12 additions and 12 deletions

View File

@ -1,7 +1,7 @@
#include "main.h"
CUnkClass9::CUnkClass9(IDirect3DDevice9 *pD3DDevice)
CLabel::CLabel(IDirect3DDevice9 *pD3DDevice)
{
m_pD3DDevice = pD3DDevice;
D3DXCreateSprite(pD3DDevice, &m_pD3DSprite);

View File

@ -1,13 +1,13 @@
#pragma once
class CUnkClass9
class CLabel
{
private:
IDirect3DDevice9 *m_pD3DDevice;
ID3DXSprite *m_pD3DSprite;
public:
CUnkClass9(IDirect3DDevice9 *pD3DDevice);
CLabel(IDirect3DDevice9 *pD3DDevice);
};

View File

@ -37,7 +37,7 @@ CUnkClass2 *pUnkClass2=NULL;
CUnkClass3 *pUnkClass3=NULL;
CUnkClass4 *pUnkClass4=NULL;
CUnkClass5 *pUnkClass5=NULL;
CUnkClass9 *pUnkClass9=NULL;
CLabel *pLabel=NULL;
CUnkClass10 *pUnkClass10=NULL;
CUnkClass11 *pUnkClass11=NULL;
CUnkClass12 *pUnkClass12=NULL;
@ -361,7 +361,7 @@ void DoInitStuff()
pUnkClass8 = new CUnkClass8();
}
pUnkClass9 = new CUnkClass9(pD3DDevice);
pLabel = new CLabel(pD3DDevice);
pUnkClass10 = new CUnkClass10(pD3DDevice);
pUnkClass11 = new CUnkClass11();
pUnkClass12 = new CUnkClass12();

View File

@ -59,6 +59,7 @@ typedef struct _GAME_SETTINGS {
#include "deathwindow.h"
#include "spawnscreen.h"
#include "playertags.h"
#include "label.h"
#include "svrnetstats.h"
#include "audiostream.h"
#include "archive/ArchiveFS.h"
@ -71,7 +72,6 @@ typedef struct _GAME_SETTINGS {
#include "unkclass6.h"
#include "unkclass7.h"
#include "unkclass8.h"
#include "unkclass9.h"
#include "unkclass10.h"
#include "unkclass11.h"
#include "unkclass12.h"

View File

@ -639,12 +639,6 @@
<File
RelativePath=".\unkclass8.h">
</File>
<File
RelativePath=".\unkclass9.cpp">
</File>
<File
RelativePath=".\unkclass9.h">
</File>
</Filter>
<File
RelativePath=".\audiostream.cpp">
@ -733,6 +727,12 @@
<File
RelativePath=".\httpclient.h">
</File>
<File
RelativePath=".\label.cpp">
</File>
<File
RelativePath=".\label.h">
</File>
<File
RelativePath=".\main.cpp">
</File>