Commit graph

129 commits

Author SHA1 Message Date
crumblingstatue
fd42272155 Remove unnecessary end index calculation 2023-04-14 20:54:00 +02:00
crumblingstatue
c8bdc7c6dd Only bg 2023-04-14 20:49:52 +02:00
crumblingstatue
b1bd0c068a Do just a decode to check validity 2023-04-14 19:09:42 +02:00
crumblingstatue
fdae91b420 Further pinpoint 2023-04-14 19:07:19 +02:00
crumblingstatue
363d332c0d More granular test 2023-04-14 17:57:27 +02:00
crumblingstatue
a9df8af4cf More granular tests 2023-04-14 17:48:35 +02:00
crumblingstatue
80e10e4e91 Factor out single chunk saving code into a function 2023-04-14 17:42:22 +02:00
crumblingstatue
7c4af574cd Merge World impl blocks 2023-04-14 17:39:33 +02:00
crumblingstatue
0e484b92f3 Remove dir before running test 2023-04-14 17:37:28 +02:00
crumblingstatue
4fb7d4c412 Smaller 2023-04-14 17:34:49 +02:00
crumblingstatue
11dcc815f9 Decrease more 2023-04-14 16:34:45 +02:00
crumblingstatue
b7515c1bd5 Decrease 2023-04-14 16:34:18 +02:00
crumblingstatue
faa3129c6f Create world serialization test that reproduces zstd frame issue 2023-04-14 16:32:10 +02:00
crumblingstatue
0b491a91c5 Evaluate side effects outside of log macro
Otherwise, they will not be evaluated if the logger isn't init correctly
2023-04-14 16:16:59 +02:00
crumblingstatue
5b86b40e47 Use a constant seed for worldgen for debugging purposes 2023-04-14 13:05:51 +02:00
crumblingstatue
d08f8daf59 More assertions 2023-04-14 13:03:21 +02:00
crumblingstatue
ff44ee6959 Factor out ExistenceBitset, remove unneeded resize of region data vector 2023-04-14 12:41:03 +02:00
crumblingstatue
4457dae8c9 Don't write and read back empty region file if it doesn't exist.
Instead, just create the data in-memory
2023-04-14 12:16:50 +02:00
crumblingstatue
6d12d5c048 Use zstd compression level 9 2023-04-14 12:03:22 +02:00
crumblingstatue
30a41dc2a5 Dep update 2023-04-14 11:49:23 +02:00
crumblingstatue
c1a4c0db87 Clippy shenanigans 2023-04-14 11:48:19 +02:00
crumblingstatue
432be07370 Debug stuff 2023-04-14 11:45:25 +02:00
crumblingstatue
129585ba64 Add arg parsing, support multiple worlds 2023-04-12 22:18:52 +02:00
crumblingstatue
83f35e51ee Rudimentary (buggy) world serialization/deserialization 2023-04-12 22:11:02 +02:00
crumblingstatue
6896698883 First phase of serialization 2023-04-09 01:31:34 +02:00
crumblingstatue
aed3e86a17 Define region chunk extent 2023-04-09 00:00:57 +02:00
crumblingstatue
7c3bfe373a More around design documents, add save design doc 2023-04-08 23:41:56 +02:00
crumblingstatue
06a0593b72 Add idea about no respawn after quit&save 2023-04-08 22:16:25 +02:00
crumblingstatue
91c727e509 Add comment 2023-04-08 22:12:53 +02:00
crumblingstatue
e7c30d231b Shorten the name of various scalar types 2023-04-08 22:12:05 +02:00
crumblingstatue
390a4d45d2 Move the player inside World 2023-04-08 22:10:10 +02:00
crumblingstatue
4fd826c218 Put ticks into World 2023-04-08 22:04:21 +02:00
crumblingstatue
2578538d56 Add idea about no world hopping 2023-04-08 22:01:53 +02:00
crumblingstatue
08141c0e6f Remove unused clock from game state 2023-04-08 21:59:10 +02:00
crumblingstatue
a1e9bc6754 Make gravity more forgiving (3 block jump) 2023-04-08 20:41:02 +02:00
crumblingstatue
47035f1460 Implement platforms 2023-04-08 19:21:07 +02:00
crumblingstatue
1662857731 Add scroll area to tile db 2023-04-08 17:54:25 +02:00
crumblingstatue
38b6a476d9 Implement torch flickering 2023-04-08 17:43:30 +02:00
crumblingstatue
9b2701a5a1 Add timing information to design 2023-04-08 16:46:17 +02:00
crumblingstatue
30d589b09e Add design notes about crafting 2023-04-08 16:44:06 +02:00
crumblingstatue
79e2ba7b83 Make light offset of tiles variable 2023-04-08 16:14:59 +02:00
crumblingstatue
07c7d628ee Dep update 2023-04-08 16:14:38 +02:00
crumblingstatue
77099ab8a6 Add torches 2023-04-08 01:26:44 +02:00
crumblingstatue
704819a988 Remove unused res-src folder 2023-04-07 23:45:03 +02:00
crumblingstatue
7c4012e139 Add light dropoff the deeper you go 2023-04-07 23:31:26 +02:00
crumblingstatue
178babdec9 Improve lighting a bit 2023-04-07 23:05:24 +02:00
crumblingstatue
c78123ccd8 Properly resize lightmap along with game render texture 2023-04-07 22:22:46 +02:00
crumblingstatue
f9a99fc0ae Switch to lightmap texture based lighting 2023-04-07 22:16:57 +02:00
crumblingstatue
907a5da105 Make light params configurable 2023-04-07 01:24:29 +02:00
crumblingstatue
3876ced7d8 Inspect mobile entity, also use horizontal scroll area for inspect area 2023-04-07 01:13:09 +02:00