vars: pull CloseMsg

This is the last of the #define (apart from ATI3DCIF and movie player
routines). Closes #177.
This commit is contained in:
rr- 2021-11-04 00:16:29 +01:00 committed by Marcin Kurczewski
parent 85c20c8c95
commit 626d4a8bd1
2 changed files with 2 additions and 6 deletions

View file

@ -4,7 +4,6 @@
#include "dynarray.h"
#include "global/const.h"
#include "global/types.h"
#include "inject_util.h"
#include <stdbool.h>
#include <stddef.h>

View file

@ -3,6 +3,7 @@
#include "config.h"
#include "global/vars.h"
#include "global/vars_platform.h"
#include "inject_util.h"
#include "log.h"
#include "specific/ati.h"
#include "specific/clock.h"
@ -18,11 +19,7 @@
static const char *ClassName = "TRClass";
static const char *WindowName = "Tomb Raider";
// clang-format off
// TODO: decompile me!
#define CloseMsg VAR_U_(0x0045A940, UINT)
// clang-format on
static UINT CloseMsg;
static void WinGameFinish();
static LRESULT CALLBACK