Quentin Bazin
4aa92eb337
[external/backtrace] Added backtrace printer tool.
2021-05-22 16:14:47 +02:00
Quentin Bazin
eaae61f01b
Attempting to remove the big loops in ClientWorld and ServerWorld.
2021-05-22 16:14:47 +02:00
Quentin Bazin
bc5e9bc2c7
Improved server-side player chunk management.
...
- [ServerCommandHandler] Now handling PlayerChunkPosUpdate.
- [ServerChunk] sendChunkData moved from ServerWorld.
- [ServerWorld] Now using PlayerChunkPosUpdate instead of the old loop.
2021-05-22 16:14:47 +02:00
Quentin Bazin
5bdacba397
[ClientPlayer] Now sending PlayerChunkPosUpdate.
2021-05-22 16:14:47 +02:00
Quentin Bazin
6f97f53416
[ServerWorld] Fixed holes in the world.
2021-05-22 16:14:47 +02:00
Quentin Bazin
dd9b56f66d
[ServerWorld] Now sending ChunkUnload when needed.
2021-05-22 16:14:47 +02:00
Quentin Bazin
25569da358
[ClientWorld] Client still needs to remove empty chunks it creates.
2021-05-22 16:14:47 +02:00
Quentin Bazin
ee03d64254
[PlayerList] Now clearing player loaded chunks when disconnecting.
2021-05-22 16:14:47 +02:00
Quentin Bazin
0f993e9dbf
[ClientWorld] Client is no longer in charge of removing chunks.
2021-05-22 16:14:47 +02:00
Quentin Bazin
22ef44e12c
Moved ChunkUnload sending from client to server.
2021-05-22 16:14:47 +02:00
Quentin Bazin
84500980fb
[default/listeners.lua] Changed intro text.
...
[external/gamekit] Updated.
2021-05-22 16:14:47 +02:00
Quentin Bazin
b687c6850c
Best working version.
2021-05-22 16:14:47 +02:00
Quentin Bazin
be4ff6c9da
Various fixes.
2021-05-22 16:14:47 +02:00
Quentin Bazin
4f5c545883
[ClientChunk] Added a timer to limit chunk updates. [ClientWorld] Improved the way cfar chunks are removed.
2021-05-22 16:14:47 +02:00
Quentin Bazin
6bc5c79b32
[ClientWorld] Renamed 'isChunkRequested' to 'isReadyForMeshing'.
2021-05-22 16:14:47 +02:00
Quentin Bazin
7921f2281a
Fixed incomplete trees.
2021-05-22 16:14:47 +02:00
Quentin Bazin
b4f210de3a
Seems to be working, but some trees are incomplete.
2021-05-22 16:14:47 +02:00
Quentin Bazin
b3b00038eb
Closest thing to a working version. Still have holes when flying a few chunks away.
2021-05-22 16:14:47 +02:00
Quentin Bazin
4fe4b60aea
[ServerWorld] Chunks are now sent correctly.
2021-05-22 16:14:47 +02:00
Quentin Bazin
8bd9e860dc
[ServerWorld] Fixed render distance.
2021-05-22 16:14:47 +02:00
Quentin Bazin
4f94894702
[ServerWorld] Fixed infinite loop.
2021-05-22 16:14:47 +02:00
Quentin Bazin
ecdf504bef
2nd attempt.
2021-05-22 16:14:47 +02:00
Quentin Bazin
707e2b38c4
[ClientPlayer] Now allows moving in unloaded chunks with 'no clip'. [LuaCore] Useless include removed.
2020-12-29 04:07:31 +01:00
Quentin Bazin
b1f0289d9e
[.vscode] Added.
2020-08-01 18:12:00 +02:00
Quentin Bazin
ca27a8823c
[MenuWidget] Now using std::deque instead of std::vector.
...
Fixed a crash when triggering fullscreen mode while in Settings -> Graphics
I was keeping a TextButton pointer, but only std::deque ensures pointer validity
This bug only appeared with Visual Studio 2019
2020-08-01 17:04:09 +02:00
Quentin Bazin
e4007f8085
[external/gamekit] Updated.
2020-08-01 16:38:59 +02:00
Quentin Bazin
d4f196772e
[ChunkBuilder] Small refactor.
2020-07-31 19:27:28 +02:00
Quentin Bazin
fc29b17188
[ServerCommandHandler] Small fix.
2020-07-31 19:27:13 +02:00
Quentin Bazin
542b9277f8
[SettingsMenuState] Now disabling 'Resolution' button when fullscreen mode is enabled. Also updates resolution button text on window resize.
2020-07-31 17:58:00 +02:00
Quentin Bazin
36bcbf2aee
[ServerCommandHandler] Spawn area is 16x16 chunks instead of a single chunk.
2020-07-31 17:24:02 +02:00
Quentin Bazin
d65d2117a9
[mods/default/tools.lua] Hoe now checks that the block above is empty.
2020-07-31 15:26:53 +02:00
Quentin Bazin
9ee3a110d7
[BlockCursor|HUD] Small fix.
2020-07-31 15:17:54 +02:00
Quentin Bazin
ca6839d525
[BlockCursor] Fixed right-click holding behaviour.
2020-07-31 03:16:11 +02:00
Quentin Bazin
9fb3064328
Worldgen seed can now be either specified during world creation or generated randomly.
2020-07-30 21:54:50 +02:00
Quentin Bazin
03d1a006b4
Worldgen now uses a seed. Fixed #116 .
2020-07-30 21:13:19 +02:00
LordDeatHunter
9534c9d00a
Added new cavegen
2020-07-30 20:32:44 +02:00
Quentin Bazin
d0bd710f90
[LuaEntityLoader|LuaMod|Registry] Error messages fixed.
2020-07-30 17:38:52 +02:00
Quentin Bazin
40ac6e1032
[README.md] Updated.
2020-07-30 17:11:56 +02:00
Quentin Bazin
20a2b9eb2c
[README.md] Updated.
2020-07-30 16:19:10 +02:00
Quentin Bazin
d558cc1a08
[MenuWidget] Now stops event handling if button/slider list changed.
2020-07-30 15:23:48 +02:00
Quentin Bazin
9517e385f1
[BlockCursor] Now replacing blocks with XShape draw type instead of placing block on them.
2020-07-30 14:10:37 +02:00
Quentin Bazin
c1b5a5d84c
[BlockCursor] Now repeats block activation every 250 ms or on block change if right-click is held.
2020-07-30 14:01:58 +02:00
Quentin Bazin
1742eac7ae
[Heightmap] Changed height formula.
...
[EngineConfig] Version suffix increased.
2020-07-30 12:40:05 +02:00
Quentin Bazin
ae571dbe81
[Minimap] Events are now only executed if minimap is enabled.
2020-07-30 12:27:54 +02:00
Quentin Bazin
4eb3b6fe5f
[TerrainGenerator|ServerCommandHandler] Small fix.
2020-07-30 00:59:41 +02:00
Quentin Bazin
6065c98481
[Heightmap] Small fixes. [ServerCommandHandler] Now spawning player safely. Fixed #117 .
2020-07-30 00:46:58 +02:00
Quentin Bazin
98cf9df93e
[Heightmap] Added and used in TerrainGenerator. Fixed #135 .
...
[README.md] Fixed typo.
[EngineConfig] Increased pre-release version suffix.
[mods/default] Fixed furnace texture.
2020-07-29 18:01:48 +02:00
Pedro Gimeno
180123c0b7
Change calls to rotate() to calls to rotateX/Y/Z
...
Mostly cosmetic, but will also optimize some operations if the compiler is not smart enough.
Also fix a typo in a comment.
2020-07-29 17:28:06 +02:00
Quentin Bazin
dd8df8bf78
[external/gamekit] Updated. Probably fixed #166 .
2020-07-29 16:36:45 +02:00
Quentin Bazin
bb0b86198d
[Item] Added constants for harvest capabilities/requirements.
2020-07-28 23:39:28 +02:00