Commit graph

134 commits

Author SHA1 Message Date
xtreme8000
73a4dae4e2 Read font glyph width from texture 2023-10-09 16:31:38 +02:00
xtreme8000
603ff814c2 Texture: convert color with min error 2023-10-09 16:29:09 +02:00
xtreme8000
fbb14af439 Fix player model arm pivot 2023-09-28 16:24:40 +02:00
xtreme8000
33efe37e40 Inventory: add 3D player model 2023-09-26 18:46:18 +02:00
xtreme8000
5038f3933e Load sun/moon texture from respective file 2023-09-24 16:02:57 +02:00
xtreme8000
5326e083ad Wii: increase line width 2023-09-24 15:50:50 +02:00
xtreme8000
0da0139fce Screenshot feature 2023-09-24 15:48:47 +02:00
xtreme8000
0ab2fe2a0f Disable deflicker filter 2023-09-24 00:09:27 +02:00
xtreme8000
7c1b7a6ab7 Add 3D clouds 2023-09-23 13:13:26 +02:00
xtreme8000
8b92af9962 Fix: chunks no longer disappear if camera above world height 2023-08-28 15:09:21 +02:00
xtreme8000
6a4007da55
Update wii/gfx.c
close #10
2023-08-10 13:39:52 +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
1040c91105 Remove reference to inventory in ingame screen
(still in testing phase)
2023-07-22 00:48:18 +02:00
xtreme8000
9b691b5a90 Show correct button for input help 2023-07-09 14:27:47 +02:00
xtreme8000
9aeddce9d6 Improve texture management 2023-07-06 12:59:04 +02:00
xtreme8000
8304df7ecb WIP: configurable input mapping 2023-07-05 23:01:59 +02:00
xtreme8000
511e695e49 Prevent exit-crash 2023-05-13 21:24:26 +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
ca295db3c7 Automatic texture atlas generation from terrain.png
cannot use terrain.png directly due to texture bleeding
2023-04-21 18:30:46 +02:00
xtreme8000
c9719c5077 Move platform/graphics/ to graphics/ 2023-04-14 19:32:51 +02:00
xtreme8000
c3b8251b4c TV 4:3 aspect ratio support 2023-04-14 17:40:35 +02:00
xtreme8000
5bbab2751d Colored text drawing 2023-04-14 16:16:30 +02:00
xtreme8000
0791d575da Hotbar change: block swing animation 2023-04-14 16:13:49 +02:00
xtreme8000
1c2b099b4f Fix: lit redstone ore 2023-04-02 19:51:12 +02:00
xtreme8000
6328ae8a6f Remove obsolete block functions 2023-03-27 19:54:06 +02:00
xtreme8000
656d9a9826 Right click animation only for blocks 2023-03-27 19:11:09 +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
3bc13b932d Finalize release v0.2.0 2023-02-11 18:03:15 +01:00
xtreme8000
1c0d823c7d Items: add diamond and gold tools 2023-02-11 17:57:04 +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
76998a7234 Displaylist: decrease memory waste
factor 1.25 instead of 2
2023-02-08 00:23:19 +01:00
xtreme8000
aec06849af Change meaning of heightmap to equal mc 2023-02-07 22:32:30 +01:00
xtreme8000
92bc123387 Impl. world saving on server side 2023-02-07 21:51:56 +01:00
xtreme8000
b4b8fab04b Always play punch/mine animation 2023-02-05 16:21:13 +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
852c0cb743 Add wooden and iron door blocks 2023-01-22 22:56:19 +01:00
xtreme8000
b0c8b70fd0 Add trapdoor block 2023-01-16 19:54:40 +01:00
xtreme8000
103a70a642 Add light propagation on block change 2023-01-15 19:24:42 +01:00
xtreme8000
9c23f4aaf1 Impl. world heightmap computation 2023-01-13 20:27:59 +01:00
xtreme8000
f9876fd4de Add flowing water texture 2023-01-13 19:37:30 +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
9013004a33 Save half a byte of memory for each block 2022-12-24 17:02:15 +01:00
xtreme8000
d49884b49a Item rendering for inventory and first person with animations 2022-12-22 00:34:49 +01:00
xtreme8000
66d5183e5c daytime.h constants 2022-12-21 22:37:33 +01:00
xtreme8000
5ca09dae29 World collision for freecam 2022-12-20 22:51:42 +01:00
xtreme8000
b72d5442e6 Impl. increasing (server) daytime 2022-12-20 00:09:57 +01:00
xtreme8000
5bd22c3a19 Support gamecube controller input 2022-12-19 23:15:20 +01:00
xtreme8000
ffc4cc65c1 Add license header to all files 2022-12-17 12:30:52 +01:00
xtreme8000
a354bc37d1 Allow immediate drawing of displaylist 2022-12-17 12:12:17 +01:00
xtreme8000
2bbae6cb96 Load inventory, position etc. from level.dat 2022-12-17 12:09:30 +01:00
xtreme8000
a8368acdb5 Remove cake todo 2022-12-14 23:39:39 +01:00
xtreme8000
bedd2dc945 Implement circular fog and sky box with sun and moon 2022-12-14 23:36:59 +01:00
xtreme8000
8e8971150a Create new gfx_util unit 2022-12-13 22:14:45 +01:00
xtreme8000
c6a0d8ea4e More block animation frames 2022-12-11 11:10:16 +01:00
xtreme8000
076fd68231 Improve region (un-)load logic 2022-12-07 22:53:08 +01:00
xtreme8000
8d27331e83 Fix fence entity collision box 2022-12-04 22:02:29 +01:00
xtreme8000
1e636728f3 Add fence block 2022-12-04 19:38:37 +01:00
xtreme8000
9b9b72f2ce Add cobweb block 2022-12-04 11:34:16 +01:00
xtreme8000
1bfa42f6a0 Add fire block 2022-12-04 11:26:59 +01:00
xtreme8000
b06a928aeb Add stairs and tnt block 2022-12-03 13:15:27 +01:00
xtreme8000
1fb781230e Improve chunk mesher throughput 2022-12-02 21:35:32 +01:00
xtreme8000
0790f5f41f Add some blocks
sponge, dispenser, note block, bookshelf, pressure plates, snow block 
and jukebox
2022-12-02 20:47:39 +01:00
xtreme8000
4efe65e657 Add soul sand and netherrack block 2022-12-02 15:49:25 +01:00
xtreme8000
e18f31cdcf WIP mc beta world save loading 2022-12-01 22:07:08 +01:00
xtreme8000
c8f3f33c22 Add wool block 2022-12-01 00:20:26 +01:00
xtreme8000
b0d2ff1da7 Fix ice texture index 2022-11-30 23:45:13 +01:00
xtreme8000
529b95f051 Displaylist safety 2022-11-30 12:07:26 +01:00
xtreme8000
42e5246696 Move chunk meshing and local server to own threads 2022-11-30 12:07:12 +01:00
xtreme8000
eb2b52c0ca Rename to main.c 2022-11-22 22:05:32 +01:00
xtreme8000
60b177346e Large code refactoring 2022-11-22 22:03:12 +01:00
xtreme8000
522e3e04c7 Block flammable property 2022-11-22 22:03:12 +01:00
xtreme8000
a3af7e5f58 Stable tallgrass offset based on world coord 2022-11-22 22:03:12 +01:00
xtreme8000
8c684bff94 Speed up chunk geometry generation 2022-11-22 22:03:12 +01:00
xtreme8000
ca20651ba7 Build all displaylists in one run 2022-11-22 22:03:12 +01:00
xtreme8000
fad026c105 Generate displaylist without hardware FIFO 2022-11-22 22:03:12 +01:00
xtreme8000
97d6b8c041 Codebase ported from old project
also added many new things
2022-11-22 22:03:12 +01:00