Commit Graph

147 Commits

Author SHA1 Message Date
00b64041ce externals: Update SDL3Swift 2025-05-10 04:24:32 +10:00
3795258b4e cmake: Use public SDLSwift interfaces 2025-05-03 18:47:48 +10:00
06f04127aa Remove SDLSwift and switch to using submodule 2025-05-03 17:19:29 +10:00
66d8766eea fix add_library when included as a module 2025-02-25 18:24:05 +11:00
e79b1e853d Update SDL3 xcframework to 3.2.4 2025-02-08 00:19:15 +11:00
a40686a87c Fix build errors against release SDL 3.2.0 ABI 2025-01-27 01:21:30 +11:00
Alex Zenla
31ef295f52
SDL upgrade 2025-01-26 09:13:40 -05:00
Alex Zenla
3b2a6ffb6a
implement on screen virtual controller for iOS 2024-09-14 23:39:46 -04:00
d7cb051fb7 split core renderer stuff into metal subfolder 2024-09-12 11:37:08 +10:00
667201fe49 renderer: internal support for blend modes 2024-09-10 10:38:27 +10:00
Alex Zenla
f8a80c6b38
Request more memory from the system on iPad 2024-09-08 21:26:07 -04:00
b6085c8f1c switch permutation type to ubyte 2024-09-09 04:11:26 +10:00
493790bd64 colour no longer requires SIMD type as backing store 2024-09-09 03:23:15 +10:00
d520623492 replace expensive srgb conversion with a simple gamma ramp in chunk mesh builder 2024-09-09 03:02:31 +10:00
d4b1377238 decrease memory usage by storing chunk colours as 8bit (at the cost of slower mesh generation) 2024-09-09 02:34:04 +10:00
53e1f9cc7e requires signing bullshit so it has to go for now, sorry alex 2024-09-09 02:26:02 +10:00
935aa3e765 refactor chunk rendering and fix chunk rendering precision loss at large positions 2024-09-09 02:21:15 +10:00
Alex Zenla
6e99401474
improvements to iOS support 2024-09-07 22:47:04 -04:00
8346dee2a6 make chunkid id field private 2024-09-08 04:21:26 +10:00
b804030594 turn the ChunkID type alias into a real type 2024-09-08 03:47:26 +10:00
76b61c49ae ravine gaming 2024-09-07 13:50:40 +10:00
ee54e011a1 world regen clears all chunks 2024-09-07 04:05:50 +10:00
c80e456d3e fix player ground detection 2024-09-07 00:09:51 +10:00
2a11080eba move some shared binds to a setup stage 2024-09-06 23:54:23 +10:00
34ec6f71eb model batch untz untz untz 2024-09-06 23:07:53 +10:00
Alex Zenla
54ed81b15d
fix ghost chunks and wait for generation on startup 2024-09-05 21:16:29 -04:00
57b97148a4 initial modelbatch 2024-09-06 06:37:19 +10:00
0289992e4b gelato world has reiceve updat e 2024-09-06 01:38:57 +10:00
fed6a26882 technicolour icecream hellscape terrain 2024-09-05 22:32:30 +10:00
301aa28c4d fix significant oversights in noise & random 2024-09-05 21:46:49 +10:00
2a4eb2283a player physics pass 2024-09-04 22:15:29 +10:00
080522e01b tower world gen 2024-09-04 01:38:27 +10:00
f77b64cc85 fail in a non crashy way for big chunk model generation 2024-09-04 00:19:08 +10:00
Alex Zenla
cfb985cff6
implement parallel chunk mesh building 2024-09-03 09:48:41 -04:00
94ae0c26b1 adjust chunk generation range 2024-09-03 23:42:28 +10:00
Alex Zenla
5e40e12c8b
implement infinite worlds with threaded chunk generation 2024-09-03 09:18:55 -04:00
Alex Zenla
6f985ce1c9
Merge pull request #6 from GayPizzaSpecifications/mobile-support
Official iOS/iPadOS/visionOS/tvOS support
2024-09-03 05:45:29 -04:00
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