summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add camera handling and movementAaditya Dhruv4 days11-21/+112
| | | | | | | | 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
* Move input to separate fileAaditya Dhruv4 days5-7/+35
| | | | | - Input is handled in a separate thread, its all kind of unsafe right now but will fix later on
* Add World and multi-chunk renderingAaditya Dhruv5 days7-21/+87
| | | | | | | - More than 1 chunk can now be rendered with the help of the world struct - Block coords are now in world space, not local space - Engine init code cleaned up for cleaner world/chunk handling
* Add support for chunk and worldAaditya Dhruv5 days5-12/+157
| | | | | | | - Chunk is a array of blocks - World is a array of chunks - Basic chunk plains generation based on simple linear functions - Bunch of functions still not implemented, in design phase
* seed on timeAaditya Dhruv5 days1-0/+2
|
* Improve Block featuresAaditya Dhruv5 days2-14/+33
| | | | | - Rotate block scene at the center - Add block_debug to print block data
* Update local world coords for blockAaditya Dhruv6 days1-8/+9
|
* Fix block_init/draw bug, add more blocks to drawAaditya Dhruv6 days3-15/+26
| | | | | - VAO/VBO binding bug fixed, added explaination in comments - Add 9 rotating blocks
* Better rotating cubeAaditya Dhruv7 days4-43/+42
|
* rotating cubeAaditya Dhruv7 days9-62/+209
|
* wipAaditya Dhruv7 days10-119/+269
|
* initAaditya Dhruv2026-01-154-0/+2533