Commit Graph
6964 Commits
Author SHA1 Message Date
Dmitry Stepanov a767b2725c removed invalid assertions + code cleanup 2025-04-19 09:46:32 +03:00
Dmitry Stepanov 95611cb6d3 flatten vector structure at serialization stage
- removes redundant `ItemData` node that bloats the final structure
2025-04-18 23:48:48 +03:00
Dmitry Stepanov 2f07d2178c write all attributes in a single line
- improves mergeability
2025-04-18 21:06:59 +03:00
Dmitry Stepanov 0ce24acea9 Merge pull request #781 from b-guild/master
Fixing cut-off text in tooltips
2025-04-17 22:47:04 +03:00
b-guild e1d29398d7 Fixing cut-off text in tooltips 2025-04-17 10:28:37 -07:00
Dmitry Stepanov b74d3c079a Merge pull request #780 from b-guild/master
Protecting against resource deadlock
2025-04-17 18:41:54 +03:00
b-guild f56f704a40 Protecting against resource deadlock 2025-04-16 20:58:28 -07:00
Dmitry Stepanov baa2a546f6 hold mutex locks as short as possible to prevent deadlocks
- yet another (this time more successful) attempt to fix a deadlock when loading a ton of resources at the same time
2025-04-16 23:20:39 +03:00
Dmitry Stepanov 00f9db055e use blocking resource registry updating where possible
- an attempt to fix a random deadlock
2025-04-16 19:54:19 +03:00
Dmitry Stepanov 2f57121401 finished visitor docs 2025-04-15 20:22:28 +03:00
Dmitry Stepanov 5deb1a00df docs for blackboard 2025-04-15 20:08:20 +03:00
Dmitry Stepanov 0c76f22798 docs improvements for Visitor 2025-04-14 23:23:34 +03:00
Dmitry Stepanov 64ec23f56d Merge pull request #779 from b-guild/physics
Correcting terrain hole mask bug
2025-04-14 09:12:12 +03:00
b-guild e1aebb875b Correcting terrain hole mask bug 2025-04-13 19:53:53 -07:00
Dmitry Stepanov 9be5d8d485 use ascii format for engine assets by default
- improves mergeability of the assets
2025-04-13 23:07:38 +03:00
Dmitry Stepanov 242e421db0 use tabs instead of spaces for ascii format to reduce size
- 1 byte vs 4 bytes, a lot of space was wasted for alignment
2025-04-13 20:46:25 +03:00
Dmitry Stepanov 9e96283b65 fixed matrix writing in ascii mode + improved tests quality 2025-04-13 19:30:46 +03:00
Dmitry Stepanov 87220090db universal Visitor::load_from_memory with format autodetection
- fixed tests
2025-04-13 11:34:45 +03:00
Dmitry Stepanov 9fcbd92c13 print warning messages in the log when setting terrain height map 2025-04-13 11:06:49 +03:00
Dmitry Stepanov 6ce964ec98 fixed tests 2025-04-13 11:06:03 +03:00
Dmitry Stepanov dbd5c8ff69 Merge pull request #778 from b-guild/shader
Fixing potential panic in `patch_error_message`
2025-04-13 09:30:26 +03:00
b-guild b45f85f551 Fixing potential panic in patch_error_message 2025-04-12 16:06:05 -07:00
Dmitry Stepanov 85a8f6a0dd select asset item by rmb click 2025-04-12 23:44:22 +03:00
Dmitry Stepanov ef0cfeec5c Merge remote-tracking branch 'origin/master' 2025-04-12 23:07:15 +03:00
Dmitry Stepanov 20421b4818 fixed asset item context menu not showing on rmb click 2025-04-12 23:07:09 +03:00
Dmitry Stepanov b5a764d595 fixed resource reloading 2025-04-12 23:06:48 +03:00
Dmitry Stepanov 76070ddea5 Merge pull request #777 from b-guild/collision
Documentation and helper methods for colliders
2025-04-12 22:15:27 +03:00
Dmitry Stepanov 58abb905b0 doc fixes + wasm fix 2025-04-12 21:32:47 +03:00
Dmitry Stepanov e4cc4cbd23 separate magic for binary and ascii formats 2025-04-12 21:17:54 +03:00
Dmitry Stepanov 88d870c8f0 visitor: fixed nodes reading in ascii mode
- fixed naming of methods
- more tests
- test ascii reading/writing correctness
2025-04-12 20:35:06 +03:00
Dmitry Stepanov c132c88e0e Merge remote-tracking branch 'origin/master' 2025-04-12 18:59:16 +03:00
Dmitry Stepanov 238847fca9 ascii reader for visitor 2025-04-12 18:59:12 +03:00
b-guild 2c7cd6a600 Documentation and helper methods for colliders 2025-04-11 23:56:35 -07:00
Dmitry Stepanov 4b1a200308 Merge pull request #776 from b-guild/bitmask
Implementing `Debug` and `Display` for `BitMask`
2025-04-11 14:56:50 +03:00
b-guild 3872cb6397 Implementing Debug and Display for BitMask.
Making BitMask easier to read by replacing its raw number with either a 8-digit hexadecimal or a display of each bit of the mask in groups of 8, with bit 0 on the left, just as in the editor.
2025-04-10 14:43:01 -07:00
Dmitry Stepanov 26d72f9463 Merge remote-tracking branch 'origin/master' 2025-04-10 21:59:53 +03:00
Dmitry Stepanov 841fe5be79 experimental ascii writer for visitor 2025-04-10 21:59:50 +03:00
Dmitry Stepanov 153e6e9783 Merge pull request #773 from b-guild/free-handles
Reversing `Pool::generate_free_handles` to match `spawn`
2025-04-10 13:28:49 +03:00
b-guild 000c221f7d Reversing generate_free_handles to match spawn 2025-04-09 16:52:36 -07:00
Dmitry Stepanov 454c26c829 isolated visitor's reader and writer into separate entities 2025-04-09 21:03:58 +03:00
Dmitry Stepanov 5a5b48b0d2 split visitor module into multiple modules 2025-04-09 19:53:38 +03:00
Dmitry Stepanov 6819e5019f do not try to reload unsupported resources. 2025-04-09 18:03:11 +03:00
Dmitry Stepanov ea69d075c6 Merge pull request #771 from b-guild/script-first
Moving plugin and script handling to before node handling
2025-04-09 13:35:25 +03:00
b-guild 4a1ecef419 Moving plugin and script handling to before node handling, to fix teleportation glitch 2025-04-08 23:14:58 -07:00
Dmitry Stepanov 546708fdd5 finished resource manager docs + api improvements 2025-04-08 23:00:34 +03:00
Dmitry Stepanov c182732120 docs for built-in resources + api improvements 2025-04-08 21:17:10 +03:00
Dmitry Stepanov f0db4acb41 more docs for resource manager 2025-04-08 19:01:46 +03:00
Dmitry Stepanov 4a48ddf373 docs for ResourceRegistry + rename + tiny refactoring 2025-04-08 18:58:03 +03:00
Dmitry Stepanov 3d18ba4dd3 write resource registry immediately after changes + api improvements
- applied `cargo fmt`
2025-04-07 23:15:29 +03:00
Dmitry Stepanov 0539dfc9bf fixed default path for resource registry
- `data` is more appropriate and also fixes wasm builds, which is special and requires every resource to be in that specific folder
2025-04-07 18:33:43 +03:00