53 Commits

Author SHA1 Message Date
Quentin Bazin
be69cfbc5b [Chunk] Now stores u32 instead of Block. [Registry] Added. 2018-06-23 23:05:36 +02:00
Quentin Bazin
60c6eaed3b [Color|Sprite|SpriteAnimation|Timer|Vector2] Added. [TerrainGenerator|MouseItemWidget] Small improvements. 2018-06-23 07:00:47 +02:00
Quentin Bazin
671bf6d64e [TerrainGenerator] Small tweak. 2018-06-23 05:07:16 +02:00
Quentin Bazin
b8b36117a0 New block types added. 2018-06-23 03:50:02 +02:00
Quentin Bazin
fb3f7f0501 Lot of changes. [...]
[Renderer] Deleted, code moved to Application.
[Transformable] Transformations are now applied to model matrix in applyTransform.
[ResourceHandler|TextureLoader|XMLFile] Added.
[Debug|Exception] Updated.
2018-06-21 05:45:17 +02:00
Quentin Bazin
46fb26ab76 [Block] Now possible to change grass into dirt. 2018-06-20 04:22:42 +02:00
Quentin Bazin
5f38eaaeb0 [Chunk|ChunkBuilder] Small improvements. 2018-06-20 03:45:30 +02:00
Quentin Bazin
81209dbe64 [ChunkBuilder] Now handling block opacity correctly. 2018-06-20 02:23:39 +02:00
Quentin Bazin
4acc070077 [VertexBuffer] No longer store draw mode and data offsets. 2018-06-20 01:07:18 +02:00
Quentin Bazin
ff059f2b04 [Vertex] Structure added. [RenderTarget] Now supports all vertex attributes. 2018-06-20 00:57:27 +02:00
Quentin Bazin
b1d1e88593 [ChunkBuilder] Added. 2018-06-19 23:26:51 +02:00
Quentin Bazin
8250f7ad28 [Chunk] Working on better mesh generation. 2018-06-19 08:21:46 +02:00
Quentin Bazin
ab760e47de [World] Can hold more than one chunk in height now. 2018-06-19 05:38:14 +02:00
Quentin Bazin
ac88ba4b97 [Block] Useless code removed. 2018-06-18 21:45:22 +02:00
Quentin Bazin
9fd25da16a [RenderTarget] Now enables vertex attributes. Chunk now only defines vertex attribute pointer offsets. 2018-06-18 20:44:17 +02:00
Quentin Bazin
272145e15a [game.v.glsl] Waving water, but not seamless between chunks. 2018-06-18 18:56:30 +02:00
Quentin Bazin
bcfc83f3f2 [BlockCursor] Tried to add another type of cursor. 2018-06-18 17:42:06 +02:00
Quentin Bazin
8707d7dbed [Camera] Now using 'X' key to fly. 2018-06-18 15:48:01 +02:00
Quentin Bazin
5db15aace8 [Camera] Small movement fix. 2018-06-18 15:00:11 +02:00
Quentin Bazin
ef0160d19b [Camera] Basic jump. 2018-06-18 12:24:46 +02:00
Quentin Bazin
d9e11d82d2 [Block] Now supports wood rings and grass sides. [Chunk] Small changes to cubeCoords to display textures correctly. Though drawOutlines may not work anymore. 2018-06-16 17:21:03 +02:00
Quentin Bazin
e4db36e0e4 [TerrainGenerator] Now using another generation. [Chunk] Block storage heavily reworked. Now using a compile-time array instead of a vector. 2018-06-16 16:45:48 +02:00
Quentin Bazin
7191b61bdf [ApplicationState] Using new rendering system. 2018-06-14 23:36:01 +02:00
Quentin Bazin
65df0259da [Chunk] Now using new renderer, but vertex attributes offset handling needs to be implemented in RenderTarget or VertexBuffer somehow. 2018-06-14 23:07:20 +02:00
Quentin Bazin
6d965a4312 [GameState] Cursor box and World updated to new render system. Working on Chunk. 2018-06-14 22:11:25 +02:00
Quentin Bazin
8e6a0df267 [Camera] Small optimization. 2018-06-14 04:19:16 +02:00
Quentin Bazin
4c3fe96ca4 [GameState] Now using left mouse click to delete block. 2018-06-14 03:02:47 +02:00
Quentin Bazin
b2950e4afe [GameState|World|Chunk] Mouse picking: OK. 2018-06-14 01:55:10 +02:00
Quentin Bazin
3cd2335d40 [GameState] Can now display a cross and the selected block. 2018-06-13 21:48:35 +02:00
Quentin Bazin
23630138d4 [TODO] Added. [Chunk|World] Mouse picking: WIP. 2018-06-13 03:47:20 +02:00
Quentin Bazin
81368b2a66 [TerrainGenerator] Added. Lot of code removed from Chunk. 2018-06-12 23:08:42 +02:00
Quentin Bazin
e3736d9176 [Chunk] Removed useless code. 2018-06-12 20:54:48 +02:00
Quentin Bazin
70efbfce5b [.gitignore|CMakeLists.txt] Cleaned/improved. [sources] Cleaned some headers. 2018-06-12 09:24:43 +02:00
Quentin Bazin
4bdea4b341 Lots of small fixes. 2018-06-05 16:17:40 +02:00
Quentin Bazin
e09f177511 Small fixes. 2018-06-05 01:48:01 +02:00
Quentin Bazin
810a3b5ed3 Extra whitespaces stripped. 2018-06-05 01:24:54 +02:00
Quentin Bazin
96e3c28a24 [README] Screenshot added. 2015-02-06 01:44:16 +01:00
Quentin Bazin
6ce01710d9 [World] Render distance: OK. 2014-12-29 03:14:09 +01:00
Quentin Bazin
72918f2cdc [Fog] OK. 2014-12-29 02:57:29 +01:00
Quentin Bazin
a25b38902a [Fog] Almost finished. 2014-12-25 23:37:32 +01:00
Quentin Bazin
d8a3924503 [Shaders] Working on fog. 2014-12-23 16:15:44 +01:00
Quentin Bazin
55c20660d7 [Chunk] Generation faster. 2014-12-23 00:59:07 +01:00
Quentin Bazin
356de16d15 [Chunk] Improved a lot. 2014-12-22 23:00:59 +01:00
Quentin Bazin
8b41cdc417 [Chunk] Bug fixed. 2014-12-22 19:14:33 +01:00
Quentin Bazin
b5ee643158 [Chunk] Face merging almost working. 2014-12-21 22:21:54 +01:00
Quentin Bazin
318c7ad77f [README] Updated. 2014-12-21 17:02:09 +01:00
Quentin Bazin
89e7cd1414 [Chunk] Trying to merge cube faces. 2014-12-21 15:25:58 +01:00
Quentin Bazin
b05f33ffa2 [Lighting Bug] OK. 2014-12-20 19:37:09 +01:00
Quentin Bazin
ec48977bd2 [Issue] Fixed. 2014-12-20 15:13:51 +01:00
Quentin Bazin
d638c7067c [Issue] Trying to fix black textures. 2014-12-20 12:59:59 +01:00