Fully python-driven scene. Lots of interaction needs testing but the broad strokes are there for mouse pan/zoom on multiple grids and any number of UIs

This commit is contained in:
John McCardle 2023-03-04 23:04:16 -05:00
commit 257aa3c3d2
8 changed files with 191 additions and 3 deletions

View file

@ -3,6 +3,7 @@
// macros for scene input
#define ACTION(X, Y) (name.compare(X) == 0 && type.compare(Y) == 0)
#define ACTIONONCE(X) ((name.compare(X) == 0 && type.compare("start") == 0 && !actionState[name]))
#define ACTIONAFTER(X) ((name.compare(X) == 0 && type.compare("end") == 0 && actionState[name]))
#include "Common.h"
//#include "GameEngine.h"