SpoutDev/SpoutAPI — pull request #219 by bergerkiller (2012-05-22 09:41:28+00:00)
Title: Implemented the missing constants and functions from lighting

Signed-off-by: berger killer

Filtered from the lighting pull. These are constant additions & fixes, plus some functions that were included before. The only thing doubtful about this is the BASE_MASK change (from -CHUNK_SIZE to CHUNK_SIZE - 1), although the base mask should be 15 to perform xyz - to - chunk calculations.

Spout also has some changes that make it use these functions: