es92/Hexel — pull request #18 by warriordog (2013-11-06 12:18:54+00:00)
Title: Add console messages; Add basic support for mouse button input; Make block names capital; refactor blocks; updates to BlockDirt

Ignore the 2nd, 3rd, and last commit of this PR, they were created when I glitched my repo and I could not exclude them from the PR. They are no different from the current master branch. Console messages are now printed to when starting up, shutting down, and when the game crashes. This should help with debugging. I added basic (slightly buggy) support for using the mouse to edit terrain. Currently left-clicking destroys a block and right-clicking places one. Currently the view cannot be adjusted when placing or breaking with the mouse, but in my test that was not a big problem. Blocks were refactored in two ways: The names were reversed (GrassBlock -> BlockGrass) and they were moved to a separate sub-package. Dirt was updated to generate naturally, and it can be mined and placed like other blocks. It defaults to key 8.