mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Realign logic update trio comments
This is the "Behavioral logic", "Basic Physics", and "Collisions with walls" trio. They were originally aligned but then I removed global args, thus misaligning them. So now I'm re-aligning them back again.
This commit is contained in:
parent
07573ad738
commit
d13c24b9b0
1 changed files with 8 additions and 8 deletions
|
@ -351,8 +351,8 @@ void towerlogic()
|
|||
for (int i = obj.nentity - 1; i >= 0; i--)
|
||||
{
|
||||
obj.updateentities(i); // Behavioral logic
|
||||
obj.updateentitylogic(i); // Basic Physics
|
||||
obj.entitymapcollision(i); // Collisions with walls
|
||||
obj.updateentitylogic(i); // Basic Physics
|
||||
obj.entitymapcollision(i); // Collisions with walls
|
||||
}
|
||||
|
||||
obj.entitycollisioncheck(); // Check ent v ent collisions, update states
|
||||
|
@ -947,8 +947,8 @@ void gamelogic()
|
|||
obj.removeblockat(obj.entities[i].xp, obj.entities[i].yp);
|
||||
|
||||
obj.updateentities(i); // Behavioral logic
|
||||
obj.updateentitylogic(i); // Basic Physics
|
||||
obj.entitymapcollision(i); // Collisions with walls
|
||||
obj.updateentitylogic(i); // Basic Physics
|
||||
obj.entitymapcollision(i); // Collisions with walls
|
||||
|
||||
obj.createblock(0, obj.entities[i].xp, obj.entities[i].yp, obj.entities[i].w, obj.entities[i].h);
|
||||
if (game.supercrewmate)
|
||||
|
@ -976,8 +976,8 @@ void gamelogic()
|
|||
obj.removeblockat(obj.entities[ie].xp, obj.entities[ie].yp);
|
||||
|
||||
obj.updateentities(ie); // Behavioral logic
|
||||
obj.updateentitylogic(ie); // Basic Physics
|
||||
obj.entitymapcollision(ie); // Collisions with walls
|
||||
obj.updateentitylogic(ie); // Basic Physics
|
||||
obj.entitymapcollision(ie); // Collisions with walls
|
||||
|
||||
obj.hormovingplatformfix(ie);
|
||||
}
|
||||
|
@ -1007,8 +1007,8 @@ void gamelogic()
|
|||
if (!obj.entities[ie].isplatform)
|
||||
{
|
||||
obj.updateentities(ie); // Behavioral logic
|
||||
obj.updateentitylogic(ie); // Basic Physics
|
||||
obj.entitymapcollision(ie); // Collisions with walls
|
||||
obj.updateentitylogic(ie); // Basic Physics
|
||||
obj.entitymapcollision(ie); // Collisions with walls
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue