diff --git a/sc2/src/sc2code/element.h b/sc2/src/sc2code/element.h index b1c767ec4..3cc888bba 100644 --- a/sc2/src/sc2code/element.h +++ b/sc2/src/sc2code/element.h @@ -210,5 +210,7 @@ extern void SetUpElement (ELEMENTPTR extern void BattleSong (BOOLEAN DoPlay); extern void FreeBattleSong (void); +extern void InsertPrim (PRIM_LINKS *pLinks, COUNT primIndex, COUNT iPI); + #endif /* _ELEMENT_H */ diff --git a/sc2/src/sc2code/galaxy.c b/sc2/src/sc2code/galaxy.c index de33c966b..a2f09c050 100644 --- a/sc2/src/sc2code/galaxy.c +++ b/sc2/src/sc2code/galaxy.c @@ -32,11 +32,6 @@ extern COUNT zoom_out; extern PRIM_LINKS DisplayLinks; -//Added by Chris - -void InsertPrim (PRIM_LINKS *pLinks, COUNT primIndex, COUNT iPI); - -//End Added by Chris #define BIG_STAR_COUNT 30 #define MED_STAR_COUNT 60 diff --git a/sc2/src/sc2code/planets/lander.c b/sc2/src/sc2code/planets/lander.c index dc8386e88..567b83c31 100644 --- a/sc2/src/sc2code/planets/lander.c +++ b/sc2/src/sc2code/planets/lander.c @@ -26,6 +26,7 @@ #include "resinst.h" #include "setup.h" #include "sounds.h" +#include "element.h" #include "libs/graphics/gfx_common.h" #include "libs/mathlib.h" @@ -44,8 +45,6 @@ //Added by Chris -void InsertPrim (PRIM_LINKS *pLinks, COUNT primIndex, COUNT iPI); - void DrawPlanet(int x, int y, int dy, unsigned int rgb); diff --git a/sc2/src/sc2code/process.c b/sc2/src/sc2code/process.c index 82ccc92f8..e652f3a30 100644 --- a/sc2/src/sc2code/process.c +++ b/sc2/src/sc2code/process.c @@ -16,14 +16,13 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "process.h" - #include "build.h" #include "collide.h" #include "options.h" #include "settings.h" #include "setup.h" #include "sounds.h" +#include "element.h" #include "weapon.h" #include "libs/graphics/drawable.h" #include "libs/graphics/drawcmd.h" diff --git a/sc2/src/sc2code/process.h b/sc2/src/sc2code/process.h deleted file mode 100644 index 0d424cbef..000000000 --- a/sc2/src/sc2code/process.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#ifndef _PROCESS_H -#define _PROCESS_H - -#include "libs/compiler.h" -#include "libs/gfxlib.h" - -extern void InsertPrim (PRIM_LINKS *pLinks, COUNT primIndex, COUNT iPI); - -#endif /* _PROCESS_H */ -