Skip to content

Commit

Permalink
[saco] Rename CUnkClass7 to CHelpDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
dashr9230 committed Apr 21, 2024
1 parent 14f26cc commit 2ee12df
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 17 deletions.
7 changes: 7 additions & 0 deletions saco/helpdialog.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

#include "main.h"

CHelpDialog::CHelpDialog(IDirect3DDevice9 *pD3DDevice)
{
m_pD3DDevice = pD3DDevice;
}
4 changes: 2 additions & 2 deletions saco/unkclass7.h → saco/helpdialog.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

#pragma once

class CUnkClass7
class CHelpDialog
{
private:
IDirect3DDevice9* m_pD3DDevice;

public:
CUnkClass7(IDirect3DDevice9 *pD3DDevice);
CHelpDialog(IDirect3DDevice9 *pD3DDevice);

};
4 changes: 2 additions & 2 deletions saco/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ CUnkClass11 *pUnkClass11=NULL;
CUnkClass12 *pUnkClass12=NULL;
CNetStats *pNetStats=NULL;
CSvrNetStats *pSvrNetStats=NULL;
CUnkClass7 *pUnkClass7=NULL;
CHelpDialog *pHelpDialog=NULL;
CUnkClass8 *pUnkClass8=NULL;

bool bShowDebugLabels = false;
Expand Down Expand Up @@ -357,7 +357,7 @@ void DoInitStuff()
pUnkClass5 = new CUnkClass5(pD3DDevice);
pNetStats = new CNetStats(pD3DDevice);
pSvrNetStats = new CSvrNetStats(pD3DDevice);
pUnkClass7 = new CUnkClass7(pD3DDevice);
pHelpDialog = new CHelpDialog(pD3DDevice);
pUnkClass8 = new CUnkClass8();
}

Expand Down
1 change: 1 addition & 0 deletions saco/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ typedef struct _GAME_SETTINGS {
#include "label.h"
#include "netstats.h"
#include "svrnetstats.h"
#include "helpdialog.h"
#include "audiostream.h"
#include "archive/ArchiveFS.h"

Expand Down
12 changes: 6 additions & 6 deletions saco/saco.vcproj
Original file line number Diff line number Diff line change
Expand Up @@ -609,12 +609,6 @@
<File
RelativePath=".\unkclass5.h">
</File>
<File
RelativePath=".\unkclass7.cpp">
</File>
<File
RelativePath=".\unkclass7.h">
</File>
<File
RelativePath=".\unkclass8.cpp">
</File>
Expand Down Expand Up @@ -703,6 +697,12 @@
<File
RelativePath=".\fontrender.h">
</File>
<File
RelativePath=".\helpdialog.cpp">
</File>
<File
RelativePath=".\helpdialog.h">
</File>
<File
RelativePath=".\httpclient.cpp">
</File>
Expand Down
7 changes: 0 additions & 7 deletions saco/unkclass7.cpp

This file was deleted.

0 comments on commit 2ee12df

Please sign in to comment.