- function separators and dead code removal in weapon.cpp and wallmove.cpp

This commit is contained in:
Christoph Oelckers 2022-09-08 16:45:29 +02:00
parent da664b9964
commit cc73e90ce5
2 changed files with 1404 additions and 33 deletions

View file

@ -38,6 +38,12 @@ BEGIN_SW_NS
SECTOR_OBJECT* DetectSectorObjectByWall(walltype*);
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
void SOwallmove(SECTOR_OBJECT* sop, DSWActor* actor, walltype* find_wallp, int dist, int *nx, int *ny)
{
int j,k,wallcount;
@ -76,6 +82,12 @@ void SOwallmove(SECTOR_OBJECT* sop, DSWActor* actor, walltype* find_wallp, int d
}
}
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
int DoWallMove(DSWActor* actor)
{
int dist,nx,ny;
@ -154,6 +166,12 @@ int DoWallMove(DSWActor* actor)
return found;
}
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
bool CanSeeWallMove(DSWActor* caller, int match)
{
int i;
@ -176,6 +194,12 @@ bool CanSeeWallMove(DSWActor* caller, int match)
return !found;
}
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
int DoWallMoveMatch(short match)
{
bool found = false;
@ -194,6 +218,12 @@ int DoWallMoveMatch(short match)
return found;
}
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
#include "saveable.h"

File diff suppressed because it is too large Load diff