Commit 0c38cefa

– add render code and shaders for the wall build markers
– push coordinates and vertices data to render some examples
– rename the shaders to actually be more uniform
– improve the hash function for the walls (again), hopefullly for the last time (sic)

This is the first commit that brings in code for the build markers. The way that OLives deals with this task is done in three steps:

  • Showing markers in tile intersections from which you are able to build from
  • From there, show intersections to which one can build from there
  • Once clicked upon, add walls in-between the two points

This commit added a lot of the boilerplate code to draw these markers to the renderer and the world, no logic has been added yet to actually determine when or where to draw them.

Commit 00aaf345

add setting/resetting of wall tile types

Similar to adding objects and tiles the user can now also set/reset the wall types (read: wall papers) on either side of a piece of wall.
This is slightly more complicated as in the case of tiles, as here both sides of a piece of wall have to be regarded individually.
This change had effects on the shaders, the renderer, the World class, the SelectionState, the GameState and some other crowd favourites.
What is, however, still missing though is the removal and placement of walls.