Commit graph

134 commits

Author SHA1 Message Date
2be0e28305 delete 2023-04-17 19:55:53 +02:00
62107a20d8 delete 2023-04-17 19:51:02 +02:00
98dd54f1f2 lööp 2023-04-17 19:35:19 +02:00
crumblingstatue
4bcbbaebb8 Add more items 2023-04-17 16:05:01 +02:00
crumblingstatue
5a225c1402 Make tile db edit ui more bearable to use 2023-04-17 14:10:04 +02:00
crumblingstatue
1e665378f8 Make tile ids strongly typed between bg/mid/fg 2023-04-17 13:41:51 +02:00
crumblingstatue
cdf73d0739 Add basic command history 2023-04-16 01:51:37 +02:00
crumblingstatue
f8ff92a84d Log unsuccessful item give in console 2023-04-16 01:45:20 +02:00
crumblingstatue
5f7924b696 Item give command, define panzerium as item 2023-04-16 01:16:14 +02:00
crumblingstatue
4dfb0ff7d7 Console, experimental tile graphic for continuous tiles 2023-04-16 01:03:12 +02:00
crumblingstatue
0cb1f9017e Epic labeled break 2023-04-15 23:05:56 +02:00
crumblingstatue
464d8dc8be Very basic inventory 2023-04-15 22:47:53 +02:00
crumblingstatue
cee7652e09 More graphics, live reloading of textures 2023-04-15 20:37:01 +02:00
crumblingstatue
5ed33b785f Fix clippy lints 2023-04-15 19:27:07 +02:00
crumblingstatue
45801205dc Implement texture atlas building 2023-04-15 19:26:36 +02:00
crumblingstatue
5ec0ad0da4 Put music and graphics in different folders 2023-04-15 16:14:49 +02:00
crumblingstatue
984686f26b Fix chunk serialization test 2023-04-15 12:40:54 +02:00
crumblingstatue
d7f57a2176 Store worlds in user data dir 2023-04-15 12:36:47 +02:00
crumblingstatue
d2da1b39ed save_chunk: Remove a bunch of dbg!s 2023-04-15 10:52:38 +02:00
crumblingstatue
49ce3fcbf8 Move unbreakable layer further down 2023-04-15 09:40:35 +02:00
crumblingstatue
e9e7b6246f Remove temporary region file in test 2023-04-14 23:45:30 +02:00
crumblingstatue
8345879a61 Get rid of garbage trailing data by truncating compressed region files 2023-04-14 23:40:18 +02:00
crumblingstatue
04d5b661c3 Another assertion 2023-04-14 22:46:41 +02:00
crumblingstatue
c93e2b7ed8 Put Chunk::load_from_region into serialization module 2023-04-14 22:22:45 +02:00
crumblingstatue
fbc6aacce5 Put save_chunk fn in serialization module 2023-04-14 22:01:10 +02:00
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
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