#include "view.h" void View::process (Gst &gst, vec2 cam, vec2 mouse, int *mheld) { Ground &gr = gst.ground; std::vector &entities = gst.entities; vec2 absmouse { mouse }; absmouse -= cam; cursor_ground = -1; cursor_entity = -1; back = -1; opt = -1; if (mheld[0] == 1) { bool found = false; if (moves.size() > 0 && !found) { for (int i=0; i