Commit ec47d148

add fundamentals for the selection logic (WiP)

This adds a second draw pass that draws a second image resource on the renderer that is not visible to the user. It will but will only be used to identify objects, walls and tiles on the screen by drawing each individual entity with a unique, single colour.
Once a mouse click is registered, a copy of that image is made to CPU readable memory in order to check the unique (RGB) colour at the given pixel coordinates. However, so far nothing is actually done with this information.

Commit 75f74edd

wait for the path to clear for 200 ticks before giving up navigation

Since we are only looking for static objects when plotting a path, dynamic objects may end up blocking the way. Those dynamic (as in “moving”) objects might also move away again, to account for this, wait 200 ticks and try again before giving up.

In the above video you can see how the first chair first blocks the way, so the second one waits before it tries again after 200 ticks.