Commit Graph
100 Commits
Author SHA1 Message Date
MihailRis 3cd3fe94de update doc/*/scripting/events.md 2024-11-21 07:25:31 +03:00
MihailRis 61b1aa8e3d add gfx.blockwraps library & add on_player_tick world event 2024-11-21 06:48:23 +03:00
MihailRis 2ba90625ce add player.is_instant_destruction, .set_instant_destruction 2024-11-21 05:02:45 +03:00
MihailRis 005bcfb436 minor controllers refactor 2024-11-20 18:03:39 +03:00
MihailRis 9e02f1122f add BlockWrapsRenderer (WIP) 2024-11-20 14:42:53 +03:00
MihailRis 14b596140d add player.is_infinite_items, .set_infinite_items 2024-11-20 13:19:49 +03:00
MihailRis f4f479d389 move 'devtools:console' binding handler to __vc_on_hud_open 2024-11-20 12:15:09 +03:00
MihailRis e842b217da add 'args' parameter to hud.show_overlay 2024-11-20 11:10:05 +03:00
MihailRis 02578a6276 simplify local modules loading 2024-11-20 07:49:21 +03:00
MihailRis eb9a89ed96 fix first console open 2024-11-20 06:56:48 +03:00
MihailRis 4edab4a89a add 'cracks' separate atlas to base 2024-11-20 04:58:56 +03:00
MihailRis 784f93666c add 'separate' atlas type & get rid of assets loading entries duplicates 2024-11-20 04:30:19 +03:00
MihailRis 0144709e03 add 'u_alphaClip' to entity shader 2024-11-19 14:33:14 +03:00
MihailRis 495e444d1f fix MainBatch::cube 2024-11-19 13:30:52 +03:00
MihailRis e70d30b9a2 feat: auto patch invalid inventory id pre 0.25 2024-11-19 12:18:59 +03:00
MihailRis 371fdaedce fix World::nextInventoryId 2024-11-19 12:04:56 +03:00
MihailRis 6f6c2a916a fix block inventory unbinding 2024-11-19 11:46:04 +03:00
MihailRis 24d198b236 update some xml templates 2024-11-19 10:41:57 +03:00
MihailRisandGitHub cb27bd0fba Merge pull request #373 from MihailRis/update-particles
Update particles
2024-11-19 10:16:20 +03:00
MihailRis b66fb87427 Merge branch 'main' into update-particles 2024-11-19 10:15:42 +03:00
MihailRis a015d74af5 update file library warnings 2024-11-19 10:04:26 +03:00
MihailRis c543575150 replace '<string>' source name with '[string]' 2024-11-19 09:53:15 +03:00
MihailRis 134deb0ae6 fix typo 2024-11-19 09:39:46 +03:00
MihailRis 6e0434c5c8 import '\t' to editor as 4 spaces 2024-11-19 08:56:07 +03:00
MihailRisandGitHub 6736613dc2 Merge pull request #372 from MihailRis/console-tabs
Console Tabs
2024-11-19 08:41:44 +03:00
MihailRis 78ea12aa26 add console on_open 'mode' argument 2024-11-19 08:30:50 +03:00
MihailRis e80b10dbda fix logContainer size 2024-11-19 08:17:56 +03:00
MihailRis b9d085c1b3 minor refactor 2024-11-19 08:04:30 +03:00
MihailRis 53c54dc91d fix xml text escapes handling 2024-11-19 07:41:26 +03:00
MihailRis f9f150f0aa fix entity component script source path in lua traceback 2024-11-19 07:35:38 +03:00
MihailRis 29d8c4bbb8 add Lua traceback inspector (WIP) && add chat prototype 2024-11-19 07:32:03 +03:00
MihailRis 66be215101 add advanced lua errors handler & fix hud script source path in traceback 2024-11-19 07:26:28 +03:00
MihailRis 2412699b89 add 'scroll-step' property to container 2024-11-19 06:46:54 +03:00
MihailRis 5c005b4f9a remove extra frames from on_deprecated_call traceback 2024-11-19 06:01:59 +03:00
MihailRis c5c9ef379e add textbox:lineAt and textbox:linePos 2024-11-19 05:57:46 +03:00
MihailRis 6a466cf1ec fix DrawContext 2024-11-19 05:57:02 +03:00
MihailRis 2bc6cbda2e fix \' escape parsing 2024-11-19 04:38:36 +03:00
MihailRis 2cf51a6941 add 'line-numbers' property to textbox & make TextBox extend Container instead of Panel 2024-11-19 04:21:05 +03:00
MihailRis 9dc09e920c remove extra frames from debug.get_traceback result 2024-11-18 14:48:05 +03:00
MihailRis 3146bf0133 fix 2024-11-18 14:44:44 +03:00
MihailRis e3cb736519 update lua chunks sources to the engine format 2024-11-18 14:05:45 +03:00
MihailRis 801650824e add 'text-color' textbox property 2024-11-18 14:03:30 +03:00
MihailRis d660880365 fix util::base64_encode 2024-11-18 12:37:48 +03:00
MihailRis 0bfc5d2ad4 add base64 library 2024-11-18 11:52:06 +03:00
MihailRis 712c0756b8 add debug.get_traceback 2024-11-18 11:09:27 +03:00
MihailRis dcd8871ee1 add utf8.escape, string.escape & reformat extensions.md 2024-11-18 09:21:16 +03:00
MihailRis 618a9f0411 add RadioButton Lua class 2024-11-18 07:11:07 +03:00
MihailRis 8e1d6b9f03 set default margin to 0,0,0,0 2024-11-18 05:24:16 +03:00
MihailRis 86beea0a61 Merge branch 'main' into console-tabs 2024-11-18 04:20:44 +03:00
MihailRis e034bda477 fix crosshair 2024-11-18 04:15:51 +03:00
MihailRis 1ba5b0ce33 fix: actual block inventory size not updating on inventory-size property update 2024-11-17 16:58:58 +03:00
MihailRis 352ef6485a fix falling block hitbox 2024-11-17 16:12:59 +03:00
MihailRis 3ea213e8d3 fix console position 2024-11-17 15:53:25 +03:00
MihailRis 255c49916c add 'ice' translation to ru_RU.txt 2024-11-17 06:38:13 +03:00
MihailRisandGitHub be9bd3e508 Merge pull request #370 from MihailRis/transparency-fix
Fix transparency
2024-11-17 05:35:10 +03:00
MihailRis eaa5150d3e update doc/*/block-properties.md 2024-11-17 05:23:50 +03:00
MihailRis 0a33970a7a fix base:glass visibility 2024-11-17 05:19:39 +03:00
MihailRis 71d18ae3a9 minor refactor 2024-11-17 04:58:15 +03:00
MihailRis 5f71522653 extend that one optimization 2024-11-17 04:31:07 +03:00
MihailRis 3c94061fd3 update ice texture 2024-11-17 04:01:02 +03:00
MihailRis bd4a5ef7fc optimize a bit 2024-11-17 03:19:55 +03:00
MihailRis 5240fe6226 rename vattr to VertexAttribute 2024-11-17 01:00:27 +03:00
MihailRis 65287b3273 move chunk vertex attributes info to commons.hpp 2024-11-17 00:54:10 +03:00
MihailRis 608eb60514 add 'u_alphaClip' to the blocks shader 2024-11-16 16:13:18 +03:00
MihailRis 71788e4eb9 remove unnecessary shared_ptrs from ChunksRenderer and ChunkMesh 2024-11-16 16:04:00 +03:00
MihailRis ebc890bdd6 optimize (part 4) & format ChunkRenderer 2024-11-16 15:49:53 +03:00
MihailRis 399943b253 fix 2024-11-16 15:37:30 +03:00
MihailRis 7bdeba982b optimize (part 3) 2024-11-16 15:24:46 +03:00
MihailRis 1ff89491e6 optimize (part 2) 2024-11-16 15:11:05 +03:00
MihailRis 99f1594645 fix Mesh 2024-11-16 15:08:25 +03:00
MihailRis 2327f0ddf8 fix msvc error C2466: cannot allocate an array of constant size 0 2024-11-16 09:31:33 +03:00
MihailRis 171cbb48d0 fix blocks selection with semi-transparent blocks 2024-11-16 09:30:02 +03:00
MihailRis b28bcf052b optimize (part 1) 2024-11-16 09:18:14 +03:00
MihailRis 4400366719 feat: actually working slow prototype 2024-11-16 07:41:36 +03:00
MihailRis faadfca8c3 add base:ice block 2024-11-16 07:34:58 +03:00
MihailRis 5b6256e0fa introduce ChunkMesh 2024-11-16 04:13:00 +03:00
MihailRis 5793c52ac6 Revert "remove 'translucent' block property (will be reverted later)"
This reverts commit 7aacadc926.
2024-11-15 06:47:03 +03:00
MihailRisandGitHub 7a3a4476ea Merge pull request #364 from MihailRis/text3d
3D Text (2D text in 3D space) & render refactor
2024-11-15 05:20:28 +03:00
MihailRis 7aacadc926 remove 'translucent' block property (will be reverted later) 2024-11-15 05:07:49 +03:00
MihailRis 4cbd3f41f6 cleanup 2024-11-15 04:40:17 +03:00
MihailRis 04da2f5e69 add .set_rotation(mat4) 2024-11-15 04:29:52 +03:00
MihailRis a7404c2637 add missing methods to the OOP wrapper 2024-11-15 03:13:44 +03:00
MihailRis a8388a6243 add text3d.get_axis_x, .set_axis_x, .get_axis_y, .set_axis_y 2024-11-15 03:09:05 +03:00
MihailRis 525cf1ed4b add 'perspective' NotePreset property 2024-11-15 02:21:05 +03:00
MihailRis 2147f507a6 add 'projected' display mode support 2024-11-15 01:08:46 +03:00
MihailRis ef644ca56d add 'xray_opacity' NotePreset property 2024-11-15 00:38:41 +03:00
MihailRis 3a1e90f517 add gfx.text3d OOP wrapper 2024-11-14 21:49:43 +03:00
MihailRis 4a74e56eda add update_settings 2024-11-14 21:18:36 +03:00
MihailRis 501f1b568d add get_text, set_text, get_pos, set_pos 2024-11-14 10:57:55 +03:00
MihailRis d74b530a83 rename spawn to show & add gfx.text3d.hide(...) 2024-11-14 10:45:37 +03:00
MihailRis eb5715eba9 add gfx.text3d.spawn(...) 2024-11-14 10:32:50 +03:00
MihailRis c4170c07c5 refactor 2024-11-14 09:30:41 +03:00
MihailRis f0b6521c76 refactor 2024-11-14 08:09:10 +03:00
MihailRis e9163f4228 refactor WorldRenderer 2024-11-14 06:13:53 +03:00
MihailRis f9f4d2037f refactor WorldRenderer 2024-11-14 06:04:26 +03:00
MihailRis 42b26707cb move 3d texts rendering code to TextsRenderer 2024-11-14 05:43:01 +03:00
MihailRis 5b3fe465b9 Merge branch 'main' into text3d 2024-11-14 02:24:42 +03:00
MihailRis 5b6ada6e5d add more NotePreset properties 2024-11-14 02:21:15 +03:00
MihailRisandGitHub d8cf3ce596 Merge pull request #367 from Xertis/main
Added search to the content_menu
2024-11-14 01:05:24 +03:00
MihailRis 78d5ab02c2 fix: fatal error on pack removal when no world open 2024-11-14 01:04:32 +03:00