mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-25 09:44:02 +00:00
Removing more build options
This times, it is `AQ_TEST_QUADTRAIL`, `AQUARIA_BUILD_MAPVIS` and `DISABLE_SUBS` that have disappeared.
This commit is contained in:
parent
eb128e65a4
commit
b29e57d15b
3 changed files with 0 additions and 26 deletions
|
@ -32,11 +32,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
//#define AQ_TEST_QUADTRAIL
|
||||
|
||||
#ifdef AQ_TEST_QUADTRAIL
|
||||
#include "QuadTrail.h"
|
||||
|
||||
QuadTrail *quadTrail = 0;
|
||||
#endif
|
||||
|
||||
Path *lastWaterBubble = 0;
|
||||
bool lastJumpOutFromWaterBubble = false;
|
||||
|
@ -3787,12 +3782,6 @@ Avatar::Avatar() : Entity(), ActionMapper()
|
|||
|
||||
urchinDelay = 0;
|
||||
jellyDelay = 0;
|
||||
#ifdef AQ_TEST_QUADTRAIL
|
||||
quadTrail = new QuadTrail(100, 32);
|
||||
quadTrail->setTexture("Particles/QuadTrail");
|
||||
quadTrail->setBlendType(BLEND_ADD);
|
||||
dsq->game->addRenderObject(quadTrail, LR_PARTICLES);
|
||||
#endif
|
||||
|
||||
curWebPoint = 0;
|
||||
|
||||
|
@ -5588,9 +5577,6 @@ void Avatar::onUpdate(float dt)
|
|||
|
||||
looking = 0;
|
||||
|
||||
#ifdef AQ_TEST_QUADTRAIL
|
||||
quadTrail->addPoint(position);
|
||||
#endif
|
||||
|
||||
if (lightFormGlow)
|
||||
{
|
||||
|
|
|
@ -2430,7 +2430,6 @@ void Continuity::saveFile(int slot, Vector position, unsigned char *scrShotData,
|
|||
}
|
||||
worldMap->SetAttribute("b", os.str().c_str());
|
||||
|
||||
#ifdef AQUARIA_BUILD_MAPVIS
|
||||
if (dsq->game->worldMapRender)
|
||||
{
|
||||
std::ostringstream os;
|
||||
|
@ -2443,7 +2442,6 @@ void Continuity::saveFile(int slot, Vector position, unsigned char *scrShotData,
|
|||
}
|
||||
worldMap->SetAttribute("va", os.str().c_str());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
doc.InsertEndChild(worldMap);
|
||||
|
||||
|
@ -2961,7 +2959,6 @@ void Continuity::loadFile(int slot)
|
|||
}
|
||||
|
||||
|
||||
#ifdef AQUARIA_BUILD_MAPVIS
|
||||
if (worldMap->Attribute("va") && dsq->continuity.worldMap.getNumWorldMapTiles())
|
||||
{
|
||||
std::istringstream is(worldMap->Attribute("va"));
|
||||
|
@ -2987,7 +2984,6 @@ void Continuity::loadFile(int slot)
|
|||
tile->stringToData(is);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -452,7 +452,6 @@ void WorldMapRender::setProperTileColor(WorldMapTile *tile)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef AQUARIA_BUILD_MAPVIS
|
||||
|
||||
static void tileDataToVis(WorldMapTile *tile, Vector **vis)
|
||||
{
|
||||
|
@ -565,13 +564,11 @@ static void resetTileAlpha(WorldMapTile *tile, const unsigned char *savedTexData
|
|||
tile->q->texture->write(0, 0, tile->q->texture->width, tile->q->texture->height, savedTexData);
|
||||
}
|
||||
|
||||
#endif // AQUARIA_BUILD_MAPVIS
|
||||
|
||||
|
||||
void WorldMapRender::setVis(WorldMapTile *tile)
|
||||
{
|
||||
if (!tile) return;
|
||||
#ifdef AQUARIA_BUILD_MAPVIS
|
||||
|
||||
|
||||
tile->q->color = Vector(1,1,1);
|
||||
|
@ -589,13 +586,11 @@ void WorldMapRender::setVis(WorldMapTile *tile)
|
|||
|
||||
lastVisQuad = tile->q;
|
||||
lastVisTile = tile;
|
||||
#endif
|
||||
}
|
||||
|
||||
void WorldMapRender::clearVis(WorldMapTile *tile)
|
||||
{
|
||||
if (!tile) return;
|
||||
#ifdef AQUARIA_BUILD_MAPVIS
|
||||
if (visMethod == VIS_VERTEX)
|
||||
{
|
||||
if (tile->q)
|
||||
|
@ -610,7 +605,6 @@ void WorldMapRender::clearVis(WorldMapTile *tile)
|
|||
savedTexData = 0;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
@ -1151,7 +1145,6 @@ void WorldMapRender::onUpdate(float dt)
|
|||
}
|
||||
else
|
||||
{
|
||||
#ifdef AQUARIA_BUILD_MAPVIS
|
||||
if (!dsq->isInCutscene() && dsq->game->avatar && activeTile
|
||||
#ifdef AQUARIA_BUILD_SCENEEDITOR
|
||||
&& !dsq->game->sceneEditor.isOn()
|
||||
|
@ -1193,7 +1186,6 @@ void WorldMapRender::onUpdate(float dt)
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
lastMousePosition = core->mouse.position;
|
||||
|
|
Loading…
Reference in a new issue