mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-20 18:52:43 +00:00
- removed the workaround to make Lunatic Fringe not glitch.
This commit is contained in:
parent
c141c89cfd
commit
756ed1c14b
5 changed files with 0 additions and 31 deletions
|
@ -41,7 +41,6 @@
|
|||
#include "mapinfo.h"
|
||||
|
||||
static TArray<usermaphack_t> usermaphacks;
|
||||
TArray<TArray<int>> blockingpairs;
|
||||
|
||||
void AddUserMapHack(usermaphack_t& mhk)
|
||||
{
|
||||
|
@ -143,17 +142,6 @@ static int32_t LoadMapHack(const char *filename, SpawnSpriteDef& sprites)
|
|||
}
|
||||
else currentsector = -1;
|
||||
}
|
||||
else if (sc.Compare("blocks"))
|
||||
{
|
||||
if (sc.CheckNumber() && validateWall())
|
||||
{
|
||||
if (blockingpairs.Size() < (unsigned)numwalls)
|
||||
{
|
||||
blockingpairs.Resize(numwalls);
|
||||
}
|
||||
blockingpairs[currentwall].Push(sc.Number);
|
||||
}
|
||||
}
|
||||
else if (sc.Compare("sector"))
|
||||
{
|
||||
if (sc.CheckNumber())
|
||||
|
@ -383,7 +371,6 @@ static int32_t LoadMapHack(const char *filename, SpawnSpriteDef& sprites)
|
|||
void loadMapHack(const char* filename, const unsigned char* md4, SpawnSpriteDef& sprites)
|
||||
{
|
||||
hw_ClearSplitSector();
|
||||
blockingpairs.Reset();
|
||||
|
||||
FString internal = "engine/compatibility/";
|
||||
for (int j = 0; j < 16; ++j)
|
||||
|
|
|
@ -379,8 +379,6 @@ static void ReadSpriteV5(FileReader& fr, spritetype& spr, int& secno)
|
|||
}
|
||||
|
||||
|
||||
void addBlockingPairs();
|
||||
|
||||
// allocates global map storage. Blood will also call this.
|
||||
void allocateMapArrays(int numsprites)
|
||||
{
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
#include "hw_sections.h"
|
||||
#include "coreactor.h"
|
||||
|
||||
extern TArray<TArray<int>> blockingpairs;
|
||||
//==========================================================================
|
||||
//
|
||||
//
|
||||
|
@ -338,7 +337,6 @@ void BunchDrawer::ProcessBunch(int bnch)
|
|||
int ww = sectionLines[i].wall;
|
||||
if (ww != -1)
|
||||
{
|
||||
//if (blockingpairs.Size() > 0) for (auto p : blockingpairs[ww]) blockwall.Set(sectionLines[p].wall);
|
||||
show2dwall.Set(ww);
|
||||
|
||||
if (!gotwall[i])
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
// Lunatic Fringe v1.3 + v1.5
|
||||
wall 682 blocks 755 blocks 756 blocks 757
|
||||
wall 683 blocks 755 blocks 756 blocks 757
|
||||
wall 684 blocks 755 blocks 756 blocks 757
|
||||
wall 694 blocks 739 blocks 740 blocks 741
|
||||
wall 695 blocks 739 blocks 740 blocks 741
|
||||
wall 696 blocks 739 blocks 740 blocks 741
|
|
@ -1,7 +0,0 @@
|
|||
// Lunatic Fringe WT
|
||||
wall 682 blocks 755 blocks 756 blocks 757
|
||||
wall 683 blocks 755 blocks 756 blocks 757
|
||||
wall 684 blocks 755 blocks 756 blocks 757
|
||||
wall 694 blocks 739 blocks 740 blocks 741
|
||||
wall 695 blocks 739 blocks 740 blocks 741
|
||||
wall 696 blocks 739 blocks 740 blocks 741
|
Loading…
Reference in a new issue