mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03: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:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user