Remove from M&P the room data of Final Level/Lab/Overworld/Tower

This is to make sure that the room data of those areas are not
distributed with the M&P binary, even if they are already inaccessible
because of other M&P ifdefs (I tested).
This commit is contained in:
Info Teddy
2020-01-26 08:37:12 -08:00
committed by Ethan Lee
parent 3697487f47
commit 7f3d16801c
4 changed files with 20 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
#include "Otherlevel.h"
#include "MakeAndPlay.h"
otherlevelclass::otherlevelclass()
{
for (i = 0; i < 50; i++)
@@ -32,6 +34,7 @@ std::vector<std::string> otherlevelclass::loadlevel(int rx, int ry , Game& game,
switch(t)
{
#if !defined(MAKEANDPLAY)
case rn(0,0):
tmap.push_back("201,201,201,201,200,80,80,202,200,80,80,80,80,80,80,80,80,80,80,80,80,80,202,200,80,202,201,201,201,201,200,80,202,606,486,486,486,486,486,486");
@@ -8093,6 +8096,7 @@ std::vector<std::string> otherlevelclass::loadlevel(int rx, int ry , Game& game,
tmap.push_back("0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0");
//obj.fatal_bottom();
break;
#endif
}
return tmap;