From 16fc9af24d1d2686818f819e4e79d03bac60809b Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Wed, 23 Dec 2020 15:28:52 +0100 Subject: [PATCH] turn beta.c and dogs.c into header files --- README.md | 4 ++-- Source/CMakeLists.txt | 2 ++ Source/{beta.c => beta.h} | 0 Source/{dogs.c => dogs.h} | 0 Source/info.c | 4 ++-- 5 files changed, 6 insertions(+), 4 deletions(-) rename Source/{beta.c => beta.h} (100%) rename Source/{dogs.c => dogs.h} (100%) diff --git a/README.md b/README.md index 542b35a0..65f9ffa2 100644 --- a/README.md +++ b/README.md @@ -215,11 +215,11 @@ Copyright: © 1993-1996 Id Software, Inc.; © 2020 Alex Mayfield. License: [GPL-2.0+](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html) -Files: `Source/beta.c` +Files: `Source/beta.h` Copyright: © 2001-2019 Contributors to the Freedoom project. License: [BSD-3-Clause](https://opensource.org/licenses/BSD-3-Clause) -Files: `Source/dogs.c` +Files: `Source/dogs.h` Copyright: © 2017 Nash Muhandes; © apolloaiello; © TobiasKosmos. diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index d7de3cb4..a8d56ed2 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -2,6 +2,7 @@ include(WoofSettings) set(WOOF_SOURCES am_map.c am_map.h + beta.h d_deh.c d_deh.h d_englsh.h d_event.h @@ -15,6 +16,7 @@ set(WOOF_SOURCES d_textur.h d_think.h d_ticcmd.h + dogs.h doomdata.h doomdef.c doomdef.h doomstat.c doomstat.h diff --git a/Source/beta.c b/Source/beta.h similarity index 100% rename from Source/beta.c rename to Source/beta.h diff --git a/Source/dogs.c b/Source/dogs.h similarity index 100% rename from Source/dogs.c rename to Source/dogs.h diff --git a/Source/info.c b/Source/info.c index 88ed8dd9..b74982a3 100644 --- a/Source/info.c +++ b/Source/info.c @@ -7757,10 +7757,10 @@ static const char cr_yellow[]= 240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255}; // [FG] replace embedded non-free dogs sprites and sounds -#include "dogs.c" +#include "dogs.h" // [FG] replace embedded non-free plasma ball sprites -#include "beta.c" +#include "beta.h" // killough 1/31/98: // Table of predefined lumps, used to make up for any wad deficiencies.