- 8 more SW headers gone.

This commit is contained in:
Christoph Oelckers 2020-08-06 00:18:45 +02:00
parent bbe05b0c81
commit 9060abbafd
55 changed files with 104 additions and 373 deletions

View file

@ -34,11 +34,10 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "names2.h"
#include "panel.h"
#include "game.h"
#include "misc.h"
#include "tags.h"
#include "weapon.h"
#include "sprite.h"
#include "actor.h"
BEGIN_SW_NS

View file

@ -33,7 +33,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "game.h"
#include "common_game.h"
#include "network.h"
#include "text.h"
#include "misc.h"
#include "menus.h"
BEGIN_SW_NS

View file

@ -33,9 +33,8 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "ai.h"
#include "pal.h"
#include "sprite.h"
#include "actor.h"
#include "weapon.h"
#include "track.h"
#include "misc.h"
BEGIN_SW_NS

View file

@ -40,7 +40,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "panel.h"
#include "game.h"
#include "mytypes.h"
#include "text.h"
#include "misc.h"
#include "gamecontrol.h"
#include "gstrings.h"

View file

@ -39,20 +39,17 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "tags.h"
#include "player.h"
#include "lists.h"
#include "warp.h"
#include "quake.h"
#include "common_game.h"
#include "gamecontrol.h"
#include "trigger.h"
#include "savedef.h"
#include "menus.h"
#include "network.h"
#include "pal.h"
#include "weapon.h"
#include "text.h"
#include "misc.h"
#include "jsector.h"
BEGIN_SW_NS

View file

@ -32,9 +32,8 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "tags.h"
#include "ai.h"
#include "sprite.h"
#include "actor.h"
#include "weapon.h"
#include "track.h"
#include "misc.h"
BEGIN_SW_NS

View file

@ -32,8 +32,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "tags.h"
#include "ai.h"
#include "sprite.h"
#include "actor.h"
#include "track.h"
#include "misc.h"
#include "weapon.h"
BEGIN_SW_NS

View file

@ -32,7 +32,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "tags.h"
#include "weapon.h"
#include "sprite.h"
#include "track.h"
#include "misc.h"
#include "interpso.h"
BEGIN_SW_NS

View file

@ -32,7 +32,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "player.h"
#include "jsector.h"
#include "menus.h"
#include "sw_strs.h"
#include "pal.h"
#include "demo.h"
#include "keydef.h"
@ -40,7 +39,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "gamecontrol.h"
#include "gamedefs.h"
#include "network.h"
#include "text.h"
#include "misc.h"
#include "version.h"
#include "network.h"

View file

@ -34,7 +34,6 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "panel.h"
#include "game.h"
#include "quake.h"
#include "vis.h"
#include "jsector.h"
@ -49,7 +48,6 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "misc.h"
#include "reserve.h"
#include "text.h"
#include "menus.h"
#include "interp.h"
#include "interpso.h"

View file

@ -31,9 +31,8 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "game.h"
#include "tags.h"
#include "ai.h"
#include "actor.h"
#include "weapon.h"
#include "track.h"
#include "misc.h"
BEGIN_SW_NS

View file

@ -79,9 +79,8 @@ Things required to make savegames work:
#include "break.h"
#include "ninja.h"
#include "light.h"
#include "track.h"
#include "misc.h"
#include "jsector.h"
#include "text.h"
#include "common.h"
#include "common_game.h"

View file

@ -35,8 +35,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "pal.h"
#include "player.h"
#include "network.h"
#include "actor.h"
#include "track.h"
#include "misc.h"
#include "sprite.h"
BEGIN_SW_NS

View file

@ -31,8 +31,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "tags.h"
#include "game.h"
#include "ai.h"
#include "actor.h"
#include "track.h"
#include "misc.h"
BEGIN_SW_NS

View file

@ -31,9 +31,8 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "game.h"
#include "tags.h"
#include "ai.h"
#include "actor.h"
#include "weapon.h"
#include "track.h"
#include "misc.h"
#include "sprite.h"
BEGIN_SW_NS

View file

@ -33,7 +33,6 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "panel.h"
#include "game.h"
#include "pal.h"
#include "text.h"
#include "misc.h"
#include "player.h"

View file

@ -37,14 +37,11 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "tags.h"
#include "player.h"
#include "lists.h"
#include "warp.h"
#include "quake.h"
#include "common_game.h"
#include "gamecontrol.h"
#include "trigger.h"
#include "savedef.h"
#include "menus.h"
#include "network.h"
#include "pal.h"

View file

@ -30,7 +30,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "names2.h"
#include "panel.h"
#include "game.h"
#include "misc.h"
#include "tags.h"
#include "common_game.h"
#include "break.h"
@ -43,7 +43,6 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "sprite.h"
#include "sector.h"
#include "actor.h"
BEGIN_SW_NS

View file

@ -32,8 +32,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "game.h"
#include "tags.h"
#include "ai.h"
#include "actor.h"
#include "track.h"
#include "misc.h"
BEGIN_SW_NS

View file

@ -37,7 +37,6 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "player.h"
#include "jsector.h"
#include "menus.h"
#include "sw_strs.h"
#include "pal.h"
#include "demo.h"
@ -46,7 +45,6 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "gamecontrol.h"
#include "gamedefs.h"
#include "network.h"
#include "text.h"
#include "version.h"
#include "network.h"

View file

@ -49,4 +49,67 @@ void MapColors(short num,COLOR_MAP cm,short create);
void InitPalette(void);
int32_t CONFIG_ReadSetup(void);
SWBOOL WarpPlaneSectorInfo(short sectnum, SPRITEp* sp_ceiling, SPRITEp* sp_floor);
SPRITEp WarpPlane(int32_t* x, int32_t* y, int32_t* z, int16_t* sectnum);
SPRITEp WarpToArea(SPRITEp sp_from, int32_t* x, int32_t* y, int32_t* z, int16_t* sectnum);
SWBOOL WarpSectorInfo(short sectnum, SPRITEp* sp_warp);
SPRITEp Warp(int32_t* x, int32_t* y, int32_t* z, int16_t* sectnum);
void ProcessVisOn(void);
void VisViewChange(PLAYERp pp, int* vis);
int SpawnVis(short Parent, short sectnum, int x, int y, int z, int amt);
enum TriggerType { TRIGGER_TYPE_REMOTE_SO };
int ActorFollowTrack(short SpriteNum, short locktics);
void ActorLeaveTrack(short SpriteNum);
void RefreshPoints(SECTOR_OBJECTp sop, int nx, int ny, SWBOOL dynamic);
void TrackSetup(void);
void PlaceSectorObject(SECTOR_OBJECTp sop, int newx, int newy);
void PlaceSectorObjectsOnTracks(void);
void PlaceActorsOnTracks(void);
void SetupSectorObject(short sectnum, short tag);
void PostSetupSectorObject(void);
void VehicleSetSmoke(SECTOR_OBJECTp sop, ANIMATORp animator);
void CollapseSectorObject(SECTOR_OBJECTp sop, int nx, int ny);
void KillSectorObjectSprites(SECTOR_OBJECTp sop);
void MoveSectorObjects(SECTOR_OBJECTp sop, short locktics);
#define TEXT_INFO_TIME (3)
#define TEXT_INFO_Y (40)
#define TEXT_INFO_YOFF (10)
inline int TEXT_INFO_LINE(int line) { return (TEXT_INFO_Y + ((line)*TEXT_INFO_YOFF)); }
void DisplayFragNames(PLAYERp pp);
void DisplayMiniBarSmString(PLAYERp pp, short xs, short ys, short pal, const char* buffer);
void DisplaySmString(PLAYERp pp, short xs, short ys, short pal, const char* buffer);
void DisplayMiniBarNumber(short xs, short ys, int number);
void DisplaySummaryString(PLAYERp pp, short xs, short ys, short color, short shade, const char* buffer);
void DisplayPanelNumber(PLAYERp pp, short xs, short ys, int number);
void PutStringInfo(PLAYERp pp, const char* string);
void PutStringInfoLine(PLAYERp pp, const char* string);
void PutStringInfoLine2(PLAYERp pp, const char* string);
void pClearTextLine(PLAYERp pp, int y);
void pMenuClearTextLine(PLAYERp pp);
void StringTimer(PANEL_SPRITEp psp);
short DoSlidorMatch(PLAYERp pp, short match, SWBOOL);
SWBOOL TestSlidorMatchActive(short match);
void InterpSectorSprites(short sectnum, SWBOOL state);
typedef void INTERP_FUNC(int*);
typedef INTERP_FUNC* INTERP_FUNCp;
void SetSlidorActive(short SpriteNum);
void DoSlidorInterp(short, INTERP_FUNCp);
int DoBeginJump(short SpriteNum);
int DoJump(short SpriteNum);
int DoBeginFall(short SpriteNum);
int DoFall(short SpriteNum);
void KeepActorOnFloor(short SpriteNum);
int DoActorSlide(short SpriteNum);
int DoActorSectorDamage(short SpriteNum);
int DoScaleSprite(short SpriteNum);
END_SW_NS

View file

@ -29,11 +29,10 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "names2.h"
#include "panel.h"
#include "game.h"
#include "misc.h"
#include "tags.h"
#include "ai.h"
#include "quake.h"
#include "actor.h"
#include "sector.h"
#include "sprite.h"

View file

@ -39,7 +39,6 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "demo.h"
#include "weapon.h"
#include "text.h"
#include "menus.h"
#include "printf.h"

View file

@ -42,8 +42,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "player.h"
#include "network.h"
#include "weapon.h"
#include "track.h"
#include "actor.h"
#include "misc.h"
#include "ninja.h"
#include "sprite.h"

View file

@ -33,7 +33,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "panel.h"
#include "game.h"
#include "mytypes.h"
#include "text.h"
#include "gamecontrol.h"
#include "gstrings.h"

View file

@ -33,12 +33,10 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "names2.h"
#include "panel.h"
#include "lists.h"
#include "game.h"
#include "misc.h"
#include "common_game.h"
#include "network.h"
#include "pal.h"
#include "vis.h"
#include "text.h"
#include "player.h"
#include "v_2ddrawer.h"

View file

@ -35,15 +35,11 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "tags.h"
#include "player.h"
#include "lists.h"
#include "warp.h"
#include "quake.h"
#include "text.h"
#include "common_game.h"
#include "gamecontrol.h"
#include "trigger.h"
#include "savedef.h"
#include "menus.h"
#include "network.h"
#include "pal.h"
@ -56,10 +52,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "break.h"
#include "jsector.h"
#include "sector.h"
#include "actor.h"
#include "misc.h"
#include "vis.h"
#include "track.h"
#include "interp.h"
#include "interpso.h"
#include "menu.h"

View file

@ -33,9 +33,8 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "tags.h"
#include "ai.h"
#include "pal.h"
#include "actor.h"
#include "sprite.h"
#include "track.h"
#include "misc.h"
BEGIN_SW_NS

View file

@ -32,9 +32,8 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "tags.h"
#include "ai.h"
#include "pal.h"
#include "actor.h"
#include "sprite.h"
#include "track.h"
#include "misc.h"
BEGIN_SW_NS

View file

@ -28,8 +28,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "names2.h"
#include "panel.h"
#include "game.h"
#include "warp.h"
#include "misc.h"
BEGIN_SW_NS

View file

@ -28,11 +28,10 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "names2.h"
#include "panel.h"
#include "game.h"
#include "misc.h"
#include "network.h"
#include "tags.h"
#include "sector.h"
#include "text.h"
#include "interp.h"
#include "sprite.h"
#include "quotemgr.h"

View file

@ -39,8 +39,6 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "interpso.h"
#include "network.h"
//#include "save.h"
#include "savedef.h"
#include "jsector.h"
#include "parent.h"
#include "reserve.h"

View file

@ -1,27 +0,0 @@
//-------------------------------------------------------------------------
/*
Copyright (C) 1997, 2005 - 3D Realms Entertainment
This file is part of Shadow Warrior version 1.2
Shadow Warrior 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Original Source: 1997 - Frank Maddin and Jim Norwood
Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
*/
//-------------------------------------------------------------------------
#define SAVE_VALIDATE FALSE

View file

@ -29,7 +29,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "names2.h"
#include "panel.h"
#include "game.h"
#include "misc.h"
#include "tags.h"
#include "sector.h"
#include "player.h"
@ -40,11 +40,10 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "network.h"
#include "break.h"
#include "track.h"
#include "misc.h"
#include "sprite.h"
#include "common_game.h"
#include "light.h"
#include "text.h"
#include "gstrings.h"
#include "secrets.h"

View file

@ -30,8 +30,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "game.h"
#include "tags.h"
#include "ai.h"
#include "actor.h"
#include "track.h"
#include "misc.h"
#include "sector.h"
#include "gamecontrol.h"
#include "mapinfo.h"

View file

@ -30,8 +30,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "game.h"
#include "tags.h"
#include "ai.h"
#include "actor.h"
#include "track.h"
#include "misc.h"
BEGIN_SW_NS

View file

@ -27,11 +27,10 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "build.h"
#include "names2.h"
#include "game.h"
#include "misc.h"
#include "tags.h"
#include "ai.h"
#include "weapon.h"
#include "actor.h"
BEGIN_SW_NS

View file

@ -31,10 +31,9 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "game.h"
#include "network.h"
#include "tags.h"
#include "slidor.h"
#include "sector.h"
#include "interp.h"
#include "text.h"
#include "misc.h"
#include "sprite.h"
#include "quotemgr.h"

View file

@ -1,42 +0,0 @@
//-------------------------------------------------------------------------
/*
Copyright (C) 1997, 2005 - 3D Realms Entertainment
This file is part of Shadow Warrior version 1.2
Shadow Warrior 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Original Source: 1997 - Frank Maddin and Jim Norwood
Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
*/
//-------------------------------------------------------------------------
#ifndef SLIDOR_PUBLIC_
#define SLIDOR_PUBLIC_
BEGIN_SW_NS
short DoSlidorMatch(PLAYERp pp, short match, SWBOOL);
SWBOOL TestSlidorMatchActive(short match);
void InterpSectorSprites(short sectnum, SWBOOL state);
typedef void INTERP_FUNC (int *);
typedef INTERP_FUNC *INTERP_FUNCp;
void SetSlidorActive(short SpriteNum);
void DoSlidorInterp(short, INTERP_FUNCp);
END_SW_NS
#endif

View file

@ -39,7 +39,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "network.h"
#include "misc.h"
#include "text.h"
#include "misc.h"
#include "rts.h"
#include "menus.h"
#include "menu.h"

View file

@ -28,10 +28,9 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "names2.h"
#include "panel.h"
#include "game.h"
#include "misc.h"
#include "tags.h"
#include "ai.h"
#include "warp.h"
#include "light.h"
#include "break.h"
#include "network.h"
@ -44,8 +43,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "sprite.h"
#include "weapon.h"
#include "jsector.h"
#include "text.h"
#include "slidor.h"
#include "misc.h"
#include "player.h"
#include "quotemgr.h"
#include "v_text.h"

View file

@ -32,8 +32,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "tags.h"
#include "ai.h"
#include "quake.h"
#include "actor.h"
#include "track.h"
#include "misc.h"
#include "weapon.h"
#include "sector.h"
#include "gamecontrol.h"

View file

@ -1,49 +0,0 @@
//-------------------------------------------------------------------------
/*
Copyright (C) 1997, 2005 - 3D Realms Entertainment
This file is part of Shadow Warrior version 1.2
Shadow Warrior 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Original Source: 1997 - Frank Maddin and Jim Norwood
Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
*/
//-------------------------------------------------------------------------
#define S_INAGAME "YOU ARE IN A GAME!"
#define S_PRESSKEY "PRESS ANY KEY WHEN READY"
#define S_MESSAGEON "GAME MESSAGES ARE NOW ON"
#define S_MESSAGEOFF "GAME MESSAGES ARE NOW OFF"
#define S_QUITYN "PRESS (Y) TO QUIT, (N) TO FIGHT ON."
#define S_QUIT1 "CONFUCIOUS SAY, 'HE WHO QUITS,"
#define S_QUIT1A "TOTALLY SUCKS!'"
#define S_QUIT2 "GO AHEAD, LEAVE, BUT WHILE YOU'RE"
#define S_QUIT2A "GONE, EVIL WILL BE TAKING OVER!"
#define S_QUIT3 "ALL OF JAPAN IS COUNTING ON YOU!"
#define S_QUIT3A "ONLY A LOSER COULD LET THEM DOWN."
#define S_QUIT4 "THIS IS TOO MUCH! NOW WHERE"
#define S_QUIT4A "DID I PUT THOSE CHEAT CODES?"
#define S_QUIT5 "PRESS (Y) TO RUN HOME TO MOMMY,"
#define S_QUIT5A "(N) TO BE A MAN."
#define S_QUIT6 "YOU DO KNOW, THAT WHILE YOU'RE"
#define S_QUIT6A "AWAY, WE'LL BE RESTOCKING MT. FUJI"
#define S_QUIT6B "WITH A MILLION NEW MONSTERS?"
#define S_QUIT7 "COME BACK ANY TIME, WE ARE ALWAYS"
#define S_QUIT7A "LOOKING FOR A SACK OF RIPPER CHOW!"
#define S_QUIT8 "LET'S MAKE A STEALTHY EXIT TO DOS!"

View file

@ -33,7 +33,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "game.h"
#include "common_game.h"
#include "pal.h"
#include "text.h"
#include "misc.h"
#include "menus.h"
#include "network.h"

View file

@ -1,49 +0,0 @@
//-------------------------------------------------------------------------
/*
Copyright (C) 1997, 2005 - 3D Realms Entertainment
This file is part of Shadow Warrior version 1.2
Shadow Warrior 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Original Source: 1997 - Frank Maddin and Jim Norwood
Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
*/
//-------------------------------------------------------------------------
BEGIN_SW_NS
#define TEXT_INFO_TIME (3)
#define TEXT_INFO_X (16)
//#define TEXT_INFO_Y (20)
#define TEXT_INFO_Y (40)
#define TEXT_INFO_YOFF (10)
#define TEXT_INFO_LINE(line) (TEXT_INFO_Y + ((line) * TEXT_INFO_YOFF))
//#define TEXT_INFO_LINE(line) (TEXT_INFO_Y + ((line) * TEXT_INFO_YOFF) + GlobalInfoLineOffset)
void DisplayFragNames(PLAYERp pp);
void DisplayMiniBarSmString(PLAYERp pp,short xs,short ys, short pal, const char *buffer);
void DisplaySmString(PLAYERp pp, short xs, short ys, short pal, const char *buffer);
void DisplayMiniBarNumber(short xs,short ys,int number);
void DisplaySummaryString(PLAYERp pp,short xs,short ys,short color,short shade,const char *buffer);
void DisplayPanelNumber(PLAYERp pp,short xs,short ys,int number);
void PutStringInfo(PLAYERp pp, const char *string);
void PutStringInfoLine(PLAYERp pp, const char *string);
void PutStringInfoLine2(PLAYERp pp, const char *string);
void pClearTextLine(PLAYERp pp,int y);
void pMenuClearTextLine(PLAYERp pp);
void StringTimer(PANEL_SPRITEp psp);
END_SW_NS

View file

@ -36,7 +36,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "interpso.h"
#include "network.h"
#include "sprite.h"
#include "track.h"
#include "misc.h"
#include "weapon.h"
BEGIN_SW_NS

View file

@ -1,15 +0,0 @@
BEGIN_SW_NS
int ActorFollowTrack(short SpriteNum,short locktics);
void ActorLeaveTrack(short SpriteNum);
void RefreshPoints(SECTOR_OBJECTp sop,int nx,int ny,SWBOOL dynamic);
void TrackSetup(void);
void PlaceSectorObject(SECTOR_OBJECTp sop,int newx,int newy);
void PlaceSectorObjectsOnTracks(void);
void PlaceActorsOnTracks(void);
void SetupSectorObject(short sectnum,short tag);
void PostSetupSectorObject(void);
void VehicleSetSmoke(SECTOR_OBJECTp sop,ANIMATORp animator);
void CollapseSectorObject(SECTOR_OBJECTp sop,int nx,int ny);
void KillSectorObjectSprites(SECTOR_OBJECTp sop);
void MoveSectorObjects(SECTOR_OBJECTp sop,short locktics);
END_SW_NS

View file

@ -1,30 +0,0 @@
//-------------------------------------------------------------------------
/*
Copyright (C) 1997, 2005 - 3D Realms Entertainment
This file is part of Shadow Warrior version 1.2
Shadow Warrior 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Original Source: 1997 - Frank Maddin and Jim Norwood
Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
*/
//-------------------------------------------------------------------------
BEGIN_SW_NS
enum TriggerType {TRIGGER_TYPE_REMOTE_SO};
END_SW_NS

View file

@ -33,7 +33,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "tags.h"
#include "sector.h"
#include "interp.h"
#include "text.h"
#include "misc.h"
#include "sprite.h"
#include "weapon.h"
#include "quotemgr.h"

View file

@ -1,31 +0,0 @@
//-------------------------------------------------------------------------
/*
Copyright (C) 1997, 2005 - 3D Realms Entertainment
This file is part of Shadow Warrior version 1.2
Shadow Warrior 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Original Source: 1997 - Frank Maddin and Jim Norwood
Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
*/
//-------------------------------------------------------------------------
BEGIN_SW_NS
void ProcessVisOn(void);
void VisViewChange(PLAYERp pp, int *vis);
int SpawnVis(short Parent, short sectnum, int x, int y, int z, int amt);
END_SW_NS

View file

@ -28,9 +28,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "names2.h"
#include "panel.h"
#include "game.h"
#include "warp.h"
#include "misc.h"
BEGIN_SW_NS

View file

@ -1,33 +0,0 @@
//-------------------------------------------------------------------------
/*
Copyright (C) 1997, 2005 - 3D Realms Entertainment
This file is part of Shadow Warrior version 1.2
Shadow Warrior 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Original Source: 1997 - Frank Maddin and Jim Norwood
Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
*/
//-------------------------------------------------------------------------
BEGIN_SW_NS
SWBOOL WarpPlaneSectorInfo(short sectnum, SPRITEp *sp_ceiling, SPRITEp *sp_floor);
SPRITEp WarpPlane(int32_t* x, int32_t* y, int32_t* z, int16_t* sectnum);
SPRITEp WarpToArea(SPRITEp sp_from, int32_t* x, int32_t* y, int32_t* z, int16_t* sectnum);
SWBOOL WarpSectorInfo(short sectnum, SPRITEp *sp_warp);
SPRITEp Warp(int32_t* x, int32_t* y, int32_t* z, int16_t* sectnum);
END_SW_NS

View file

@ -29,7 +29,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "names2.h"
#include "panel.h"
#include "game.h"
#include "misc.h"
#include "interp.h"
#include "interpso.h"
#include "tags.h"
@ -38,15 +38,13 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "quake.h"
#include "network.h"
#include "pal.h"
#include "vis.h"
#include "ai.h"
#include "weapon.h"
#include "anim.h"
#include "sector.h"
#include "sprite.h"
#include "actor.h"
#include "track.h"
#include "misc.h"
#include "player.h"
#include "gstrings.h"

View file

@ -32,8 +32,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "tags.h"
#include "ai.h"
#include "quake.h"
#include "actor.h"
#include "track.h"
#include "misc.h"
#include "gamecontrol.h"
#include "mapinfo.h"

View file

@ -36,8 +36,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "network.h"
#include "sprite.h"
#include "weapon.h"
#include "actor.h"
#include "track.h"
#include "misc.h"
BEGIN_SW_NS