Quentin Bazin
|
e85c5f3458
|
Small fixes.
|
2020-07-24 19:59:35 +02:00 |
|
Pedro Gimeno
|
2b34e90216
|
Add constants for sun, moon and stars distance based on far clip
|
2020-07-23 19:31:28 +02:00 |
|
Quentin Bazin
|
b763b1aa8f
|
[Sky] Added default values for celestial object definitions.
|
2020-07-21 22:50:19 +02:00 |
|
Quentin Bazin
|
c4feb73b2a
|
Small fixes.
|
2020-07-21 22:36:56 +02:00 |
|
Quentin Bazin
|
64ddacd08f
|
[mods/default] 'Torch' added.
[BlockState] 'isCollidable' attribute added.
[TextButton] Now rounding position.
|
2020-07-20 15:31:43 +02:00 |
|
Quentin Bazin
|
4c41ab080a
|
[LuaMod|Inventory] Fixed a small bug preventing items from being gathered.
|
2020-07-20 09:48:26 +02:00 |
|
Quentin Bazin
|
a2f79aac7d
|
[GameKey] 'BlockInfoToggle' key added.
|
2020-07-18 03:47:21 +02:00 |
|
Quentin Bazin
|
fae51bceb5
|
[EngineConfig] Added BLOCK_AIR for air string ID.
|
2020-07-18 01:53:22 +02:00 |
|
Quentin Bazin
|
a4dfd7a7aa
|
Item stack limit added (server global + per block/item definition).
|
2020-07-18 01:35:59 +02:00 |
|
Quentin Bazin
|
103127ee96
|
[LuaMod] 'giveItemStack' now tries to use inventory before hotbar.
|
2020-07-17 23:45:51 +02:00 |
|
Quentin Bazin
|
7eaac50d48
|
Now saving last hotbar slot.
|
2020-07-17 23:32:50 +02:00 |
|
Quentin Bazin
|
1ded0d929e
|
[Lua API] Added 'daylight_cycle' in sky definition to control its presence and speed.
|
2020-07-17 19:58:45 +02:00 |
|
Quentin Bazin
|
5119ab9985
|
[Lua API] Added moon, sun and stars attributes in sky definition.
|
2020-07-17 19:58:45 +02:00 |
|
Quentin Bazin
|
886aba1d0f
|
Small fixes.
|
2020-07-17 19:58:45 +02:00 |
|
Quentin Bazin
|
30e3ae2054
|
[ChatCommandHandler] '/time <add|set>' command added.
[CelestialObject|Skybox] Moon changes its phase everyday.
|
2020-07-17 19:58:45 +02:00 |
|
Quentin Bazin
|
0f015ee75d
|
[DebugInfoWidget] Added 'Ticks' and 'Game time'.
[GameTime] The day now starts at 6 AM.
|
2020-07-17 19:58:45 +02:00 |
|
Quentin Bazin
|
07f86b9e10
|
[GameTime] 'getCurrentTime' now uses the new tick system.
[DebugOverlay] Added client TPS info.
[Network] Packet 'ServerTick' added. Sent at the beginning of every tick.
|
2020-07-17 19:58:45 +02:00 |
|
Quentin Bazin
|
556941f553
|
[GameTime] Tick system added.
[ChatCommandHandler] Added '/tps' command to get ticks per second.
[ServerWorld] Fixed world generation speed.
|
2020-07-17 19:58:45 +02:00 |
|
Quentin Bazin
|
c319f865a1
|
[CelestialObject] Now allows to control rotation speed.
|
2020-07-17 19:58:45 +02:00 |
|
Quentin Bazin
|
4e45f1583b
|
[GameTime] Added to centralize time, sunlight intensity and sky color.
|
2020-07-17 19:58:45 +02:00 |
|
Quentin Bazin
|
1485c15808
|
[Lua API] Added item definition property 'effective_on'. Fixed #143.
|
2020-07-13 06:54:05 +02:00 |
|
Quentin Bazin
|
9df06a4a88
|
Fixed block mining speed.
|
2020-07-13 06:26:21 +02:00 |
|
Quentin Bazin
|
bf793e9bfb
|
[tests] CxxTest-based unit tests added.
|
2020-07-11 17:44:20 +02:00 |
|
Quentin Bazin
|
6a68b1a430
|
[BlockState] 'drawOffset' attribute added.
|
2020-07-11 02:59:48 +02:00 |
|
Quentin Bazin
|
801c13fc4b
|
[default] Various gameplay tweaks. [BlockState] Fixed tools.
|
2020-07-11 02:32:41 +02:00 |
|
Quentin Bazin
|
d68e17a521
|
Added 'Redstone Lamp' alternative using states. WIP.
|
2020-07-10 23:58:07 +02:00 |
|
Quentin Bazin
|
5b77f61298
|
Documentation updated for block states.
|
2020-07-10 22:49:59 +02:00 |
|
Quentin Bazin
|
f5f586980d
|
'use_alt_tiles' replaced by block states.
|
2020-07-10 22:43:50 +02:00 |
|
Quentin Bazin
|
fd979fdd06
|
[LuaBlockLoader] Now setting attributes only when necessary. [BlockStat€] 'isOpaque' fixed.
|
2020-07-10 22:43:50 +02:00 |
|
Quentin Bazin
|
a44a3b6ad2
|
Block states almost completely working.
|
2020-07-10 22:43:50 +02:00 |
|
Quentin Bazin
|
5f96d37fbd
|
[BlockState] 'isOpaque' now has a custom getter.
|
2020-07-10 22:43:50 +02:00 |
|
Quentin Bazin
|
4884b7c1d9
|
[ScriptEngine] 'BlockState' and 'BlockParam' added.
|
2020-07-10 22:43:50 +02:00 |
|
Quentin Bazin
|
7750154b22
|
[BlockState] Added. First stop of block states.
|
2020-07-10 22:43:50 +02:00 |
|
Quentin Bazin
|
2b210d697a
|
[BlockParam] Added (see #139).
|
2020-07-09 22:24:19 +02:00 |
|
Quentin Bazin
|
02b9f8b283
|
Now using LuaJIT. Closed #91.
|
2020-07-09 02:40:21 +02:00 |
|
Quentin Bazin
|
e3dc327b71
|
[Key] Small fix for multiplayer mode.
If the 'config/keys.lua' file didn't exist custom keys were empty.
|
2020-07-08 09:13:43 +02:00 |
|
Quentin Bazin
|
4ac67eedd4
|
[GameKey] 'Up' and 'Down' renamed to 'Forward' and 'Back'.
|
2020-07-08 04:19:36 +02:00 |
|
DeatHunter
|
5ba2699c4b
|
Add random walk as an alternative to flood fill for oregen (#148)
* Improved oregen
* [Lua API] Added biome ore definition property 'gen_type'.
Co-authored-by: Quentin Bazin <quent42340@gmail.com>
|
2020-07-08 02:28:11 +02:00 |
|
Quentin Bazin
|
c9b7990c3c
|
First step of SDL2 migration.
|
2020-07-08 00:12:22 +02:00 |
|
Quentin Bazin
|
14e23dc83d
|
Added seeds and wheat. You can grow wheat but it's quite clunky atm.
|
2020-07-05 23:32:24 +02:00 |
|
Quentin Bazin
|
084a002a6d
|
[EngineConfig] Chunks are back to their old 16x16x32 state until superchunks are implemented.
|
2020-07-05 22:26:41 +02:00 |
|
Quentin Bazin
|
7497b6b2a8
|
Added 'Farmland' block, which is possible to create with any hoe.
|
2020-07-05 20:55:23 +02:00 |
|
Quentin Bazin
|
f2ab97105b
|
[EngineConfig] Chunks are now cubic (16 blocks tall instead of 32 blocks tall).
|
2020-07-01 21:18:11 +02:00 |
|
Quentin Bazin
|
e919cbb8f7
|
[Lua API] Added properties 'fog_color' and 'fog_depth'.
|
2020-06-30 01:45:30 +02:00 |
|
Quentin Bazin
|
21edf6816c
|
[TitleScreenState] Now displaying version.
|
2020-06-26 19:06:51 +02:00 |
|
Quentin Bazin
|
a434727216
|
[WorldSelectionState] Background and title added (see #128)
|
2020-06-26 07:13:48 +02:00 |
|
Quentin Bazin
|
00e0d76bbc
|
[ClientApplication] Added '-u/--username' to change default username. [TitleScreenState] Now using default username with '-m/--multiplayer' and '-s/--singleplayer'.
|
2020-06-26 06:14:46 +02:00 |
|
Quentin Bazin
|
057753f1d2
|
[WorldSaveBasicBackend] Now saving player position, rotation and inventory.
|
2020-06-26 06:14:46 +02:00 |
|
Quentin Bazin
|
93a396e926
|
[ServerConnectState] Text input added to select an username.
|
2020-06-26 06:14:46 +02:00 |
|
Quentin Bazin
|
15d9acac61
|
[Registry] Now storing entity callbacks here instead of using a component.
|
2020-06-25 00:22:03 +02:00 |
|