From 12b5c7433d8addbca3a21d71eb44ba87680deafd Mon Sep 17 00:00:00 2001
From: RD42 <42702181+dashr9230@users.noreply.github.com>
Date: Tue, 2 Apr 2024 22:19:13 +0800
Subject: [PATCH] [saco] Implement CUnkClass11 constructor
---
saco/main.cpp | 2 ++
saco/main.h | 1 +
saco/saco.vcproj | 6 ++++++
saco/unkclass11.cpp | 8 ++++++++
saco/unkclass11.h | 13 +++++++++++++
5 files changed, 30 insertions(+)
create mode 100644 saco/unkclass11.cpp
create mode 100644 saco/unkclass11.h
diff --git a/saco/main.cpp b/saco/main.cpp
index 9a9b689..e42782d 100644
--- a/saco/main.cpp
+++ b/saco/main.cpp
@@ -39,6 +39,7 @@ CUnkClass4 *pUnkClass4=NULL;
CUnkClass5 *pUnkClass5=NULL;
CUnkClass9 *pUnkClass9=NULL;
CUnkClass10 *pUnkClass10=NULL;
+CUnkClass11 *pUnkClass11=NULL;
CUnkClass6 *pUnkClass6=NULL;
CSvrNetStats *pSvrNetStats=NULL;
CUnkClass7 *pUnkClass7=NULL;
@@ -360,6 +361,7 @@ void DoInitStuff()
pUnkClass9 = new CUnkClass9(pD3DDevice);
pUnkClass10 = new CUnkClass10(pD3DDevice);
+ pUnkClass11 = new CUnkClass11();
// TODO: DoInitStuff
diff --git a/saco/main.h b/saco/main.h
index 01c10d0..57aa1df 100644
--- a/saco/main.h
+++ b/saco/main.h
@@ -72,6 +72,7 @@ typedef struct _GAME_SETTINGS {
#include "unkclass8.h"
#include "unkclass9.h"
#include "unkclass10.h"
+#include "unkclass11.h"
void SetStringFromCommandLine(char *szCmdLine, char *szString);
void SetStringFromQuotedCommandLine(char *szCmdLine, char *szString);
diff --git a/saco/saco.vcproj b/saco/saco.vcproj
index d1e68e3..da87a04 100644
--- a/saco/saco.vcproj
+++ b/saco/saco.vcproj
@@ -561,6 +561,12 @@
+
+
+
+
diff --git a/saco/unkclass11.cpp b/saco/unkclass11.cpp
new file mode 100644
index 0000000..aeda035
--- /dev/null
+++ b/saco/unkclass11.cpp
@@ -0,0 +1,8 @@
+
+#include "main.h"
+
+CUnkClass11::CUnkClass11()
+{
+ field_0 = 0;
+ field_4 = -1;
+}
diff --git a/saco/unkclass11.h b/saco/unkclass11.h
new file mode 100644
index 0000000..4178d4b
--- /dev/null
+++ b/saco/unkclass11.h
@@ -0,0 +1,13 @@
+
+#pragma once
+
+class CUnkClass11
+{
+private:
+ int field_0;
+ short field_4;
+
+public:
+ CUnkClass11();
+
+};