Commit graph

111 commits

Author SHA1 Message Date
bba3c52228
Make hotbar blocks 3D 2021-06-11 16:59:48 +02:00
59e4172083
Implement based occlusion culling 2021-06-10 21:57:23 +02:00
03781e3dc8
Fix player movement 2021-06-10 21:56:33 +02:00
307cb748d5
Move GeometryBuffers to its own file 2021-06-10 18:29:15 +02:00
1960da95df
Use Point3::map where possible 2021-06-10 18:28:13 +02:00
f6bb14ba4b
Fix mid-air jumping 2021-06-10 17:00:44 +02:00
d006c6f9ef
Reorder fields in State 2021-06-10 16:43:20 +02:00
6c50c6ac70
Remove things from WorldState to State and World 2021-06-10 16:37:12 +02:00
aa8d7aed83
Move hud_state stuff into own "renderables" 2021-06-10 13:18:50 +02:00
11348f8086
First efforts towards removing world_state and hud_state 2021-06-08 22:36:26 +02:00
ec6978fee9
Allow for selecting a block to place 2021-06-08 20:26:58 +02:00
6c2151ffb9
Change GUI textures to Minecraft ones 2021-06-07 19:17:04 +02:00
6794213f7d
🦀 collision detection bugs are gone 🦀 2021-06-07 19:06:16 +02:00
191f9b1f28
make collision detection not suck 2021-06-07 04:14:27 +02:00
c8e02c6f86
Fix saving 2021-06-07 02:26:28 +02:00
5d7101ae0b
rm -rf unused imports 2021-06-07 01:39:08 +02:00
4a56bc5a24
Improve collision 2021-06-07 01:24:38 +02:00
b13be0ebc1
Merge branch 'main' of ssh://git.sijman.nl:221/_/minecrab 2021-06-06 13:37:27 +02:00
0e53db6ffc
Update more than 1 chunk per frame if the framerate allows 2021-06-06 13:34:57 +02:00
9fb640c4e0 Replace a very ugly float comparison with integer logic 2021-06-04 02:38:51 +02:00
67f275b2fc Move update_chunk_geometry into Chunk 2021-06-04 02:23:26 +02:00
1b91fa94c0 Big project structure reorder 2021-06-04 01:45:51 +02:00
4bba01058b
Implement chunk unloading, frustrum culling and some other minor optimisations 2021-06-03 16:34:42 +02:00
206f7857fa
Make Geometry indices generic, make The Crab use it 2021-06-03 12:13:24 +02:00
bd54a1bc14
Move some more world-related stuff to World 2021-06-03 11:59:39 +02:00
0ca35638fc
Move chunk loading/saving logic to World, sort chunk loading based on distance to camera 2021-06-03 04:06:59 +02:00
a8936d9046
Merge branch 'serialize-chunks' 2021-06-03 00:26:29 +02:00
f64ccd087e
ci ye 2021-06-03 00:10:31 +02:00
11b6abb0d4
Implement chunk loading and saving 2021-06-03 00:08:49 +02:00
15247d12d4
Allow for chunks with negative coordinates 2021-06-02 19:45:29 +02:00
023d010c84
Merge branch 'return_of_the_crab' 2021-06-02 17:21:15 +02:00
c22409bd54
Clean up main.rs event handling a little 2021-06-02 17:21:03 +02:00
d56f8d7c56 Merge branch 'main' into return_of_the_crab 2021-06-02 17:00:08 +02:00
d2ff642b3b
? 2021-06-02 16:58:55 +02:00
c91d6a851e
Release the cursor on unfocus 2021-06-02 16:50:58 +02:00
9e52359112
Merge branch 'main' into return_of_the_crab 2021-06-02 16:37:56 +02:00
08f78ab453
Add creative mode toggle 2021-06-02 16:30:34 +02:00
aec3509107 Eminem - Crab God.mp3 2021-06-02 16:29:13 +02:00
071f300368 shits wack yo 2021-06-02 16:07:59 +02:00
d8dfe7b4d1
Parallellize update_chunk_geometry 2021-06-02 15:51:10 +02:00
fb9aba8f61
Further simplify Quad::to_geometry 2021-06-02 13:16:14 +02:00
2fb56b9e6f
Simplify Quad::to_geometry signature and document it 2021-06-02 12:44:24 +02:00
cfe4304f7c
Move cube::to_vertices to quad::to_vertices 2021-06-02 12:19:56 +02:00
107c7c5cab
Rename package 2021-06-02 03:40:42 +02:00
233d725e05
Small cleanup 2021-06-02 03:37:24 +02:00
14a2e91b26
Add GeometryBuffers struct containing vertex and index buffers 2021-06-02 03:20:33 +02:00
8bc41825d2
Create Geometry struct to replace vertex/index tuples 2021-06-02 02:33:26 +02:00
c8e455053b
Fix fps table alignment 2021-06-02 01:26:29 +02:00
41099e3481
Implement hotbar slot selection 2021-06-02 01:25:12 +02:00
37b0c99d16 added crab model 2021-06-01 23:51:32 +02:00