From 37e364b2c6cc7487a1c888d256a73e5337bb7189 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 14 Jun 2023 00:50:34 +0100 Subject: initial commit --- src/T2DLL/T2ToolDefList.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/T2DLL/T2ToolDefList.h (limited to 'src/T2DLL/T2ToolDefList.h') diff --git a/src/T2DLL/T2ToolDefList.h b/src/T2DLL/T2ToolDefList.h new file mode 100644 index 0000000..ab9d885 --- /dev/null +++ b/src/T2DLL/T2ToolDefList.h @@ -0,0 +1,35 @@ +#pragma once +#include "common.h" + +class T2ToolDefDB { +public: + T2ToolDefDB(const T2ToolDefDB&); + T2ToolDefDB& operator=(const T2ToolDefDB&); + T2ToolDefDB(); + virtual ~T2ToolDefDB(); + void AllClear(); + void Regist(T2ToolDef*); + void Add(T2ToolDefList*); + T2ToolDefList* GetToolDefList(int); + T2TenantDef* FindFloor(); +}; +class T2ToolDefList { +public: + int GetCategory(); + int GetCurrentItem(); + void SetCurrentItem(int); + int GetCurrentVariant(); + void SetCurrentVariant(int); + T2ToolDefList(const T2ToolDefList&); + T2ToolDefList& operator=(const T2ToolDefList&); + T2ToolDefList(int); + virtual ~T2ToolDefList(); + void AllClear(); + void Regist(T2ToolDef*); + void Add(T2ToolDef*); + unsigned int GetItemCount(); + T2ToolDef* GetItemAt(int); + T2TenantDef* FindFloor(); + T2TenantDef* FindTenantDef(int); + T2MoverDef* FindMoverDef(int); +}; -- cgit v1.2.3