1288 Commits

Author SHA1 Message Date
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
905a23c792 [BlockCursor] Now using face == -1 when no block is selected instead of a fixed far position. 2018-06-15 01:13:59 +02:00
Quentin Bazin
4922329182 [BlockCursor] Small improvements. 2018-06-15 01:06:03 +02:00
Quentin Bazin
613aca0890 [BlockCursor] Added. All block selection code moved from GameState. 2018-06-15 00:05:17 +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
7201b31b55 [IDrawable|RenderStates|RenderTarget] Added. Trying a new rendering system based on the SFML one. 2018-06-14 21:16:56 +02:00
Quentin Bazin
b9087294c2 [Crosshair] Added. Code moved from GameState. 2018-06-14 18:24:07 +02:00
Quentin Bazin
8b0d83b661 [GameState] Now able to add a block in the world. 2018-06-14 04:35:11 +02:00
Quentin Bazin
8e6a0df267 [Camera] Small optimization. 2018-06-14 04:19:16 +02:00
Quentin Bazin
e56a6b7d2f Headers cleaned. [CMakeLists.txt] Now using -O3 and -ffast-math. 2018-06-14 03:20:20 +02:00
Quentin Bazin
4c3fe96ca4 [GameState] Now using left mouse click to delete block. 2018-06-14 03:02:47 +02:00
Quentin Bazin
dee8629160 [CMakeLists.txt] Updated. 2018-06-14 02:49:56 +02:00
Quentin Bazin
b0050a1f34 [CoreApplication] Replacing most old Application code. [ApplicationState|ApplicationStateStack] Updated. 2018-06-14 02:38:25 +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
3c76f5ebaa [README] Updated. 2018-06-12 23:28:06 +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
96bd9c590a [Application|Camera] Better mouse handling. 2018-06-05 17:17:09 +02:00
Quentin Bazin
5a969f055a Merged with last 'dev' branch commit. 2018-06-05 16:51:58 +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
58c23a7e66 [README] Rewrited in Markdown. [SDLManager] Rewrited into SDLLoader. [ApplicationState] Improved. 2015-07-17 17:08:53 +02:00
Quentin Bazin
f2e9f10735 [README] Updated. Using CMake now. 2015-02-15 17:36:21 +01: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
31d1f29cdf [Skybox] Working on it. 2014-12-26 00:39:10 +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
482b4102df [Mouse] OK. 2014-12-20 16:22:52 +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