Commit graph

88 commits

Author SHA1 Message Date
206f7857fa
Make Geometry indices generic, make The Crab use it
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-03 04:06:59 +02:00
a8936d9046
Merge branch 'serialize-chunks'
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-03 00:26:29 +02:00
f64ccd087e
ci ye
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-03 00:10:31 +02:00
11b6abb0d4
Implement chunk loading and saving
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-06-03 00:08:49 +02:00
15247d12d4
Allow for chunks with negative coordinates
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-02 19:45:29 +02:00
023d010c84
Merge branch 'return_of_the_crab'
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
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
032d527af3
Differentiate between Vertex and BlockVertex
This allows for BlockVertex to store additional information, like the texture ID, without resorting to ugly hacks like passing it as a float
2021-06-01 23:27:08 +02:00
fb23daa60c fixed shader bug for stone under dirt stuff on nvidia+mac 2021-06-01 22:20:00 +02:00
5c33afbc59
Fix input on macOS 2021-06-01 22:01:45 +02:00
8fe5e9323e
rm -rf ugly texture pack 2021-06-01 21:16:01 +02:00
9ce89b707c
Implement simple colission detection 2021-06-01 21:04:48 +02:00
df7f78163d
Remove unused uses 2021-06-01 19:58:52 +02:00
e78878150d
Implement simple text renderer 2021-06-01 19:58:11 +02:00
4af16fb974
Use RenderContext for TextureManager::new 2021-06-01 17:54:53 +02:00
bfa7a48483
Move basic rendering context to RenderContext
This way they can be passed around much more easily
2021-06-01 16:47:28 +02:00
a3236f610a
Move a bunch of WorldState related things to WorldState 2021-06-01 16:27:12 +02:00
7fdee1dbda
Change to 64x64x64 chunks, parallellize worldgen and geometry generation 2021-06-01 16:03:46 +02:00
aec8d36647
Remove unused Chunk::raycast 2021-06-01 16:00:03 +02:00
6c6a321a0c
Make adding/removing blocks work on the entire world 2021-06-01 14:19:27 +02:00
65f0a706d3
Cull invisible block faces, reintroduce removing/adding blocks 2021-06-01 10:48:30 +02:00
ff20d5ad29
Add super cool water 2021-05-31 21:24:59 +02:00
1f0a1975a5
Add water textures 2021-05-31 21:22:44 +02:00
0d7df1d501
Move state stuff to its own folder 2021-05-31 18:34:09 +02:00
bf22190ccd
Move HUD-related code to its own file 2021-05-31 18:31:20 +02:00
1740b80bf0
Remove some unused assets 2021-05-31 15:43:31 +02:00
4b9e4248bc
Fix instance creation on some devices 2021-05-31 15:34:37 +02:00
6231a83552
Update crossbeam 2021-05-31 15:02:29 +02:00
6531e3ee1c
Fix some warnings 2021-05-31 14:44:11 +02:00
72969e392b
Remove unused index_indices 2021-05-31 14:43:58 +02:00