Empty Tags.h

There's no evidence Tags.h contained these variables (if anything, it
appears that Pixel manually declared them in every file that used
them).

gg Pixel
This commit is contained in:
Clownacy 2020-01-06 21:20:17 +00:00
parent 9498fe13be
commit 58d7a45392
15 changed files with 13 additions and 25 deletions

View file

@ -9,9 +9,9 @@
#include "Draw.h" #include "Draw.h"
#include "Frame.h" #include "Frame.h"
#include "Game.h" #include "Game.h"
#include "Main.h"
#include "Map.h" #include "Map.h"
#include "Stage.h" #include "Stage.h"
#include "Tags.h"
BACK gBack; BACK gBack;
int gWaterY; int gWaterY;

View file

@ -5,7 +5,7 @@
#include "WindowsWrapper.h" #include "WindowsWrapper.h"
#include "Config.h" #include "Config.h"
#include "Tags.h" #include "Main.h"
static const char* const config_filename = "Config.dat"; // Not the original name static const char* const config_filename = "Config.dat"; // Not the original name
static const char* const config_magic = "DOUKUTSU20041206"; // Not the original name static const char* const config_magic = "DOUKUTSU20041206"; // Not the original name

View file

@ -14,7 +14,6 @@
#include "Generic.h" #include "Generic.h"
#include "Main.h" #include "Main.h"
#include "MapName.h" #include "MapName.h"
#include "Tags.h"
#include "TextScr.h" #include "TextScr.h"
typedef enum SurfaceType typedef enum SurfaceType

View file

@ -16,7 +16,6 @@
#include "Organya.h" #include "Organya.h"
#include "Stage.h" #include "Stage.h"
#include "TextScr.h" #include "TextScr.h"
#include "Tags.h"
CREDIT Credit; CREDIT Credit;
STRIP Strip[MAX_STRIP]; STRIP Strip[MAX_STRIP];

View file

@ -40,7 +40,6 @@
#include "Sound.h" #include "Sound.h"
#include "Stage.h" #include "Stage.h"
#include "Star.h" #include "Star.h"
#include "Tags.h"
#include "TextScr.h" #include "TextScr.h"
#include "ValueView.h" #include "ValueView.h"

View file

@ -6,7 +6,7 @@
#include "WindowsWrapper.h" #include "WindowsWrapper.h"
#include "Tags.h" #include "Main.h"
void GetCompileDate(int *year, int *month, int *day) void GetCompileDate(int *year, int *month, int *day)
{ {

View file

@ -20,7 +20,6 @@
#include "Organya.h" #include "Organya.h"
#include "Profile.h" #include "Profile.h"
#include "Sound.h" #include "Sound.h"
#include "Tags.h"
#include "Triangle.h" #include "Triangle.h"
LRESULT __stdcall WindowProcedure(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam); LRESULT __stdcall WindowProcedure(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam);

View file

@ -6,6 +6,9 @@
extern "C" { extern "C" {
#endif #endif
extern char gModulePath[MAX_PATH];
extern char gDataPath[MAX_PATH];
extern HWND ghWnd; extern HWND ghWnd;
extern BOOL bFullscreen; extern BOOL bFullscreen;

View file

@ -9,8 +9,8 @@
#include "CommonDefines.h" #include "CommonDefines.h"
#include "Draw.h" #include "Draw.h"
#include "Main.h"
#include "NpChar.h" #include "NpChar.h"
#include "Tags.h"
#define PXM_BUFFER_SIZE 0x4B000 #define PXM_BUFFER_SIZE 0x4B000

View file

@ -9,10 +9,10 @@
#include "Caret.h" #include "Caret.h"
#include "Draw.h" #include "Draw.h"
#include "Game.h" #include "Game.h"
#include "Main.h"
#include "MyChar.h" #include "MyChar.h"
#include "NpChar.h" #include "NpChar.h"
#include "Sound.h" #include "Sound.h"
#include "Tags.h"
#include "TextScr.h" #include "TextScr.h"
#include "ValueView.h" #include "ValueView.h"

View file

@ -11,10 +11,10 @@
#include "Draw.h" #include "Draw.h"
#include "Flags.h" #include "Flags.h"
#include "Game.h" #include "Game.h"
#include "Main.h"
#include "MyChar.h" #include "MyChar.h"
#include "NpcTbl.h" #include "NpcTbl.h"
#include "Sound.h" #include "Sound.h"
#include "Tags.h"
#include "ValueView.h" #include "ValueView.h"
NPCHAR gNPC[NPC_MAX]; NPCHAR gNPC[NPC_MAX];

View file

@ -12,13 +12,13 @@
#include "Flags.h" #include "Flags.h"
#include "Frame.h" #include "Frame.h"
#include "Game.h" #include "Game.h"
#include "Main.h"
#include "MiniMap.h" #include "MiniMap.h"
#include "MyChar.h" #include "MyChar.h"
#include "NpChar.h" #include "NpChar.h"
#include "SelStage.h" #include "SelStage.h"
#include "Stage.h" #include "Stage.h"
#include "Star.h" #include "Star.h"
#include "Tags.h"
#include "ValueView.h" #include "ValueView.h"
const char *gDefaultName = "Profile.dat"; const char *gDefaultName = "Profile.dat";

View file

@ -22,9 +22,9 @@ equivalents.
#include "WindowsWrapper.h" #include "WindowsWrapper.h"
#include "Main.h"
#include "Organya.h" #include "Organya.h"
#include "PixTone.h" #include "PixTone.h"
#include "Tags.h"
LPDIRECTSOUND lpDS; // DirectSoundオブジェクト (DirectSound object) LPDIRECTSOUND lpDS; // DirectSoundオブジェクト (DirectSound object)
LPDIRECTSOUNDBUFFER lpPRIMARYBUFFER; // 一時バッファ (Temporary buffer) LPDIRECTSOUNDBUFFER lpPRIMARYBUFFER; // 一時バッファ (Temporary buffer)

View file

@ -1,14 +1,4 @@
#pragma once #pragma once
#include "WindowsWrapper.h" // Apparently this used to contain a bunch of structs?
// For now, the structs are in header files matching their purpose.
#ifdef __cplusplus
extern "C" {
#endif
extern char gModulePath[MAX_PATH];
extern char gDataPath[MAX_PATH];
#ifdef __cplusplus
}
#endif

View file

@ -32,7 +32,6 @@
#include "SelStage.h" #include "SelStage.h"
#include "Sound.h" #include "Sound.h"
#include "Stage.h" #include "Stage.h"
#include "Tags.h"
#define TSC_BUFFER_SIZE 0x5000 #define TSC_BUFFER_SIZE 0x5000