mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-05-03 23:28:00 +03:00
specific: fix WndProc definition
This commit is contained in:
parent
981b91e81d
commit
65e336cdcf
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ static const char *WindowName = "Tomb Raider";
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
static void WinGameFinish();
|
static void WinGameFinish();
|
||||||
static LRESULT WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
||||||
static int InitDirectDraw();
|
static int InitDirectDraw();
|
||||||
|
|
||||||
void TerminateGame(int exit_code)
|
void TerminateGame(int exit_code)
|
||||||
|
@ -99,7 +99,7 @@ static int InitDirectDraw()
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static LRESULT WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
if (uMsg == CloseMsg) {
|
if (uMsg == CloseMsg) {
|
||||||
DestroyWindow(TombHWND);
|
DestroyWindow(TombHWND);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue