Commit Graph
6982 Commits
Author SHA1 Message Date
Dmitry Stepanov 5af155a896 use stable ids when serializing rc/arc
- prevents ids from changing, thus improves mergeability of the assets
2025-04-24 23:21:15 +03:00
Dmitry Stepanov 9e7b7340d3 fixed potential crash in the editor 2025-04-23 20:39:30 +03:00
Dmitry Stepanov 10f258248b open context menus on rmb-up event instead of rmb-down
- this is the standard behavior in other UI libs
- fixes inability to open some context menus
2025-04-23 20:39:18 +03:00
Dmitry Stepanov a90755230b serialize strings as fields and as-is w/o base64 conversion for asciii 2025-04-22 22:33:07 +03:00
Dmitry Stepanov eb4ecf3572 working vector flattened structure
- all that was needed is a version field, not guessing by the content
2025-04-21 21:49:10 +03:00
Dmitry Stepanov 2abf00b847 rollback vector serialization changes
- new version is unreliable and produces annoying bugs
2025-04-20 23:20:43 +03:00
Dmitry Stepanov d750422acc fixed backward compatibility for verbose vectors 2025-04-20 22:45:50 +03:00
Dmitry Stepanov bb19c879ed save ui scenes in ascii mode 2025-04-20 21:08:33 +03:00
Dmitry Stepanov 3db565e92b fixed distance sorting 2025-04-20 20:03:58 +03:00
Dmitry Stepanov a89db78213 reset editor camera rotation when in 2d mode
- do not allow the camera to be rotated by rmb when 2d mode
2025-04-20 11:05:12 +03:00
Dmitry Stepanov aee202f283 tests for calculate_sorting_index 2025-04-20 10:44:10 +03:00
Dmitry Stepanov 9fd1027233 write empty children section on the same line for ascii mode 2025-04-19 10:39:12 +03:00
Dmitry Stepanov 8936bb4f8a fixed warnings 2025-04-19 10:17:55 +03:00
Dmitry Stepanov b5590145d6 fixed matrix2 deserialization 2025-04-19 10:05:02 +03:00
Dmitry Stepanov a3eefd865a Merge remote-tracking branch 'origin/master' 2025-04-19 09:46:47 +03:00
Dmitry Stepanov a767b2725c removed invalid assertions + code cleanup 2025-04-19 09:46:32 +03:00
Dmitry Stepanov a5aa818466 Merge pull request #782 from b-guild/render-mask
Using a `BitMask` to control which nodes are visible to each camera
2025-04-19 09:25:54 +03:00
b-guild 081e8e00fa Moving render_mask check into should_be_rendered 2025-04-18 17:58:26 -07: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
b-guild ed00414689 Add render mask to Base 2025-04-18 11:41:39 -07: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