From cf5e89963252ce3b6b7f77f5446a68592befb8eb Mon Sep 17 00:00:00 2001 From: kichikuou Date: Wed, 19 Feb 2025 12:38:47 +0900 Subject: [PATCH] Remove unused includes from NIGHTDLL/ and SACT/ --- modules/NIGHTDLL/night.h | 1 - modules/NIGHTDLL/nt_graph.c | 1 - modules/NIGHTDLL/nt_msg.c | 1 - modules/NIGHTDLL/sactcg.c | 1 - modules/NIGHTDLL/sprite.c | 2 -- modules/NIGHTDLL/sprite_draw.c | 3 --- modules/NIGHTDLL/sprite_eupdate.c | 1 - modules/NIGHTDLL/sprite_update.c | 1 - modules/SACT/SACT.c | 1 - modules/SACT/sactamask.c | 1 - modules/SACT/sactcg.c | 1 - modules/SACT/sactlog.c | 1 - modules/SACT/screen_quake.c | 2 -- modules/SACT/sprite.c | 1 - modules/SACT/sprite_draw.c | 2 -- modules/SACT/sprite_eupdate.c | 1 - modules/SACT/sprite_keywait.c | 2 -- modules/SACT/sprite_msg.c | 1 - modules/SACT/sprite_quake.c | 2 -- modules/SACT/sprite_sel.c | 1 - modules/SACT/sprite_update.c | 2 -- 21 files changed, 29 deletions(-) diff --git a/modules/NIGHTDLL/night.h b/modules/NIGHTDLL/night.h index 6fdb823..64ebaa0 100644 --- a/modules/NIGHTDLL/night.h +++ b/modules/NIGHTDLL/night.h @@ -4,7 +4,6 @@ #include "config.h" #include "portab.h" #include "graphics.h" -#include "surface.h" #include "ags.h" #include "sprite.h" diff --git a/modules/NIGHTDLL/nt_graph.c b/modules/NIGHTDLL/nt_graph.c index 0fc60be..4eb1466 100644 --- a/modules/NIGHTDLL/nt_graph.c +++ b/modules/NIGHTDLL/nt_graph.c @@ -5,7 +5,6 @@ #include "system.h" #include "cg.h" #include "ags.h" -#include "ngraph.h" #include "night.h" #include "sprite.h" #include "nt_scenario.h" diff --git a/modules/NIGHTDLL/nt_msg.c b/modules/NIGHTDLL/nt_msg.c index c0922cc..3012553 100644 --- a/modules/NIGHTDLL/nt_msg.c +++ b/modules/NIGHTDLL/nt_msg.c @@ -12,7 +12,6 @@ #include "ags.h" #include "nact.h" #include "input.h" -#include "ngraph.h" #include "drawtext.h" #include "night.h" #include "nt_msg.h" diff --git a/modules/NIGHTDLL/sactcg.c b/modules/NIGHTDLL/sactcg.c index 227a907..f0e4595 100644 --- a/modules/NIGHTDLL/sactcg.c +++ b/modules/NIGHTDLL/sactcg.c @@ -32,7 +32,6 @@ #include "nact.h" #include "system.h" #include "ags.h" -#include "surface.h" #include "cg.h" #include "sactcg.h" diff --git a/modules/NIGHTDLL/sprite.c b/modules/NIGHTDLL/sprite.c index 91927c0..3c8e886 100644 --- a/modules/NIGHTDLL/sprite.c +++ b/modules/NIGHTDLL/sprite.c @@ -6,8 +6,6 @@ #include "portab.h" #include "sprite.h" #include "sactcg.h" -#include "surface.h" -#include "ngraph.h" #include "nt_msg.h" sprite_t *nt_sp_new(int no, int cg1, int cg2, int cg3, int type) { diff --git a/modules/NIGHTDLL/sprite_draw.c b/modules/NIGHTDLL/sprite_draw.c index fb650c9..257550c 100644 --- a/modules/NIGHTDLL/sprite_draw.c +++ b/modules/NIGHTDLL/sprite_draw.c @@ -30,9 +30,6 @@ #include "system.h" #include "ags.h" #include "graphics.h" -#include "surface.h" -#include "graph.h" -#include "ngraph.h" #include "sprite.h" /* diff --git a/modules/NIGHTDLL/sprite_eupdate.c b/modules/NIGHTDLL/sprite_eupdate.c index 1609740..c49c1b8 100644 --- a/modules/NIGHTDLL/sprite_eupdate.c +++ b/modules/NIGHTDLL/sprite_eupdate.c @@ -25,7 +25,6 @@ #include "portab.h" #include "system.h" -#include "ngraph.h" #include "ags.h" #include "input.h" #include "sprite.h" diff --git a/modules/NIGHTDLL/sprite_update.c b/modules/NIGHTDLL/sprite_update.c index 520c4f2..b1a4449 100644 --- a/modules/NIGHTDLL/sprite_update.c +++ b/modules/NIGHTDLL/sprite_update.c @@ -32,7 +32,6 @@ #include "list.h" #include "ags.h" #include "graphics.h" -#include "ngraph.h" #include "sprite.h" // スプライト再描画間の間に変更のあったスプライトの領域の和 diff --git a/modules/SACT/SACT.c b/modules/SACT/SACT.c index 15d469f..67bcac2 100644 --- a/modules/SACT/SACT.c +++ b/modules/SACT/SACT.c @@ -47,7 +47,6 @@ #include "sactsound.h" #include "sactcrypto.h" #include "sactchart.h" -#include "ngraph.h" #include "sactamask.h" /* diff --git a/modules/SACT/sactamask.c b/modules/SACT/sactamask.c index 9c3ed5f..d630340 100644 --- a/modules/SACT/sactamask.c +++ b/modules/SACT/sactamask.c @@ -34,7 +34,6 @@ #include "input.h" #include "sact.h" #include "pms.h" -#include "ngraph.h" #include "sprite.h" #include "sdl_core.h" #include "mmap.h" diff --git a/modules/SACT/sactcg.c b/modules/SACT/sactcg.c index 8d635ab..4b2cf80 100644 --- a/modules/SACT/sactcg.c +++ b/modules/SACT/sactcg.c @@ -35,7 +35,6 @@ #include "ags.h" #include "sact.h" #include "sactcg.h" -#include "surface.h" #include "cg.h" #include "sdl_core.h" diff --git a/modules/SACT/sactlog.c b/modules/SACT/sactlog.c index ad3a868..840ebf5 100644 --- a/modules/SACT/sactlog.c +++ b/modules/SACT/sactlog.c @@ -36,7 +36,6 @@ #include "nact.h" #include "sact.h" #include "sprite.h" -#include "ngraph.h" #include "drawtext.h" #include "utfsjis.h" diff --git a/modules/SACT/screen_quake.c b/modules/SACT/screen_quake.c index b3543f7..abd3dec 100644 --- a/modules/SACT/screen_quake.c +++ b/modules/SACT/screen_quake.c @@ -33,8 +33,6 @@ #include "ags.h" #include "input.h" #include "sact.h" -#include "surface.h" -#include "ngraph.h" #include "sprite.h" #include "sdl_core.h" #include "randMT.h" diff --git a/modules/SACT/sprite.c b/modules/SACT/sprite.c index b715820..e4d49b9 100644 --- a/modules/SACT/sprite.c +++ b/modules/SACT/sprite.c @@ -31,7 +31,6 @@ #include "portab.h" #include "system.h" #include "list.h" -#include "ngraph.h" #include "ags.h" #include "nact.h" #include "sact.h" diff --git a/modules/SACT/sprite_draw.c b/modules/SACT/sprite_draw.c index 077812b..67685ac 100644 --- a/modules/SACT/sprite_draw.c +++ b/modules/SACT/sprite_draw.c @@ -33,8 +33,6 @@ #include "ags.h" #include "graphics.h" #include "sact.h" -#include "graph.h" -#include "ngraph.h" #include "sprite.h" // alphamapにしたがって、alpha値が0より大きいところを指定のdepthとする diff --git a/modules/SACT/sprite_eupdate.c b/modules/SACT/sprite_eupdate.c index 94704ea..c4fe050 100644 --- a/modules/SACT/sprite_eupdate.c +++ b/modules/SACT/sprite_eupdate.c @@ -25,7 +25,6 @@ #include "portab.h" #include "system.h" -#include "ngraph.h" #include "ags.h" #include "input.h" #include "sact.h" diff --git a/modules/SACT/sprite_keywait.c b/modules/SACT/sprite_keywait.c index 0d877d0..5994004 100644 --- a/modules/SACT/sprite_keywait.c +++ b/modules/SACT/sprite_keywait.c @@ -33,8 +33,6 @@ #include "ags.h" #include "nact.h" #include "input.h" -#include "ngraph.h" -#include "surface.h" #include "sact.h" #include "sprite.h" #include "sactsound.h" diff --git a/modules/SACT/sprite_msg.c b/modules/SACT/sprite_msg.c index ca703d2..8d74918 100644 --- a/modules/SACT/sprite_msg.c +++ b/modules/SACT/sprite_msg.c @@ -35,7 +35,6 @@ #include "input.h" #include "sact.h" #include "sprite.h" -#include "ngraph.h" #include "drawtext.h" #include "sactlog.h" diff --git a/modules/SACT/sprite_quake.c b/modules/SACT/sprite_quake.c index 5b20e8f..e304b4b 100644 --- a/modules/SACT/sprite_quake.c +++ b/modules/SACT/sprite_quake.c @@ -30,8 +30,6 @@ #include "list.h" #include "input.h" #include "sact.h" -#include "surface.h" -#include "ngraph.h" #include "sprite.h" #include "sdl_core.h" #include "randMT.h" diff --git a/modules/SACT/sprite_sel.c b/modules/SACT/sprite_sel.c index 4481da3..7941510 100644 --- a/modules/SACT/sprite_sel.c +++ b/modules/SACT/sprite_sel.c @@ -34,7 +34,6 @@ #include "input.h" #include "sact.h" #include "sprite.h" -#include "ngraph.h" #include "drawtext.h" // 選択された要素(1~) キャンセルの場合は0、初期状態は -1 diff --git a/modules/SACT/sprite_update.c b/modules/SACT/sprite_update.c index 682c793..f2d56a0 100644 --- a/modules/SACT/sprite_update.c +++ b/modules/SACT/sprite_update.c @@ -32,8 +32,6 @@ #include "ags.h" #include "graphics.h" #include "sact.h" -#include "surface.h" -#include "ngraph.h" #include "sprite.h" // スプライト再描画間の間に変更のあったスプライトの領域の和