347 Commits

Author SHA1 Message Date
Quentin Bazin
4909d1dbc2 [ServerWorld] Sending Scene state more often. 2020-04-29 21:17:28 +02:00
Quentin Bazin
419fc8b46c Entities completely serialized. 2020-04-29 21:17:28 +02:00
Quentin Bazin
d8a3b0a7a4 [CollisionController] Now server-side. 2020-04-29 21:17:28 +02:00
Quentin Bazin
38b3c2aa48 [PlayerList] Added to store players in server. 2020-04-29 21:17:28 +02:00
Quentin Bazin
ef3e05278a Got rendering working. 2020-04-29 21:17:28 +02:00
Quentin Bazin
2f4188bf4a Entity serialization is almost complete, only rendering data left. 2020-04-29 21:17:28 +02:00
Quentin Bazin
a361f9e01b Working on entity serialization. 2020-04-29 21:17:28 +02:00
Quentin Bazin
38c49f98c6 [AnimationComponent] Added new animation type: translation. [ItemDropFactory] Improved animation. 2020-04-29 21:17:28 +02:00
Quentin Bazin
53460f2340 [Scene] Now using AbstractController instead of static classes. 2020-04-29 21:17:28 +02:00
Quentin Bazin
d090e6903d [Scene] Splitted into Controllers. [Config] New 'useItemDrop' option. 2020-04-29 21:17:28 +02:00
Quentin Bazin
fbbeae5f7f [InventoryCube] Texture rendering fixed. 2020-04-29 21:17:28 +02:00
Quentin Bazin
4a9007fc49 [Scene] Test item drop entity almost working. 2020-04-29 21:17:28 +02:00
Quentin Bazin
5815549f7d [Scene] Added. [external/entt] Added. 2020-04-29 21:17:28 +02:00
Quentin Bazin
423237f484 Adapted to DEBUG macro removal in GameKit. 2020-04-03 07:27:57 +02:00
Quentin Bazin
15218e2214 Adapted to dynamic attributes commit in GameKit. 2020-04-03 04:04:19 +02:00
Quentin Bazin
94b959cf03 [LuaMod] 'path()' member added. 2020-04-03 02:34:03 +02:00
Quentin Bazin
ead5e7dde0 [ServerModLoader] Now handling mod name conflicts. 2020-04-03 02:02:53 +02:00
Quentin Bazin
9015830aef [ServerModLoader] Now storing mods.
The changes are only committed on success.
Also, the mods now use their own working directory instead of the main.
2020-04-03 01:11:36 +02:00
Quentin Bazin
474eeec8f6 [ServerModLoader] Added. Will handle modpacks and mod name conflicts. 2020-04-03 00:26:31 +02:00
Quentin Bazin
c6c4600803 [Config] AO strength default is now 1 because smooth lighting doesn't work well below that. 2020-03-31 14:27:23 +02:00
Quentin Bazin
0742dec5d0 Reduced AO effect with smooth lighting. The strength of this effect is now a config option. 2020-03-30 04:36:00 +02:00
Quentin Bazin
218eddb7e4 Furnace output inventory is now read-only. 2020-03-30 03:17:18 +02:00
Quentin Bazin
228e7a3b4a [ChunkBuilder] Fallback ambient occlusion fixed. 2020-03-30 03:02:22 +02:00
Quentin Bazin
2ecef2ded9 Door block added. 2020-03-29 19:25:40 +02:00
Quentin Bazin
825a29ca74 [SettingsMenuState] Added menu option to change mipmap levels. 2020-03-29 16:36:45 +02:00
Quentin Bazin
5c8d926315 Block groups added. 2020-03-29 15:37:49 +02:00
Quentin Bazin
266e4b7453 Groups can now be used in recipes. 2020-03-29 15:37:49 +02:00
Quentin Bazin
786aaff198 Groups can now be used for filtering in InventoryWidget. 2020-03-29 15:37:49 +02:00
Quentin Bazin
1347f81619 Item groups added. Now used instead of 'is_fuel' and 'burn_time'. 2020-03-29 15:37:49 +02:00
Quentin Bazin
fd21e3e6d2 [TerrainGenerator] 'fastNoiseGeneration' splitted into smaller functions. 2020-03-29 10:12:44 +02:00
Quentin Bazin
480c95daaa [ClientWorld] Now using a gk::Vector4 for the closest initialized chunk. 2020-03-29 10:12:44 +02:00
Quentin Bazin
c128971c13 [TerrainGenerator] Better RNG. [Chunk|ServerChunk] Booleans are now atomic. 2020-03-29 10:12:36 +02:00
Quentin Bazin
74ad041479 [TitleScreenState] Small fix. 2020-03-19 00:06:54 +01:00
Quentin Bazin
db587f13c6 Singleplayer server will now use a random available port instead of 4242. 2020-03-18 02:17:02 +01:00
Quentin Bazin
e1e1c468eb [ClientApplication|ServerApplication] Updated for new 'gk::ArgumentHandler' version. 2020-03-18 01:51:26 +01:00
Quentin Bazin
93308c9f14 Basic texture pack system added (see #34). 2020-03-18 00:42:56 +01:00
Quentin Bazin
ef79c5b8bf [ChatCommandHandler] '/save' and '/load' commands added. 2020-03-18 00:02:20 +01:00
Quentin Bazin
bc3226eedc Folders reorganized. 2020-03-17 22:22:22 +01:00
Quentin Bazin
c36481f4ef [CMakeLists.txt] Improved build for client/server architecture. 2019-01-20 15:07:45 +01:00
Sylvio
2b236bc42f fix(BlockCursor) Change call to onBlockActivated in BlockCursor::onEvent + add .vscode gitignore 2019-01-09 01:36:02 +01:00
Quentin Bazin
66da21e20e [BlockFurnace] Removed. Now completely handled by Lua. 2019-01-08 02:35:49 +01:00
Quentin Bazin
50bf84acf6 [LuaCore] Added. Only two functions to get World and Player. 2019-01-07 05:03:22 +01:00
Quentin Bazin
3875b73a1d [LuaGUI] CraftingWidget support added. 2019-01-07 04:33:48 +01:00
Quentin Bazin
7c7af38097 [LuaGUI] gk::Image support added. 2019-01-07 02:39:39 +01:00
Quentin Bazin
b8eac29892 [LuaGUI] InventoryWidget support added. 2019-01-07 02:05:23 +01:00
Quentin Bazin
c993b2ea10 [LuaGUI|LuaGUIState] Lua interface for GUI: OK. (only buttons) 2019-01-07 01:26:02 +01:00
Quentin Bazin
a4a191d311 [BlockCursor] Unified cube coordinates. 2019-01-06 22:35:57 +01:00
Quentin Bazin
ac4c628009 [BlockCursor] Rendering fixed. 2019-01-06 22:31:02 +01:00
Quentin Bazin
f32f740b0d [GameState|World] Now using Camera as a View. 2019-01-05 19:42:18 +01:00
Quentin Bazin
17a0b0df88 Adapted to fit new GameKit version. 2019-01-05 18:37:59 +01:00