Commit graph

91 commits

Author SHA1 Message Date
f6bb14ba4b
Fix mid-air jumping
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-10 17:00:44 +02:00
d006c6f9ef
Reorder fields in State
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-10 16:43:20 +02:00
6c50c6ac70
Remove things from WorldState to State and World
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-10 16:37:12 +02:00
aa8d7aed83
Move hud_state stuff into own "renderables"
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-10 13:18:50 +02:00
11348f8086
First efforts towards removing world_state and hud_state
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-08 22:36:26 +02:00
ec6978fee9
Allow for selecting a block to place
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-08 20:26:58 +02:00
6794213f7d
🦀 collision detection bugs are gone 🦀
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-07 19:06:16 +02:00
191f9b1f28
make collision detection not suck
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-07 04:14:27 +02:00
c8e02c6f86
Fix saving
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-07 02:26:28 +02:00
5d7101ae0b
rm -rf unused imports 2021-06-07 01:39:08 +02:00
4a56bc5a24
Improve collision
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-07 01:24:38 +02:00
b13be0ebc1
Merge branch 'main' of ssh://git.sijman.nl:221/_/minecrab
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-04 02:38:51 +02:00
67f275b2fc Move update_chunk_geometry into Chunk
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-04 02:23:26 +02:00
1b91fa94c0 Big project structure reorder
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-04 01:45:51 +02:00
4bba01058b
Implement chunk unloading, frustrum culling and some other minor optimisations
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-03 16:34:42 +02:00
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
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
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