Skip to content

Commit

Permalink
comment out obsolete type definitions (WPARAM/LPARAM/MSG)
Browse files Browse the repository at this point in the history
  • Loading branch information
pionere committed Sep 22, 2024
1 parent 693c7ad commit 2b6b2af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
12 changes: 6 additions & 6 deletions structs.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ typedef uint16_t WORD;

typedef unsigned int UINT;

typedef int32_t WPARAM;
typedef int32_t LPARAM;
// typedef int32_t WPARAM;
// typedef int32_t LPARAM;

//
// Handles
Expand All @@ -66,10 +66,10 @@ typedef HANDLE HMODULE, HDC, HINSTANCE;
typedef SDL_Event Dvl_Event;
typedef void (*WNDPROC)(const Dvl_Event*);

typedef struct tagMSG {
UINT message;
WPARAM wParam;
} MSG, *LPMSG;
// typedef struct tagMSG {
// UINT message;
// WPARAM wParam;
// } MSG, *LPMSG;

//////////////////////////////////////////////////
// control
Expand Down
1 change: 0 additions & 1 deletion tools/patcher/diablo.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ extern BYTE* pMicrosCel;
void diablo_quit(int exitStatus);
int DiabloMain(int argc, char** argv);
bool PressEscKey();
void DisableInputWndProc(UINT uMsg, WPARAM wParam);

#ifdef __cplusplus
}
Expand Down

0 comments on commit 2b6b2af

Please sign in to comment.