35 Commits

Author SHA1 Message Date
MihailRis
6965bbe809 PlayerController class (more OOP) 2022-10-01 17:11:43 +03:00
MihailRis
d3f29f8ace WorldRenderer and HudRenderer classes 2022-10-01 15:59:57 +03:00
MihailRis
bdd3fbf7d4
Added 3 unicode pages for font, fixed UI, added Block.breakable
Added 1, 2, 3 and 4 unicode pages from Minecraft.
Font now uses std::wstring instead of std::string
Added Block.breakable field (the only unbreakable block is bedrock)
Bedrock is now selectable
2022-07-14 19:23:31 +03:00
MihailRis
b2872650d6
mini-fix 2022-07-01 02:34:34 +03:00
MihailRis
1038a79b78
Added generation seed support 2022-07-01 02:31:30 +03:00
MihailRis
f569378b88
Chunks render moved to ChunksLoader 2022-06-29 19:30:23 +03:00
MihailRis
ffc39fccaf
Some refactor again 2022-06-29 17:47:40 +03:00
MihailRis
e8ca11894d
Added class Level for runtime world stuff 2022-06-29 17:12:58 +03:00
MihailRis
4ceba017c7
Some refactor 2022-06-29 16:07:55 +03:00
MihailRis
f962b73c98
update_controls & update_interaction moved to separate module 2022-06-29 15:36:45 +03:00
MihailRis
191b88192b
Added chunks counter to debug info screen 2022-06-29 15:18:31 +03:00
MihailRis
88c1695903
Flipped UI, minor changes
Flipped UI, removed extra Batch2D, added comments and minor changes
2022-06-29 14:03:36 +03:00
lllzebralll
c3b4357852 update 2022-06-28 21:21:36 +03:00
lllzebralll
4e5869882e micro fix 2022-06-28 19:03:01 +03:00
lllzebralll
8cc5bdf0b1 F3 add 2022-06-08 16:19:25 +03:00
MihailRis
1770acbfef
Audio module, simple text rendering 2022-03-20 23:48:21 +03:00
MihailRis
76abbf86b0
Merge pull request #6 from MihailRis/part-11
Part 11
2022-03-12 23:32:25 +03:00
MihailRis
b9fff9d1ac
Small help to code rationality 2022-03-12 19:30:47 +03:00
MihailRis
b0a15a7c8c
New defines | implemented Player destructor 2022-03-12 16:51:34 +03:00
MihailRis
667eb6bab5
Added Events::finalize 2022-03-08 21:01:36 +03:00
MihailRis
f0a74dd821
More efficient chunk loaders handling 2022-03-06 03:15:50 +03:00
MihailRis
07e2fe8b3b
Fixed 'onground' && turning-off flight mode if onground 2022-03-06 02:38:20 +03:00
MihailRis
e0225286a2
Add files via upload 2022-03-06 02:36:44 +03:00
MihailRis
20015dab72
Fixed 'onground' && turning-off flight mode if onground 2022-03-06 02:30:11 +03:00
MihailRis
10125808c0
Fixed gravity 2022-03-04 17:55:49 +03:00
MihailRis
b6c328fe1d
Added flight mode ('F' button) 2022-03-04 17:44:14 +03:00
MihailRis
1dd9a72fb3
Fixed zoom, changed camera shaking parameters 2022-03-04 16:53:55 +03:00
MihailRis
cdc8a26a30
Added camera shaking 2022-03-03 23:16:34 +03:00
MihailRis
10931372cc
Fixed PhysicsSolver, added zoom, linear_damping 2022-03-03 21:36:23 +03:00
MihailRis
2aba3e91db
'Assets', some refactor 2022-03-03 18:14:34 +03:00
MihailRis
b7e8ff5bea
'Player' class, separated main file
Moved render code to world_render.h, declarations code (assets and blocks) to declarations.h
2022-03-02 23:45:09 +03:00
MihailRis
bc9d29cf68
A lot of changes in almost all files 2022-02-28 02:30:15 +03:00
MihailRis
01c6c854e1
Optimized lighting, frustum culling, generator
- Extended CHUNK_H to 256
- Modified world generator for new world height
- Added simple 2d frustum culling
- Optimized sky lighting calculations
2021-09-17 19:15:14 +03:00
MihailRis
1a00a11917
All changes made for 10th part of tutorial
voxel_engine.cpp - changed structure, added character controls, physics
almost all files are modified (including shaders)
+ new source directory - physics
2021-08-04 01:45:04 +03:00
MihailRis
e1cdcf01e9
Add files via upload 2021-04-25 16:08:48 +03:00