413 Commits

Author SHA1 Message Date
Quentin Bazin
f77a4252a0 [ChunkLightmap] Disabled sunlight downward propagation. [Config] Sun smooth lighting disabled. 2019-02-01 21:59:04 +01:00
Quentin Bazin
f2e8bc2842 [game.f.glsl] Small graphical improvements. 2019-02-01 20:35:03 +01:00
Quentin Bazin
4c812273ce [screenshots] Updated. 2019-01-31 20:00:45 +01:00
Quentin Bazin
d984d5a600 [ChunkLightmap] Fixed sunlight diffusion. 2019-01-31 19:44:12 +01:00
Quentin Bazin
b286178d86 Light experiments reverted, I'll only keep this one. 2019-01-27 21:37:53 +01:00
Quentin Bazin
ddaf0da2eb [Config] World size added. 2019-01-27 07:11:43 +01:00
Quentin Bazin
9226ce4f42 [ServerBlock] Now sending 'data' attribute. 2019-01-26 20:55:22 +01:00
Quentin Bazin
b1d327ba14 [furnace.lua] Fixed. 2019-01-26 20:46:38 +01:00
Quentin Bazin
11f9365675 [Network] BlockInvUpdate and BlockDataUpdate packets added. Furnace almost done. 2019-01-26 20:29:13 +01:00
Quentin Bazin
5e62cf07a1 [TerrainGenerator] New world gen. 2019-01-26 16:57:25 +01:00
Quentin Bazin
6b986b7de5 [Registry] Small fix. 2019-01-26 12:37:34 +01:00
Quentin Bazin
7cb8a51c3f [ServerBlock] Now sending BlockUpdate packet when needed. 2019-01-26 11:04:44 +01:00
Quentin Bazin
6e4e8c0547 [ServerChunk] Ticking blocks re-enabled. WIP. 2019-01-26 10:05:37 +01:00
Quentin Bazin
1be1114955 [Chunk] Small fix. Workbench: OK. 2019-01-25 23:53:44 +01:00
Quentin Bazin
dee8dc7d97 [Chunk|World] Block inventory enabled. WIP. 2019-01-25 23:47:45 +01:00
Quentin Bazin
077c93d15b [LuaGUI] Now shows Workbench and Furnace GUI. [ServerBlock] Added. 2019-01-25 13:59:57 +01:00
Quentin Bazin
b8fa100e99 [ServerApplication] Now using Lua 'init()' to give items at spawn. 2019-01-23 21:51:19 +01:00
Quentin Bazin
44c1f6251d [BlockCursor] Now sending updated inventory to server after placing a block. 2019-01-23 21:45:19 +01:00
Quentin Bazin
2035f9123f [Block] onTick and onBlockActivated re-enabled. 2019-01-23 00:38:08 +01:00
Quentin Bazin
156915cfa8 [World] Now used as main class for ClientWorld and ServerWorld. 2019-01-23 00:15:47 +01:00
Quentin Bazin
e2816324a8 [Player] Server now keep track of the inventory. 2019-01-23 00:04:03 +01:00
Quentin Bazin
c56d035740 [KeyboardHandler] Now using SDL_Scancode instead of SDL_Keycode. 2019-01-22 23:00:51 +01:00
Quentin Bazin
eb67edc556 [ClientApplication] '--host' argument added. 2019-01-22 00:08:09 +01:00
Quentin Bazin
e21160a56e [ClientApplication|ServerApplication] Now using gk::ArgumentParser. 2019-01-21 23:59:43 +01:00
Quentin Bazin
3a44632704 [SettingsMenuState] 'Input' menu is now displayed on two columns. 2019-01-21 23:11:09 +01:00
Quentin Bazin
c9e35a9ac3 [SettingsMenuState] 'Done' button is now standalone. 2019-01-21 22:16:52 +01:00
Quentin Bazin
066d1a09f5 [ServerWorld] Half tree issue and lighting bugs fixed. 2019-01-21 21:51:18 +01:00
Quentin Bazin
6982875301 [SettingsMenuState] Keybindings are now editable in-game. 2019-01-20 21:39:07 +01:00
Quentin Bazin
e62bd77236 [Registry] Item drop fixed. 2019-01-20 21:02:08 +01:00
Quentin Bazin
61ee28fe83 [screenshots] Updated. 2019-01-20 19:19:16 +01:00
Quentin Bazin
9c620efaf3 [Recipe] Serialization functions added. 2019-01-20 17:54:11 +01:00
Quentin Bazin
f9393c5316 [ScriptEngine] Moved to server. 2019-01-20 17:08:44 +01:00
Quentin Bazin
3d78f68b09 [README.md] Updated. 2019-01-20 15:08:52 +01:00
Quentin Bazin
3105fe9339 [ClientWorld|ServerWorld] Increased world size. [Player] Sprint added. 2019-01-20 15:07:45 +01:00
Quentin Bazin
0b88b1bc22 [README.md] Updated. 2019-01-20 15:07:45 +01:00
Quentin Bazin
29c518631b [.travis.yml] Added. 2019-01-20 15:07:45 +01:00
Quentin Bazin
8124cab3b6 Chunk loading optimized. 2019-01-20 15:07:45 +01:00
Quentin Bazin
f146e2d5da [Config] No clip mode added. [SettingsMenuState] Small refactoring. 2019-01-20 15:07:45 +01:00
Quentin Bazin
b86f8d719a [ChunkLightmap] Temporary fix added for lighting bug. 2019-01-20 15:07:45 +01:00
Quentin Bazin
104597a39d [Network] 'ChunkRequest' command added. 2019-01-20 15:07:45 +01:00
Quentin Bazin
9da2ad5f86 [Client|Server] Removed old command flow. [Network] Useless commands removed. 2019-01-20 15:07:45 +01:00
Quentin Bazin
ec2a27b587 [BlockCursor] Now implements PlayerDigBlock network event. 2019-01-20 15:07:45 +01:00
Quentin Bazin
4b85e3928e [ChunkLightmap] Crash fixed (again). [GameState] Fixed SDL window event handling. 2019-01-20 15:07:45 +01:00
Quentin Bazin
38731bd155 [ClientApplication] '--port' argument added. 2019-01-20 15:07:45 +01:00
Quentin Bazin
b7735ca71a [ChunkLightmap] Crash fixed. [ServerApplication] '--port' argument added. 2019-01-20 15:07:45 +01:00
Quentin Bazin
03bffbb666 [Network] Server is now aware of placed blocks and can forward the info to other clients. 2019-01-20 15:07:45 +01:00
Quentin Bazin
2d569fd978 [ClientWorld|ServerWorld] Reduced world size to make testing easier. 2019-01-20 15:07:45 +01:00
Quentin Bazin
a972b67cdc [World] 'renderDistance' variable moved to Config. 2019-01-20 15:07:45 +01:00
Quentin Bazin
c14e5ecd4d [Client] Preparing chunk request. 2019-01-20 15:07:45 +01:00
Quentin Bazin
307a1bdb23 Now using Faithful 32x texture pack for items. 2019-01-20 15:07:45 +01:00