1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

Add macro removeblock_iter()

When we switch blocks to not use 'active', we'll need this macro to
remove blocks while iterating through the vector, one at a time,
forwards.
This commit is contained in:
Misa 2020-04-03 15:55:04 -07:00 committed by Ethan Lee
parent 7edbebac92
commit 7689241d3a

View file

@ -9,6 +9,7 @@
#include <string> #include <string>
#define removeentity_iter(index) { obj.removeentity(index); index--; } #define removeentity_iter(index) { obj.removeentity(index); index--; }
#define removeblock_iter(index) { obj.removeblock(index); index--; }
enum enum
{ {