comparison Mouse.h @ 1823:24b70fa98474

Merge
author Grumpy7
date Wed, 09 Oct 2013 08:09:48 +0200
parents 633f81bb3ae7
children 3f375342de12
comparison
equal deleted inserted replaced
1822:5f9eeb7bf8e6 1823:24b70fa98474
1 #pragma once 1 #pragma once
2 #include "OSAPI.h" 2 #include "OSWindow.h"
3 3
4 #include "VectorTypes.h" 4 #include "VectorTypes.h"
5 5
6 6
7 7
44 #pragma pack(push, 1) 44 #pragma pack(push, 1)
45 class Mouse 45 class Mouse
46 { 46 {
47 public: 47 public:
48 //----- (00467E4E) -------------------------------------------------------- 48 //----- (00467E4E) --------------------------------------------------------
49 inline Mouse(void/*ThreadWard*/ *pWard) 49 inline Mouse():
50 window(nullptr)
50 { 51 {
51 uCursorTextureID = 0; 52 uCursorTextureID = 0;
52 uCursorTextureID_2 = 0; 53 uCursorTextureID_2 = 0;
53 hWnd = 0;
54 pCursorBitmap_sysmem = 0; 54 pCursorBitmap_sysmem = 0;
55 field_34 = 0; 55 field_34 = 0;
56 pCursorBitmap2_sysmem = 0; 56 pCursorBitmap2_sysmem = 0;
57 pCursorBitmap3_sysmembits_16bit = 0; 57 pCursorBitmap3_sysmembits_16bit = 0;
58 ptr_90 = 0; 58 ptr_90 = 0;
67 LONG _469AE4(); 67 LONG _469AE4();
68 void ClearCursor(); 68 void ClearCursor();
69 void AllocCursorSystemMem(); 69 void AllocCursorSystemMem();
70 void *DoAllocCursorMem(); 70 void *DoAllocCursorMem();
71 POINT *GetCursorPos(POINT *p); 71 POINT *GetCursorPos(POINT *p);
72 void Initialize(HWND hWnd); 72 void Initialize(OSWindow *window);
73 void SetActive(bool active); 73 void SetActive(bool active);
74 void Deactivate(); 74 void Deactivate();
75 void DrawCursor(); 75 void DrawCursor();
76 void _469E1C(); 76 void _469E1C();
77 void _469E24(); 77 void _469E24();
90 int field_18; 90 int field_18;
91 int field_1C; 91 int field_1C;
92 int field_20; 92 int field_20;
93 unsigned int uCursorTextureID; 93 unsigned int uCursorTextureID;
94 unsigned int uCursorTextureID_2; 94 unsigned int uCursorTextureID_2;
95 HWND hWnd; 95 //HWND hWnd;
96 OSWindow *window;
96 unsigned __int16 *pCursorBitmap_sysmem; 97 unsigned __int16 *pCursorBitmap_sysmem;
97 int field_34; 98 int field_34;
98 unsigned __int8 *pCursorBitmap2_sysmem; 99 unsigned __int8 *pCursorBitmap2_sysmem;
99 unsigned __int16 *pCursorBitmap3_sysmembits_16bit; 100 unsigned __int16 *pCursorBitmap3_sysmembits_16bit;
100 int field_40; 101 int field_40;