mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Add macro removeentity_iter()
Also when we switch everything to not use 'active', we'll need this macro to remove entities while iterating forwards through the vector one at a time.
This commit is contained in:
parent
1156582ceb
commit
a67ab8e3a7
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
#define removeentity_iter(index) { obj.removeentity(index); index--; }
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
BLOCK = 0,
|
BLOCK = 0,
|
||||||
|
|
Loading…
Reference in a new issue