ref: 353798bf411161272613630d2a5f736230c43e7d
parent: a5bf854408b35310569b22d294642e007d4a5782
parent: a62141e185c23d4a0bc0e1365b977e71e2006e26
author: Clownacy <Clownacy@users.noreply.github.com>
date: Tue Jun 30 13:25:31 EDT 2020
Merge pull request #131 from GabrielRavier/accurateMinimizeIncludes Remove unnecessary includes
--- a/src/Back.cpp
+++ b/src/Back.cpp
@@ -7,11 +7,7 @@
#include "CommonDefines.h"
#include "Draw.h"
-#include "Frame.h"
-#include "Game.h"
#include "Main.h"
-#include "Map.h"
-#include "Stage.h"
BACK gBack;
int gWaterY;
--- a/src/Draw.cpp
+++ b/src/Draw.cpp
@@ -2,7 +2,6 @@
#include <stddef.h>
#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
#include <ddraw.h>
--- a/src/Input.cpp
+++ b/src/Input.cpp
@@ -2,7 +2,6 @@
#include <stddef.h>
#include <stdio.h>
-#include <string.h>
#if defined(_MSC_VER) && _MSC_VER >= 1500 // Newer versions of Visual Studio don't support anything earlier than DirectInput8
#define DIRECTINPUT_VERSION 0x800
--- a/src/NpChar.h
+++ b/src/NpChar.h
@@ -1,6 +1,5 @@
#pragma once
-#include "CommonDefines.h"
#include "WindowsWrapper.h"
#include "Draw.h"
--- a/src/Organya.cpp
+++ b/src/Organya.cpp
@@ -7,7 +7,6 @@
#include "Organya.h"
#include <stddef.h>
-#include <stdio.h>
#include <stdlib.h>
#include <string.h>
--- a/src/Sound.cpp
+++ b/src/Sound.cpp
@@ -12,7 +12,7 @@
#include "Sound.h"
-#include <math.h>
+#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
--- a/src/Sound.h
+++ b/src/Sound.h
@@ -1,7 +1,5 @@
#pragma once
-#include <stddef.h>
-
#ifndef DIRECTSOUND_VERSION
#define DIRECTSOUND_VERSION 0x500
#endif