mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-03 06:24:32 +00:00
Replace spaces with tabs (future self: i'm sorry)
In most places, that is. Left some files unchanges because they are a mess.
This commit is contained in:
parent
dcd21b57bd
commit
8af953cb63
42 changed files with 691 additions and 706 deletions
|
@ -1112,7 +1112,6 @@ void AnimationEditor::flipRot()
|
|||
BoneKeyframe *bcur = editSprite->getCurrentAnimation()->getKeyframe(currentKey)->getBoneKeyframe(editingBone->boneIdx);
|
||||
if (bcur)
|
||||
{
|
||||
// int rotdiff = editingBone->rotation.z - bcur->rot;
|
||||
if (!core->getCtrlState())
|
||||
{
|
||||
for (int i = 0; i < editSprite->getCurrentAnimation()->getNumKeyframes(); ++i)
|
||||
|
|
|
@ -2244,7 +2244,6 @@ float Game::getCoverage(Vector pos, int sampleArea)
|
|||
{
|
||||
if (x == t.x && y == t.y) continue;
|
||||
TileVector ct(x,y);
|
||||
//Vector vt = ct.worldVector();
|
||||
if (isObstructed(ct))
|
||||
{
|
||||
covered++;
|
||||
|
@ -10401,8 +10400,6 @@ void Game::update(float dt)
|
|||
cameraInterp.interpolateTo(dest, cameraLerpDelay);
|
||||
dsq->cameraPos = getCameraPositionFor(cameraInterp);
|
||||
constrainCamera();
|
||||
|
||||
//float dd = (dsq->cameraPos - oldCamPos).getLength2D();
|
||||
}
|
||||
|
||||
cameraInterp.update(dt);
|
||||
|
|
|
@ -587,9 +587,6 @@ void Path::update(float dt)
|
|||
Vector start = nodes[0].position;
|
||||
Vector end = nodes[1].position;
|
||||
Vector v = end - start;
|
||||
//Vector left = v.getPerpendicularLeft();
|
||||
//Vector right = v.getPerpendicularRight();
|
||||
//Vector mid = (end-start) + start;
|
||||
FOR_ENTITIES(i)
|
||||
{
|
||||
Entity *e = *i;
|
||||
|
|
|
@ -79,8 +79,7 @@ void PathFinding::molestPath(VectorPath &path)
|
|||
{
|
||||
Vector node = path.getPathNode(i)->value;
|
||||
float dist;
|
||||
int sample = 20;
|
||||
//float maxDist = sample * TILE_SIZE;
|
||||
const int sample = 20;
|
||||
{
|
||||
Vector n = dsq->game->getWallNormal(node, sample, &dist);
|
||||
if (dist != -1 && (n.x != 0 || n.y != 0))
|
||||
|
|
|
@ -264,10 +264,6 @@ void AfterEffectManager::renderGrid()
|
|||
if (activeShader)
|
||||
activeShader->unbind();
|
||||
|
||||
//float width2 = float(vw)/2;
|
||||
//float height2 = float(vh)/2;
|
||||
|
||||
|
||||
if(firstShader != lastShader)
|
||||
{
|
||||
// From here on: secondary shader passes.
|
||||
|
|
|
@ -80,8 +80,6 @@ void PostProcessingFX::render()
|
|||
FXTypes type = (FXTypes)i;
|
||||
switch(type)
|
||||
{
|
||||
case FTX_NONE:
|
||||
break;
|
||||
case FXT_MAX:
|
||||
break;
|
||||
case FXT_RADIALBLUR:
|
||||
|
|
|
@ -26,7 +26,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
enum FXTypes
|
||||
{
|
||||
FTX_NONE =-1,
|
||||
FXT_RADIALBLUR =0,
|
||||
FXT_MAX
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue