Commit Graph

109 Commits

Author SHA1 Message Date
Holly Stubbs 3b208eb8db
lighting sort of works 2023-06-19 18:29:16 +01:00
Holly Stubbs 15917f1533
Rework to use new bufferStuff submodule 2023-05-02 20:39:40 +01:00
Holly Stubbs 2aedd81baa
WIP: Lighting 2023-05-02 08:50:49 +01:00
Holly Stubbs ad1c402d84
fix massive crators appearing, see: https://eusv.net/ZHMjQZTTNNM2nS 2023-04-17 02:15:51 +01:00
Holly Stubbs 8b906bfe8f
allow chunks to be saved again. oops 2023-04-17 02:07:01 +01:00
Holly Stubbs e21bda6201
Add basic cave generation 2023-04-17 02:05:11 +01:00
Holly Stubbs 0653da20b2
read config compression type as SaveCompressionType 2023-04-17 02:05:01 +01:00
Holly Stubbs 686a694432
cross chunk block placement 2023-04-13 23:52:13 +01:00
Holly Stubbs 35aa372d8e Force write chunks to disk on initial generation 2023-04-13 10:46:09 +01:00
Holly Stubbs 47f6d5cc37
Fix loading not actually working because of bogus instanceof checks 2023-04-13 00:26:01 +01:00
Holly Stubbs dd257acfe2
fix it for deflate as well oops 2023-04-12 23:38:27 +01:00
Holly Stubbs f8a52dfc98
Fix chunk loading 2023-04-12 23:37:51 +01:00
Holly Stubbs b474d35775
f 2023-04-12 23:01:23 +01:00
Holly Stubbs 860c8f4866
wip saving to disk / chunk async 2023-04-11 07:47:56 +01:00
Holly Stubbs 42cef0a838
WIP: Inventory support 2023-04-11 01:53:33 +01:00
Holly Stubbs b371521fda
Animations & Metadata 2023-04-10 21:52:30 +01:00
Holly Stubbs f93bb2605d
players!!!! 2023-04-10 14:42:14 +01:00
Holly Stubbs e5ba93ce9c
fix more codefactor issues 2023-04-09 04:51:30 +01:00
Holly Stubbs 16c7b5ddcc
fix a whole bunch of codefactor issues 2023-04-09 04:47:23 +01:00
Holly Stubbs 5de6e74323
INFINITE TERRAIN!!!! 2023-04-09 04:19:10 +01:00
Holly Stubbs 3edcbc062f
Initial TypeScript commit 2023-04-08 20:52:47 +01:00
Holly Stubbs d730e8f115
a 2023-04-07 21:24:42 +01:00
Holly Stubbs aafee602e9
chunk limiter had the wrong value 2021-10-24 01:28:06 +01:00
Holly Stubbs a97f313879
Add "Block" class and replace all usages of id's with static block referances 2021-10-22 11:37:35 +01:00
Holly Stubbs 65852606b3
improve speed of tree block queueing 2021-10-21 11:38:19 +01:00
Holly Stubbs 3ece5a575d
improve funkyArray's efficiency 2021-10-21 11:37:11 +01:00
Holly Stubbs 67a995fb5a
Add flowers to the generator 2021-10-21 11:35:55 +01:00
Holly Stubbs 5b0fe58b4e
metadata support
I wanted to put tall grass down but it defaults to shrubs and needs a damage value
2021-10-21 01:29:25 +01:00
Holly Stubbs fff42cf947
add preliminary support for nibbles 2021-10-21 01:27:45 +01:00
Holly Stubbs 8fc089834f
change ChunkWorker to support different terrain generators 2021-10-19 08:20:00 +01:00
Holly Stubbs d3f630703f
move terrain generators to sepreate files and introduce perlin
the perlin.js is from https://github.com/leodeslf/perlin-noise and modified to work with node
2021-10-19 08:18:20 +01:00
Holly Stubbs ca164e1c0a
we don't need to floor this
it's an integer and we're doing a bit shift on it lmao.
2021-10-19 08:17:18 +01:00
Holly Stubbs e97e0017da Inventory base 2021-10-17 00:52:21 +01:00
Holly Stubbs 7def0e3835 Fix janky player movement (whoops) 2021-09-22 19:12:00 +01:00
Holly Stubbs a8eb071504 this is stupid 2021-08-27 00:32:40 +01:00
Holly Stubbs 5bf2e81406 pre alloc chunk header 2021-08-27 00:15:02 +01:00
Holly Stubbs 0c50e5e7ef add license to the top of each file 2021-08-24 15:29:46 +01:00
Holly Stubbs d34724227a whoops 2021-08-24 15:13:48 +01:00
Holly Stubbs 3dbd4d9a57 Support memory pre-allocation for all writable types 2021-08-24 15:12:21 +01:00
Holly Stubbs 1001bb88fe Extreme jank to support players 2021-08-24 15:08:48 +01:00
Holly Stubbs ad550a8e7b code cleanup 2021-08-21 09:38:25 +01:00
Holly Stubbs bcdf82017c don't need the uuid module 2021-08-21 08:38:12 +01:00
Holly Stubbs ec71e933eb it does you know 2021-08-21 08:22:23 +01:00
Holly Stubbs 6479aad437 reduce thread pool threads for the world 2021-08-21 08:22:09 +01:00
Holly Stubbs 0b7ea5aa9a lots a shit 2021-08-20 22:42:00 +01:00
Holly Stubbs 4f9d056886 more entity stuff 2021-08-18 01:26:04 +01:00
Holly Stubbs 8ed10d1c80 use regular int for the time 2021-08-18 01:25:55 +01:00
Holly Stubbs fd133827ec implement time sending 2021-08-15 11:33:08 +01:00
Holly Stubbs 98957538dc fsfgasfa 2021-08-15 11:32:49 +01:00
Holly Stubbs 59a9ec907f cleanup 2021-08-15 11:32:38 +01:00
Holly Stubbs f2b180fedb oops 2021-08-15 11:32:17 +01:00
Holly Stubbs 45bdbdc354 srhsfsfg 2021-08-15 00:21:41 +01:00
Holly Stubbs 19880f1e8d make chunk generation use the thread pool 2021-08-12 22:01:07 +01:00
Holly Stubbs cfde8a7b87 asdf 2021-08-12 08:55:05 +01:00
Holly Stubbs e51415766c fsdfdsf 2021-08-12 08:41:08 +01:00
Holly Stubbs c7a65b0dfa trhsry 2021-08-12 05:13:25 +01:00
Holly Stubbs 1c775cfd60 fsdfdsf 2021-08-12 04:58:56 +01:00
Ethan Stubbs c50328818f uosodfsjfid 2021-08-12 01:44:18 +01:00
Holly Stubbs ba7618a17a opppoko 2021-08-11 15:05:14 +01:00