Reorganize includes

This commit is contained in:
Alexander Batalov 2022-05-28 21:46:58 +03:00
parent 220fb1a196
commit 5ce83bc29d
5 changed files with 4 additions and 3 deletions

View File

@ -8,6 +8,7 @@
#include "memory.h" #include "memory.h"
#include "mmx.h" #include "mmx.h"
#include "text_font.h" #include "text_font.h"
#include "win32.h"
#include "window_manager.h" #include "window_manager.h"
#include "window_manager_private.h" #include "window_manager_private.h"

View File

@ -465,7 +465,6 @@ extern InputEvent gInputEventQueue[40];
extern STRUCT_6ABF50 _GNW95_key_time_stamps[SDL_NUM_SCANCODES]; extern STRUCT_6ABF50 _GNW95_key_time_stamps[SDL_NUM_SCANCODES];
extern int _input_mx; extern int _input_mx;
extern int _input_my; extern int _input_my;
extern HHOOK _GNW95_keyboardHandle;
extern bool gPaused; extern bool gPaused;
extern int gScreenshotKeyCode; extern int gScreenshotKeyCode;
extern int _using_msec_timer; extern int _using_msec_timer;

View File

@ -1,8 +1,6 @@
#ifndef DINPUT_H #ifndef DINPUT_H
#define DINPUT_H #define DINPUT_H
#include "win32.h"
typedef struct MouseData { typedef struct MouseData {
int x; int x;
int y; int y;

View File

@ -10,6 +10,8 @@
#include "tile.h" #include "tile.h"
#include "word_wrap.h" #include "word_wrap.h"
#include <string.h>
// 0x51D944 // 0x51D944
int gTextObjectsCount = 0; int gTextObjectsCount = 0;

View File

@ -8,6 +8,7 @@
#include "memory.h" #include "memory.h"
#include "palette.h" #include "palette.h"
#include "text_font.h" #include "text_font.h"
#include "win32.h"
#include "window_manager_private.h" #include "window_manager_private.h"
#include <SDL.h> #include <SDL.h>