| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add freetype for font rendering, display fps in stderr | Aaditya Dhruv | 42 hours | 1 | -1/+2 |
| | | |||||
| * | rename engine_draw to engine_start | Aaditya Dhruv | 46 hours | 1 | -2/+2 |
| | | |||||
| * | Update chunk rendering, improve chunk loading | Aaditya Dhruv | 2 days | 1 | -1/+10 |
| | | | | | | | | | | | - On world_init, LOAD_CHUNK amount of chunks are preloaded - Chunks are loaded around the player's current chunk, in a square shape. The size of the shape is controlled by CHUNK_DISTANCE - Allow chunks struct to be independent of a position. We load a chunk TO a position in the world chunk grid (x, y). This allows us to "wrap" chunks, so we have an endless world, but we are really just wrapping around | ||||
| * | Add camera handling and movement | Aaditya Dhruv | 4 days | 1 | -0/+1 |
| | | | | | | | | | Camera related movements have been moved to camera.c - it tracks the matrices as well so we don't have to call it in block_update The player class is empty right now, but the camera will be a child of the player, and the player a child of the engine | ||||
| * | rotating cube | Aaditya Dhruv | 7 days | 1 | -0/+26 |
