Commit Graph

91 Commits

Author SHA1 Message Date
Alex Zenla
fbf66585eb upgrade SDL3 to d4b80726142d9108f16d4806c09779d612501608 2024-09-02 04:16:29 +10:00
f2031ac442 autoupdate damaged chunks, removes instance drawing 2024-09-02 02:38:48 +10:00
5f372a9398 initial chunk render caching 2024-09-01 23:34:32 +10:00
da26773221 prep for chunk meshing 2024-09-01 21:16:05 +10:00
cb0e7bb232 2d improved perlin 2024-09-01 18:19:42 +10:00
64fcebf4e5 simpler range mask calculation 2024-09-01 05:11:48 +10:00
1f74b79ea2 split split mix sixty four 2024-09-01 02:09:49 +10:00
c99155fb47 split worldgen 2024-08-30 21:56:39 +10:00
9951d56a12 reference macos instead of osx 2024-08-30 18:54:58 +10:00
8ac1363525 exclude framework subdirectories too 2024-08-30 18:51:55 +10:00
d39dba95b8 exclude framworks from linguist 2024-08-30 18:49:00 +10:00
c7f7c8caec move generation inner loop 2024-08-30 18:44:55 +10:00
cc936248e5 funny colours (world) 2024-08-30 01:58:52 +10:00
c5dd2caf48 simplex noise 2024-08-29 03:56:54 +10:00
f95be3f5f4 split rectangle 2024-08-28 16:22:20 +10:00
503c48404c project mouse into view when clicking w/ mouse unlocked 2024-08-28 02:28:24 +10:00
160c9c8a68 multiple chunks 2024-08-25 19:23:47 +10:00
8de398ce13 avoid unnecessary conversion of colours between half4 to float4 and back again 2024-08-25 15:14:00 +10:00
428b142bf2 un-hardcode various render properties (environment, material) 2024-08-25 14:49:07 +10:00
7a417e0701 add mouse support 2024-08-24 13:52:32 +10:00
e087ed682f block placing 2024-08-24 11:10:36 +10:00
7d6d361fde basic block picking 2024-08-23 21:02:00 +10:00
9ef60faa86 improved perlin basic blockgen 2024-08-23 16:55:59 +10:00
efd9905f5b generalise shared prng functionality to interfaces 2024-08-23 09:13:42 +10:00
39d46da7f7 allow camera movement with the keyboard 2024-08-22 17:08:28 +10:00
83fc86d2a5 replace darwin prng with higher quality prngs 2024-08-22 14:19:45 +10:00
cad6418cff organise maths helpers 2024-08-22 06:24:30 +10:00
b24d154c93 broader randomrange extensions 2024-08-22 05:57:03 +10:00
6a57a8580e reorder collision response so zipping up is prioritised over left if player gets stuck in a block 2024-08-22 03:52:21 +10:00
7eb880f0b7 linearise block colours at generation time 2024-08-22 03:49:50 +10:00
8e3fdfdc25 more random colours 2024-08-22 03:47:01 +10:00
cb2ffe78a4 use arc4random to seed non-csprng, fleshes out random subsystem 2024-08-22 03:37:29 +10:00
394e340f09 basis for random subsystem 2024-08-22 03:09:53 +10:00
b7dba429cf buffer jump input 2024-08-20 15:14:40 +10:00
bcc56956b3 restore player collision 2024-08-20 03:41:26 +10:00
9dd56faa4e initial voxel system revamp 2024-08-20 03:21:55 +10:00
2e8f1de0a7 player physics overhaul 2024-08-20 02:17:39 +10:00
2c0b83e671 spawn and reset on top of the chunk 2024-08-20 01:03:58 +10:00
8ec9138b51
block delet 2024-08-18 18:37:32 -07:00
799c7a2a55
initial voxel implementation 2024-08-18 18:16:27 -07:00
9b455652ff higher quality depth buffer 2024-08-19 08:19:13 +10:00
8904db24a5 use floats for instance colour memory 2024-08-19 07:59:36 +10:00
f203bcc7c1 move indices to buffers 2024-08-19 07:51:43 +10:00
83972502bb ambient & diffuse colours 2024-08-19 00:24:01 +10:00
5a7b53833d specular highlights (blinn-phong) 2024-08-19 00:05:53 +10:00
94ed59055a separate shader uniforms structures 2024-08-18 01:20:19 +10:00
f7255c473c initial lighting 2024-08-18 01:10:25 +10:00
55d47a2d2f slight refactor 2024-08-17 21:54:26 +10:00
64db513f62 sRGB aware framebuffer & colour handling 2024-08-16 22:18:44 +10:00
761fb71af3 prevent gameplay time delta getting too high 2024-08-16 00:48:05 +10:00