Commit Graph

110 Commits

Author SHA1 Message Date
Alex Zenla
224bb6616c
Official iOS/iPadOS/visionOS/tvOS support 2024-09-03 05:39:45 -04:00
Alex Zenla
788cd28994
Merge pull request #5 from GayPizzaSpecifications/use-sdl-main
use main.m and SDL_main functionality
2024-09-03 05:04:35 -04:00
Alex Zenla
b0ccd3b335
use main.m and SDL_main functionality 2024-09-03 05:01:18 -04:00
a dinosaur
e4194ff2ec
Merge pull request #4 from GayPizzaSpecifications/thread-current-interactive
set main thread qos to userInteractive
2024-09-03 16:55:09 +10:00
Alex Zenla
c4f510417f
set main thread qos to userInteractive 2024-09-02 16:56:08 -04:00
f4d78df0c9 noise project folder 2024-09-03 02:58:25 +10:00
c24e6245fe move noise stuff 2024-09-03 02:57:29 +10:00
60e6059d61 hopefully more robust platform detection 2024-09-03 02:52:03 +10:00
83c85126e7 use instance buffer storage mode most appropriate for the hardware 2024-09-03 02:08:12 +10:00
427116e6bc use private storage for mesh buffers 2024-09-03 02:03:38 +10:00
0cdc495434 don't damage chunk if a one block change doesn't touch a solid 2024-09-02 19:59:37 +10:00
d35de84221 rearrange some sources 2024-09-02 19:13:29 +10:00
a dinosaur
fc50f0b350
Merge pull request #2 from GayPizzaSpecifications/bye-bye-float16
RIP to Float16, it's sad that Intel doesn't support you.
2024-09-02 19:07:11 +10:00
42244456c9 restore halfs in shader 2024-09-02 19:06:16 +10:00
Alex Zenla
4209a925c4 RIP to Float16, it's sad that Intel doesn't support you. 2024-09-02 19:03:12 +10:00
a dinosaur
b1f2f645f6
Merge pull request #3 from GayPizzaSpecifications/parallel-regen
Parallelize chunk generation using fan-out pattern.
2024-09-02 18:29:32 +10:00
2e4a7a10df use chunkid typealias for clarity in concurrent worldgen 2024-09-02 18:28:36 +10:00
Alex Zenla
65af0b321d
implement a safe concurrent dictionary 2024-09-01 22:30:47 -04:00
Alex Zenla
a149de885c
Parallelize chunk generation using fan-out pattern. 2024-09-01 19:41:22 -04:00
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