Commit graph

39 commits

Author SHA1 Message Date
xtreme8000
245f554990 Fix a few compiler warnings 2023-12-09 19:46:53 +01:00
xtreme8000
93c89a60dd Add simple furnace mechanic (similar to crafting) 2023-12-08 21:02:46 +01:00
xtreme8000
8b04631a6f Fix crafting bug if picked item wrong type/full stack 2023-12-07 23:11:03 +01:00
xtreme8000
99a280a7b1 Trigger crafting screen on workbench right-click 2023-12-06 22:27:15 +01:00
xtreme8000
bfe190ed67 Add workbench crafting screen 2023-12-06 22:02:58 +01:00
xtreme8000
b996696b86 Add randomness to thrown items 2023-12-01 18:02:15 +01:00
xtreme8000
beee78a084 Local server inventory logic (4x4 crafting)
not the prettiest solution, but it works for now
2023-12-01 17:58:15 +01:00
xtreme8000
b080997cbc Limit random block tick distance
close #24
2023-11-22 21:48:44 +01:00
xtreme8000
4524bc5a9c Protocol: block dig add side field 2023-11-20 23:16:39 +01:00
xtreme8000
0ae9251696 Save world time 2023-11-20 20:05:48 +01:00
xtreme8000
00f409871f Block random ticks (grass, leaves) 2023-11-20 18:59:53 +01:00
xtreme8000
e2186549f5 Drop correct item(s) for blocks 2023-11-13 23:19:11 +01:00
xtreme8000
5f4db4fb41 Inventory: drop picked item on close 2023-11-13 00:05:36 +01:00
xtreme8000
40b0ebed19 Add player physics and item entities 2023-10-27 23:08:52 +02:00
xtreme8000
b9d7cb7fe2 Add particles for block breaking/hits 2023-10-13 23:12:20 +02:00
xtreme8000
37e335b98f Add player inventory
synced between client and local server similar to network protocol
2023-08-08 11:15:37 +02:00
xtreme8000
8304df7ecb WIP: configurable input mapping 2023-07-05 23:01:59 +02:00
xtreme8000
ddf6827254 Block break animation and delay 2023-05-13 19:41:42 +02:00
xtreme8000
49bb8763c7 Add block placement logic 2023-05-03 00:01:32 +02:00
xtreme8000
e598af4d0e Prevent building above/below world height 2023-03-27 19:08:34 +02:00
xtreme8000
fc30334a4d WIP: pc port 2023-03-27 18:58:52 +02:00
xtreme8000
7be3341cb9 Fix lighting of neighbour chunks not saved to disk 2023-02-13 20:57:33 +01:00
xtreme8000
aa8894b0f5 Bug fix: read dimension from level.dat correctly
whoops
2023-02-11 17:50:55 +01:00
xtreme8000
d7a46ed965 World save: preserve position and rotation 2023-02-11 17:18:11 +01:00
xtreme8000
56780d9cee Impl. block lighting update on server side 2023-02-11 16:19:09 +01:00
xtreme8000
c26461f455 Fix wrong string printf usage 2023-02-08 01:53:38 +01:00
xtreme8000
92bc123387 Impl. world saving on server side 2023-02-07 21:51:56 +01:00
xtreme8000
bab1cc92c7 Allow for different dimensions 2023-02-05 16:17:28 +01:00
xtreme8000
2a69b646de GUI: world selection and loading screen 2023-02-04 23:47:37 +01:00
xtreme8000
103a70a642 Add light propagation on block change 2023-01-15 19:24:42 +01:00
xtreme8000
26e4ee7893 Divide world into columns of fixed instead of unlimited height 2022-12-27 15:43:26 +01:00
xtreme8000
3fa448492f Fix possible underflow in level_archive 2022-12-27 15:41:39 +01:00
xtreme8000
b72d5442e6 Impl. increasing (server) daytime 2022-12-20 00:09:57 +01:00
xtreme8000
ffc4cc65c1 Add license header to all files 2022-12-17 12:30:52 +01:00
xtreme8000
2bbae6cb96 Load inventory, position etc. from level.dat 2022-12-17 12:09:30 +01:00
xtreme8000
076fd68231 Improve region (un-)load logic 2022-12-07 22:53:08 +01:00
xtreme8000
e18f31cdcf WIP mc beta world save loading 2022-12-01 22:07:08 +01:00
xtreme8000
42e5246696 Move chunk meshing and local server to own threads 2022-11-30 12:07:12 +01:00
xtreme8000
60b177346e Large code refactoring 2022-11-22 22:03:12 +01:00