46 Commits

Author SHA1 Message Date
MihailRis
f2e7a54180 add on_replaced block event and on_block_replaced world event 2024-11-22 12:31:45 +03:00
MihailRis
a641099d36 feat: load block and item scripts after content load 2024-11-22 08:56:59 +03:00
MihailRis
61b1aa8e3d add gfx.blockwraps library & add on_player_tick world event 2024-11-21 06:48:23 +03:00
MihailRis
e3cb736519 update lua chunks sources to the engine format 2024-11-18 14:05:45 +03:00
MihailRis
f6f82644d4 add on_block_interact world event 2024-11-05 13:55:07 +03:00
MihailRis
ac6084f904 fix console focus on open 2024-11-01 16:20:58 +03:00
MihailRis
d9a44f3b87 minor refactor 2024-10-06 21:07:27 +03:00
MihailRis
e30e0083a0 add ores 2024-09-30 13:14:53 +03:00
MihailRis
3d478aef08 add generator definition file (.toml) 2024-09-26 22:26:01 +03:00
MihailRis
bf9f81a98c Merge branch 'main' into heightmaps 2024-09-19 15:16:14 +03:00
MihailRis
3953583605 minimize extra dv::value copies 2024-09-19 13:45:32 +03:00
MihailRis
34d2e6d400 migrate from dynamic::Value to dv::value & total erase namespace 'dynamic' 2024-09-18 23:31:18 +03:00
MihailRis
95cf451cc8 add GeneratorScript 2024-08-14 17:12:12 +03:00
MihailRis
de5c75d782 replace include guards with pragma once 2024-08-10 01:57:59 +03:00
MihailRis
f43cc93cd2 update project includes format 2024-08-10 01:37:48 +03:00
InfiniteCoder
8f9c7eb7ff data/ 2024-08-05 23:59:42 +03:00
InfiniteCoder
d5dc68dd38 Root includes 2024-08-04 10:24:11 +03:00
MihailRis
245b39be62 refactor: PVS-Studio warnings fixes 2024-08-04 01:12:42 +03:00
Vyacheslav Ivanov
bbf33e8e4d
format: reformat project
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 19:53:48 +03:00
MihailRis
f8907f7db1 add on_update, on_render to docs & change entities tps to 20 2024-08-01 16:04:27 +03:00
MihailRis
d6696b54cb add 'normal' argument to on_use_on_block event 2024-07-29 15:23:04 +03:00
MihailRis
1b99a48849 update entities.spawn(...) semantics to the docs state 2024-07-17 10:17:20 +03:00
MihailRis
50050dbe40 add entity events: on_attacked, on_used 2024-07-16 14:04:05 +03:00
MihailRis
a36ffaacd9 add entity events: on_aim_on, on_aim_off 2024-07-16 13:42:58 +03:00
MihailRis
54902d7f49 refactor entities events 2024-07-16 13:27:39 +03:00
MihailRis
ea765ffc0c add new world events: on_block_broken, on_block_placed 2024-07-14 01:37:11 +03:00
MihailRis
8edf9440a3 reduce redundancy 2024-07-10 06:51:14 +03:00
MihailRis
c94c2697e7 rename Trigger to Sensor 2024-07-09 07:37:20 +03:00
MihailRis
0d230f2449 add entity 'on_render' event 2024-07-07 22:59:15 +03:00
MihailRis
c8666910ce feat: loading entities (WIP) 2024-07-05 22:51:03 +03:00
MihailRis
08cc78289d add entity on_save event and SAVED_DATA variable 2024-07-05 18:35:46 +03:00
MihailRis
f0270d3391 feat: saving entities (WIP) 2024-07-05 05:16:31 +03:00
MihailRis
8f379f2ee7 feat: multiple components per entity support 2024-07-04 19:47:52 +03:00
MihailRis
1b41a75cf4 add component ARGS variable 2024-07-01 00:17:58 +03:00
MihailRis
5769be8ec8 add triggers 2024-06-30 16:25:08 +03:00
MihailRis
50c714692a add entity event: on_fall 2024-06-30 00:32:02 +03:00
MihailRis
982c8b132d add on_update event 2024-06-29 22:19:42 +03:00
MihailRis
fc3994446a update entity script semantics 2024-06-29 21:01:30 +03:00
MihailRis
e0e5faa4a8 add entity event: on_grounded 2024-06-28 12:47:45 +03:00
MihailRis
eb2be5e8b6 add entity events: on_spawn, on_despawn 2024-06-28 12:16:31 +03:00
MihailRis
66a1240fbc refactor ContentBuilder and add entities support 2024-06-26 03:40:14 +03:00
MihailRis
fe55b94ebd fix: lua setInterval stack overflow 2024-06-12 19:39:31 +03:00
MihailRis
4e696520b6 refactor: PlayerController 2024-06-09 16:30:01 +03:00
Pugemon
f25a425cb9 Optimize parameter passing to avoid unnecessary copying 2024-06-07 04:00:38 +03:00
MihailRis
a4c21984d5 dynamic::Value simplified 2024-05-07 18:39:12 +03:00
MihailRis
1627e21c1d the final rename 2024-05-06 03:38:19 +03:00