Move text functions into text.d
Move fov and ortho members from Game to Renderer, which cuts down on another parameter for some render functions.
Input is now class instead of struct.
Added Buffer and Data structs to organise variables and make it more clear what's going on.
gen_wireframe_buffer -> Wireframe.genBuffer
gen_chunk_buffers -> Chunk.genBuffer, chunkData -> Chunk.data, also moved map.alloc from Chunk.create into Map.ctor
Added a templated genBuffer function to Data.
Refactored rendering again.
- Wireframe, Crosshairs, and Plant have their own files. They implement Renderable interface.
- render.d and buffer.d have been stripped down to their bare functionality and the other functions that were there have been placed into more appropriate files.
- Text is now a static class, and so is Cube and Plant.
- SessionBlock has been renamed to DeltaBlock.
Fixed up gdc section of build.sh. It builds but segfaults at runtime. ldc segfaults at compile time.
Update README.md to document the state of compilation with gdc and ldc.