1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 01:59: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:
Misa 2020-04-03 13:07:04 -07:00 committed by Ethan Lee
parent 1156582ceb
commit a67ab8e3a7

View file

@ -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,