From 23768bc93ef303868a66c367b3914883f5ade7a0 Mon Sep 17 00:00:00 2001 From: Milky2018 <842376130@qq.com> Date: Wed, 22 Jul 2026 13:22:55 +0800 Subject: [PATCH 1/2] Migrate deprecated trait method promotion syntax --- docs/issues/ISS-443.md | 27 ++++++++--- docs/issues/ISS-474.md | 47 +++++++++++++++++++ docs/issues/README.md | 6 ++- mgstudio-engine/app/resource_param_test.mbt | 3 ++ mgstudio-engine/asset/assets_test.mbt | 21 +++++++++ .../core_pipeline/skybox/top_wbtest.mbt | 6 +++ .../2d/mesh2d_custom_material/main.mbt | 3 ++ .../examples/2d/texture_atlas/main.mbt | 3 ++ .../examples/3d/auto_exposure/main.mbt | 9 ++++ .../examples/3d/custom_system_setup3/main.mbt | 3 ++ mgstudio-engine/examples/3d/lines/main.mbt | 3 ++ .../examples/3d/motion_blur/main.mbt | 12 +++++ mgstudio-engine/examples/3d/ssao/main.mbt | 6 +++ mgstudio-engine/examples/3d/ssr/main.mbt | 24 ++++++++++ .../examples/3d/tonemapping/main.mbt | 3 ++ .../asset/asset_decompression/main.mbt | 3 ++ .../examples/asset/custom_asset/main.mbt | 6 +++ .../processing/asset_processing/main.mbt | 3 ++ .../examples/audio/soundtrack/main.mbt | 12 +++++ .../camera/first_person_view_model/main.mbt | 9 ++++ .../examples/ecs/generic_system/main.mbt | 3 ++ .../examples/ecs/state_scoped/main.mbt | 3 ++ .../examples/math/cubic_splines/main.mbt | 6 +++ .../examples/math/random_sampling/main.mbt | 21 +++++++++ .../math/sampling_primitives/main.mbt | 45 ++++++++++++++++++ .../physics_in_fixed_timestep/main.mbt | 3 ++ .../shader/shader_material_2d/main.mbt | 3 ++ .../custom_shader_instancing/main.mbt | 9 ++++ .../custom_shader_instancing/main_wbtest.mbt | 3 ++ .../examples/state/computed_states/main.mbt | 6 +++ .../state/custom_transitions/main.mbt | 3 ++ .../examples/state/states/main.mbt | 3 ++ .../examples/state/sub_states/main.mbt | 3 ++ .../examples/time/virtual_time/main.mbt | 6 +++ .../ldtk/level_metadata_accessor.mbt | 3 +- mgstudio-engine/pbr/camera_bundle_test.mbt | 5 ++ .../pbr/material_plugin_wbtest.mbt | 10 ++++ .../pbr/materials_plugin_wbtest.mbt | 3 ++ .../render_execute_camera_prepass_wbtest.mbt | 6 +++ .../pbr/render_main_phase_wbtest.mbt | 9 ++++ .../pbr/render_prepass_phases_wbtest.mbt | 6 +++ .../pbr/render_shadow_view_wbtest.mbt | 3 ++ mgstudio-engine/render/settings_wbtest.mbt | 6 +++ mgstudio-engine/render/uniform_wbtest.mbt | 3 ++ .../render/ecs_runtime_wbtest.mbt | 3 ++ 45 files changed, 373 insertions(+), 10 deletions(-) create mode 100644 docs/issues/ISS-474.md diff --git a/docs/issues/ISS-443.md b/docs/issues/ISS-443.md index e9713720a..9f023a70d 100644 --- a/docs/issues/ISS-443.md +++ b/docs/issues/ISS-443.md @@ -2,12 +2,12 @@ ## Metadata - Type: task -- Status: open +- Status: in_progress - Priority: 1 - Labels: warnings, moonbit, toolchain, migration - Assignee: unassigned - Created: 2026-07-15 -- Updated: 2026-07-15 +- Updated: 2026-07-22 - External ref: none ## Description @@ -25,23 +25,36 @@ migration separate from ISS-442 so the dense-storage branch remains easy to evaluate or discard. ## Acceptance Criteria -- [ ] Every warning 83 reported by the updated MoonBit toolchain is removed. +- [x] Every warning 83 reported by the updated MoonBit toolchain is removed. - [ ] A focused test for each touched package passes before moving to the next package. -- [ ] `many_foxes` builds for native release with warnings denied and +- [x] `many_foxes` builds for native release with warnings denied and `MOONBIT_NEW_NATIVE=1`. -- [ ] Public interface output is unchanged. -- [ ] No runtime or scheduling behavior changes are introduced. +- [x] Public interface output is unchanged. +- [x] No runtime or scheduling behavior changes are introduced. ## Relationships - Depends on: none - Parent: none -- Related: ISS-426 +- Related: ISS-426, ISS-474 - Discovered from: ISS-442 ## Notes - 2026-07-15: The warnings appeared after the local MoonBit toolchain update. They are outside the ECS package and are not caused by the dense-column diff. +- 2026-07-22: Added 98 explicit defining-trait extensions across 41 files and + one explicit `LevelMetadataAccessor` dispatch. The migration is private and + behavior-preserving; generated public interfaces remain unchanged. +- 2026-07-22: `MOONBIT_NEW_NATIVE=1 moon -C mgstudio-engine check --target + native --deny-warn` passed 1556 tasks. `MOONBIT_NEW_NATIVE=1 moon -C + mgstudio-engine build --target native --release --deny-warn + examples/stress_tests/many_foxes` passed 378 tasks, with only the existing + duplicate-library linker warning. +- 2026-07-22: Removed 433 unrelated executable-manifest migrations and eight + formatter-only source diffs from this change. An aggregate focused-test run + exposed the pre-existing Commands regression tracked by ISS-474. Further + aggregate native-release compilation was intentionally stopped, so the + per-package focused-test criterion remains open. ## Close Notes diff --git a/docs/issues/ISS-474.md b/docs/issues/ISS-474.md new file mode 100644 index 000000000..ff0a4f2b6 --- /dev/null +++ b/docs/issues/ISS-474.md @@ -0,0 +1,47 @@ +# ISS-474: Fix Commands deferred-spawn test regression + +## Metadata +- Type: bug +- Status: open +- Priority: 1 +- Labels: app, ecs, commands, tests, regression +- Assignee: unassigned +- Created: 2026-07-22 +- Updated: 2026-07-22 +- External ref: none + +## Description + +The native release test `app: Commands spawn reserves an entity until deferred +flush` exits with `SIGABRT` at `app/commands_test.mbt:259`. The failure remains +when the unrelated ISS-443 `CounterResource` trait extension is temporarily +removed, so it is a baseline app/Commands regression rather than part of the +warning-syntax migration. + +## Design + +Reproduce the failure in isolation, capture the assertion or abort reason, and +trace entity reservation through deferred command flush. Compare the behavior +with the pinned Bevy Commands owner before changing ECS or app scheduling. + +## Acceptance Criteria +- [ ] The isolated native release test reports the concrete failing invariant. +- [ ] Deferred `Commands::spawn` reserves an entity that is not query-visible + until flush and becomes live with its queued components afterward. +- [ ] The focused test passes under `MOONBIT_NEW_NATIVE=1` without weakening + warning policy or changing unrelated scheduling behavior. + +## Relationships +- Depends on: none +- Parent: none +- Related: ISS-442 +- Discovered from: ISS-443 + +## Notes + +- 2026-07-22: Reproduced with `MOONBIT_NEW_NATIVE=1 moon -C mgstudio-engine + test app/commands_test.mbt --target native --release -f 'app: Commands spawn + reserves an entity until deferred flush'`; the test executable exited with + signal 6. The same result occurred with the ISS-443 app extension removed. + +## Close Notes diff --git a/docs/issues/README.md b/docs/issues/README.md index 30fc26d65..f8f3e200b 100644 --- a/docs/issues/README.md +++ b/docs/issues/README.md @@ -13,7 +13,7 @@ Generated by derive-tracker.wasm | [ISS-157](ISS-157.md) | 0 | bug | unassigned | Triage 2026-06-24 all-reference visual audit regressions | examples, screenshots, visual-parity, render, pbr, text, camera | | [ISS-089](ISS-089.md) | 1 | bug | unassigned | Port pcss widget controls and shadow source parity | examples, pbr, pcss, shadows, widgets, taa, source-parity | | [ISS-129](ISS-129.md) | 1 | bug | unassigned | Restore shadow_biases source parity | examples, pbr, shadows, lighting, ui, source-parity, visual-parity | -| [ISS-443](ISS-443.md) | 1 | task | unassigned | Clear new-toolchain type-parameter method warnings | warnings, moonbit, toolchain, migration | +| [ISS-474](ISS-474.md) | 1 | bug | unassigned | Fix Commands deferred-spawn test regression | app, ecs, commands, tests, regression | | [ISS-047](ISS-047.md) | 2 | epic | unassigned | Triage failed example screenshot captures | examples, screenshots, visual-parity, capture, triage | | [ISS-441](ISS-441.md) | 2 | bug | unassigned | Make many_foxes profiling survive long native compilation | performance, many_foxes, diagnostics, tooling, native | @@ -37,6 +37,7 @@ Generated by derive-tracker.wasm | [ISS-104](ISS-104.md) | in_progress | 1 | epic | unassigned | ISS-174 | ISS-091, ISS-108, ISS-109 | Port Bevy volumetric fog render pass ownership | | [ISS-105](ISS-105.md) | in_progress | 1 | task | unassigned | none | none | Audit the latest 173 commits for Bevy source fidelity | | [ISS-155](ISS-155.md) | in_progress | 1 | task | unassigned | none | none | Complete Bevy PBR material and render mesh owner parity | +| [ISS-443](ISS-443.md) | in_progress | 1 | task | unassigned | none | none | Clear new-toolchain type-parameter method warnings | | [ISS-001](ISS-001.md) | open | 0 | epic | unassigned | none | none | Recover the many_foxes CPU frame budget | | [ISS-004](ISS-004.md) | blocked | 0 | task | unassigned | ISS-043 | ISS-011 | Reduce animation target write amplification | | [ISS-012](ISS-012.md) | open | 0 | epic | unassigned | none | none | Bring render, PBR, mesh, and light to Bevy source-level parity | @@ -95,7 +96,7 @@ Generated by derive-tracker.wasm | [ISS-407](ISS-407.md) | blocked | 1 | bug | unassigned | none | ISS-114 | Capture pinned Bevy contact_shadows window for visual parity | | [ISS-427](ISS-427.md) | blocked | 1 | bug | unassigned | none | none | Unblock ASan and LSan startup on macOS | | [ISS-428](ISS-428.md) | blocked | 1 | feature | unassigned | none | none | Add cancellable wgpu map-read futures | -| [ISS-443](ISS-443.md) | open | 1 | task | unassigned | none | none | Clear new-toolchain type-parameter method warnings | +| [ISS-474](ISS-474.md) | open | 1 | bug | unassigned | none | none | Fix Commands deferred-spawn test regression | | [ISS-047](ISS-047.md) | open | 2 | epic | unassigned | none | none | Triage failed example screenshot captures | | [ISS-441](ISS-441.md) | open | 2 | bug | unassigned | none | none | Make many_foxes profiling survive long native compilation | | [ISS-011](ISS-011.md) | open | 4 | task | unassigned | ISS-004 | none | Recheck cluster assignment after top CPU costs are fixed | @@ -577,6 +578,7 @@ graph TD ISS_471["ISS-471: Optimize revocable table-batch value access"] ISS_472["ISS-472: Restrict filtered table batches to matching rows"] ISS_473["ISS-473: Align Camera2d frustum with uniform render scale"] + ISS_474["ISS-474: Fix Commands deferred-spawn test regression"] ISS_002 --> ISS_003 ISS_002 --> ISS_004 ISS_043 --> ISS_004 diff --git a/mgstudio-engine/app/resource_param_test.mbt b/mgstudio-engine/app/resource_param_test.mbt index 810ce036b..012e51ebc 100644 --- a/mgstudio-engine/app/resource_param_test.mbt +++ b/mgstudio-engine/app/resource_param_test.mbt @@ -27,6 +27,9 @@ impl Resource for CounterResource with fn resource() { counter_resource_key } +///| +extend CounterResource with Resource::{resource} + ///| fn read_counter_resource(world : @ecs.World) -> CounterResource? { world.get_resource(counter_resource_key) diff --git a/mgstudio-engine/asset/assets_test.mbt b/mgstudio-engine/asset/assets_test.mbt index f256f0271..f0e42c4b3 100644 --- a/mgstudio-engine/asset/assets_test.mbt +++ b/mgstudio-engine/asset/assets_test.mbt @@ -12,6 +12,27 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend MissingLoaderAsset with Asset::{asset_debug_name} + +///| +extend MultiLoaderAsset with Asset::{asset_debug_name} + +///| +extend NamedProcessorScopeAsset with Asset::{asset_debug_name} + +///| +extend ProcessorScopeAsset with Asset::{asset_debug_name} + +///| +extend RegistryScopedLegacyAsset with Asset::{asset_debug_name} + +///| +extend StoreTestAsset with Asset::{asset_debug_name} + +///| +extend TestCustomAsset with Asset::{asset_debug_name} + ///| struct CountingLoadGuard { releases : Ref[Int] diff --git a/mgstudio-engine/core_pipeline/skybox/top_wbtest.mbt b/mgstudio-engine/core_pipeline/skybox/top_wbtest.mbt index 9904a19fa..165523d44 100644 --- a/mgstudio-engine/core_pipeline/skybox/top_wbtest.mbt +++ b/mgstudio-engine/core_pipeline/skybox/top_wbtest.mbt @@ -12,6 +12,12 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend ExtractedSkyboxes with @app.Resource::{resource} + +///| +extend SkyboxUniforms with @ecs.Component::{component} + ///| fn skybox_test_abs(value : Float) -> Float { if value < 0.0F { diff --git a/mgstudio-engine/examples/2d/mesh2d_custom_material/main.mbt b/mgstudio-engine/examples/2d/mesh2d_custom_material/main.mbt index e845f3c4b..8b8400f7a 100644 --- a/mgstudio-engine/examples/2d/mesh2d_custom_material/main.mbt +++ b/mgstudio-engine/examples/2d/mesh2d_custom_material/main.mbt @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend CustomMaterialAsset with @asset.Asset::{asset_debug_name} + ///| struct CustomMaterialAsset { color : @color.Color diff --git a/mgstudio-engine/examples/2d/texture_atlas/main.mbt b/mgstudio-engine/examples/2d/texture_atlas/main.mbt index 7cd1a0461..06147fe6e 100644 --- a/mgstudio-engine/examples/2d/texture_atlas/main.mbt +++ b/mgstudio-engine/examples/2d/texture_atlas/main.mbt @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend AppState with Default::{default} + ///| pub(all) enum AppState { Setup diff --git a/mgstudio-engine/examples/3d/auto_exposure/main.mbt b/mgstudio-engine/examples/3d/auto_exposure/main.mbt index 8a23132fe..4967964a0 100644 --- a/mgstudio-engine/examples/3d/auto_exposure/main.mbt +++ b/mgstudio-engine/examples/3d/auto_exposure/main.mbt @@ -12,6 +12,15 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend ExampleDisplay with @ecs.Component::{component} + +///| +extend ExampleResources with @app.Resource::{resource} + +///| +extend MeteringMaskOverlay with @ecs.Component::{component} + ///| /// /// Bevy source: `bevy/examples/3d/auto_exposure.rs`. diff --git a/mgstudio-engine/examples/3d/custom_system_setup3/main.mbt b/mgstudio-engine/examples/3d/custom_system_setup3/main.mbt index c68156553..ff33df1ee 100644 --- a/mgstudio-engine/examples/3d/custom_system_setup3/main.mbt +++ b/mgstudio-engine/examples/3d/custom_system_setup3/main.mbt @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend DespawnTarget with @ecs.Component::{component} + ///| priv struct DespawnTarget {} diff --git a/mgstudio-engine/examples/3d/lines/main.mbt b/mgstudio-engine/examples/3d/lines/main.mbt index 7838923c1..53e62c508 100644 --- a/mgstudio-engine/examples/3d/lines/main.mbt +++ b/mgstudio-engine/examples/3d/lines/main.mbt @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend LineMaterial with @asset.Asset::{asset_debug_name} + ///| const SHADER_ASSET_PATH : String = "shaders/line_material.wgsl" diff --git a/mgstudio-engine/examples/3d/motion_blur/main.mbt b/mgstudio-engine/examples/3d/motion_blur/main.mbt index 60fc39acc..256e7e219 100644 --- a/mgstudio-engine/examples/3d/motion_blur/main.mbt +++ b/mgstudio-engine/examples/3d/motion_blur/main.mbt @@ -12,6 +12,18 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend CameraMode with @app.Resource::{resource} + +///| +extend CameraTracked with @ecs.Component::{component} + +///| +extend Moves with @ecs.Component::{component} + +///| +extend Rotates with @ecs.Component::{component} + ///| /// /// Parity target: keep upstream camera controls (`shutter_angle`, `samples`), diff --git a/mgstudio-engine/examples/3d/ssao/main.mbt b/mgstudio-engine/examples/3d/ssao/main.mbt index 5192dcd08..f8a08c08c 100644 --- a/mgstudio-engine/examples/3d/ssao/main.mbt +++ b/mgstudio-engine/examples/3d/ssao/main.mbt @@ -12,6 +12,12 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend SphereMarker with @ecs.Component::{component} + +///| +extend SsaoCamera with @ecs.Component::{component} + ///| const PI : Float = 3.141592653589793F diff --git a/mgstudio-engine/examples/3d/ssr/main.mbt b/mgstudio-engine/examples/3d/ssr/main.mbt index 9afa71a01..35c15327e 100644 --- a/mgstudio-engine/examples/3d/ssr/main.mbt +++ b/mgstudio-engine/examples/3d/ssr/main.mbt @@ -12,6 +12,30 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend AppSettings with @app.Resource::{resource} + +///| +extend CapsuleModel with @ecs.Component::{component} + +///| +extend CapsulesParent with @ecs.Component::{component} + +///| +extend CubeModel with @ecs.Component::{component} + +///| +extend FlightHelmetModel with @ecs.Component::{component} + +///| +extend MetallicBaseModel with @ecs.Component::{component} + +///| +extend RedPlaneBaseModel with @ecs.Component::{component} + +///| +extend WaterModel with @ecs.Component::{component} + ///| /// /// Baseline parity: deferred SSR controls and upstream scene interaction flow are diff --git a/mgstudio-engine/examples/3d/tonemapping/main.mbt b/mgstudio-engine/examples/3d/tonemapping/main.mbt index dd1569e63..0559b39b5 100644 --- a/mgstudio-engine/examples/3d/tonemapping/main.mbt +++ b/mgstudio-engine/examples/3d/tonemapping/main.mbt @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend ColorGradientMaterial with @asset.Asset::{asset_debug_name} + ///| const PI : Float = 3.141592653589793F diff --git a/mgstudio-engine/examples/asset/asset_decompression/main.mbt b/mgstudio-engine/examples/asset/asset_decompression/main.mbt index 985857db8..cc9ce9faf 100644 --- a/mgstudio-engine/examples/asset/asset_decompression/main.mbt +++ b/mgstudio-engine/examples/asset/asset_decompression/main.mbt @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend GzAsset with @asset.Asset::{asset_debug_name} + ///| struct GzAsset { uncompressed_bytes : Bytes diff --git a/mgstudio-engine/examples/asset/custom_asset/main.mbt b/mgstudio-engine/examples/asset/custom_asset/main.mbt index b830fac1d..e2d890972 100644 --- a/mgstudio-engine/examples/asset/custom_asset/main.mbt +++ b/mgstudio-engine/examples/asset/custom_asset/main.mbt @@ -12,6 +12,12 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend Blob with @asset.Asset::{asset_debug_name} + +///| +extend CustomAsset with @asset.Asset::{asset_debug_name} + ///| struct CustomAsset { value : Int diff --git a/mgstudio-engine/examples/asset/processing/asset_processing/main.mbt b/mgstudio-engine/examples/asset/processing/asset_processing/main.mbt index 18202e810..09a37d599 100644 --- a/mgstudio-engine/examples/asset/processing/asset_processing/main.mbt +++ b/mgstudio-engine/examples/asset/processing/asset_processing/main.mbt @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend Text with @asset.Asset::{asset_debug_name} + ///| struct Text { value : String diff --git a/mgstudio-engine/examples/audio/soundtrack/main.mbt b/mgstudio-engine/examples/audio/soundtrack/main.mbt index d68cb2074..9f43d6313 100644 --- a/mgstudio-engine/examples/audio/soundtrack/main.mbt +++ b/mgstudio-engine/examples/audio/soundtrack/main.mbt @@ -12,6 +12,18 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend GameState with @app.Resource::{resource} + +///| +extend GameStateTimer with @app.Resource::{resource} + +///| +extend SoundtrackPlayer with @app.Resource::{resource} + +///| +extend TrackChangePending with @app.Resource::{resource} + ///| const STATE_CHANGE_SECONDS : Float = 10.0F diff --git a/mgstudio-engine/examples/camera/first_person_view_model/main.mbt b/mgstudio-engine/examples/camera/first_person_view_model/main.mbt index 3596feab9..5cfcc7eb4 100644 --- a/mgstudio-engine/examples/camera/first_person_view_model/main.mbt +++ b/mgstudio-engine/examples/camera/first_person_view_model/main.mbt @@ -12,6 +12,15 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend CameraSensitivity with @ecs.Component::{component} + +///| +extend Player with @ecs.Component::{component} + +///| +extend WorldModelCamera with @ecs.Component::{component} + ///| priv struct Player {} diff --git a/mgstudio-engine/examples/ecs/generic_system/main.mbt b/mgstudio-engine/examples/ecs/generic_system/main.mbt index f705a6964..a6c3aaf61 100644 --- a/mgstudio-engine/examples/ecs/generic_system/main.mbt +++ b/mgstudio-engine/examples/ecs/generic_system/main.mbt @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend AppState with Default::{default} + ///| pub(all) enum AppState { MainMenu diff --git a/mgstudio-engine/examples/ecs/state_scoped/main.mbt b/mgstudio-engine/examples/ecs/state_scoped/main.mbt index 4c656617d..fef0153ad 100644 --- a/mgstudio-engine/examples/ecs/state_scoped/main.mbt +++ b/mgstudio-engine/examples/ecs/state_scoped/main.mbt @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend GameState with Default::{default} + ///| pub(all) enum GameState { A diff --git a/mgstudio-engine/examples/math/cubic_splines/main.mbt b/mgstudio-engine/examples/math/cubic_splines/main.mbt index ec305cfbd..76b38285e 100644 --- a/mgstudio-engine/examples/math/cubic_splines/main.mbt +++ b/mgstudio-engine/examples/math/cubic_splines/main.mbt @@ -12,6 +12,12 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend CyclingMode with Default::{default} + +///| +extend SplineMode with Default::{default} + ///| enum SplineMode { Hermite diff --git a/mgstudio-engine/examples/math/random_sampling/main.mbt b/mgstudio-engine/examples/math/random_sampling/main.mbt index 6e59180a1..d083d3489 100644 --- a/mgstudio-engine/examples/math/random_sampling/main.mbt +++ b/mgstudio-engine/examples/math/random_sampling/main.mbt @@ -12,6 +12,27 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend Mode with @app.Resource::{resource} + +///| +extend MousePressed with @app.Resource::{resource} + +///| +extend PointMaterial with @app.Resource::{resource} + +///| +extend PointMesh with @app.Resource::{resource} + +///| +extend RandomSource with @app.Resource::{resource} + +///| +extend SampledShape with @app.Resource::{resource} + +///| +extend SamplePoint with @ecs.Component::{component} + ///| pub(all) enum Mode { Interior diff --git a/mgstudio-engine/examples/math/sampling_primitives/main.mbt b/mgstudio-engine/examples/math/sampling_primitives/main.mbt index 485a42a56..44879747a 100644 --- a/mgstudio-engine/examples/math/sampling_primitives/main.mbt +++ b/mgstudio-engine/examples/math/sampling_primitives/main.mbt @@ -12,6 +12,51 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend CameraRig with @ecs.Component::{component} + +///| +extend DespawningPoint with @ecs.Component::{component} + +///| +extend FireflyLights with @ecs.Component::{component} + +///| +extend InstructionText with @app.Resource::{resource} + +///| +extend MousePressed with @app.Resource::{resource} + +///| +extend PointCounter with @app.Resource::{resource} + +///| +extend PointMaterial with @app.Resource::{resource} + +///| +extend PointMesh with @app.Resource::{resource} + +///| +extend RandomSource with @app.Resource::{resource} + +///| +extend SampledShapes with @app.Resource::{resource} + +///| +extend SamplePoint with @ecs.Component::{component} + +///| +extend SamplingMode with @app.Resource::{resource} + +///| +extend SpawningMode with @app.Resource::{resource} + +///| +extend SpawningPoint with @ecs.Component::{component} + +///| +extend SpawnQueue with @app.Resource::{resource} + ///| const MAX_CAMERA_DISTANCE : Float = 12.0F diff --git a/mgstudio-engine/examples/movement/physics_in_fixed_timestep/main.mbt b/mgstudio-engine/examples/movement/physics_in_fixed_timestep/main.mbt index 8d0bda0e2..e802cb34d 100644 --- a/mgstudio-engine/examples/movement/physics_in_fixed_timestep/main.mbt +++ b/mgstudio-engine/examples/movement/physics_in_fixed_timestep/main.mbt @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend DidFixedTimestepRunThisFrame with @app.Resource::{resource} + ///| const PLAYER_SPEED : Float = 4.0F diff --git a/mgstudio-engine/examples/shader/shader_material_2d/main.mbt b/mgstudio-engine/examples/shader/shader_material_2d/main.mbt index 34c06c98c..f6e3a8fce 100644 --- a/mgstudio-engine/examples/shader/shader_material_2d/main.mbt +++ b/mgstudio-engine/examples/shader/shader_material_2d/main.mbt @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend CustomMaterial with @asset.Asset::{asset_debug_name} + ///| struct CustomMaterial { color : @color.Color diff --git a/mgstudio-engine/examples/shader_advanced/custom_shader_instancing/main.mbt b/mgstudio-engine/examples/shader_advanced/custom_shader_instancing/main.mbt index cc6f010f9..9cc43413e 100644 --- a/mgstudio-engine/examples/shader_advanced/custom_shader_instancing/main.mbt +++ b/mgstudio-engine/examples/shader_advanced/custom_shader_instancing/main.mbt @@ -12,6 +12,15 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend CustomPipeline with @app.Resource::{resource} + +///| +extend CustomSpecializedMeshPipelines with @app.Resource::{resource} + +///| +extend InstanceBuffer with @ecs.Component::{component} + ///| const SHADER_ASSET_PATH : String = "shaders/instancing.wgsl" diff --git a/mgstudio-engine/examples/shader_advanced/custom_shader_instancing/main_wbtest.mbt b/mgstudio-engine/examples/shader_advanced/custom_shader_instancing/main_wbtest.mbt index 1aebf4d81..37307f9ed 100644 --- a/mgstudio-engine/examples/shader_advanced/custom_shader_instancing/main_wbtest.mbt +++ b/mgstudio-engine/examples/shader_advanced/custom_shader_instancing/main_wbtest.mbt @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend InstanceMaterialData with @ecs.Component::{component} + ///| fn custom_instancing_abs(value : Float) -> Float { if value < 0.0F { diff --git a/mgstudio-engine/examples/state/computed_states/main.mbt b/mgstudio-engine/examples/state/computed_states/main.mbt index 170ad024a..8c276cb5d 100644 --- a/mgstudio-engine/examples/state/computed_states/main.mbt +++ b/mgstudio-engine/examples/state/computed_states/main.mbt @@ -12,6 +12,12 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend AppState with Default::{default} + +///| +extend TutorialState with Default::{default} + ///| pub(all) enum AppState { Menu diff --git a/mgstudio-engine/examples/state/custom_transitions/main.mbt b/mgstudio-engine/examples/state/custom_transitions/main.mbt index ec3164e7b..77f8da647 100644 --- a/mgstudio-engine/examples/state/custom_transitions/main.mbt +++ b/mgstudio-engine/examples/state/custom_transitions/main.mbt @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend AppState with Default::{default} + ///| pub(all) enum AppState { Menu diff --git a/mgstudio-engine/examples/state/states/main.mbt b/mgstudio-engine/examples/state/states/main.mbt index 35ce6d4e3..149c74225 100644 --- a/mgstudio-engine/examples/state/states/main.mbt +++ b/mgstudio-engine/examples/state/states/main.mbt @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend AppState with Default::{default} + ///| pub(all) enum AppState { Menu diff --git a/mgstudio-engine/examples/state/sub_states/main.mbt b/mgstudio-engine/examples/state/sub_states/main.mbt index 5001eaa3d..77323e4e7 100644 --- a/mgstudio-engine/examples/state/sub_states/main.mbt +++ b/mgstudio-engine/examples/state/sub_states/main.mbt @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend AppState with Default::{default} + ///| pub(all) enum AppState { Menu diff --git a/mgstudio-engine/examples/time/virtual_time/main.mbt b/mgstudio-engine/examples/time/virtual_time/main.mbt index 5bff47a8f..f08d17858 100644 --- a/mgstudio-engine/examples/time/virtual_time/main.mbt +++ b/mgstudio-engine/examples/time/virtual_time/main.mbt @@ -12,6 +12,12 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend RealTime with @ecs.Component::{component} + +///| +extend VirtualTime with @ecs.Component::{component} + ///| fn clampf(value : Float, min_value : Float, max_value : Float) -> Float { if value < min_value { diff --git a/mgstudio-engine/ldtk/level_metadata_accessor.mbt b/mgstudio-engine/ldtk/level_metadata_accessor.mbt index c21d61ac7..2b64f42db 100644 --- a/mgstudio-engine/ldtk/level_metadata_accessor.mbt +++ b/mgstudio-engine/ldtk/level_metadata_accessor.mbt @@ -30,7 +30,8 @@ pub fn[A : LevelMetadataAccessor + RawLevelAccessor] get_raw_level_by_iid( accessor : A, iid : String, ) -> Level? { - guard accessor.get_level_metadata_by_iid(iid) is Some(metadata) else { + guard LevelMetadataAccessor::get_level_metadata_by_iid(accessor, iid) + is Some(metadata) else { return None } get_raw_level_at_indices(accessor, metadata.indices) diff --git a/mgstudio-engine/pbr/camera_bundle_test.mbt b/mgstudio-engine/pbr/camera_bundle_test.mbt index 4580e6a43..9b26f7e5b 100644 --- a/mgstudio-engine/pbr/camera_bundle_test.mbt +++ b/mgstudio-engine/pbr/camera_bundle_test.mbt @@ -12,6 +12,11 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend CameraBundleCustomProjection3d with @camera_projection3d.CameraProjection3d::{ + get_clip_from_view, +} + ///| fn camera_bundle_projection_approx_eq(a : Float, b : Float) -> Bool { let delta = a - b diff --git a/mgstudio-engine/pbr/material_plugin_wbtest.mbt b/mgstudio-engine/pbr/material_plugin_wbtest.mbt index 33e29210b..02d3e339d 100644 --- a/mgstudio-engine/pbr/material_plugin_wbtest.mbt +++ b/mgstudio-engine/pbr/material_plugin_wbtest.mbt @@ -12,6 +12,16 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend ParityCustomMaterial with @asset.Asset::{asset_debug_name} + +///| +extend ParityCustomMaterial with Material::{ + bind_group, + bind_group_data, + material_debug_name, +} + ///| struct ParityCustomMaterial { color : Bytes diff --git a/mgstudio-engine/pbr/materials_plugin_wbtest.mbt b/mgstudio-engine/pbr/materials_plugin_wbtest.mbt index 7d507206a..2be86e54f 100644 --- a/mgstudio-engine/pbr/materials_plugin_wbtest.mbt +++ b/mgstudio-engine/pbr/materials_plugin_wbtest.mbt @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend ShadowReadinessNoShadowMaterial with @asset.Asset::{asset_debug_name} + ///| fn material_test_insert_gpu_preprocessing_support(world : @ecs.World) -> Unit { world.insert_resource( diff --git a/mgstudio-engine/pbr/render_execute_camera_prepass_wbtest.mbt b/mgstudio-engine/pbr/render_execute_camera_prepass_wbtest.mbt index d2ac2d86f..c908643c2 100644 --- a/mgstudio-engine/pbr/render_execute_camera_prepass_wbtest.mbt +++ b/mgstudio-engine/pbr/render_execute_camera_prepass_wbtest.mbt @@ -12,6 +12,12 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend Render3dAlphaMaskDeferredPhases with @app.Resource::{resource} + +///| +extend Render3dOpaquePrepassPhases with @app.Resource::{resource} + ///| fn render3d_prepass_consumer_test_item( entity_id : Int, diff --git a/mgstudio-engine/pbr/render_main_phase_wbtest.mbt b/mgstudio-engine/pbr/render_main_phase_wbtest.mbt index 8851cc481..358067732 100644 --- a/mgstudio-engine/pbr/render_main_phase_wbtest.mbt +++ b/mgstudio-engine/pbr/render_main_phase_wbtest.mbt @@ -12,6 +12,15 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend Render3dAlphaMaskMainViewPhases with @app.Resource::{resource} + +///| +extend Render3dMainViewDrawItems with @app.Resource::{resource} + +///| +extend Render3dOpaqueMainViewPhases with @app.Resource::{resource} + ///| fn render3d_main_phase_test_item( entity_id : Int, diff --git a/mgstudio-engine/pbr/render_prepass_phases_wbtest.mbt b/mgstudio-engine/pbr/render_prepass_phases_wbtest.mbt index 745b02c75..2f97db9e7 100644 --- a/mgstudio-engine/pbr/render_prepass_phases_wbtest.mbt +++ b/mgstudio-engine/pbr/render_prepass_phases_wbtest.mbt @@ -12,6 +12,12 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend Render3dAlphaMaskPrepassPhases with @app.Resource::{resource} + +///| +extend Render3dOpaqueDeferredPhases with @app.Resource::{resource} + ///| fn render3d_prepass_phase_test_camera( entity_id : Int, diff --git a/mgstudio-engine/pbr/render_shadow_view_wbtest.mbt b/mgstudio-engine/pbr/render_shadow_view_wbtest.mbt index fc768e498..776227a7f 100644 --- a/mgstudio-engine/pbr/render_shadow_view_wbtest.mbt +++ b/mgstudio-engine/pbr/render_shadow_view_wbtest.mbt @@ -1,3 +1,6 @@ +///| +extend Render3dDirectionalLightShadowTargets with @app.Resource::{resource} + ///| fn shadow_view_approx_eq(a : Float, b : Float) -> Bool { let delta = a - b diff --git a/mgstudio-engine/render/settings_wbtest.mbt b/mgstudio-engine/render/settings_wbtest.mbt index 4ddd3f978..d957058cb 100644 --- a/mgstudio-engine/render/settings_wbtest.mbt +++ b/mgstudio-engine/render/settings_wbtest.mbt @@ -12,6 +12,12 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend RenderExtractDeferredMarker with @app.Resource::{resource} + +///| +extend RenderExtractDirectMarker with @app.Resource::{resource} + ///| struct RenderExtractDirectMarker {} derive(Eq, Debug) diff --git a/mgstudio-engine/render/uniform_wbtest.mbt b/mgstudio-engine/render/uniform_wbtest.mbt index 7e155c9f3..f2cca5807 100644 --- a/mgstudio-engine/render/uniform_wbtest.mbt +++ b/mgstudio-engine/render/uniform_wbtest.mbt @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend TestUniformComponent with @ecs.Component::{component} + ///| struct TestUniformComponent { value : Int diff --git a/mgstudio-engine/sprite_render/render/ecs_runtime_wbtest.mbt b/mgstudio-engine/sprite_render/render/ecs_runtime_wbtest.mbt index 5c7d19cda..471bb1fdd 100644 --- a/mgstudio-engine/sprite_render/render/ecs_runtime_wbtest.mbt +++ b/mgstudio-engine/sprite_render/render/ecs_runtime_wbtest.mbt @@ -12,6 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. +///| +extend DummyMaterialAsset with @asset.Asset::{asset_debug_name} + ///| fn[T] ecs_has_non_null_payload( world : @ecs.World, From ebb5b42294be1842be38b64d1d3e1a603729c91c Mon Sep 17 00:00:00 2001 From: Milky2018 <842376130@qq.com> Date: Wed, 22 Jul 2026 13:26:13 +0800 Subject: [PATCH 2/2] Normalize MoonBit manifests and interfaces --- mgstudio-engine/camera/plugin_test.mbt | 4 +- .../primitives/visibility_bounds_wbtest.mbt | 9 +--- .../visibility/visible_entities_wbtest.mbt | 6 ++- mgstudio-engine/ecs/ecs_perf_bench_test.mbt | 13 ++++-- .../ecs/query_table_batch_test.mbt | 12 ++++-- .../examples/2d/2d_shapes/moon.pkg | 4 +- .../examples/2d/2d_viewport_to_world/moon.pkg | 4 +- mgstudio-engine/examples/2d/bloom_2d/moon.pkg | 4 +- mgstudio-engine/examples/2d/boxes2/moon.pkg | 4 +- .../examples/2d/contact_filter2/moon.pkg | 4 +- mgstudio-engine/examples/2d/cpu_draw/moon.pkg | 4 +- .../examples/2d/custom_system_setup2/moon.pkg | 4 +- .../examples/2d/debug_despawn2/moon.pkg | 4 +- .../examples/2d/debug_toggle2/moon.pkg | 4 +- .../examples/2d/debugdump2/moon.pkg | 4 +- mgstudio-engine/examples/2d/despawn2/moon.pkg | 4 +- .../2d/dynamic_mip_generation/moon.pkg | 4 +- mgstudio-engine/examples/2d/events2/moon.pkg | 4 +- mgstudio-engine/examples/2d/joints2/moon.pkg | 4 +- .../examples/2d/joints_despawn2/moon.pkg | 4 +- .../examples/2d/locked_rotations2/moon.pkg | 4 +- mgstudio-engine/examples/2d/mesh2d/moon.pkg | 4 +- .../examples/2d/mesh2d_alpha_mode/moon.pkg | 4 +- .../examples/2d/mesh2d_arcs/moon.pkg | 4 +- .../2d/mesh2d_custom_material/moon.pkg | 4 +- .../examples/2d/mesh2d_manual/moon.pkg | 4 +- .../2d/mesh2d_repeated_texture/moon.pkg | 4 +- .../2d/mesh2d_vertex_color_texture/moon.pkg | 4 +- .../examples/2d/move_sprite/moon.pkg | 4 +- .../examples/2d/multiple_colliders2/moon.pkg | 4 +- .../examples/2d/physics2d_falling/moon.pkg | 4 +- .../examples/2d/physics2d_queries/moon.pkg | 4 +- .../examples/2d/physics2d_showcase/moon.pkg | 4 +- .../examples/2d/pixel_grid_snap/moon.pkg | 4 +- .../examples/2d/player_movement2/moon.pkg | 4 +- .../examples/2d/rope_joint2/moon.pkg | 4 +- .../examples/2d/rotate_to_cursor/moon.pkg | 4 +- mgstudio-engine/examples/2d/rotation/moon.pkg | 4 +- .../examples/2d/serialization2/moon.pkg | 4 +- mgstudio-engine/examples/2d/sprite/moon.pkg | 4 +- .../examples/2d/sprite_animation/moon.pkg | 4 +- .../examples/2d/sprite_flipping/moon.pkg | 4 +- .../examples/2d/sprite_scale/moon.pkg | 4 +- .../examples/2d/sprite_sheet/moon.pkg | 4 +- .../examples/2d/sprite_slice/moon.pkg | 4 +- .../examples/2d/sprite_tile/moon.pkg | 4 +- mgstudio-engine/examples/2d/testbed2/moon.pkg | 4 +- mgstudio-engine/examples/2d/text2d/moon.pkg | 4 +- .../examples/2d/texture_atlas/moon.pkg | 4 +- .../2d/texture_atlas_builder/moon.pkg | 4 +- .../examples/2d/tilemap_chunk/moon.pkg | 4 +- .../2d/tilemap_chunk_orientation/moon.pkg | 4 +- .../examples/2d/transparency_2d/moon.pkg | 4 +- .../examples/2d/visibility/moon.pkg | 4 +- mgstudio-engine/examples/2d/voxels2/moon.pkg | 4 +- .../examples/2d/voxels2_no_collider/moon.pkg | 4 +- .../examples/2d/wireframe_2d/moon.pkg | 4 +- mgstudio-engine/examples/3d/3d_scene/moon.pkg | 4 +- .../examples/3d/3d_shapes/moon.pkg | 4 +- .../examples/3d/3d_viewport_to_world/moon.pkg | 4 +- .../examples/3d/animated_material/moon.pkg | 4 +- .../examples/3d/anisotropy/moon.pkg | 4 +- .../examples/3d/anti_aliasing/moon.pkg | 4 +- .../examples/3d/atmosphere/moon.pkg | 4 +- .../examples/3d/atmospheric_fog/moon.pkg | 4 +- .../examples/3d/auto_exposure/moon.pkg | 4 +- .../examples/3d/blend_modes/moon.pkg | 4 +- mgstudio-engine/examples/3d/bloom_3d/moon.pkg | 4 +- mgstudio-engine/examples/3d/boxes3/moon.pkg | 4 +- .../examples/3d/camera_sub_view/moon.pkg | 4 +- .../3d/character_controller3/moon.pkg | 4 +- .../examples/3d/clearcoat/moon.pkg | 4 +- .../examples/3d/clustered_decal_maps/moon.pkg | 4 +- .../examples/3d/clustered_decals/moon.pkg | 4 +- .../examples/3d/color_grading/moon.pkg | 4 +- .../examples/3d/contact_filter3/moon.pkg | 4 +- .../examples/3d/contact_shadows/moon.pkg | 4 +- .../examples/3d/custom_system_setup3/moon.pkg | 4 +- .../examples/3d/debug_toggle3/moon.pkg | 4 +- .../examples/3d/debugdump3/moon.pkg | 4 +- mgstudio-engine/examples/3d/decal/moon.pkg | 4 +- .../examples/3d/deferred_rendering/moon.pkg | 4 +- .../examples/3d/depth_of_field/moon.pkg | 4 +- mgstudio-engine/examples/3d/despawn3/moon.pkg | 4 +- mgstudio-engine/examples/3d/events3/moon.pkg | 4 +- mgstudio-engine/examples/3d/fog/moon.pkg | 4 +- .../examples/3d/fog_volumes/moon.pkg | 4 +- .../examples/3d/generate_custom_mesh/moon.pkg | 4 +- .../examples/3d/irradiance_volumes/moon.pkg | 4 +- mgstudio-engine/examples/3d/joints3/moon.pkg | 4 +- .../examples/3d/joints_despawn3/moon.pkg | 4 +- .../examples/3d/light_probe_blending/moon.pkg | 4 +- .../examples/3d/light_textures/moon.pkg | 4 +- mgstudio-engine/examples/3d/lighting/moon.pkg | 4 +- .../examples/3d/lightmaps/moon.pkg | 4 +- mgstudio-engine/examples/3d/lines/moon.pkg | 4 +- .../examples/3d/locked_rotations3/moon.pkg | 4 +- .../examples/3d/mesh_ray_cast/moon.pkg | 4 +- mgstudio-engine/examples/3d/meshlet/moon.pkg | 4 +- mgstudio-engine/examples/3d/mirror/moon.pkg | 4 +- .../examples/3d/mixed_lighting/moon.pkg | 4 +- .../examples/3d/motion_blur/moon.pkg | 4 +- .../examples/3d/multi_contexts3/moon.pkg | 4 +- .../examples/3d/multiple_colliders3/moon.pkg | 4 +- .../examples/3d/occlusion_culling/moon.pkg | 4 +- .../order_independent_transparency/moon.pkg | 4 +- .../examples/3d/orthographic/moon.pkg | 4 +- .../examples/3d/parallax_mapping/moon.pkg | 4 +- .../examples/3d/parenting/moon.pkg | 4 +- mgstudio-engine/examples/3d/pbr/moon.pkg | 4 +- mgstudio-engine/examples/3d/pccm/moon.pkg | 4 +- mgstudio-engine/examples/3d/pcss/moon.pkg | 4 +- .../physics3d_character_controller/moon.pkg | 4 +- .../examples/3d/physics3d_events3/moon.pkg | 4 +- .../examples/3d/physics3d_joints/moon.pkg | 4 +- .../examples/3d/physics3d_queries/moon.pkg | 4 +- .../examples/3d/physics3d_sanity/moon.pkg | 4 +- mgstudio-engine/examples/3d/picking3/moon.pkg | 4 +- .../examples/3d/post_processing/moon.pkg | 4 +- .../3d/rapier_context_component/moon.pkg | 4 +- .../examples/3d/rapier_to_bevy_mesh/moon.pkg | 4 +- .../examples/3d/ray_casting3/moon.pkg | 4 +- .../examples/3d/rect_light/moon.pkg | 4 +- .../examples/3d/reflection_probes/moon.pkg | 4 +- .../examples/3d/render_to_texture/moon.pkg | 4 +- .../3d/rotate_environment_map/moon.pkg | 4 +- .../examples/3d/scrolling_fog/moon.pkg | 4 +- .../examples/3d/shadow_biases/moon.pkg | 4 +- .../3d/shadow_caster_receiver/moon.pkg | 4 +- mgstudio-engine/examples/3d/skybox/moon.pkg | 4 +- .../examples/3d/specular_tint/moon.pkg | 4 +- .../3d/spherical_area_lights/moon.pkg | 4 +- .../examples/3d/split_screen/moon.pkg | 4 +- .../examples/3d/spotlight/moon.pkg | 4 +- mgstudio-engine/examples/3d/ssao/moon.pkg | 4 +- mgstudio-engine/examples/3d/ssr/moon.pkg | 4 +- .../examples/3d/static_trimesh3/moon.pkg | 4 +- mgstudio-engine/examples/3d/testbed3/moon.pkg | 4 +- mgstudio-engine/examples/3d/texture/moon.pkg | 4 +- .../examples/3d/tonemapping/moon.pkg | 4 +- .../examples/3d/transmission/moon.pkg | 4 +- .../examples/3d/transparency_3d/moon.pkg | 4 +- .../examples/3d/two_passes/moon.pkg | 4 +- .../examples/3d/vertex_colors/moon.pkg | 4 +- .../examples/3d/visibility_range/moon.pkg | 4 +- .../examples/3d/volumetric_fog/moon.pkg | 4 +- mgstudio-engine/examples/3d/voxels3/moon.pkg | 4 +- .../examples/animation/animated_mesh/moon.pkg | 4 +- .../animation/animated_mesh_control/moon.pkg | 4 +- .../animation/animated_mesh_events/moon.pkg | 4 +- .../animation/animated_transform/moon.pkg | 4 +- .../examples/animation/animated_ui/moon.pkg | 4 +- .../animation/animation_events/moon.pkg | 4 +- .../animation/animation_graph/moon.pkg | 4 +- .../animation/animation_masks/moon.pkg | 4 +- .../animation/color_animation/moon.pkg | 4 +- .../animation/custom_skinned_mesh/moon.pkg | 4 +- .../examples/animation/eased_motion/moon.pkg | 4 +- .../animation/easing_functions/moon.pkg | 4 +- .../examples/animation/morph_targets/moon.pkg | 4 +- .../examples/app/custom_loop/moon.pkg | 4 +- .../examples/app/drag_and_drop/moon.pkg | 4 +- mgstudio-engine/examples/app/empty/moon.pkg | 4 +- .../examples/app/empty_defaults/moon.pkg | 4 +- .../moon.pkg | 4 +- .../examples/app/headless/moon.pkg | 4 +- .../examples/app/headless_renderer/moon.pkg | 4 +- .../examples/app/log_layers/moon.pkg | 4 +- .../examples/app/log_layers_ecs/moon.pkg | 4 +- mgstudio-engine/examples/app/logs/moon.pkg | 4 +- .../examples/app/no_renderer/moon.pkg | 4 +- mgstudio-engine/examples/app/plugin/moon.pkg | 4 +- .../examples/app/plugin_group/moon.pkg | 4 +- .../examples/app/render_recovery/moon.pkg | 4 +- .../examples/app/return_after_run/moon.pkg | 4 +- .../app/thread_pool_resources/moon.pkg | 4 +- .../examples/app/without_winit/moon.pkg | 4 +- .../examples/asset/alter_mesh/moon.pkg | 4 +- .../examples/asset/alter_sprite/moon.pkg | 4 +- .../asset/asset_decompression/moon.pkg | 4 +- .../examples/asset/asset_loading/moon.pkg | 4 +- .../examples/asset/asset_saving/moon.pkg | 4 +- .../examples/asset/asset_settings/moon.pkg | 4 +- .../examples/asset/custom_asset/moon.pkg | 4 +- .../asset/custom_asset_reader/moon.pkg | 4 +- .../examples/asset/embedded_asset/moon.pkg | 4 +- .../examples/asset/extra_source/moon.pkg | 4 +- .../asset/hot_asset_reloading/moon.pkg | 4 +- .../examples/asset/multi_asset_sync/moon.pkg | 4 +- .../processing/asset_processing/moon.pkg | 4 +- .../examples/asset/repeated_texture/moon.pkg | 4 +- .../examples/asset/web_asset/moon.pkg | 4 +- mgstudio-engine/examples/audio/audio/moon.pkg | 4 +- .../examples/audio/audio_control/moon.pkg | 4 +- .../examples/audio/decodable/moon.pkg | 4 +- mgstudio-engine/examples/audio/pitch/moon.pkg | 4 +- .../examples/audio/soundtrack/moon.pkg | 4 +- .../examples/audio/spatial_audio_2d/moon.pkg | 4 +- .../examples/audio/spatial_audio_3d/moon.pkg | 4 +- .../examples/camera/2d_on_ui/moon.pkg | 4 +- .../examples/camera/2d_screen_shake/moon.pkg | 4 +- .../camera/2d_top_down_camera/moon.pkg | 4 +- .../examples/camera/camera_orbit/moon.pkg | 4 +- .../camera/custom_projection/moon.pkg | 4 +- .../camera/first_person_view_model/moon.pkg | 4 +- .../camera/free_camera_controller/moon.pkg | 4 +- .../camera/pan_camera_controller/moon.pkg | 4 +- .../examples/camera/projection_zoom/moon.pkg | 4 +- .../examples/dev_tools/fps_overlay/moon.pkg | 4 +- .../diagnostics/custom_diagnostic/moon.pkg | 4 +- .../enabling_disabling_diagnostic/moon.pkg | 4 +- .../diagnostics/log_diagnostics/moon.pkg | 4 +- .../examples/ecs/change_detection/moon.pkg | 4 +- .../examples/ecs/component_hooks/moon.pkg | 4 +- .../examples/ecs/contiguous_query/moon.pkg | 4 +- .../examples/ecs/custom_query_param/moon.pkg | 4 +- .../examples/ecs/custom_schedule/moon.pkg | 4 +- .../examples/ecs/ecs_guide/moon.pkg | 4 +- .../examples/ecs/entity_disabling/moon.pkg | 4 +- .../examples/ecs/error_handling/moon.pkg | 4 +- .../examples/ecs/fallible_params/moon.pkg | 4 +- .../examples/ecs/fixed_timestep/moon.pkg | 4 +- .../examples/ecs/generic_system/moon.pkg | 4 +- .../examples/ecs/hierarchy/moon.pkg | 4 +- .../examples/ecs/hotpatching_systems/moon.pkg | 4 +- .../ecs/immutable_components/moon.pkg | 4 +- .../examples/ecs/iter_combinations/moon.pkg | 4 +- mgstudio-engine/examples/ecs/message/moon.pkg | 4 +- .../nondeterministic_system_order/moon.pkg | 4 +- .../ecs/observer_propagation/moon.pkg | 4 +- .../examples/ecs/observers/moon.pkg | 4 +- .../examples/ecs/one_shot_systems/moon.pkg | 4 +- .../examples/ecs/parallel_query/moon.pkg | 4 +- .../examples/ecs/relationships/moon.pkg | 4 +- .../examples/ecs/removal_detection/moon.pkg | 4 +- .../examples/ecs/run_conditions/moon.pkg | 4 +- .../ecs/send_and_receive_messages/moon.pkg | 4 +- .../examples/ecs/startup_system/moon.pkg | 4 +- .../examples/ecs/state_scoped/moon.pkg | 4 +- .../examples/ecs/system_closure/moon.pkg | 4 +- .../examples/ecs/system_param/moon.pkg | 4 +- .../examples/ecs/system_piping/moon.pkg | 4 +- .../examples/ecs/system_stepping/moon.pkg | 4 +- .../examples/ecs_json_move/moon.pkg | 4 +- .../examples/games/alien_cake_addict/moon.pkg | 4 +- .../examples/games/breakout/moon.pkg | 4 +- .../examples/games/contributors/moon.pkg | 4 +- .../examples/games/desk_toy/moon.pkg | 4 +- .../examples/games/game_menu/moon.pkg | 4 +- .../examples/games/loading_screen/moon.pkg | 4 +- .../examples/games/stepping/moon.pkg | 4 +- .../examples/gizmos/2d_gizmos/moon.pkg | 4 +- .../examples/gizmos/2d_text_gizmos/moon.pkg | 4 +- .../examples/gizmos/3d_gizmos/moon.pkg | 4 +- .../examples/gizmos/3d_text_gizmos/moon.pkg | 4 +- .../gizmos/anchored_text_gizmos/moon.pkg | 4 +- mgstudio-engine/examples/gizmos/axes/moon.pkg | 4 +- .../examples/gizmos/light_gizmos/moon.pkg | 4 +- .../examples/gizmos/text_gizmos_font/moon.pkg | 4 +- .../custom_gltf_vertex_attribute/moon.pkg | 4 +- .../gltf/edit_material_on_gltf/moon.pkg | 4 +- .../gltf_extension_animation_graph/moon.pkg | 4 +- .../gltf/gltf_extension_mesh_2d/moon.pkg | 4 +- .../examples/gltf/gltf_skinned_mesh/moon.pkg | 4 +- .../examples/gltf/load_gltf/moon.pkg | 4 +- .../examples/gltf/load_gltf_extras/moon.pkg | 4 +- .../gltf/query_gltf_primitives/moon.pkg | 4 +- .../examples/gltf/update_gltf_scene/moon.pkg | 4 +- .../examples/hello_world/hello_world/moon.pkg | 4 +- mgstudio-engine/examples/hello_world/moon.pkg | 4 +- .../examples/helpers/widgets/moon.pkg | 4 +- .../examples/input/char_input_events/moon.pkg | 4 +- .../examples/input/gamepad_input/moon.pkg | 4 +- .../input/gamepad_input_events/moon.pkg | 4 +- .../examples/input/gamepad_rumble/moon.pkg | 4 +- .../examples/input/keyboard_input/moon.pkg | 4 +- .../input/keyboard_input_events/moon.pkg | 4 +- .../input/keyboard_modifiers/moon.pkg | 4 +- .../examples/input/mouse_grab/moon.pkg | 4 +- .../examples/input/mouse_input/moon.pkg | 4 +- .../input/mouse_input_events/moon.pkg | 4 +- .../examples/input/text_input/moon.pkg | 4 +- .../examples/input/touch_input/moon.pkg | 4 +- .../input/touch_input_events/moon.pkg | 4 +- .../large_scenes/bistro/src/main/moon.pkg | 4 +- .../caldera_hotel/src/main/moon.pkg | 4 +- .../examples/load_gltf/moon.pkg | 4 +- .../examples/test_compression/moon.pkg | 4 +- .../examples/test_image/moon.pkg | 4 +- .../mipmap_generator/src/lib/moon.pkg | 4 +- .../examples/math/bounding_2d/moon.pkg | 4 +- .../examples/math/cubic_splines/moon.pkg | 4 +- .../examples/math/custom_primitives/moon.pkg | 4 +- .../examples/math/random_sampling/moon.pkg | 4 +- .../examples/math/render_primitives/moon.pkg | 4 +- .../math/sampling_primitives/moon.pkg | 4 +- .../physics_in_fixed_timestep/moon.pkg | 4 +- .../examples/movement/smooth_follow/moon.pkg | 4 +- .../examples/picking/debug_picking/moon.pkg | 4 +- .../picking/dragdrop_picking/moon.pkg | 4 +- .../examples/picking/mesh_picking/moon.pkg | 4 +- .../examples/picking/simple_picking/moon.pkg | 4 +- .../examples/picking/sprite_picking/moon.pkg | 4 +- mgstudio-engine/examples/scene/scene/moon.pkg | 4 +- .../examples/shader/animate_shader/moon.pkg | 4 +- .../examples/shader/array_texture/moon.pkg | 4 +- .../shader/automatic_instancing/moon.pkg | 4 +- .../compute_shader_game_of_life/moon.pkg | 4 +- .../shader/extended_material/moon.pkg | 4 +- .../extended_material_bindless/moon.pkg | 4 +- .../examples/shader/fallback_image/moon.pkg | 4 +- .../examples/shader/gpu_readback/moon.pkg | 4 +- .../examples/shader/shader_defs/moon.pkg | 4 +- .../examples/shader/shader_material/moon.pkg | 4 +- .../shader/shader_material_2d/moon.pkg | 4 +- .../shader/shader_material_bindless/moon.pkg | 4 +- .../shader/shader_material_glsl/moon.pkg | 4 +- .../moon.pkg | 4 +- .../shader/shader_material_wesl/moon.pkg | 4 +- .../examples/shader/shader_prepass/moon.pkg | 4 +- .../examples/shader/storage_buffer/moon.pkg | 4 +- .../shader_advanced/compute_mesh/moon.pkg | 4 +- .../custom_phase_item/moon.pkg | 4 +- .../custom_post_processing/moon.pkg | 4 +- .../custom_render_phase/moon.pkg | 4 +- .../custom_vertex_attribute/moon.pkg | 4 +- .../fullscreen_material/moon.pkg | 4 +- .../shader_advanced/manual_material/moon.pkg | 4 +- .../render_depth_to_texture/moon.pkg | 4 +- .../specialized_mesh_pipeline/moon.pkg | 4 +- .../texture_binding_array/moon.pkg | 4 +- .../examples/state/computed_states/moon.pkg | 4 +- .../state/custom_transitions/moon.pkg | 4 +- .../examples/state/states/moon.pkg | 4 +- .../examples/state/sub_states/moon.pkg | 4 +- .../examples/stress_tests/bevymark/moon.pkg | 4 +- .../stress_tests/bevymark_3d/moon.pkg | 4 +- .../many_animated_sprite_meshes/moon.pkg | 4 +- .../many_animated_sprites/moon.pkg | 4 +- .../stress_tests/many_buttons/moon.pkg | 4 +- .../stress_tests/many_cameras_lights/moon.pkg | 4 +- .../stress_tests/many_components/moon.pkg | 4 +- .../examples/stress_tests/many_cubes/moon.pkg | 4 +- .../examples/stress_tests/many_foxes/moon.pkg | 4 +- .../stress_tests/many_gizmos/moon.pkg | 4 +- .../stress_tests/many_glyphs/moon.pkg | 4 +- .../stress_tests/many_gradients/moon.pkg | 4 +- .../stress_tests/many_lights/moon.pkg | 4 +- .../stress_tests/many_materials/moon.pkg | 4 +- .../stress_tests/many_sprite_meshes/moon.pkg | 4 +- .../stress_tests/many_sprites/moon.pkg | 4 +- .../stress_tests/many_text2d/moon.pkg | 4 +- .../stress_tests/text_pipeline/moon.pkg | 4 +- .../stress_tests/transform_hierarchy/moon.pkg | 4 +- mgstudio-engine/examples/testbed/2d/moon.pkg | 4 +- mgstudio-engine/examples/testbed/3d/moon.pkg | 4 +- .../examples/testbed/full_ui/moon.pkg | 4 +- .../examples/testbed/helpers/moon.pkg | 4 +- mgstudio-engine/examples/testbed/ui/moon.pkg | 4 +- mgstudio-engine/examples/time/time/moon.pkg | 4 +- mgstudio-engine/examples/time/timers/moon.pkg | 4 +- .../examples/time/virtual_time/moon.pkg | 4 +- .../examples/tools/gamepad_viewer/moon.pkg | 4 +- .../scene_viewer/animation_plugin/moon.pkg | 4 +- .../examples/tools/scene_viewer/main/moon.pkg | 4 +- .../scene_viewer/morph_viewer_plugin/moon.pkg | 4 +- .../scene_viewer/scene_viewer_plugin/moon.pkg | 4 +- .../examples/transforms/3d_rotation/moon.pkg | 4 +- .../examples/transforms/align/moon.pkg | 4 +- .../examples/transforms/scale/moon.pkg | 4 +- .../examples/transforms/transform/moon.pkg | 4 +- .../examples/transforms/translation/moon.pkg | 4 +- .../examples/ui/images/image_node/moon.pkg | 4 +- .../ui/images/image_node_resizing/moon.pkg | 4 +- .../ui/images/ui_texture_atlas/moon.pkg | 4 +- .../ui/images/ui_texture_atlas_slice/moon.pkg | 4 +- .../ui/images/ui_texture_slice/moon.pkg | 4 +- .../ui_texture_slice_flip_and_tile/moon.pkg | 4 +- .../examples/ui/layout/anchor_layout/moon.pkg | 4 +- .../ui/layout/display_and_visibility/moon.pkg | 4 +- .../examples/ui/layout/flex_layout/moon.pkg | 4 +- .../examples/ui/layout/ghost_nodes/moon.pkg | 4 +- .../examples/ui/layout/grid/moon.pkg | 4 +- .../ui/layout/size_constraints/moon.pkg | 4 +- .../examples/ui/layout/z_index/moon.pkg | 4 +- .../directional_navigation/moon.pkg | 4 +- .../directional_navigation_overrides/moon.pkg | 4 +- .../ui/relative_cursor_position/moon.pkg | 4 +- .../examples/ui/render_ui_to_texture/moon.pkg | 4 +- .../drag_to_scroll/moon.pkg | 4 +- .../ui/scroll_and_overflow/overflow/moon.pkg | 4 +- .../overflow_clip_margin/moon.pkg | 4 +- .../overflow_debug/moon.pkg | 4 +- .../ui/scroll_and_overflow/scroll/moon.pkg | 4 +- .../scroll_and_overflow/scrollbars/moon.pkg | 4 +- .../examples/ui/styling/borders/moon.pkg | 4 +- .../examples/ui/styling/box_shadow/moon.pkg | 4 +- .../examples/ui/styling/gradients/moon.pkg | 4 +- .../ui/styling/stacked_gradients/moon.pkg | 4 +- .../ui/styling/transparency_ui/moon.pkg | 4 +- .../ui/text/font_atlas_debug/moon.pkg | 4 +- .../examples/ui/text/font_query/moon.pkg | 4 +- .../examples/ui/text/font_weights/moon.pkg | 4 +- .../ui/text/generic_font_families/moon.pkg | 4 +- .../text/strikethrough_and_underline/moon.pkg | 4 +- .../examples/ui/text/system_fonts/moon.pkg | 4 +- .../examples/ui/text/text/moon.pkg | 4 +- .../ui/text/text_background_colors/moon.pkg | 4 +- .../examples/ui/text/text_debug/moon.pkg | 4 +- .../examples/ui/text/text_wrap_debug/moon.pkg | 4 +- .../examples/ui/ui_drag_and_drop/moon.pkg | 4 +- .../examples/ui/ui_material/moon.pkg | 4 +- .../examples/ui/ui_scaling/moon.pkg | 4 +- .../examples/ui/ui_target_camera/moon.pkg | 4 +- .../examples/ui/ui_transform/moon.pkg | 4 +- .../examples/ui/widgets/button/moon.pkg | 4 +- .../examples/ui/widgets/feathers/moon.pkg | 4 +- .../ui/widgets/standard_widgets/moon.pkg | 4 +- .../standard_widgets_observers/moon.pkg | 4 +- .../ui/widgets/tab_navigation/moon.pkg | 4 +- .../ui/widgets/vertical_slider/moon.pkg | 4 +- .../ui/widgets/viewport_node/moon.pkg | 4 +- .../ui/widgets/virtual_keyboard/moon.pkg | 4 +- .../examples/ui/window_fallthrough/moon.pkg | 4 +- .../examples/usage/context_menu/moon.pkg | 4 +- .../examples/usage/cooldown/moon.pkg | 4 +- .../examples/window/clear_color/moon.pkg | 4 +- .../window/custom_cursor_image/moon.pkg | 4 +- .../examples/window/low_power/moon.pkg | 4 +- .../examples/window/monitor_info/moon.pkg | 4 +- .../window/multi_window_text/moon.pkg | 4 +- .../examples/window/multiple_windows/moon.pkg | 4 +- .../window/scale_factor_override/moon.pkg | 4 +- .../examples/window/screenshot/moon.pkg | 4 +- .../window/transparent_window/moon.pkg | 4 +- .../examples/window/window_drag_move/moon.pkg | 4 +- .../examples/window/window_resizing/moon.pkg | 4 +- .../examples/window/window_settings/moon.pkg | 4 +- mgstudio-engine/pbr/pkg.generated.mbti | 43 +++++++++++++------ mgstudio-engine/pbr/render/pkg.generated.mbti | 3 +- mgstudio-engine/pbr/render/systems.mbt | 3 +- mgstudio-engine/pbr/render_shadow_phase.mbt | 13 +++--- .../render/render_phase/pkg.generated.mbti | 2 + .../render/renderer/gpu_wbtest.mbt | 11 +---- .../render/renderer/pkg.generated.mbti | 2 + 445 files changed, 503 insertions(+), 1350 deletions(-) diff --git a/mgstudio-engine/camera/plugin_test.mbt b/mgstudio-engine/camera/plugin_test.mbt index e65cd337a..f07ce6baf 100644 --- a/mgstudio-engine/camera/plugin_test.mbt +++ b/mgstudio-engine/camera/plugin_test.mbt @@ -200,9 +200,7 @@ test "camera projection plugin: updates frustum when transform or projection cha let updated_projection = @pbr.Projection::Perspective( @pbr.PerspectiveProjection3d::PerspectiveProjection3d().with_far(250.0F), ) - try! (app - .world() - .replace(entity, @pbr.ecs_key_projection, updated_projection) + try! (app.world().replace(entity, @pbr.ecs_key_projection, updated_projection) |> ignore) app = app.update() diff --git a/mgstudio-engine/camera/primitives/visibility_bounds_wbtest.mbt b/mgstudio-engine/camera/primitives/visibility_bounds_wbtest.mbt index fbd5507e7..9245fb18f 100644 --- a/mgstudio-engine/camera/primitives/visibility_bounds_wbtest.mbt +++ b/mgstudio-engine/camera/primitives/visibility_bounds_wbtest.mbt @@ -159,14 +159,7 @@ test "camera/primitives: light frusta containers default to Bevy empty shape" { ///| test "camera/primitives: Sphere intersects transformed Aabb" { - let aabb = Aabb::from_min_max_xyz( - -1.0F, - -1.0F, - -1.0F, - 1.0F, - 1.0F, - 1.0F, - ) + let aabb = Aabb::from_min_max_xyz(-1.0F, -1.0F, -1.0F, 1.0F, 1.0F, 1.0F) let world_from_local = @math.Affine3::from_translation( @math.Vec3::new(2.0F, 0.0F, 0.0F), ) diff --git a/mgstudio-engine/camera/visibility/visible_entities_wbtest.mbt b/mgstudio-engine/camera/visibility/visible_entities_wbtest.mbt index 030fa74e5..9412c681d 100644 --- a/mgstudio-engine/camera/visibility/visible_entities_wbtest.mbt +++ b/mgstudio-engine/camera/visibility/visible_entities_wbtest.mbt @@ -80,14 +80,16 @@ test "camera visibility: check visibility fills camera VisibleEntities by visibi visible_mesh, @root_visibility.ecs_key_view_visibility, @root_visibility.ViewVisibility::visible(), - ) |> ignore) + ) + |> ignore) world.increment_change_tick() |> ignore world.increment_change_tick() |> ignore let tick_context = @core.SystemTickContext::new() tick_context.set(@core.SystemTicks::new(1, 2)) world.set_tick_context(tick_context) let view_visibility = (try! world.get_mut( - visible_mesh, key=@root_visibility.ecs_key_view_visibility, + visible_mesh, + key=@root_visibility.ecs_key_view_visibility, )).unwrap() view_visibility.bypass_change_detection(fn(value) { value.advance_frame() }) diff --git a/mgstudio-engine/ecs/ecs_perf_bench_test.mbt b/mgstudio-engine/ecs/ecs_perf_bench_test.mbt index 2321999ea..de3481607 100644 --- a/mgstudio-engine/ecs/ecs_perf_bench_test.mbt +++ b/mgstudio-engine/ecs/ecs_perf_bench_test.mbt @@ -469,7 +469,9 @@ test "bench ecs: table batch read view cached" (b : @bench.T) { let cache = QueryCache::new() b.bench(name="table batch value accessor x102400", count=50U, () => { let query : Query[ReadValue[BenchPosition], All] = query_filtered_with_cache( - world, All::new(), cache, + world, + All::new(), + cache, ) let total = Ref(0) try! query.for_each_table(fn(batch) { @@ -482,11 +484,16 @@ test "bench ecs: table batch read view cached" (b : @bench.T) { }) b.bench(name="table batch read view x102400", count=50U, () => { let query : Query[ReadValue[BenchPosition], All] = query_filtered_with_cache( - world, All::new(), cache, + world, + All::new(), + cache, ) let total = Ref(0) try! query.for_each_table(fn(batch) { - batch.read(bench_position_key).unwrap().with_values(fn(positions) { + batch + .read(bench_position_key) + .unwrap() + .with_values(fn(positions) { for position in positions { total.val = total.val + position.x } diff --git a/mgstudio-engine/ecs/query_table_batch_test.mbt b/mgstudio-engine/ecs/query_table_batch_test.mbt index 3b9bfb55f..14d732748 100644 --- a/mgstudio-engine/ecs/query_table_batch_test.mbt +++ b/mgstudio-engine/ecs/query_table_batch_test.mbt @@ -353,7 +353,10 @@ test "ecs table batch: read view exposes complete live column" { let seen : Array[Int] = [] try! query.for_each_table(fn(batch) { - batch.read(table_batch_velocity_key).unwrap().with_values(fn(values) { + batch + .read(table_batch_velocity_key) + .unwrap() + .with_values(fn(values) { for value in values { seen.push(value.value) } @@ -670,9 +673,10 @@ test "panic ecs table batch: read view rejects filtered row batches" { ignore( try! query.try_for_each_filtered_table(fn(batch, _rows) { - batch.read(table_batch_velocity_key).unwrap().with_values(fn(_values) { - () - }) + batch + .read(table_batch_velocity_key) + .unwrap() + .with_values(fn(_values) { () }) }), ) } diff --git a/mgstudio-engine/examples/2d/2d_shapes/moon.pkg b/mgstudio-engine/examples/2d/2d_shapes/moon.pkg index 6057016ff..a404fe574 100644 --- a/mgstudio-engine/examples/2d/2d_shapes/moon.pkg +++ b/mgstudio-engine/examples/2d/2d_shapes/moon.pkg @@ -25,6 +25,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/2d_viewport_to_world/moon.pkg b/mgstudio-engine/examples/2d/2d_viewport_to_world/moon.pkg index 3411c8f38..26756c03c 100644 --- a/mgstudio-engine/examples/2d/2d_viewport_to_world/moon.pkg +++ b/mgstudio-engine/examples/2d/2d_viewport_to_world/moon.pkg @@ -25,6 +25,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/bloom_2d/moon.pkg b/mgstudio-engine/examples/2d/bloom_2d/moon.pkg index 265ba5fee..934a83a03 100644 --- a/mgstudio-engine/examples/2d/bloom_2d/moon.pkg +++ b/mgstudio-engine/examples/2d/bloom_2d/moon.pkg @@ -26,6 +26,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/boxes2/moon.pkg b/mgstudio-engine/examples/2d/boxes2/moon.pkg index f58c653c8..6f717fd3f 100644 --- a/mgstudio-engine/examples/2d/boxes2/moon.pkg +++ b/mgstudio-engine/examples/2d/boxes2/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/contact_filter2/moon.pkg b/mgstudio-engine/examples/2d/contact_filter2/moon.pkg index d0cc02193..dab311656 100644 --- a/mgstudio-engine/examples/2d/contact_filter2/moon.pkg +++ b/mgstudio-engine/examples/2d/contact_filter2/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/cpu_draw/moon.pkg b/mgstudio-engine/examples/2d/cpu_draw/moon.pkg index 5510aaeac..3e58b9581 100644 --- a/mgstudio-engine/examples/2d/cpu_draw/moon.pkg +++ b/mgstudio-engine/examples/2d/cpu_draw/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/custom_system_setup2/moon.pkg b/mgstudio-engine/examples/2d/custom_system_setup2/moon.pkg index f58c653c8..6f717fd3f 100644 --- a/mgstudio-engine/examples/2d/custom_system_setup2/moon.pkg +++ b/mgstudio-engine/examples/2d/custom_system_setup2/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/debug_despawn2/moon.pkg b/mgstudio-engine/examples/2d/debug_despawn2/moon.pkg index 0376db31d..0fbcf2077 100644 --- a/mgstudio-engine/examples/2d/debug_despawn2/moon.pkg +++ b/mgstudio-engine/examples/2d/debug_despawn2/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/debug_toggle2/moon.pkg b/mgstudio-engine/examples/2d/debug_toggle2/moon.pkg index 6df248521..5534792f9 100644 --- a/mgstudio-engine/examples/2d/debug_toggle2/moon.pkg +++ b/mgstudio-engine/examples/2d/debug_toggle2/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/debugdump2/moon.pkg b/mgstudio-engine/examples/2d/debugdump2/moon.pkg index a26fe1045..9f9d7e836 100644 --- a/mgstudio-engine/examples/2d/debugdump2/moon.pkg +++ b/mgstudio-engine/examples/2d/debugdump2/moon.pkg @@ -6,6 +6,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/despawn2/moon.pkg b/mgstudio-engine/examples/2d/despawn2/moon.pkg index 9ed2e8725..872dea52e 100644 --- a/mgstudio-engine/examples/2d/despawn2/moon.pkg +++ b/mgstudio-engine/examples/2d/despawn2/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/dynamic_mip_generation/moon.pkg b/mgstudio-engine/examples/2d/dynamic_mip_generation/moon.pkg index 01ac57325..baa0e9ed8 100644 --- a/mgstudio-engine/examples/2d/dynamic_mip_generation/moon.pkg +++ b/mgstudio-engine/examples/2d/dynamic_mip_generation/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/events2/moon.pkg b/mgstudio-engine/examples/2d/events2/moon.pkg index 65d975142..3ee509f86 100644 --- a/mgstudio-engine/examples/2d/events2/moon.pkg +++ b/mgstudio-engine/examples/2d/events2/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/joints2/moon.pkg b/mgstudio-engine/examples/2d/joints2/moon.pkg index f58c653c8..6f717fd3f 100644 --- a/mgstudio-engine/examples/2d/joints2/moon.pkg +++ b/mgstudio-engine/examples/2d/joints2/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/joints_despawn2/moon.pkg b/mgstudio-engine/examples/2d/joints_despawn2/moon.pkg index 9ed2e8725..872dea52e 100644 --- a/mgstudio-engine/examples/2d/joints_despawn2/moon.pkg +++ b/mgstudio-engine/examples/2d/joints_despawn2/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/locked_rotations2/moon.pkg b/mgstudio-engine/examples/2d/locked_rotations2/moon.pkg index f58c653c8..6f717fd3f 100644 --- a/mgstudio-engine/examples/2d/locked_rotations2/moon.pkg +++ b/mgstudio-engine/examples/2d/locked_rotations2/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/mesh2d/moon.pkg b/mgstudio-engine/examples/2d/mesh2d/moon.pkg index 4326b04a2..68311c34c 100644 --- a/mgstudio-engine/examples/2d/mesh2d/moon.pkg +++ b/mgstudio-engine/examples/2d/mesh2d/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/mesh2d_alpha_mode/moon.pkg b/mgstudio-engine/examples/2d/mesh2d_alpha_mode/moon.pkg index d5e0420c7..f92cb73bc 100644 --- a/mgstudio-engine/examples/2d/mesh2d_alpha_mode/moon.pkg +++ b/mgstudio-engine/examples/2d/mesh2d_alpha_mode/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/mesh2d_arcs/moon.pkg b/mgstudio-engine/examples/2d/mesh2d_arcs/moon.pkg index 9977e3a57..c6cd7f596 100644 --- a/mgstudio-engine/examples/2d/mesh2d_arcs/moon.pkg +++ b/mgstudio-engine/examples/2d/mesh2d_arcs/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/mesh2d_custom_material/moon.pkg b/mgstudio-engine/examples/2d/mesh2d_custom_material/moon.pkg index 0cb8fb998..74406ac4e 100644 --- a/mgstudio-engine/examples/2d/mesh2d_custom_material/moon.pkg +++ b/mgstudio-engine/examples/2d/mesh2d_custom_material/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/mesh2d_manual/moon.pkg b/mgstudio-engine/examples/2d/mesh2d_manual/moon.pkg index 99dc1ae46..a7416d118 100644 --- a/mgstudio-engine/examples/2d/mesh2d_manual/moon.pkg +++ b/mgstudio-engine/examples/2d/mesh2d_manual/moon.pkg @@ -12,6 +12,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/mesh2d_repeated_texture/moon.pkg b/mgstudio-engine/examples/2d/mesh2d_repeated_texture/moon.pkg index c9d098257..86d72dfda 100644 --- a/mgstudio-engine/examples/2d/mesh2d_repeated_texture/moon.pkg +++ b/mgstudio-engine/examples/2d/mesh2d_repeated_texture/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/mesh2d_vertex_color_texture/moon.pkg b/mgstudio-engine/examples/2d/mesh2d_vertex_color_texture/moon.pkg index e5b8cac12..9d5da2860 100644 --- a/mgstudio-engine/examples/2d/mesh2d_vertex_color_texture/moon.pkg +++ b/mgstudio-engine/examples/2d/mesh2d_vertex_color_texture/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/move_sprite/moon.pkg b/mgstudio-engine/examples/2d/move_sprite/moon.pkg index b3371fed9..d5f0fccb0 100644 --- a/mgstudio-engine/examples/2d/move_sprite/moon.pkg +++ b/mgstudio-engine/examples/2d/move_sprite/moon.pkg @@ -11,6 +11,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/multiple_colliders2/moon.pkg b/mgstudio-engine/examples/2d/multiple_colliders2/moon.pkg index f58c653c8..6f717fd3f 100644 --- a/mgstudio-engine/examples/2d/multiple_colliders2/moon.pkg +++ b/mgstudio-engine/examples/2d/multiple_colliders2/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/physics2d_falling/moon.pkg b/mgstudio-engine/examples/2d/physics2d_falling/moon.pkg index 74ebfc6ee..d22d5ad44 100644 --- a/mgstudio-engine/examples/2d/physics2d_falling/moon.pkg +++ b/mgstudio-engine/examples/2d/physics2d_falling/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/physics2d_queries/moon.pkg b/mgstudio-engine/examples/2d/physics2d_queries/moon.pkg index 1259f4268..00b6285ff 100644 --- a/mgstudio-engine/examples/2d/physics2d_queries/moon.pkg +++ b/mgstudio-engine/examples/2d/physics2d_queries/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/physics2d_showcase/moon.pkg b/mgstudio-engine/examples/2d/physics2d_showcase/moon.pkg index fcd85d9dc..813c3036c 100644 --- a/mgstudio-engine/examples/2d/physics2d_showcase/moon.pkg +++ b/mgstudio-engine/examples/2d/physics2d_showcase/moon.pkg @@ -21,6 +21,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/pixel_grid_snap/moon.pkg b/mgstudio-engine/examples/2d/pixel_grid_snap/moon.pkg index 11cbb9628..138e4cfd2 100644 --- a/mgstudio-engine/examples/2d/pixel_grid_snap/moon.pkg +++ b/mgstudio-engine/examples/2d/pixel_grid_snap/moon.pkg @@ -21,6 +21,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/player_movement2/moon.pkg b/mgstudio-engine/examples/2d/player_movement2/moon.pkg index 628c1a263..d204bdb6e 100644 --- a/mgstudio-engine/examples/2d/player_movement2/moon.pkg +++ b/mgstudio-engine/examples/2d/player_movement2/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/rope_joint2/moon.pkg b/mgstudio-engine/examples/2d/rope_joint2/moon.pkg index f58c653c8..6f717fd3f 100644 --- a/mgstudio-engine/examples/2d/rope_joint2/moon.pkg +++ b/mgstudio-engine/examples/2d/rope_joint2/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/rotate_to_cursor/moon.pkg b/mgstudio-engine/examples/2d/rotate_to_cursor/moon.pkg index d34b1a0b9..9c4839a6f 100644 --- a/mgstudio-engine/examples/2d/rotate_to_cursor/moon.pkg +++ b/mgstudio-engine/examples/2d/rotate_to_cursor/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/rotation/moon.pkg b/mgstudio-engine/examples/2d/rotation/moon.pkg index 74eda4878..d0d041707 100644 --- a/mgstudio-engine/examples/2d/rotation/moon.pkg +++ b/mgstudio-engine/examples/2d/rotation/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/serialization2/moon.pkg b/mgstudio-engine/examples/2d/serialization2/moon.pkg index 39cc59836..58a4469d1 100644 --- a/mgstudio-engine/examples/2d/serialization2/moon.pkg +++ b/mgstudio-engine/examples/2d/serialization2/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/sprite/moon.pkg b/mgstudio-engine/examples/2d/sprite/moon.pkg index 4b5f9b642..8499ead65 100644 --- a/mgstudio-engine/examples/2d/sprite/moon.pkg +++ b/mgstudio-engine/examples/2d/sprite/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/sprite_animation/moon.pkg b/mgstudio-engine/examples/2d/sprite_animation/moon.pkg index 74eda4878..d0d041707 100644 --- a/mgstudio-engine/examples/2d/sprite_animation/moon.pkg +++ b/mgstudio-engine/examples/2d/sprite_animation/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/sprite_flipping/moon.pkg b/mgstudio-engine/examples/2d/sprite_flipping/moon.pkg index e3f3dc1e4..bb121fc96 100644 --- a/mgstudio-engine/examples/2d/sprite_flipping/moon.pkg +++ b/mgstudio-engine/examples/2d/sprite_flipping/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/sprite_scale/moon.pkg b/mgstudio-engine/examples/2d/sprite_scale/moon.pkg index 7b51b5522..377910d4d 100644 --- a/mgstudio-engine/examples/2d/sprite_scale/moon.pkg +++ b/mgstudio-engine/examples/2d/sprite_scale/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/sprite_sheet/moon.pkg b/mgstudio-engine/examples/2d/sprite_sheet/moon.pkg index dcd117e1c..635d85d88 100644 --- a/mgstudio-engine/examples/2d/sprite_sheet/moon.pkg +++ b/mgstudio-engine/examples/2d/sprite_sheet/moon.pkg @@ -12,6 +12,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/sprite_slice/moon.pkg b/mgstudio-engine/examples/2d/sprite_slice/moon.pkg index 1da6011eb..4c22c1f41 100644 --- a/mgstudio-engine/examples/2d/sprite_slice/moon.pkg +++ b/mgstudio-engine/examples/2d/sprite_slice/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/sprite_tile/moon.pkg b/mgstudio-engine/examples/2d/sprite_tile/moon.pkg index 612115714..fc90fd82e 100644 --- a/mgstudio-engine/examples/2d/sprite_tile/moon.pkg +++ b/mgstudio-engine/examples/2d/sprite_tile/moon.pkg @@ -11,6 +11,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/testbed2/moon.pkg b/mgstudio-engine/examples/2d/testbed2/moon.pkg index 0a4484507..eb49202c4 100644 --- a/mgstudio-engine/examples/2d/testbed2/moon.pkg +++ b/mgstudio-engine/examples/2d/testbed2/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/text2d/moon.pkg b/mgstudio-engine/examples/2d/text2d/moon.pkg index 08067c443..b8639a995 100644 --- a/mgstudio-engine/examples/2d/text2d/moon.pkg +++ b/mgstudio-engine/examples/2d/text2d/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/texture_atlas/moon.pkg b/mgstudio-engine/examples/2d/texture_atlas/moon.pkg index 535f10dfe..2dd8e2052 100644 --- a/mgstudio-engine/examples/2d/texture_atlas/moon.pkg +++ b/mgstudio-engine/examples/2d/texture_atlas/moon.pkg @@ -12,6 +12,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/texture_atlas_builder/moon.pkg b/mgstudio-engine/examples/2d/texture_atlas_builder/moon.pkg index d26dd23e0..9bf189f8b 100644 --- a/mgstudio-engine/examples/2d/texture_atlas_builder/moon.pkg +++ b/mgstudio-engine/examples/2d/texture_atlas_builder/moon.pkg @@ -12,6 +12,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/tilemap_chunk/moon.pkg b/mgstudio-engine/examples/2d/tilemap_chunk/moon.pkg index 0bfd4e61f..ba88e209b 100644 --- a/mgstudio-engine/examples/2d/tilemap_chunk/moon.pkg +++ b/mgstudio-engine/examples/2d/tilemap_chunk/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/tilemap_chunk_orientation/moon.pkg b/mgstudio-engine/examples/2d/tilemap_chunk_orientation/moon.pkg index f973d9642..647eeadaf 100644 --- a/mgstudio-engine/examples/2d/tilemap_chunk_orientation/moon.pkg +++ b/mgstudio-engine/examples/2d/tilemap_chunk_orientation/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/transparency_2d/moon.pkg b/mgstudio-engine/examples/2d/transparency_2d/moon.pkg index b4c92136e..8e51585e7 100644 --- a/mgstudio-engine/examples/2d/transparency_2d/moon.pkg +++ b/mgstudio-engine/examples/2d/transparency_2d/moon.pkg @@ -11,6 +11,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/visibility/moon.pkg b/mgstudio-engine/examples/2d/visibility/moon.pkg index cb6a08f0e..da31f2485 100644 --- a/mgstudio-engine/examples/2d/visibility/moon.pkg +++ b/mgstudio-engine/examples/2d/visibility/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/voxels2/moon.pkg b/mgstudio-engine/examples/2d/voxels2/moon.pkg index f58c653c8..6f717fd3f 100644 --- a/mgstudio-engine/examples/2d/voxels2/moon.pkg +++ b/mgstudio-engine/examples/2d/voxels2/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/voxels2_no_collider/moon.pkg b/mgstudio-engine/examples/2d/voxels2_no_collider/moon.pkg index f58c653c8..6f717fd3f 100644 --- a/mgstudio-engine/examples/2d/voxels2_no_collider/moon.pkg +++ b/mgstudio-engine/examples/2d/voxels2_no_collider/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/2d/wireframe_2d/moon.pkg b/mgstudio-engine/examples/2d/wireframe_2d/moon.pkg index df10f8a3d..98d48b565 100644 --- a/mgstudio-engine/examples/2d/wireframe_2d/moon.pkg +++ b/mgstudio-engine/examples/2d/wireframe_2d/moon.pkg @@ -21,6 +21,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/3d_scene/moon.pkg b/mgstudio-engine/examples/3d/3d_scene/moon.pkg index 66633270d..38c2f6e59 100644 --- a/mgstudio-engine/examples/3d/3d_scene/moon.pkg +++ b/mgstudio-engine/examples/3d/3d_scene/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/3d_shapes/moon.pkg b/mgstudio-engine/examples/3d/3d_shapes/moon.pkg index 23ea5060c..41a92b7a4 100644 --- a/mgstudio-engine/examples/3d/3d_shapes/moon.pkg +++ b/mgstudio-engine/examples/3d/3d_shapes/moon.pkg @@ -23,6 +23,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/3d_viewport_to_world/moon.pkg b/mgstudio-engine/examples/3d/3d_viewport_to_world/moon.pkg index 3c73d14d2..5d4a894bb 100644 --- a/mgstudio-engine/examples/3d/3d_viewport_to_world/moon.pkg +++ b/mgstudio-engine/examples/3d/3d_viewport_to_world/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/animated_material/moon.pkg b/mgstudio-engine/examples/3d/animated_material/moon.pkg index 3abab5a8f..c38058807 100644 --- a/mgstudio-engine/examples/3d/animated_material/moon.pkg +++ b/mgstudio-engine/examples/3d/animated_material/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/anisotropy/moon.pkg b/mgstudio-engine/examples/3d/anisotropy/moon.pkg index d22679cfa..8145c6a2f 100644 --- a/mgstudio-engine/examples/3d/anisotropy/moon.pkg +++ b/mgstudio-engine/examples/3d/anisotropy/moon.pkg @@ -23,6 +23,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/anti_aliasing/moon.pkg b/mgstudio-engine/examples/3d/anti_aliasing/moon.pkg index f7ced2ab9..83aa424d3 100644 --- a/mgstudio-engine/examples/3d/anti_aliasing/moon.pkg +++ b/mgstudio-engine/examples/3d/anti_aliasing/moon.pkg @@ -24,6 +24,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/atmosphere/moon.pkg b/mgstudio-engine/examples/3d/atmosphere/moon.pkg index 92951a8be..ade5c6d44 100644 --- a/mgstudio-engine/examples/3d/atmosphere/moon.pkg +++ b/mgstudio-engine/examples/3d/atmosphere/moon.pkg @@ -24,6 +24,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/atmospheric_fog/moon.pkg b/mgstudio-engine/examples/3d/atmospheric_fog/moon.pkg index bed3432d6..6384a4165 100644 --- a/mgstudio-engine/examples/3d/atmospheric_fog/moon.pkg +++ b/mgstudio-engine/examples/3d/atmospheric_fog/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/auto_exposure/moon.pkg b/mgstudio-engine/examples/3d/auto_exposure/moon.pkg index fca2b002f..986b3db95 100644 --- a/mgstudio-engine/examples/3d/auto_exposure/moon.pkg +++ b/mgstudio-engine/examples/3d/auto_exposure/moon.pkg @@ -20,6 +20,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/blend_modes/moon.pkg b/mgstudio-engine/examples/3d/blend_modes/moon.pkg index faecbf4fb..2825ffd7e 100644 --- a/mgstudio-engine/examples/3d/blend_modes/moon.pkg +++ b/mgstudio-engine/examples/3d/blend_modes/moon.pkg @@ -23,6 +23,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/bloom_3d/moon.pkg b/mgstudio-engine/examples/3d/bloom_3d/moon.pkg index 70373a430..1f320da40 100644 --- a/mgstudio-engine/examples/3d/bloom_3d/moon.pkg +++ b/mgstudio-engine/examples/3d/bloom_3d/moon.pkg @@ -22,6 +22,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/boxes3/moon.pkg b/mgstudio-engine/examples/3d/boxes3/moon.pkg index 7887cf2c0..691255cf4 100644 --- a/mgstudio-engine/examples/3d/boxes3/moon.pkg +++ b/mgstudio-engine/examples/3d/boxes3/moon.pkg @@ -8,6 +8,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/camera_sub_view/moon.pkg b/mgstudio-engine/examples/3d/camera_sub_view/moon.pkg index d86dae5b4..ef72240b1 100644 --- a/mgstudio-engine/examples/3d/camera_sub_view/moon.pkg +++ b/mgstudio-engine/examples/3d/camera_sub_view/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/character_controller3/moon.pkg b/mgstudio-engine/examples/3d/character_controller3/moon.pkg index 379462bb4..89169bc1b 100644 --- a/mgstudio-engine/examples/3d/character_controller3/moon.pkg +++ b/mgstudio-engine/examples/3d/character_controller3/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/clearcoat/moon.pkg b/mgstudio-engine/examples/3d/clearcoat/moon.pkg index 243675299..f0686a707 100644 --- a/mgstudio-engine/examples/3d/clearcoat/moon.pkg +++ b/mgstudio-engine/examples/3d/clearcoat/moon.pkg @@ -23,6 +23,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/clustered_decal_maps/moon.pkg b/mgstudio-engine/examples/3d/clustered_decal_maps/moon.pkg index d46a776ba..86c92fba6 100644 --- a/mgstudio-engine/examples/3d/clustered_decal_maps/moon.pkg +++ b/mgstudio-engine/examples/3d/clustered_decal_maps/moon.pkg @@ -25,6 +25,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/clustered_decals/moon.pkg b/mgstudio-engine/examples/3d/clustered_decals/moon.pkg index 84cbd25bd..f235ba77c 100644 --- a/mgstudio-engine/examples/3d/clustered_decals/moon.pkg +++ b/mgstudio-engine/examples/3d/clustered_decals/moon.pkg @@ -23,6 +23,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/color_grading/moon.pkg b/mgstudio-engine/examples/3d/color_grading/moon.pkg index 012a92fc5..247b2bd19 100644 --- a/mgstudio-engine/examples/3d/color_grading/moon.pkg +++ b/mgstudio-engine/examples/3d/color_grading/moon.pkg @@ -21,6 +21,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/contact_filter3/moon.pkg b/mgstudio-engine/examples/3d/contact_filter3/moon.pkg index 96f9192d7..827a5d00b 100644 --- a/mgstudio-engine/examples/3d/contact_filter3/moon.pkg +++ b/mgstudio-engine/examples/3d/contact_filter3/moon.pkg @@ -12,6 +12,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/contact_shadows/moon.pkg b/mgstudio-engine/examples/3d/contact_shadows/moon.pkg index 3ef81c31e..b5b69d105 100644 --- a/mgstudio-engine/examples/3d/contact_shadows/moon.pkg +++ b/mgstudio-engine/examples/3d/contact_shadows/moon.pkg @@ -26,6 +26,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/custom_system_setup3/moon.pkg b/mgstudio-engine/examples/3d/custom_system_setup3/moon.pkg index 2798e99c1..872ada289 100644 --- a/mgstudio-engine/examples/3d/custom_system_setup3/moon.pkg +++ b/mgstudio-engine/examples/3d/custom_system_setup3/moon.pkg @@ -11,6 +11,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/debug_toggle3/moon.pkg b/mgstudio-engine/examples/3d/debug_toggle3/moon.pkg index ff2603a6f..1acfbe1c8 100644 --- a/mgstudio-engine/examples/3d/debug_toggle3/moon.pkg +++ b/mgstudio-engine/examples/3d/debug_toggle3/moon.pkg @@ -10,6 +10,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/debugdump3/moon.pkg b/mgstudio-engine/examples/3d/debugdump3/moon.pkg index a26fe1045..9f9d7e836 100644 --- a/mgstudio-engine/examples/3d/debugdump3/moon.pkg +++ b/mgstudio-engine/examples/3d/debugdump3/moon.pkg @@ -6,6 +6,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/decal/moon.pkg b/mgstudio-engine/examples/3d/decal/moon.pkg index 10d8b071e..58b983a95 100644 --- a/mgstudio-engine/examples/3d/decal/moon.pkg +++ b/mgstudio-engine/examples/3d/decal/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/deferred_rendering/moon.pkg b/mgstudio-engine/examples/3d/deferred_rendering/moon.pkg index 1870b6380..a38792726 100644 --- a/mgstudio-engine/examples/3d/deferred_rendering/moon.pkg +++ b/mgstudio-engine/examples/3d/deferred_rendering/moon.pkg @@ -24,6 +24,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/depth_of_field/moon.pkg b/mgstudio-engine/examples/3d/depth_of_field/moon.pkg index b7bbdca05..05a3bcb5b 100644 --- a/mgstudio-engine/examples/3d/depth_of_field/moon.pkg +++ b/mgstudio-engine/examples/3d/depth_of_field/moon.pkg @@ -21,6 +21,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/despawn3/moon.pkg b/mgstudio-engine/examples/3d/despawn3/moon.pkg index f04a08caf..9176899ed 100644 --- a/mgstudio-engine/examples/3d/despawn3/moon.pkg +++ b/mgstudio-engine/examples/3d/despawn3/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/events3/moon.pkg b/mgstudio-engine/examples/3d/events3/moon.pkg index 27b19c573..81a37a32e 100644 --- a/mgstudio-engine/examples/3d/events3/moon.pkg +++ b/mgstudio-engine/examples/3d/events3/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/fog/moon.pkg b/mgstudio-engine/examples/3d/fog/moon.pkg index 0361b76ac..0941f46a6 100644 --- a/mgstudio-engine/examples/3d/fog/moon.pkg +++ b/mgstudio-engine/examples/3d/fog/moon.pkg @@ -20,6 +20,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/fog_volumes/moon.pkg b/mgstudio-engine/examples/3d/fog_volumes/moon.pkg index 3fb915727..3944fbbb8 100644 --- a/mgstudio-engine/examples/3d/fog_volumes/moon.pkg +++ b/mgstudio-engine/examples/3d/fog_volumes/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/generate_custom_mesh/moon.pkg b/mgstudio-engine/examples/3d/generate_custom_mesh/moon.pkg index fb3f1f431..8677c0c01 100644 --- a/mgstudio-engine/examples/3d/generate_custom_mesh/moon.pkg +++ b/mgstudio-engine/examples/3d/generate_custom_mesh/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/irradiance_volumes/moon.pkg b/mgstudio-engine/examples/3d/irradiance_volumes/moon.pkg index f4cd73dec..33dac18f9 100644 --- a/mgstudio-engine/examples/3d/irradiance_volumes/moon.pkg +++ b/mgstudio-engine/examples/3d/irradiance_volumes/moon.pkg @@ -23,6 +23,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/joints3/moon.pkg b/mgstudio-engine/examples/3d/joints3/moon.pkg index c162cdeb7..90fd69789 100644 --- a/mgstudio-engine/examples/3d/joints3/moon.pkg +++ b/mgstudio-engine/examples/3d/joints3/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/joints_despawn3/moon.pkg b/mgstudio-engine/examples/3d/joints_despawn3/moon.pkg index 5ece74d12..6a65323e4 100644 --- a/mgstudio-engine/examples/3d/joints_despawn3/moon.pkg +++ b/mgstudio-engine/examples/3d/joints_despawn3/moon.pkg @@ -10,6 +10,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/light_probe_blending/moon.pkg b/mgstudio-engine/examples/3d/light_probe_blending/moon.pkg index 266758281..d66dffed6 100644 --- a/mgstudio-engine/examples/3d/light_probe_blending/moon.pkg +++ b/mgstudio-engine/examples/3d/light_probe_blending/moon.pkg @@ -23,6 +23,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/light_textures/moon.pkg b/mgstudio-engine/examples/3d/light_textures/moon.pkg index 1b8c2b380..4a6a3e552 100644 --- a/mgstudio-engine/examples/3d/light_textures/moon.pkg +++ b/mgstudio-engine/examples/3d/light_textures/moon.pkg @@ -27,6 +27,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/lighting/moon.pkg b/mgstudio-engine/examples/3d/lighting/moon.pkg index c0c30dcfb..b77d67054 100644 --- a/mgstudio-engine/examples/3d/lighting/moon.pkg +++ b/mgstudio-engine/examples/3d/lighting/moon.pkg @@ -24,6 +24,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/lightmaps/moon.pkg b/mgstudio-engine/examples/3d/lightmaps/moon.pkg index ef77cf2ee..2df6f272a 100644 --- a/mgstudio-engine/examples/3d/lightmaps/moon.pkg +++ b/mgstudio-engine/examples/3d/lightmaps/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/lines/moon.pkg b/mgstudio-engine/examples/3d/lines/moon.pkg index 11872acc7..79f8c18ef 100644 --- a/mgstudio-engine/examples/3d/lines/moon.pkg +++ b/mgstudio-engine/examples/3d/lines/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/locked_rotations3/moon.pkg b/mgstudio-engine/examples/3d/locked_rotations3/moon.pkg index c162cdeb7..90fd69789 100644 --- a/mgstudio-engine/examples/3d/locked_rotations3/moon.pkg +++ b/mgstudio-engine/examples/3d/locked_rotations3/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/mesh_ray_cast/moon.pkg b/mgstudio-engine/examples/3d/mesh_ray_cast/moon.pkg index b6d59bbfd..81e7cd893 100644 --- a/mgstudio-engine/examples/3d/mesh_ray_cast/moon.pkg +++ b/mgstudio-engine/examples/3d/mesh_ray_cast/moon.pkg @@ -23,6 +23,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/meshlet/moon.pkg b/mgstudio-engine/examples/3d/meshlet/moon.pkg index 25de1eb1a..85654e5ef 100644 --- a/mgstudio-engine/examples/3d/meshlet/moon.pkg +++ b/mgstudio-engine/examples/3d/meshlet/moon.pkg @@ -20,6 +20,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/mirror/moon.pkg b/mgstudio-engine/examples/3d/mirror/moon.pkg index 5a4d0edcc..6d40b6e86 100644 --- a/mgstudio-engine/examples/3d/mirror/moon.pkg +++ b/mgstudio-engine/examples/3d/mirror/moon.pkg @@ -32,6 +32,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/mixed_lighting/moon.pkg b/mgstudio-engine/examples/3d/mixed_lighting/moon.pkg index a077eb569..face04d20 100644 --- a/mgstudio-engine/examples/3d/mixed_lighting/moon.pkg +++ b/mgstudio-engine/examples/3d/mixed_lighting/moon.pkg @@ -29,6 +29,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/motion_blur/moon.pkg b/mgstudio-engine/examples/3d/motion_blur/moon.pkg index 0446faa59..55716f2f8 100644 --- a/mgstudio-engine/examples/3d/motion_blur/moon.pkg +++ b/mgstudio-engine/examples/3d/motion_blur/moon.pkg @@ -23,6 +23,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/multi_contexts3/moon.pkg b/mgstudio-engine/examples/3d/multi_contexts3/moon.pkg index e07149704..b7017e15f 100644 --- a/mgstudio-engine/examples/3d/multi_contexts3/moon.pkg +++ b/mgstudio-engine/examples/3d/multi_contexts3/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/multiple_colliders3/moon.pkg b/mgstudio-engine/examples/3d/multiple_colliders3/moon.pkg index 299cbab68..594eb4055 100644 --- a/mgstudio-engine/examples/3d/multiple_colliders3/moon.pkg +++ b/mgstudio-engine/examples/3d/multiple_colliders3/moon.pkg @@ -10,6 +10,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/occlusion_culling/moon.pkg b/mgstudio-engine/examples/3d/occlusion_culling/moon.pkg index 05b7eb1bd..abca4c900 100644 --- a/mgstudio-engine/examples/3d/occlusion_culling/moon.pkg +++ b/mgstudio-engine/examples/3d/occlusion_culling/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/order_independent_transparency/moon.pkg b/mgstudio-engine/examples/3d/order_independent_transparency/moon.pkg index c47965efa..a6c16d51f 100644 --- a/mgstudio-engine/examples/3d/order_independent_transparency/moon.pkg +++ b/mgstudio-engine/examples/3d/order_independent_transparency/moon.pkg @@ -21,6 +21,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/orthographic/moon.pkg b/mgstudio-engine/examples/3d/orthographic/moon.pkg index 64f1e776a..bee7e1b98 100644 --- a/mgstudio-engine/examples/3d/orthographic/moon.pkg +++ b/mgstudio-engine/examples/3d/orthographic/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/parallax_mapping/moon.pkg b/mgstudio-engine/examples/3d/parallax_mapping/moon.pkg index 120a8d70d..7b9b49a3c 100644 --- a/mgstudio-engine/examples/3d/parallax_mapping/moon.pkg +++ b/mgstudio-engine/examples/3d/parallax_mapping/moon.pkg @@ -21,6 +21,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/parenting/moon.pkg b/mgstudio-engine/examples/3d/parenting/moon.pkg index 19bec85f8..f49713659 100644 --- a/mgstudio-engine/examples/3d/parenting/moon.pkg +++ b/mgstudio-engine/examples/3d/parenting/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/pbr/moon.pkg b/mgstudio-engine/examples/3d/pbr/moon.pkg index 93a6fb73a..82f5cd647 100644 --- a/mgstudio-engine/examples/3d/pbr/moon.pkg +++ b/mgstudio-engine/examples/3d/pbr/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/pccm/moon.pkg b/mgstudio-engine/examples/3d/pccm/moon.pkg index 1507d76c0..fc443cb90 100644 --- a/mgstudio-engine/examples/3d/pccm/moon.pkg +++ b/mgstudio-engine/examples/3d/pccm/moon.pkg @@ -24,6 +24,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/pcss/moon.pkg b/mgstudio-engine/examples/3d/pcss/moon.pkg index f3f755175..cc197cc8a 100644 --- a/mgstudio-engine/examples/3d/pcss/moon.pkg +++ b/mgstudio-engine/examples/3d/pcss/moon.pkg @@ -22,6 +22,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/physics3d_character_controller/moon.pkg b/mgstudio-engine/examples/3d/physics3d_character_controller/moon.pkg index 460103088..f1f1e9f19 100644 --- a/mgstudio-engine/examples/3d/physics3d_character_controller/moon.pkg +++ b/mgstudio-engine/examples/3d/physics3d_character_controller/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/physics3d_events3/moon.pkg b/mgstudio-engine/examples/3d/physics3d_events3/moon.pkg index b1a29bb46..ce769e763 100644 --- a/mgstudio-engine/examples/3d/physics3d_events3/moon.pkg +++ b/mgstudio-engine/examples/3d/physics3d_events3/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/physics3d_joints/moon.pkg b/mgstudio-engine/examples/3d/physics3d_joints/moon.pkg index 423e3b17f..662ee60d5 100644 --- a/mgstudio-engine/examples/3d/physics3d_joints/moon.pkg +++ b/mgstudio-engine/examples/3d/physics3d_joints/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/physics3d_queries/moon.pkg b/mgstudio-engine/examples/3d/physics3d_queries/moon.pkg index 0d3680d91..03eb5b6cb 100644 --- a/mgstudio-engine/examples/3d/physics3d_queries/moon.pkg +++ b/mgstudio-engine/examples/3d/physics3d_queries/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/physics3d_sanity/moon.pkg b/mgstudio-engine/examples/3d/physics3d_sanity/moon.pkg index 131f30ccc..51214eb0a 100644 --- a/mgstudio-engine/examples/3d/physics3d_sanity/moon.pkg +++ b/mgstudio-engine/examples/3d/physics3d_sanity/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/picking3/moon.pkg b/mgstudio-engine/examples/3d/picking3/moon.pkg index 1b18022ed..d56c70d5b 100644 --- a/mgstudio-engine/examples/3d/picking3/moon.pkg +++ b/mgstudio-engine/examples/3d/picking3/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/post_processing/moon.pkg b/mgstudio-engine/examples/3d/post_processing/moon.pkg index d3ba55475..60b53ce3a 100644 --- a/mgstudio-engine/examples/3d/post_processing/moon.pkg +++ b/mgstudio-engine/examples/3d/post_processing/moon.pkg @@ -21,6 +21,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/rapier_context_component/moon.pkg b/mgstudio-engine/examples/3d/rapier_context_component/moon.pkg index 27b19c573..81a37a32e 100644 --- a/mgstudio-engine/examples/3d/rapier_context_component/moon.pkg +++ b/mgstudio-engine/examples/3d/rapier_context_component/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/rapier_to_bevy_mesh/moon.pkg b/mgstudio-engine/examples/3d/rapier_to_bevy_mesh/moon.pkg index 5de062412..4bfb798c9 100644 --- a/mgstudio-engine/examples/3d/rapier_to_bevy_mesh/moon.pkg +++ b/mgstudio-engine/examples/3d/rapier_to_bevy_mesh/moon.pkg @@ -11,6 +11,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/ray_casting3/moon.pkg b/mgstudio-engine/examples/3d/ray_casting3/moon.pkg index 1b18022ed..d56c70d5b 100644 --- a/mgstudio-engine/examples/3d/ray_casting3/moon.pkg +++ b/mgstudio-engine/examples/3d/ray_casting3/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/rect_light/moon.pkg b/mgstudio-engine/examples/3d/rect_light/moon.pkg index 3fad5ce89..2453c399f 100644 --- a/mgstudio-engine/examples/3d/rect_light/moon.pkg +++ b/mgstudio-engine/examples/3d/rect_light/moon.pkg @@ -20,6 +20,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/reflection_probes/moon.pkg b/mgstudio-engine/examples/3d/reflection_probes/moon.pkg index 81e847dd8..ffc7f53c9 100644 --- a/mgstudio-engine/examples/3d/reflection_probes/moon.pkg +++ b/mgstudio-engine/examples/3d/reflection_probes/moon.pkg @@ -22,6 +22,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/render_to_texture/moon.pkg b/mgstudio-engine/examples/3d/render_to_texture/moon.pkg index f3ea72c2e..7a4701e7b 100644 --- a/mgstudio-engine/examples/3d/render_to_texture/moon.pkg +++ b/mgstudio-engine/examples/3d/render_to_texture/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/rotate_environment_map/moon.pkg b/mgstudio-engine/examples/3d/rotate_environment_map/moon.pkg index 5e7cab273..15eea7014 100644 --- a/mgstudio-engine/examples/3d/rotate_environment_map/moon.pkg +++ b/mgstudio-engine/examples/3d/rotate_environment_map/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/scrolling_fog/moon.pkg b/mgstudio-engine/examples/3d/scrolling_fog/moon.pkg index 08fdbcf17..456a308ca 100644 --- a/mgstudio-engine/examples/3d/scrolling_fog/moon.pkg +++ b/mgstudio-engine/examples/3d/scrolling_fog/moon.pkg @@ -27,6 +27,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/shadow_biases/moon.pkg b/mgstudio-engine/examples/3d/shadow_biases/moon.pkg index 884e4c1e7..f284a1b21 100644 --- a/mgstudio-engine/examples/3d/shadow_biases/moon.pkg +++ b/mgstudio-engine/examples/3d/shadow_biases/moon.pkg @@ -21,6 +21,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/shadow_caster_receiver/moon.pkg b/mgstudio-engine/examples/3d/shadow_caster_receiver/moon.pkg index deba1e846..39a544df2 100644 --- a/mgstudio-engine/examples/3d/shadow_caster_receiver/moon.pkg +++ b/mgstudio-engine/examples/3d/shadow_caster_receiver/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/skybox/moon.pkg b/mgstudio-engine/examples/3d/skybox/moon.pkg index 931886aeb..2636dd6f4 100644 --- a/mgstudio-engine/examples/3d/skybox/moon.pkg +++ b/mgstudio-engine/examples/3d/skybox/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/specular_tint/moon.pkg b/mgstudio-engine/examples/3d/specular_tint/moon.pkg index 827ca0a59..36da32aaf 100644 --- a/mgstudio-engine/examples/3d/specular_tint/moon.pkg +++ b/mgstudio-engine/examples/3d/specular_tint/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/spherical_area_lights/moon.pkg b/mgstudio-engine/examples/3d/spherical_area_lights/moon.pkg index 05acce367..32f44a245 100644 --- a/mgstudio-engine/examples/3d/spherical_area_lights/moon.pkg +++ b/mgstudio-engine/examples/3d/spherical_area_lights/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/split_screen/moon.pkg b/mgstudio-engine/examples/3d/split_screen/moon.pkg index a84ee9096..10d6a558b 100644 --- a/mgstudio-engine/examples/3d/split_screen/moon.pkg +++ b/mgstudio-engine/examples/3d/split_screen/moon.pkg @@ -23,6 +23,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/spotlight/moon.pkg b/mgstudio-engine/examples/3d/spotlight/moon.pkg index 5721c3816..d2c31777e 100644 --- a/mgstudio-engine/examples/3d/spotlight/moon.pkg +++ b/mgstudio-engine/examples/3d/spotlight/moon.pkg @@ -22,6 +22,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/ssao/moon.pkg b/mgstudio-engine/examples/3d/ssao/moon.pkg index 19d4fcaf6..7755c0264 100644 --- a/mgstudio-engine/examples/3d/ssao/moon.pkg +++ b/mgstudio-engine/examples/3d/ssao/moon.pkg @@ -22,6 +22,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/ssr/moon.pkg b/mgstudio-engine/examples/3d/ssr/moon.pkg index 65c7cdcbe..8280edd57 100644 --- a/mgstudio-engine/examples/3d/ssr/moon.pkg +++ b/mgstudio-engine/examples/3d/ssr/moon.pkg @@ -32,6 +32,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/static_trimesh3/moon.pkg b/mgstudio-engine/examples/3d/static_trimesh3/moon.pkg index 7dee97a99..c70d3b6d3 100644 --- a/mgstudio-engine/examples/3d/static_trimesh3/moon.pkg +++ b/mgstudio-engine/examples/3d/static_trimesh3/moon.pkg @@ -10,6 +10,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/testbed3/moon.pkg b/mgstudio-engine/examples/3d/testbed3/moon.pkg index fdba6e45b..613368c01 100644 --- a/mgstudio-engine/examples/3d/testbed3/moon.pkg +++ b/mgstudio-engine/examples/3d/testbed3/moon.pkg @@ -11,6 +11,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/texture/moon.pkg b/mgstudio-engine/examples/3d/texture/moon.pkg index 66633270d..38c2f6e59 100644 --- a/mgstudio-engine/examples/3d/texture/moon.pkg +++ b/mgstudio-engine/examples/3d/texture/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/tonemapping/moon.pkg b/mgstudio-engine/examples/3d/tonemapping/moon.pkg index 09fa0d4af..7d42b5c69 100644 --- a/mgstudio-engine/examples/3d/tonemapping/moon.pkg +++ b/mgstudio-engine/examples/3d/tonemapping/moon.pkg @@ -26,6 +26,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/transmission/moon.pkg b/mgstudio-engine/examples/3d/transmission/moon.pkg index fbc39d881..1ca5cfd84 100644 --- a/mgstudio-engine/examples/3d/transmission/moon.pkg +++ b/mgstudio-engine/examples/3d/transmission/moon.pkg @@ -22,6 +22,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/transparency_3d/moon.pkg b/mgstudio-engine/examples/3d/transparency_3d/moon.pkg index d060efd07..eaa45c54b 100644 --- a/mgstudio-engine/examples/3d/transparency_3d/moon.pkg +++ b/mgstudio-engine/examples/3d/transparency_3d/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/two_passes/moon.pkg b/mgstudio-engine/examples/3d/two_passes/moon.pkg index 6d5b77789..964292a92 100644 --- a/mgstudio-engine/examples/3d/two_passes/moon.pkg +++ b/mgstudio-engine/examples/3d/two_passes/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/vertex_colors/moon.pkg b/mgstudio-engine/examples/3d/vertex_colors/moon.pkg index 86a85213a..d1ebeb911 100644 --- a/mgstudio-engine/examples/3d/vertex_colors/moon.pkg +++ b/mgstudio-engine/examples/3d/vertex_colors/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/visibility_range/moon.pkg b/mgstudio-engine/examples/3d/visibility_range/moon.pkg index ed08d7d4b..6bc54ae6c 100644 --- a/mgstudio-engine/examples/3d/visibility_range/moon.pkg +++ b/mgstudio-engine/examples/3d/visibility_range/moon.pkg @@ -24,6 +24,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/volumetric_fog/moon.pkg b/mgstudio-engine/examples/3d/volumetric_fog/moon.pkg index 8ec4e97aa..4e09b9ad7 100644 --- a/mgstudio-engine/examples/3d/volumetric_fog/moon.pkg +++ b/mgstudio-engine/examples/3d/volumetric_fog/moon.pkg @@ -36,6 +36,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/3d/voxels3/moon.pkg b/mgstudio-engine/examples/3d/voxels3/moon.pkg index 27b19c573..81a37a32e 100644 --- a/mgstudio-engine/examples/3d/voxels3/moon.pkg +++ b/mgstudio-engine/examples/3d/voxels3/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/animation/animated_mesh/moon.pkg b/mgstudio-engine/examples/animation/animated_mesh/moon.pkg index 60d2a2d82..91ebcb24c 100644 --- a/mgstudio-engine/examples/animation/animated_mesh/moon.pkg +++ b/mgstudio-engine/examples/animation/animated_mesh/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/animation/animated_mesh_control/moon.pkg b/mgstudio-engine/examples/animation/animated_mesh_control/moon.pkg index 056f95275..ffb5d887f 100644 --- a/mgstudio-engine/examples/animation/animated_mesh_control/moon.pkg +++ b/mgstudio-engine/examples/animation/animated_mesh_control/moon.pkg @@ -23,6 +23,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/animation/animated_mesh_events/moon.pkg b/mgstudio-engine/examples/animation/animated_mesh_events/moon.pkg index b2b2da0a3..a01002102 100644 --- a/mgstudio-engine/examples/animation/animated_mesh_events/moon.pkg +++ b/mgstudio-engine/examples/animation/animated_mesh_events/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/animation/animated_transform/moon.pkg b/mgstudio-engine/examples/animation/animated_transform/moon.pkg index d1a935c46..6ca69b435 100644 --- a/mgstudio-engine/examples/animation/animated_transform/moon.pkg +++ b/mgstudio-engine/examples/animation/animated_transform/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/animation/animated_ui/moon.pkg b/mgstudio-engine/examples/animation/animated_ui/moon.pkg index c632622f6..b9f4920f9 100644 --- a/mgstudio-engine/examples/animation/animated_ui/moon.pkg +++ b/mgstudio-engine/examples/animation/animated_ui/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/animation/animation_events/moon.pkg b/mgstudio-engine/examples/animation/animation_events/moon.pkg index ff82bc154..838a11ff1 100644 --- a/mgstudio-engine/examples/animation/animation_events/moon.pkg +++ b/mgstudio-engine/examples/animation/animation_events/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/animation/animation_graph/moon.pkg b/mgstudio-engine/examples/animation/animation_graph/moon.pkg index 22b063b8f..646a7dd76 100644 --- a/mgstudio-engine/examples/animation/animation_graph/moon.pkg +++ b/mgstudio-engine/examples/animation/animation_graph/moon.pkg @@ -23,6 +23,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/animation/animation_masks/moon.pkg b/mgstudio-engine/examples/animation/animation_masks/moon.pkg index 7160b8e38..93c60eb7b 100644 --- a/mgstudio-engine/examples/animation/animation_masks/moon.pkg +++ b/mgstudio-engine/examples/animation/animation_masks/moon.pkg @@ -23,6 +23,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/animation/color_animation/moon.pkg b/mgstudio-engine/examples/animation/color_animation/moon.pkg index c37db1c78..d37925aff 100644 --- a/mgstudio-engine/examples/animation/color_animation/moon.pkg +++ b/mgstudio-engine/examples/animation/color_animation/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/animation/custom_skinned_mesh/moon.pkg b/mgstudio-engine/examples/animation/custom_skinned_mesh/moon.pkg index b946985f6..6be053e9a 100644 --- a/mgstudio-engine/examples/animation/custom_skinned_mesh/moon.pkg +++ b/mgstudio-engine/examples/animation/custom_skinned_mesh/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/animation/eased_motion/moon.pkg b/mgstudio-engine/examples/animation/eased_motion/moon.pkg index b974069dc..b9f93337f 100644 --- a/mgstudio-engine/examples/animation/eased_motion/moon.pkg +++ b/mgstudio-engine/examples/animation/eased_motion/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/animation/easing_functions/moon.pkg b/mgstudio-engine/examples/animation/easing_functions/moon.pkg index 79abadb54..3a9ee30a4 100644 --- a/mgstudio-engine/examples/animation/easing_functions/moon.pkg +++ b/mgstudio-engine/examples/animation/easing_functions/moon.pkg @@ -22,6 +22,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/animation/morph_targets/moon.pkg b/mgstudio-engine/examples/animation/morph_targets/moon.pkg index 780c672bd..5f2de2e7e 100644 --- a/mgstudio-engine/examples/animation/morph_targets/moon.pkg +++ b/mgstudio-engine/examples/animation/morph_targets/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/app/custom_loop/moon.pkg b/mgstudio-engine/examples/app/custom_loop/moon.pkg index 3d13b6d01..40e8ec660 100644 --- a/mgstudio-engine/examples/app/custom_loop/moon.pkg +++ b/mgstudio-engine/examples/app/custom_loop/moon.pkg @@ -3,6 +3,4 @@ import { "Milky2018/mgstudio/ecs", } -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/app/drag_and_drop/moon.pkg b/mgstudio-engine/examples/app/drag_and_drop/moon.pkg index ff5fbacaa..012d8cbe5 100644 --- a/mgstudio-engine/examples/app/drag_and_drop/moon.pkg +++ b/mgstudio-engine/examples/app/drag_and_drop/moon.pkg @@ -7,6 +7,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/app/empty/moon.pkg b/mgstudio-engine/examples/app/empty/moon.pkg index 3d13b6d01..40e8ec660 100644 --- a/mgstudio-engine/examples/app/empty/moon.pkg +++ b/mgstudio-engine/examples/app/empty/moon.pkg @@ -3,6 +3,4 @@ import { "Milky2018/mgstudio/ecs", } -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/app/empty_defaults/moon.pkg b/mgstudio-engine/examples/app/empty_defaults/moon.pkg index d70cd3f60..001bf2c3f 100644 --- a/mgstudio-engine/examples/app/empty_defaults/moon.pkg +++ b/mgstudio-engine/examples/app/empty_defaults/moon.pkg @@ -6,6 +6,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/app/externally_driven_headless_renderer/moon.pkg b/mgstudio-engine/examples/app/externally_driven_headless_renderer/moon.pkg index b5191802c..261e16a58 100644 --- a/mgstudio-engine/examples/app/externally_driven_headless_renderer/moon.pkg +++ b/mgstudio-engine/examples/app/externally_driven_headless_renderer/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/app/headless/moon.pkg b/mgstudio-engine/examples/app/headless/moon.pkg index 3d13b6d01..40e8ec660 100644 --- a/mgstudio-engine/examples/app/headless/moon.pkg +++ b/mgstudio-engine/examples/app/headless/moon.pkg @@ -3,6 +3,4 @@ import { "Milky2018/mgstudio/ecs", } -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/app/headless_renderer/moon.pkg b/mgstudio-engine/examples/app/headless_renderer/moon.pkg index e91a56e31..2a9f29b6a 100644 --- a/mgstudio-engine/examples/app/headless_renderer/moon.pkg +++ b/mgstudio-engine/examples/app/headless_renderer/moon.pkg @@ -11,6 +11,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/app/log_layers/moon.pkg b/mgstudio-engine/examples/app/log_layers/moon.pkg index d70cd3f60..001bf2c3f 100644 --- a/mgstudio-engine/examples/app/log_layers/moon.pkg +++ b/mgstudio-engine/examples/app/log_layers/moon.pkg @@ -6,6 +6,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/app/log_layers_ecs/moon.pkg b/mgstudio-engine/examples/app/log_layers_ecs/moon.pkg index 2b30d5272..fe404c8ee 100644 --- a/mgstudio-engine/examples/app/log_layers_ecs/moon.pkg +++ b/mgstudio-engine/examples/app/log_layers_ecs/moon.pkg @@ -12,6 +12,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/app/logs/moon.pkg b/mgstudio-engine/examples/app/logs/moon.pkg index 2a7fa2a98..20c97ef38 100644 --- a/mgstudio-engine/examples/app/logs/moon.pkg +++ b/mgstudio-engine/examples/app/logs/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/app/no_renderer/moon.pkg b/mgstudio-engine/examples/app/no_renderer/moon.pkg index 0fc38f318..814a88575 100644 --- a/mgstudio-engine/examples/app/no_renderer/moon.pkg +++ b/mgstudio-engine/examples/app/no_renderer/moon.pkg @@ -7,6 +7,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/app/plugin/moon.pkg b/mgstudio-engine/examples/app/plugin/moon.pkg index 491bb4915..57fe19629 100644 --- a/mgstudio-engine/examples/app/plugin/moon.pkg +++ b/mgstudio-engine/examples/app/plugin/moon.pkg @@ -7,6 +7,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/app/plugin_group/moon.pkg b/mgstudio-engine/examples/app/plugin_group/moon.pkg index d70cd3f60..001bf2c3f 100644 --- a/mgstudio-engine/examples/app/plugin_group/moon.pkg +++ b/mgstudio-engine/examples/app/plugin_group/moon.pkg @@ -6,6 +6,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/app/render_recovery/moon.pkg b/mgstudio-engine/examples/app/render_recovery/moon.pkg index fe71a504d..6182910a2 100644 --- a/mgstudio-engine/examples/app/render_recovery/moon.pkg +++ b/mgstudio-engine/examples/app/render_recovery/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/app/return_after_run/moon.pkg b/mgstudio-engine/examples/app/return_after_run/moon.pkg index 48e2451ca..8aad553ee 100644 --- a/mgstudio-engine/examples/app/return_after_run/moon.pkg +++ b/mgstudio-engine/examples/app/return_after_run/moon.pkg @@ -7,6 +7,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/app/thread_pool_resources/moon.pkg b/mgstudio-engine/examples/app/thread_pool_resources/moon.pkg index 82c4d5dd0..2ed53865a 100644 --- a/mgstudio-engine/examples/app/thread_pool_resources/moon.pkg +++ b/mgstudio-engine/examples/app/thread_pool_resources/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/app/without_winit/moon.pkg b/mgstudio-engine/examples/app/without_winit/moon.pkg index 1d3e6615b..01077c584 100644 --- a/mgstudio-engine/examples/app/without_winit/moon.pkg +++ b/mgstudio-engine/examples/app/without_winit/moon.pkg @@ -4,6 +4,4 @@ import { "Milky2018/mgstudio/ecs", } -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/asset/alter_mesh/moon.pkg b/mgstudio-engine/examples/asset/alter_mesh/moon.pkg index 9fa4d4451..ca00929ef 100644 --- a/mgstudio-engine/examples/asset/alter_mesh/moon.pkg +++ b/mgstudio-engine/examples/asset/alter_mesh/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/asset/alter_sprite/moon.pkg b/mgstudio-engine/examples/asset/alter_sprite/moon.pkg index 1522c8587..e18a6eb7e 100644 --- a/mgstudio-engine/examples/asset/alter_sprite/moon.pkg +++ b/mgstudio-engine/examples/asset/alter_sprite/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/asset/asset_decompression/moon.pkg b/mgstudio-engine/examples/asset/asset_decompression/moon.pkg index 97d8cdcb5..d475679a5 100644 --- a/mgstudio-engine/examples/asset/asset_decompression/moon.pkg +++ b/mgstudio-engine/examples/asset/asset_decompression/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/asset/asset_loading/moon.pkg b/mgstudio-engine/examples/asset/asset_loading/moon.pkg index 07e3640b5..707ec0a9c 100644 --- a/mgstudio-engine/examples/asset/asset_loading/moon.pkg +++ b/mgstudio-engine/examples/asset/asset_loading/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/asset/asset_saving/moon.pkg b/mgstudio-engine/examples/asset/asset_saving/moon.pkg index 43cdb8e07..62de8f42c 100644 --- a/mgstudio-engine/examples/asset/asset_saving/moon.pkg +++ b/mgstudio-engine/examples/asset/asset_saving/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/asset/asset_settings/moon.pkg b/mgstudio-engine/examples/asset/asset_settings/moon.pkg index b8ba1ff20..e0cb3ceee 100644 --- a/mgstudio-engine/examples/asset/asset_settings/moon.pkg +++ b/mgstudio-engine/examples/asset/asset_settings/moon.pkg @@ -11,6 +11,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/asset/custom_asset/moon.pkg b/mgstudio-engine/examples/asset/custom_asset/moon.pkg index 593f8e8f4..4e77fc2ca 100644 --- a/mgstudio-engine/examples/asset/custom_asset/moon.pkg +++ b/mgstudio-engine/examples/asset/custom_asset/moon.pkg @@ -7,6 +7,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/asset/custom_asset_reader/moon.pkg b/mgstudio-engine/examples/asset/custom_asset_reader/moon.pkg index 97d8cdcb5..d475679a5 100644 --- a/mgstudio-engine/examples/asset/custom_asset_reader/moon.pkg +++ b/mgstudio-engine/examples/asset/custom_asset_reader/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/asset/embedded_asset/moon.pkg b/mgstudio-engine/examples/asset/embedded_asset/moon.pkg index 34e9e129e..d475679a5 100644 --- a/mgstudio-engine/examples/asset/embedded_asset/moon.pkg +++ b/mgstudio-engine/examples/asset/embedded_asset/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - is_main: true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/asset/extra_source/moon.pkg b/mgstudio-engine/examples/asset/extra_source/moon.pkg index 97d8cdcb5..d475679a5 100644 --- a/mgstudio-engine/examples/asset/extra_source/moon.pkg +++ b/mgstudio-engine/examples/asset/extra_source/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/asset/hot_asset_reloading/moon.pkg b/mgstudio-engine/examples/asset/hot_asset_reloading/moon.pkg index 170480e8f..5ee96d1ed 100644 --- a/mgstudio-engine/examples/asset/hot_asset_reloading/moon.pkg +++ b/mgstudio-engine/examples/asset/hot_asset_reloading/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/asset/multi_asset_sync/moon.pkg b/mgstudio-engine/examples/asset/multi_asset_sync/moon.pkg index 43cdb8e07..62de8f42c 100644 --- a/mgstudio-engine/examples/asset/multi_asset_sync/moon.pkg +++ b/mgstudio-engine/examples/asset/multi_asset_sync/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/asset/processing/asset_processing/moon.pkg b/mgstudio-engine/examples/asset/processing/asset_processing/moon.pkg index 593f8e8f4..4e77fc2ca 100644 --- a/mgstudio-engine/examples/asset/processing/asset_processing/moon.pkg +++ b/mgstudio-engine/examples/asset/processing/asset_processing/moon.pkg @@ -7,6 +7,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/asset/repeated_texture/moon.pkg b/mgstudio-engine/examples/asset/repeated_texture/moon.pkg index 197d7bf8f..1c89d0568 100644 --- a/mgstudio-engine/examples/asset/repeated_texture/moon.pkg +++ b/mgstudio-engine/examples/asset/repeated_texture/moon.pkg @@ -12,6 +12,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/asset/web_asset/moon.pkg b/mgstudio-engine/examples/asset/web_asset/moon.pkg index 97d8cdcb5..d475679a5 100644 --- a/mgstudio-engine/examples/asset/web_asset/moon.pkg +++ b/mgstudio-engine/examples/asset/web_asset/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/audio/audio/moon.pkg b/mgstudio-engine/examples/audio/audio/moon.pkg index 98c5f3151..e8058bc41 100644 --- a/mgstudio-engine/examples/audio/audio/moon.pkg +++ b/mgstudio-engine/examples/audio/audio/moon.pkg @@ -8,6 +8,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/audio/audio_control/moon.pkg b/mgstudio-engine/examples/audio/audio_control/moon.pkg index d888ec5bf..392de64b1 100644 --- a/mgstudio-engine/examples/audio/audio_control/moon.pkg +++ b/mgstudio-engine/examples/audio/audio_control/moon.pkg @@ -21,6 +21,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/audio/decodable/moon.pkg b/mgstudio-engine/examples/audio/decodable/moon.pkg index f85a9bfda..c4e596eae 100644 --- a/mgstudio-engine/examples/audio/decodable/moon.pkg +++ b/mgstudio-engine/examples/audio/decodable/moon.pkg @@ -8,6 +8,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/audio/pitch/moon.pkg b/mgstudio-engine/examples/audio/pitch/moon.pkg index 6b1d039ee..74a703cb0 100644 --- a/mgstudio-engine/examples/audio/pitch/moon.pkg +++ b/mgstudio-engine/examples/audio/pitch/moon.pkg @@ -11,6 +11,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/audio/soundtrack/moon.pkg b/mgstudio-engine/examples/audio/soundtrack/moon.pkg index 0ada74095..551949337 100644 --- a/mgstudio-engine/examples/audio/soundtrack/moon.pkg +++ b/mgstudio-engine/examples/audio/soundtrack/moon.pkg @@ -10,6 +10,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/audio/spatial_audio_2d/moon.pkg b/mgstudio-engine/examples/audio/spatial_audio_2d/moon.pkg index 6e275355f..a2c1b0243 100644 --- a/mgstudio-engine/examples/audio/spatial_audio_2d/moon.pkg +++ b/mgstudio-engine/examples/audio/spatial_audio_2d/moon.pkg @@ -25,6 +25,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/audio/spatial_audio_3d/moon.pkg b/mgstudio-engine/examples/audio/spatial_audio_3d/moon.pkg index bba243f25..5edb17e40 100644 --- a/mgstudio-engine/examples/audio/spatial_audio_3d/moon.pkg +++ b/mgstudio-engine/examples/audio/spatial_audio_3d/moon.pkg @@ -22,6 +22,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/camera/2d_on_ui/moon.pkg b/mgstudio-engine/examples/camera/2d_on_ui/moon.pkg index a63609be1..3aef01928 100644 --- a/mgstudio-engine/examples/camera/2d_on_ui/moon.pkg +++ b/mgstudio-engine/examples/camera/2d_on_ui/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/camera/2d_screen_shake/moon.pkg b/mgstudio-engine/examples/camera/2d_screen_shake/moon.pkg index 379d18eb0..9450af591 100644 --- a/mgstudio-engine/examples/camera/2d_screen_shake/moon.pkg +++ b/mgstudio-engine/examples/camera/2d_screen_shake/moon.pkg @@ -21,6 +21,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/camera/2d_top_down_camera/moon.pkg b/mgstudio-engine/examples/camera/2d_top_down_camera/moon.pkg index 85efc5c21..d25070389 100644 --- a/mgstudio-engine/examples/camera/2d_top_down_camera/moon.pkg +++ b/mgstudio-engine/examples/camera/2d_top_down_camera/moon.pkg @@ -22,6 +22,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/camera/camera_orbit/moon.pkg b/mgstudio-engine/examples/camera/camera_orbit/moon.pkg index 9ca778904..8ca7180e8 100644 --- a/mgstudio-engine/examples/camera/camera_orbit/moon.pkg +++ b/mgstudio-engine/examples/camera/camera_orbit/moon.pkg @@ -20,6 +20,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/camera/custom_projection/moon.pkg b/mgstudio-engine/examples/camera/custom_projection/moon.pkg index 22d098902..21522dd72 100644 --- a/mgstudio-engine/examples/camera/custom_projection/moon.pkg +++ b/mgstudio-engine/examples/camera/custom_projection/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/camera/first_person_view_model/moon.pkg b/mgstudio-engine/examples/camera/first_person_view_model/moon.pkg index 94a6b0e25..6a1a210af 100644 --- a/mgstudio-engine/examples/camera/first_person_view_model/moon.pkg +++ b/mgstudio-engine/examples/camera/first_person_view_model/moon.pkg @@ -22,6 +22,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/camera/free_camera_controller/moon.pkg b/mgstudio-engine/examples/camera/free_camera_controller/moon.pkg index 8dceb1d2d..8254fbd30 100644 --- a/mgstudio-engine/examples/camera/free_camera_controller/moon.pkg +++ b/mgstudio-engine/examples/camera/free_camera_controller/moon.pkg @@ -23,6 +23,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/camera/pan_camera_controller/moon.pkg b/mgstudio-engine/examples/camera/pan_camera_controller/moon.pkg index d4124a2c9..360bb7b5a 100644 --- a/mgstudio-engine/examples/camera/pan_camera_controller/moon.pkg +++ b/mgstudio-engine/examples/camera/pan_camera_controller/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/camera/projection_zoom/moon.pkg b/mgstudio-engine/examples/camera/projection_zoom/moon.pkg index 21e8413ae..816e8f034 100644 --- a/mgstudio-engine/examples/camera/projection_zoom/moon.pkg +++ b/mgstudio-engine/examples/camera/projection_zoom/moon.pkg @@ -21,6 +21,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/dev_tools/fps_overlay/moon.pkg b/mgstudio-engine/examples/dev_tools/fps_overlay/moon.pkg index cb1482bde..b07537757 100644 --- a/mgstudio-engine/examples/dev_tools/fps_overlay/moon.pkg +++ b/mgstudio-engine/examples/dev_tools/fps_overlay/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/diagnostics/custom_diagnostic/moon.pkg b/mgstudio-engine/examples/diagnostics/custom_diagnostic/moon.pkg index a447d6261..4645be878 100644 --- a/mgstudio-engine/examples/diagnostics/custom_diagnostic/moon.pkg +++ b/mgstudio-engine/examples/diagnostics/custom_diagnostic/moon.pkg @@ -7,6 +7,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/diagnostics/enabling_disabling_diagnostic/moon.pkg b/mgstudio-engine/examples/diagnostics/enabling_disabling_diagnostic/moon.pkg index ce57f513d..aaaf12653 100644 --- a/mgstudio-engine/examples/diagnostics/enabling_disabling_diagnostic/moon.pkg +++ b/mgstudio-engine/examples/diagnostics/enabling_disabling_diagnostic/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/diagnostics/log_diagnostics/moon.pkg b/mgstudio-engine/examples/diagnostics/log_diagnostics/moon.pkg index 8a3067ff6..5a6e0c2ba 100644 --- a/mgstudio-engine/examples/diagnostics/log_diagnostics/moon.pkg +++ b/mgstudio-engine/examples/diagnostics/log_diagnostics/moon.pkg @@ -20,6 +20,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/change_detection/moon.pkg b/mgstudio-engine/examples/ecs/change_detection/moon.pkg index e4f35178b..bfc80c197 100644 --- a/mgstudio-engine/examples/ecs/change_detection/moon.pkg +++ b/mgstudio-engine/examples/ecs/change_detection/moon.pkg @@ -5,6 +5,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/component_hooks/moon.pkg b/mgstudio-engine/examples/ecs/component_hooks/moon.pkg index d10736181..ae1b20d21 100644 --- a/mgstudio-engine/examples/ecs/component_hooks/moon.pkg +++ b/mgstudio-engine/examples/ecs/component_hooks/moon.pkg @@ -10,6 +10,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/contiguous_query/moon.pkg b/mgstudio-engine/examples/ecs/contiguous_query/moon.pkg index d70cd3f60..001bf2c3f 100644 --- a/mgstudio-engine/examples/ecs/contiguous_query/moon.pkg +++ b/mgstudio-engine/examples/ecs/contiguous_query/moon.pkg @@ -6,6 +6,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/custom_query_param/moon.pkg b/mgstudio-engine/examples/ecs/custom_query_param/moon.pkg index 5e8ab6e0c..42e16c558 100644 --- a/mgstudio-engine/examples/ecs/custom_query_param/moon.pkg +++ b/mgstudio-engine/examples/ecs/custom_query_param/moon.pkg @@ -7,6 +7,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/custom_schedule/moon.pkg b/mgstudio-engine/examples/ecs/custom_schedule/moon.pkg index 3d13b6d01..40e8ec660 100644 --- a/mgstudio-engine/examples/ecs/custom_schedule/moon.pkg +++ b/mgstudio-engine/examples/ecs/custom_schedule/moon.pkg @@ -3,6 +3,4 @@ import { "Milky2018/mgstudio/ecs", } -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/ecs_guide/moon.pkg b/mgstudio-engine/examples/ecs/ecs_guide/moon.pkg index e4f35178b..bfc80c197 100644 --- a/mgstudio-engine/examples/ecs/ecs_guide/moon.pkg +++ b/mgstudio-engine/examples/ecs/ecs_guide/moon.pkg @@ -5,6 +5,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/entity_disabling/moon.pkg b/mgstudio-engine/examples/ecs/entity_disabling/moon.pkg index ef3d12953..e9a64a16b 100644 --- a/mgstudio-engine/examples/ecs/entity_disabling/moon.pkg +++ b/mgstudio-engine/examples/ecs/entity_disabling/moon.pkg @@ -22,6 +22,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/error_handling/moon.pkg b/mgstudio-engine/examples/ecs/error_handling/moon.pkg index 232581c02..a052e3d70 100644 --- a/mgstudio-engine/examples/ecs/error_handling/moon.pkg +++ b/mgstudio-engine/examples/ecs/error_handling/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/fallible_params/moon.pkg b/mgstudio-engine/examples/ecs/fallible_params/moon.pkg index d5085c61c..be23db77d 100644 --- a/mgstudio-engine/examples/ecs/fallible_params/moon.pkg +++ b/mgstudio-engine/examples/ecs/fallible_params/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/fixed_timestep/moon.pkg b/mgstudio-engine/examples/ecs/fixed_timestep/moon.pkg index 71df03415..23f28212c 100644 --- a/mgstudio-engine/examples/ecs/fixed_timestep/moon.pkg +++ b/mgstudio-engine/examples/ecs/fixed_timestep/moon.pkg @@ -7,6 +7,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/generic_system/moon.pkg b/mgstudio-engine/examples/ecs/generic_system/moon.pkg index 44b68cf71..2825733c3 100644 --- a/mgstudio-engine/examples/ecs/generic_system/moon.pkg +++ b/mgstudio-engine/examples/ecs/generic_system/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/hierarchy/moon.pkg b/mgstudio-engine/examples/ecs/hierarchy/moon.pkg index 20ba89234..452ddd76b 100644 --- a/mgstudio-engine/examples/ecs/hierarchy/moon.pkg +++ b/mgstudio-engine/examples/ecs/hierarchy/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/hotpatching_systems/moon.pkg b/mgstudio-engine/examples/ecs/hotpatching_systems/moon.pkg index 7bdb2fdea..dca6a61a9 100644 --- a/mgstudio-engine/examples/ecs/hotpatching_systems/moon.pkg +++ b/mgstudio-engine/examples/ecs/hotpatching_systems/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/immutable_components/moon.pkg b/mgstudio-engine/examples/ecs/immutable_components/moon.pkg index c68964c63..de08644c5 100644 --- a/mgstudio-engine/examples/ecs/immutable_components/moon.pkg +++ b/mgstudio-engine/examples/ecs/immutable_components/moon.pkg @@ -6,6 +6,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/iter_combinations/moon.pkg b/mgstudio-engine/examples/ecs/iter_combinations/moon.pkg index 157b10fc5..527eead7c 100644 --- a/mgstudio-engine/examples/ecs/iter_combinations/moon.pkg +++ b/mgstudio-engine/examples/ecs/iter_combinations/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/message/moon.pkg b/mgstudio-engine/examples/ecs/message/moon.pkg index 71df03415..23f28212c 100644 --- a/mgstudio-engine/examples/ecs/message/moon.pkg +++ b/mgstudio-engine/examples/ecs/message/moon.pkg @@ -7,6 +7,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/nondeterministic_system_order/moon.pkg b/mgstudio-engine/examples/ecs/nondeterministic_system_order/moon.pkg index e4f35178b..bfc80c197 100644 --- a/mgstudio-engine/examples/ecs/nondeterministic_system_order/moon.pkg +++ b/mgstudio-engine/examples/ecs/nondeterministic_system_order/moon.pkg @@ -5,6 +5,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/observer_propagation/moon.pkg b/mgstudio-engine/examples/ecs/observer_propagation/moon.pkg index 45bb66cc8..c0d6bcc1a 100644 --- a/mgstudio-engine/examples/ecs/observer_propagation/moon.pkg +++ b/mgstudio-engine/examples/ecs/observer_propagation/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/observers/moon.pkg b/mgstudio-engine/examples/ecs/observers/moon.pkg index 013a212f0..5ab15aa90 100644 --- a/mgstudio-engine/examples/ecs/observers/moon.pkg +++ b/mgstudio-engine/examples/ecs/observers/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/one_shot_systems/moon.pkg b/mgstudio-engine/examples/ecs/one_shot_systems/moon.pkg index ad23db4d3..8bceb7785 100644 --- a/mgstudio-engine/examples/ecs/one_shot_systems/moon.pkg +++ b/mgstudio-engine/examples/ecs/one_shot_systems/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/parallel_query/moon.pkg b/mgstudio-engine/examples/ecs/parallel_query/moon.pkg index 951ed89a4..11c8deb3c 100644 --- a/mgstudio-engine/examples/ecs/parallel_query/moon.pkg +++ b/mgstudio-engine/examples/ecs/parallel_query/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/relationships/moon.pkg b/mgstudio-engine/examples/ecs/relationships/moon.pkg index db6aedda7..9965e9c65 100644 --- a/mgstudio-engine/examples/ecs/relationships/moon.pkg +++ b/mgstudio-engine/examples/ecs/relationships/moon.pkg @@ -5,6 +5,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/removal_detection/moon.pkg b/mgstudio-engine/examples/ecs/removal_detection/moon.pkg index 304dd237b..6a2561952 100644 --- a/mgstudio-engine/examples/ecs/removal_detection/moon.pkg +++ b/mgstudio-engine/examples/ecs/removal_detection/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/run_conditions/moon.pkg b/mgstudio-engine/examples/ecs/run_conditions/moon.pkg index 94130c8ad..4eb0250b2 100644 --- a/mgstudio-engine/examples/ecs/run_conditions/moon.pkg +++ b/mgstudio-engine/examples/ecs/run_conditions/moon.pkg @@ -11,6 +11,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/send_and_receive_messages/moon.pkg b/mgstudio-engine/examples/ecs/send_and_receive_messages/moon.pkg index 267f42def..eb7617da7 100644 --- a/mgstudio-engine/examples/ecs/send_and_receive_messages/moon.pkg +++ b/mgstudio-engine/examples/ecs/send_and_receive_messages/moon.pkg @@ -7,6 +7,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/startup_system/moon.pkg b/mgstudio-engine/examples/ecs/startup_system/moon.pkg index 3d13b6d01..40e8ec660 100644 --- a/mgstudio-engine/examples/ecs/startup_system/moon.pkg +++ b/mgstudio-engine/examples/ecs/startup_system/moon.pkg @@ -3,6 +3,4 @@ import { "Milky2018/mgstudio/ecs", } -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/state_scoped/moon.pkg b/mgstudio-engine/examples/ecs/state_scoped/moon.pkg index b98e4f2d6..efe79d869 100644 --- a/mgstudio-engine/examples/ecs/state_scoped/moon.pkg +++ b/mgstudio-engine/examples/ecs/state_scoped/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/system_closure/moon.pkg b/mgstudio-engine/examples/ecs/system_closure/moon.pkg index e4f35178b..bfc80c197 100644 --- a/mgstudio-engine/examples/ecs/system_closure/moon.pkg +++ b/mgstudio-engine/examples/ecs/system_closure/moon.pkg @@ -5,6 +5,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/system_param/moon.pkg b/mgstudio-engine/examples/ecs/system_param/moon.pkg index 5e8ab6e0c..42e16c558 100644 --- a/mgstudio-engine/examples/ecs/system_param/moon.pkg +++ b/mgstudio-engine/examples/ecs/system_param/moon.pkg @@ -7,6 +7,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/system_piping/moon.pkg b/mgstudio-engine/examples/ecs/system_piping/moon.pkg index 7a31cff67..7a0178945 100644 --- a/mgstudio-engine/examples/ecs/system_piping/moon.pkg +++ b/mgstudio-engine/examples/ecs/system_piping/moon.pkg @@ -6,6 +6,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs/system_stepping/moon.pkg b/mgstudio-engine/examples/ecs/system_stepping/moon.pkg index a6e0e46b8..40931a0d6 100644 --- a/mgstudio-engine/examples/ecs/system_stepping/moon.pkg +++ b/mgstudio-engine/examples/ecs/system_stepping/moon.pkg @@ -5,6 +5,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ecs_json_move/moon.pkg b/mgstudio-engine/examples/ecs_json_move/moon.pkg index 318a023a7..8c6588607 100644 --- a/mgstudio-engine/examples/ecs_json_move/moon.pkg +++ b/mgstudio-engine/examples/ecs_json_move/moon.pkg @@ -4,6 +4,4 @@ import { "moonbitlang/core/json", } -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/games/alien_cake_addict/moon.pkg b/mgstudio-engine/examples/games/alien_cake_addict/moon.pkg index ed6a16b85..dfa7dad4e 100644 --- a/mgstudio-engine/examples/games/alien_cake_addict/moon.pkg +++ b/mgstudio-engine/examples/games/alien_cake_addict/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/games/breakout/moon.pkg b/mgstudio-engine/examples/games/breakout/moon.pkg index 3bc09347c..1e4dd5432 100644 --- a/mgstudio-engine/examples/games/breakout/moon.pkg +++ b/mgstudio-engine/examples/games/breakout/moon.pkg @@ -27,6 +27,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/games/contributors/moon.pkg b/mgstudio-engine/examples/games/contributors/moon.pkg index f61a8e15d..48eef2972 100644 --- a/mgstudio-engine/examples/games/contributors/moon.pkg +++ b/mgstudio-engine/examples/games/contributors/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/games/desk_toy/moon.pkg b/mgstudio-engine/examples/games/desk_toy/moon.pkg index f61a8e15d..48eef2972 100644 --- a/mgstudio-engine/examples/games/desk_toy/moon.pkg +++ b/mgstudio-engine/examples/games/desk_toy/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/games/game_menu/moon.pkg b/mgstudio-engine/examples/games/game_menu/moon.pkg index ed6a16b85..dfa7dad4e 100644 --- a/mgstudio-engine/examples/games/game_menu/moon.pkg +++ b/mgstudio-engine/examples/games/game_menu/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/games/loading_screen/moon.pkg b/mgstudio-engine/examples/games/loading_screen/moon.pkg index f61a8e15d..48eef2972 100644 --- a/mgstudio-engine/examples/games/loading_screen/moon.pkg +++ b/mgstudio-engine/examples/games/loading_screen/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/games/stepping/moon.pkg b/mgstudio-engine/examples/games/stepping/moon.pkg index 4e73038a7..e6a67573a 100644 --- a/mgstudio-engine/examples/games/stepping/moon.pkg +++ b/mgstudio-engine/examples/games/stepping/moon.pkg @@ -12,6 +12,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/gizmos/2d_gizmos/moon.pkg b/mgstudio-engine/examples/gizmos/2d_gizmos/moon.pkg index fb69530a4..fc35d6eaf 100644 --- a/mgstudio-engine/examples/gizmos/2d_gizmos/moon.pkg +++ b/mgstudio-engine/examples/gizmos/2d_gizmos/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/gizmos/2d_text_gizmos/moon.pkg b/mgstudio-engine/examples/gizmos/2d_text_gizmos/moon.pkg index c56a6335d..551afef36 100644 --- a/mgstudio-engine/examples/gizmos/2d_text_gizmos/moon.pkg +++ b/mgstudio-engine/examples/gizmos/2d_text_gizmos/moon.pkg @@ -12,6 +12,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/gizmos/3d_gizmos/moon.pkg b/mgstudio-engine/examples/gizmos/3d_gizmos/moon.pkg index 5845b021e..2b3e2fcc7 100644 --- a/mgstudio-engine/examples/gizmos/3d_gizmos/moon.pkg +++ b/mgstudio-engine/examples/gizmos/3d_gizmos/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/gizmos/3d_text_gizmos/moon.pkg b/mgstudio-engine/examples/gizmos/3d_text_gizmos/moon.pkg index e7152bec7..4770fa2cb 100644 --- a/mgstudio-engine/examples/gizmos/3d_text_gizmos/moon.pkg +++ b/mgstudio-engine/examples/gizmos/3d_text_gizmos/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/gizmos/anchored_text_gizmos/moon.pkg b/mgstudio-engine/examples/gizmos/anchored_text_gizmos/moon.pkg index 2e3614b1f..f437f0037 100644 --- a/mgstudio-engine/examples/gizmos/anchored_text_gizmos/moon.pkg +++ b/mgstudio-engine/examples/gizmos/anchored_text_gizmos/moon.pkg @@ -12,6 +12,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/gizmos/axes/moon.pkg b/mgstudio-engine/examples/gizmos/axes/moon.pkg index 482ef6391..52ab5cbb0 100644 --- a/mgstudio-engine/examples/gizmos/axes/moon.pkg +++ b/mgstudio-engine/examples/gizmos/axes/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/gizmos/light_gizmos/moon.pkg b/mgstudio-engine/examples/gizmos/light_gizmos/moon.pkg index ed17a8992..0bcdf5372 100644 --- a/mgstudio-engine/examples/gizmos/light_gizmos/moon.pkg +++ b/mgstudio-engine/examples/gizmos/light_gizmos/moon.pkg @@ -23,6 +23,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/gizmos/text_gizmos_font/moon.pkg b/mgstudio-engine/examples/gizmos/text_gizmos_font/moon.pkg index b1aa1afc8..b85dca379 100644 --- a/mgstudio-engine/examples/gizmos/text_gizmos_font/moon.pkg +++ b/mgstudio-engine/examples/gizmos/text_gizmos_font/moon.pkg @@ -11,6 +11,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/gltf/custom_gltf_vertex_attribute/moon.pkg b/mgstudio-engine/examples/gltf/custom_gltf_vertex_attribute/moon.pkg index 18d65ac9b..34270ce37 100644 --- a/mgstudio-engine/examples/gltf/custom_gltf_vertex_attribute/moon.pkg +++ b/mgstudio-engine/examples/gltf/custom_gltf_vertex_attribute/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/gltf/edit_material_on_gltf/moon.pkg b/mgstudio-engine/examples/gltf/edit_material_on_gltf/moon.pkg index 6cbbfbff1..a3fc90a3d 100644 --- a/mgstudio-engine/examples/gltf/edit_material_on_gltf/moon.pkg +++ b/mgstudio-engine/examples/gltf/edit_material_on_gltf/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/gltf/gltf_extension_animation_graph/moon.pkg b/mgstudio-engine/examples/gltf/gltf_extension_animation_graph/moon.pkg index 3a9d06bf3..418df083b 100644 --- a/mgstudio-engine/examples/gltf/gltf_extension_animation_graph/moon.pkg +++ b/mgstudio-engine/examples/gltf/gltf_extension_animation_graph/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/gltf/gltf_extension_mesh_2d/moon.pkg b/mgstudio-engine/examples/gltf/gltf_extension_mesh_2d/moon.pkg index 8812a28ed..c05ffcf09 100644 --- a/mgstudio-engine/examples/gltf/gltf_extension_mesh_2d/moon.pkg +++ b/mgstudio-engine/examples/gltf/gltf_extension_mesh_2d/moon.pkg @@ -21,6 +21,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/gltf/gltf_skinned_mesh/moon.pkg b/mgstudio-engine/examples/gltf/gltf_skinned_mesh/moon.pkg index 45d7abcb6..166073777 100644 --- a/mgstudio-engine/examples/gltf/gltf_skinned_mesh/moon.pkg +++ b/mgstudio-engine/examples/gltf/gltf_skinned_mesh/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/gltf/load_gltf/moon.pkg b/mgstudio-engine/examples/gltf/load_gltf/moon.pkg index 5c58f75d3..b86559232 100644 --- a/mgstudio-engine/examples/gltf/load_gltf/moon.pkg +++ b/mgstudio-engine/examples/gltf/load_gltf/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/gltf/load_gltf_extras/moon.pkg b/mgstudio-engine/examples/gltf/load_gltf_extras/moon.pkg index d257462ed..a281b7fbc 100644 --- a/mgstudio-engine/examples/gltf/load_gltf_extras/moon.pkg +++ b/mgstudio-engine/examples/gltf/load_gltf_extras/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/gltf/query_gltf_primitives/moon.pkg b/mgstudio-engine/examples/gltf/query_gltf_primitives/moon.pkg index ff281f958..bc2c4a70d 100644 --- a/mgstudio-engine/examples/gltf/query_gltf_primitives/moon.pkg +++ b/mgstudio-engine/examples/gltf/query_gltf_primitives/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/gltf/update_gltf_scene/moon.pkg b/mgstudio-engine/examples/gltf/update_gltf_scene/moon.pkg index 60ef099ca..3b56f3abc 100644 --- a/mgstudio-engine/examples/gltf/update_gltf_scene/moon.pkg +++ b/mgstudio-engine/examples/gltf/update_gltf_scene/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/hello_world/hello_world/moon.pkg b/mgstudio-engine/examples/hello_world/hello_world/moon.pkg index 3d13b6d01..40e8ec660 100644 --- a/mgstudio-engine/examples/hello_world/hello_world/moon.pkg +++ b/mgstudio-engine/examples/hello_world/hello_world/moon.pkg @@ -3,6 +3,4 @@ import { "Milky2018/mgstudio/ecs", } -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/hello_world/moon.pkg b/mgstudio-engine/examples/hello_world/moon.pkg index 9991b89fa..7891c46e6 100644 --- a/mgstudio-engine/examples/hello_world/moon.pkg +++ b/mgstudio-engine/examples/hello_world/moon.pkg @@ -1,5 +1,3 @@ supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/helpers/widgets/moon.pkg b/mgstudio-engine/examples/helpers/widgets/moon.pkg index 9442a011b..3e2249c19 100644 --- a/mgstudio-engine/examples/helpers/widgets/moon.pkg +++ b/mgstudio-engine/examples/helpers/widgets/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/input/char_input_events/moon.pkg b/mgstudio-engine/examples/input/char_input_events/moon.pkg index 74002225e..ff130daec 100644 --- a/mgstudio-engine/examples/input/char_input_events/moon.pkg +++ b/mgstudio-engine/examples/input/char_input_events/moon.pkg @@ -8,6 +8,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/input/gamepad_input/moon.pkg b/mgstudio-engine/examples/input/gamepad_input/moon.pkg index 6d9f0f636..72fc06c90 100644 --- a/mgstudio-engine/examples/input/gamepad_input/moon.pkg +++ b/mgstudio-engine/examples/input/gamepad_input/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/input/gamepad_input_events/moon.pkg b/mgstudio-engine/examples/input/gamepad_input_events/moon.pkg index 6d9f0f636..72fc06c90 100644 --- a/mgstudio-engine/examples/input/gamepad_input_events/moon.pkg +++ b/mgstudio-engine/examples/input/gamepad_input_events/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/input/gamepad_rumble/moon.pkg b/mgstudio-engine/examples/input/gamepad_rumble/moon.pkg index 6d9f0f636..72fc06c90 100644 --- a/mgstudio-engine/examples/input/gamepad_rumble/moon.pkg +++ b/mgstudio-engine/examples/input/gamepad_rumble/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/input/keyboard_input/moon.pkg b/mgstudio-engine/examples/input/keyboard_input/moon.pkg index 74002225e..ff130daec 100644 --- a/mgstudio-engine/examples/input/keyboard_input/moon.pkg +++ b/mgstudio-engine/examples/input/keyboard_input/moon.pkg @@ -8,6 +8,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/input/keyboard_input_events/moon.pkg b/mgstudio-engine/examples/input/keyboard_input_events/moon.pkg index 74002225e..ff130daec 100644 --- a/mgstudio-engine/examples/input/keyboard_input_events/moon.pkg +++ b/mgstudio-engine/examples/input/keyboard_input_events/moon.pkg @@ -8,6 +8,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/input/keyboard_modifiers/moon.pkg b/mgstudio-engine/examples/input/keyboard_modifiers/moon.pkg index 74002225e..ff130daec 100644 --- a/mgstudio-engine/examples/input/keyboard_modifiers/moon.pkg +++ b/mgstudio-engine/examples/input/keyboard_modifiers/moon.pkg @@ -8,6 +8,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/input/mouse_grab/moon.pkg b/mgstudio-engine/examples/input/mouse_grab/moon.pkg index 6d9f0f636..72fc06c90 100644 --- a/mgstudio-engine/examples/input/mouse_grab/moon.pkg +++ b/mgstudio-engine/examples/input/mouse_grab/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/input/mouse_input/moon.pkg b/mgstudio-engine/examples/input/mouse_input/moon.pkg index d6885c1c1..3963c9d1d 100644 --- a/mgstudio-engine/examples/input/mouse_input/moon.pkg +++ b/mgstudio-engine/examples/input/mouse_input/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/input/mouse_input_events/moon.pkg b/mgstudio-engine/examples/input/mouse_input_events/moon.pkg index d6885c1c1..3963c9d1d 100644 --- a/mgstudio-engine/examples/input/mouse_input_events/moon.pkg +++ b/mgstudio-engine/examples/input/mouse_input_events/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/input/text_input/moon.pkg b/mgstudio-engine/examples/input/text_input/moon.pkg index a80f92b32..44fb61bdf 100644 --- a/mgstudio-engine/examples/input/text_input/moon.pkg +++ b/mgstudio-engine/examples/input/text_input/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/input/touch_input/moon.pkg b/mgstudio-engine/examples/input/touch_input/moon.pkg index d6885c1c1..3963c9d1d 100644 --- a/mgstudio-engine/examples/input/touch_input/moon.pkg +++ b/mgstudio-engine/examples/input/touch_input/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/input/touch_input_events/moon.pkg b/mgstudio-engine/examples/input/touch_input_events/moon.pkg index d6885c1c1..3963c9d1d 100644 --- a/mgstudio-engine/examples/input/touch_input_events/moon.pkg +++ b/mgstudio-engine/examples/input/touch_input_events/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/large_scenes/bistro/src/main/moon.pkg b/mgstudio-engine/examples/large_scenes/bistro/src/main/moon.pkg index 0f4a70808..4b866c5c0 100644 --- a/mgstudio-engine/examples/large_scenes/bistro/src/main/moon.pkg +++ b/mgstudio-engine/examples/large_scenes/bistro/src/main/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/large_scenes/caldera_hotel/src/main/moon.pkg b/mgstudio-engine/examples/large_scenes/caldera_hotel/src/main/moon.pkg index acee86afe..67c3b66d0 100644 --- a/mgstudio-engine/examples/large_scenes/caldera_hotel/src/main/moon.pkg +++ b/mgstudio-engine/examples/large_scenes/caldera_hotel/src/main/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/large_scenes/mipmap_generator/examples/load_gltf/moon.pkg b/mgstudio-engine/examples/large_scenes/mipmap_generator/examples/load_gltf/moon.pkg index 356ff9862..a6cfae055 100644 --- a/mgstudio-engine/examples/large_scenes/mipmap_generator/examples/load_gltf/moon.pkg +++ b/mgstudio-engine/examples/large_scenes/mipmap_generator/examples/load_gltf/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/large_scenes/mipmap_generator/examples/test_compression/moon.pkg b/mgstudio-engine/examples/large_scenes/mipmap_generator/examples/test_compression/moon.pkg index ab613ae19..7106fee7b 100644 --- a/mgstudio-engine/examples/large_scenes/mipmap_generator/examples/test_compression/moon.pkg +++ b/mgstudio-engine/examples/large_scenes/mipmap_generator/examples/test_compression/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/large_scenes/mipmap_generator/examples/test_image/moon.pkg b/mgstudio-engine/examples/large_scenes/mipmap_generator/examples/test_image/moon.pkg index 81cd1e40a..88a07c115 100644 --- a/mgstudio-engine/examples/large_scenes/mipmap_generator/examples/test_image/moon.pkg +++ b/mgstudio-engine/examples/large_scenes/mipmap_generator/examples/test_image/moon.pkg @@ -12,6 +12,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/large_scenes/mipmap_generator/src/lib/moon.pkg b/mgstudio-engine/examples/large_scenes/mipmap_generator/src/lib/moon.pkg index 81cd1e40a..88a07c115 100644 --- a/mgstudio-engine/examples/large_scenes/mipmap_generator/src/lib/moon.pkg +++ b/mgstudio-engine/examples/large_scenes/mipmap_generator/src/lib/moon.pkg @@ -12,6 +12,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/math/bounding_2d/moon.pkg b/mgstudio-engine/examples/math/bounding_2d/moon.pkg index d6ee5e214..bb9ae9e9f 100644 --- a/mgstudio-engine/examples/math/bounding_2d/moon.pkg +++ b/mgstudio-engine/examples/math/bounding_2d/moon.pkg @@ -20,6 +20,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/math/cubic_splines/moon.pkg b/mgstudio-engine/examples/math/cubic_splines/moon.pkg index 67e40e610..a0e4e6e51 100644 --- a/mgstudio-engine/examples/math/cubic_splines/moon.pkg +++ b/mgstudio-engine/examples/math/cubic_splines/moon.pkg @@ -20,6 +20,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/math/custom_primitives/moon.pkg b/mgstudio-engine/examples/math/custom_primitives/moon.pkg index a36e77d4e..942ebe369 100644 --- a/mgstudio-engine/examples/math/custom_primitives/moon.pkg +++ b/mgstudio-engine/examples/math/custom_primitives/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/math/random_sampling/moon.pkg b/mgstudio-engine/examples/math/random_sampling/moon.pkg index 214b06a8a..f122a4148 100644 --- a/mgstudio-engine/examples/math/random_sampling/moon.pkg +++ b/mgstudio-engine/examples/math/random_sampling/moon.pkg @@ -23,6 +23,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/math/render_primitives/moon.pkg b/mgstudio-engine/examples/math/render_primitives/moon.pkg index a36e77d4e..942ebe369 100644 --- a/mgstudio-engine/examples/math/render_primitives/moon.pkg +++ b/mgstudio-engine/examples/math/render_primitives/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/math/sampling_primitives/moon.pkg b/mgstudio-engine/examples/math/sampling_primitives/moon.pkg index 771b812d1..f2015ac36 100644 --- a/mgstudio-engine/examples/math/sampling_primitives/moon.pkg +++ b/mgstudio-engine/examples/math/sampling_primitives/moon.pkg @@ -25,6 +25,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/movement/physics_in_fixed_timestep/moon.pkg b/mgstudio-engine/examples/movement/physics_in_fixed_timestep/moon.pkg index 7d30761a8..4f3b7a523 100644 --- a/mgstudio-engine/examples/movement/physics_in_fixed_timestep/moon.pkg +++ b/mgstudio-engine/examples/movement/physics_in_fixed_timestep/moon.pkg @@ -21,6 +21,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/movement/smooth_follow/moon.pkg b/mgstudio-engine/examples/movement/smooth_follow/moon.pkg index e114fb99b..5757490a6 100644 --- a/mgstudio-engine/examples/movement/smooth_follow/moon.pkg +++ b/mgstudio-engine/examples/movement/smooth_follow/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/picking/debug_picking/moon.pkg b/mgstudio-engine/examples/picking/debug_picking/moon.pkg index e7f397077..0fcc1448d 100644 --- a/mgstudio-engine/examples/picking/debug_picking/moon.pkg +++ b/mgstudio-engine/examples/picking/debug_picking/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/picking/dragdrop_picking/moon.pkg b/mgstudio-engine/examples/picking/dragdrop_picking/moon.pkg index 42ad25292..4adc98d63 100644 --- a/mgstudio-engine/examples/picking/dragdrop_picking/moon.pkg +++ b/mgstudio-engine/examples/picking/dragdrop_picking/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/picking/mesh_picking/moon.pkg b/mgstudio-engine/examples/picking/mesh_picking/moon.pkg index 13343a6b7..5ba47cf5e 100644 --- a/mgstudio-engine/examples/picking/mesh_picking/moon.pkg +++ b/mgstudio-engine/examples/picking/mesh_picking/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/picking/simple_picking/moon.pkg b/mgstudio-engine/examples/picking/simple_picking/moon.pkg index 937ebc59b..b06697fb8 100644 --- a/mgstudio-engine/examples/picking/simple_picking/moon.pkg +++ b/mgstudio-engine/examples/picking/simple_picking/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/picking/sprite_picking/moon.pkg b/mgstudio-engine/examples/picking/sprite_picking/moon.pkg index 675a8211b..92f132446 100644 --- a/mgstudio-engine/examples/picking/sprite_picking/moon.pkg +++ b/mgstudio-engine/examples/picking/sprite_picking/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/scene/scene/moon.pkg b/mgstudio-engine/examples/scene/scene/moon.pkg index 6ef70f093..9c29c3e0c 100644 --- a/mgstudio-engine/examples/scene/scene/moon.pkg +++ b/mgstudio-engine/examples/scene/scene/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader/animate_shader/moon.pkg b/mgstudio-engine/examples/shader/animate_shader/moon.pkg index 313ba2438..b18a500ca 100644 --- a/mgstudio-engine/examples/shader/animate_shader/moon.pkg +++ b/mgstudio-engine/examples/shader/animate_shader/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader/array_texture/moon.pkg b/mgstudio-engine/examples/shader/array_texture/moon.pkg index 7839976d3..2255e0e8d 100644 --- a/mgstudio-engine/examples/shader/array_texture/moon.pkg +++ b/mgstudio-engine/examples/shader/array_texture/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader/automatic_instancing/moon.pkg b/mgstudio-engine/examples/shader/automatic_instancing/moon.pkg index 313ba2438..b18a500ca 100644 --- a/mgstudio-engine/examples/shader/automatic_instancing/moon.pkg +++ b/mgstudio-engine/examples/shader/automatic_instancing/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader/compute_shader_game_of_life/moon.pkg b/mgstudio-engine/examples/shader/compute_shader_game_of_life/moon.pkg index 313ba2438..b18a500ca 100644 --- a/mgstudio-engine/examples/shader/compute_shader_game_of_life/moon.pkg +++ b/mgstudio-engine/examples/shader/compute_shader_game_of_life/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader/extended_material/moon.pkg b/mgstudio-engine/examples/shader/extended_material/moon.pkg index 313ba2438..b18a500ca 100644 --- a/mgstudio-engine/examples/shader/extended_material/moon.pkg +++ b/mgstudio-engine/examples/shader/extended_material/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader/extended_material_bindless/moon.pkg b/mgstudio-engine/examples/shader/extended_material_bindless/moon.pkg index 0b8de0e42..af2ff953b 100644 --- a/mgstudio-engine/examples/shader/extended_material_bindless/moon.pkg +++ b/mgstudio-engine/examples/shader/extended_material_bindless/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader/fallback_image/moon.pkg b/mgstudio-engine/examples/shader/fallback_image/moon.pkg index 7839976d3..2255e0e8d 100644 --- a/mgstudio-engine/examples/shader/fallback_image/moon.pkg +++ b/mgstudio-engine/examples/shader/fallback_image/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader/gpu_readback/moon.pkg b/mgstudio-engine/examples/shader/gpu_readback/moon.pkg index 313ba2438..b18a500ca 100644 --- a/mgstudio-engine/examples/shader/gpu_readback/moon.pkg +++ b/mgstudio-engine/examples/shader/gpu_readback/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader/shader_defs/moon.pkg b/mgstudio-engine/examples/shader/shader_defs/moon.pkg index 313ba2438..b18a500ca 100644 --- a/mgstudio-engine/examples/shader/shader_defs/moon.pkg +++ b/mgstudio-engine/examples/shader/shader_defs/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader/shader_material/moon.pkg b/mgstudio-engine/examples/shader/shader_material/moon.pkg index 7839976d3..2255e0e8d 100644 --- a/mgstudio-engine/examples/shader/shader_material/moon.pkg +++ b/mgstudio-engine/examples/shader/shader_material/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader/shader_material_2d/moon.pkg b/mgstudio-engine/examples/shader/shader_material_2d/moon.pkg index 58f052e1f..cf7c3e1e5 100644 --- a/mgstudio-engine/examples/shader/shader_material_2d/moon.pkg +++ b/mgstudio-engine/examples/shader/shader_material_2d/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader/shader_material_bindless/moon.pkg b/mgstudio-engine/examples/shader/shader_material_bindless/moon.pkg index 0b8de0e42..af2ff953b 100644 --- a/mgstudio-engine/examples/shader/shader_material_bindless/moon.pkg +++ b/mgstudio-engine/examples/shader/shader_material_bindless/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader/shader_material_glsl/moon.pkg b/mgstudio-engine/examples/shader/shader_material_glsl/moon.pkg index 7839976d3..2255e0e8d 100644 --- a/mgstudio-engine/examples/shader/shader_material_glsl/moon.pkg +++ b/mgstudio-engine/examples/shader/shader_material_glsl/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader/shader_material_screenspace_texture/moon.pkg b/mgstudio-engine/examples/shader/shader_material_screenspace_texture/moon.pkg index 8df1cb1e5..17549b48f 100644 --- a/mgstudio-engine/examples/shader/shader_material_screenspace_texture/moon.pkg +++ b/mgstudio-engine/examples/shader/shader_material_screenspace_texture/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader/shader_material_wesl/moon.pkg b/mgstudio-engine/examples/shader/shader_material_wesl/moon.pkg index 7e34e7e3b..0a22983fa 100644 --- a/mgstudio-engine/examples/shader/shader_material_wesl/moon.pkg +++ b/mgstudio-engine/examples/shader/shader_material_wesl/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader/shader_prepass/moon.pkg b/mgstudio-engine/examples/shader/shader_prepass/moon.pkg index 313ba2438..b18a500ca 100644 --- a/mgstudio-engine/examples/shader/shader_prepass/moon.pkg +++ b/mgstudio-engine/examples/shader/shader_prepass/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader/storage_buffer/moon.pkg b/mgstudio-engine/examples/shader/storage_buffer/moon.pkg index 313ba2438..b18a500ca 100644 --- a/mgstudio-engine/examples/shader/storage_buffer/moon.pkg +++ b/mgstudio-engine/examples/shader/storage_buffer/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader_advanced/compute_mesh/moon.pkg b/mgstudio-engine/examples/shader_advanced/compute_mesh/moon.pkg index 313ba2438..b18a500ca 100644 --- a/mgstudio-engine/examples/shader_advanced/compute_mesh/moon.pkg +++ b/mgstudio-engine/examples/shader_advanced/compute_mesh/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader_advanced/custom_phase_item/moon.pkg b/mgstudio-engine/examples/shader_advanced/custom_phase_item/moon.pkg index 313ba2438..b18a500ca 100644 --- a/mgstudio-engine/examples/shader_advanced/custom_phase_item/moon.pkg +++ b/mgstudio-engine/examples/shader_advanced/custom_phase_item/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader_advanced/custom_post_processing/moon.pkg b/mgstudio-engine/examples/shader_advanced/custom_post_processing/moon.pkg index 0225795a6..5762af71a 100644 --- a/mgstudio-engine/examples/shader_advanced/custom_post_processing/moon.pkg +++ b/mgstudio-engine/examples/shader_advanced/custom_post_processing/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader_advanced/custom_render_phase/moon.pkg b/mgstudio-engine/examples/shader_advanced/custom_render_phase/moon.pkg index 313ba2438..b18a500ca 100644 --- a/mgstudio-engine/examples/shader_advanced/custom_render_phase/moon.pkg +++ b/mgstudio-engine/examples/shader_advanced/custom_render_phase/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader_advanced/custom_vertex_attribute/moon.pkg b/mgstudio-engine/examples/shader_advanced/custom_vertex_attribute/moon.pkg index 8df1cb1e5..17549b48f 100644 --- a/mgstudio-engine/examples/shader_advanced/custom_vertex_attribute/moon.pkg +++ b/mgstudio-engine/examples/shader_advanced/custom_vertex_attribute/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader_advanced/fullscreen_material/moon.pkg b/mgstudio-engine/examples/shader_advanced/fullscreen_material/moon.pkg index e4117ea81..41e546d48 100644 --- a/mgstudio-engine/examples/shader_advanced/fullscreen_material/moon.pkg +++ b/mgstudio-engine/examples/shader_advanced/fullscreen_material/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader_advanced/manual_material/moon.pkg b/mgstudio-engine/examples/shader_advanced/manual_material/moon.pkg index 7839976d3..2255e0e8d 100644 --- a/mgstudio-engine/examples/shader_advanced/manual_material/moon.pkg +++ b/mgstudio-engine/examples/shader_advanced/manual_material/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader_advanced/render_depth_to_texture/moon.pkg b/mgstudio-engine/examples/shader_advanced/render_depth_to_texture/moon.pkg index 85b06cca7..e506872a0 100644 --- a/mgstudio-engine/examples/shader_advanced/render_depth_to_texture/moon.pkg +++ b/mgstudio-engine/examples/shader_advanced/render_depth_to_texture/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader_advanced/specialized_mesh_pipeline/moon.pkg b/mgstudio-engine/examples/shader_advanced/specialized_mesh_pipeline/moon.pkg index 8df1cb1e5..17549b48f 100644 --- a/mgstudio-engine/examples/shader_advanced/specialized_mesh_pipeline/moon.pkg +++ b/mgstudio-engine/examples/shader_advanced/specialized_mesh_pipeline/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/shader_advanced/texture_binding_array/moon.pkg b/mgstudio-engine/examples/shader_advanced/texture_binding_array/moon.pkg index 0b8de0e42..af2ff953b 100644 --- a/mgstudio-engine/examples/shader_advanced/texture_binding_array/moon.pkg +++ b/mgstudio-engine/examples/shader_advanced/texture_binding_array/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/state/computed_states/moon.pkg b/mgstudio-engine/examples/state/computed_states/moon.pkg index 93b06bc58..e32b0fd6c 100644 --- a/mgstudio-engine/examples/state/computed_states/moon.pkg +++ b/mgstudio-engine/examples/state/computed_states/moon.pkg @@ -20,6 +20,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/state/custom_transitions/moon.pkg b/mgstudio-engine/examples/state/custom_transitions/moon.pkg index a3ed978ec..99fba80fa 100644 --- a/mgstudio-engine/examples/state/custom_transitions/moon.pkg +++ b/mgstudio-engine/examples/state/custom_transitions/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/state/states/moon.pkg b/mgstudio-engine/examples/state/states/moon.pkg index a3ed978ec..99fba80fa 100644 --- a/mgstudio-engine/examples/state/states/moon.pkg +++ b/mgstudio-engine/examples/state/states/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/state/sub_states/moon.pkg b/mgstudio-engine/examples/state/sub_states/moon.pkg index 93b06bc58..e32b0fd6c 100644 --- a/mgstudio-engine/examples/state/sub_states/moon.pkg +++ b/mgstudio-engine/examples/state/sub_states/moon.pkg @@ -20,6 +20,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/stress_tests/bevymark/moon.pkg b/mgstudio-engine/examples/stress_tests/bevymark/moon.pkg index ff4a1f311..7ce22fdc5 100644 --- a/mgstudio-engine/examples/stress_tests/bevymark/moon.pkg +++ b/mgstudio-engine/examples/stress_tests/bevymark/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/stress_tests/bevymark_3d/moon.pkg b/mgstudio-engine/examples/stress_tests/bevymark_3d/moon.pkg index 2939829e1..41b815b20 100644 --- a/mgstudio-engine/examples/stress_tests/bevymark_3d/moon.pkg +++ b/mgstudio-engine/examples/stress_tests/bevymark_3d/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/stress_tests/many_animated_sprite_meshes/moon.pkg b/mgstudio-engine/examples/stress_tests/many_animated_sprite_meshes/moon.pkg index c6f1f1269..4a49fa70d 100644 --- a/mgstudio-engine/examples/stress_tests/many_animated_sprite_meshes/moon.pkg +++ b/mgstudio-engine/examples/stress_tests/many_animated_sprite_meshes/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/stress_tests/many_animated_sprites/moon.pkg b/mgstudio-engine/examples/stress_tests/many_animated_sprites/moon.pkg index b036f2cf1..190b86d99 100644 --- a/mgstudio-engine/examples/stress_tests/many_animated_sprites/moon.pkg +++ b/mgstudio-engine/examples/stress_tests/many_animated_sprites/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/stress_tests/many_buttons/moon.pkg b/mgstudio-engine/examples/stress_tests/many_buttons/moon.pkg index 1a611bf61..6a3c93dcd 100644 --- a/mgstudio-engine/examples/stress_tests/many_buttons/moon.pkg +++ b/mgstudio-engine/examples/stress_tests/many_buttons/moon.pkg @@ -12,6 +12,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/stress_tests/many_cameras_lights/moon.pkg b/mgstudio-engine/examples/stress_tests/many_cameras_lights/moon.pkg index 433d047d0..547a11b73 100644 --- a/mgstudio-engine/examples/stress_tests/many_cameras_lights/moon.pkg +++ b/mgstudio-engine/examples/stress_tests/many_cameras_lights/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/stress_tests/many_components/moon.pkg b/mgstudio-engine/examples/stress_tests/many_components/moon.pkg index 210e14b4f..7332d7ced 100644 --- a/mgstudio-engine/examples/stress_tests/many_components/moon.pkg +++ b/mgstudio-engine/examples/stress_tests/many_components/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/stress_tests/many_cubes/moon.pkg b/mgstudio-engine/examples/stress_tests/many_cubes/moon.pkg index a20582692..be503c5bc 100644 --- a/mgstudio-engine/examples/stress_tests/many_cubes/moon.pkg +++ b/mgstudio-engine/examples/stress_tests/many_cubes/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/stress_tests/many_foxes/moon.pkg b/mgstudio-engine/examples/stress_tests/many_foxes/moon.pkg index a5396ce91..b8e94829e 100644 --- a/mgstudio-engine/examples/stress_tests/many_foxes/moon.pkg +++ b/mgstudio-engine/examples/stress_tests/many_foxes/moon.pkg @@ -28,6 +28,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/stress_tests/many_gizmos/moon.pkg b/mgstudio-engine/examples/stress_tests/many_gizmos/moon.pkg index 0e9062660..37b332d05 100644 --- a/mgstudio-engine/examples/stress_tests/many_gizmos/moon.pkg +++ b/mgstudio-engine/examples/stress_tests/many_gizmos/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/stress_tests/many_glyphs/moon.pkg b/mgstudio-engine/examples/stress_tests/many_glyphs/moon.pkg index 6d61c7c88..03e45427d 100644 --- a/mgstudio-engine/examples/stress_tests/many_glyphs/moon.pkg +++ b/mgstudio-engine/examples/stress_tests/many_glyphs/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/stress_tests/many_gradients/moon.pkg b/mgstudio-engine/examples/stress_tests/many_gradients/moon.pkg index 1f50e861a..257b04a7e 100644 --- a/mgstudio-engine/examples/stress_tests/many_gradients/moon.pkg +++ b/mgstudio-engine/examples/stress_tests/many_gradients/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/stress_tests/many_lights/moon.pkg b/mgstudio-engine/examples/stress_tests/many_lights/moon.pkg index a20582692..be503c5bc 100644 --- a/mgstudio-engine/examples/stress_tests/many_lights/moon.pkg +++ b/mgstudio-engine/examples/stress_tests/many_lights/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/stress_tests/many_materials/moon.pkg b/mgstudio-engine/examples/stress_tests/many_materials/moon.pkg index a20582692..be503c5bc 100644 --- a/mgstudio-engine/examples/stress_tests/many_materials/moon.pkg +++ b/mgstudio-engine/examples/stress_tests/many_materials/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/stress_tests/many_sprite_meshes/moon.pkg b/mgstudio-engine/examples/stress_tests/many_sprite_meshes/moon.pkg index c6f1f1269..4a49fa70d 100644 --- a/mgstudio-engine/examples/stress_tests/many_sprite_meshes/moon.pkg +++ b/mgstudio-engine/examples/stress_tests/many_sprite_meshes/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/stress_tests/many_sprites/moon.pkg b/mgstudio-engine/examples/stress_tests/many_sprites/moon.pkg index c755de293..9533a876a 100644 --- a/mgstudio-engine/examples/stress_tests/many_sprites/moon.pkg +++ b/mgstudio-engine/examples/stress_tests/many_sprites/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/stress_tests/many_text2d/moon.pkg b/mgstudio-engine/examples/stress_tests/many_text2d/moon.pkg index 0cd6831bc..a72e1be26 100644 --- a/mgstudio-engine/examples/stress_tests/many_text2d/moon.pkg +++ b/mgstudio-engine/examples/stress_tests/many_text2d/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/stress_tests/text_pipeline/moon.pkg b/mgstudio-engine/examples/stress_tests/text_pipeline/moon.pkg index 49b5da51b..902aafb2b 100644 --- a/mgstudio-engine/examples/stress_tests/text_pipeline/moon.pkg +++ b/mgstudio-engine/examples/stress_tests/text_pipeline/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/stress_tests/transform_hierarchy/moon.pkg b/mgstudio-engine/examples/stress_tests/transform_hierarchy/moon.pkg index f9a8756dc..39f66e833 100644 --- a/mgstudio-engine/examples/stress_tests/transform_hierarchy/moon.pkg +++ b/mgstudio-engine/examples/stress_tests/transform_hierarchy/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/testbed/2d/moon.pkg b/mgstudio-engine/examples/testbed/2d/moon.pkg index c755de293..9533a876a 100644 --- a/mgstudio-engine/examples/testbed/2d/moon.pkg +++ b/mgstudio-engine/examples/testbed/2d/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/testbed/3d/moon.pkg b/mgstudio-engine/examples/testbed/3d/moon.pkg index a20582692..be503c5bc 100644 --- a/mgstudio-engine/examples/testbed/3d/moon.pkg +++ b/mgstudio-engine/examples/testbed/3d/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/testbed/full_ui/moon.pkg b/mgstudio-engine/examples/testbed/full_ui/moon.pkg index 9442a011b..3e2249c19 100644 --- a/mgstudio-engine/examples/testbed/full_ui/moon.pkg +++ b/mgstudio-engine/examples/testbed/full_ui/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/testbed/helpers/moon.pkg b/mgstudio-engine/examples/testbed/helpers/moon.pkg index c755de293..9533a876a 100644 --- a/mgstudio-engine/examples/testbed/helpers/moon.pkg +++ b/mgstudio-engine/examples/testbed/helpers/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/testbed/ui/moon.pkg b/mgstudio-engine/examples/testbed/ui/moon.pkg index 09a9323d8..00cd7501d 100644 --- a/mgstudio-engine/examples/testbed/ui/moon.pkg +++ b/mgstudio-engine/examples/testbed/ui/moon.pkg @@ -12,6 +12,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/time/time/moon.pkg b/mgstudio-engine/examples/time/time/moon.pkg index d4ee5182d..3192b02d1 100644 --- a/mgstudio-engine/examples/time/time/moon.pkg +++ b/mgstudio-engine/examples/time/time/moon.pkg @@ -8,6 +8,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/time/timers/moon.pkg b/mgstudio-engine/examples/time/timers/moon.pkg index 491bb4915..57fe19629 100644 --- a/mgstudio-engine/examples/time/timers/moon.pkg +++ b/mgstudio-engine/examples/time/timers/moon.pkg @@ -7,6 +7,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/time/virtual_time/moon.pkg b/mgstudio-engine/examples/time/virtual_time/moon.pkg index 5398a804b..078da7e4f 100644 --- a/mgstudio-engine/examples/time/virtual_time/moon.pkg +++ b/mgstudio-engine/examples/time/virtual_time/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/tools/gamepad_viewer/moon.pkg b/mgstudio-engine/examples/tools/gamepad_viewer/moon.pkg index efd5583b5..e54592db7 100644 --- a/mgstudio-engine/examples/tools/gamepad_viewer/moon.pkg +++ b/mgstudio-engine/examples/tools/gamepad_viewer/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/tools/scene_viewer/animation_plugin/moon.pkg b/mgstudio-engine/examples/tools/scene_viewer/animation_plugin/moon.pkg index e5c908b51..48f662778 100644 --- a/mgstudio-engine/examples/tools/scene_viewer/animation_plugin/moon.pkg +++ b/mgstudio-engine/examples/tools/scene_viewer/animation_plugin/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/tools/scene_viewer/main/moon.pkg b/mgstudio-engine/examples/tools/scene_viewer/main/moon.pkg index acee86afe..67c3b66d0 100644 --- a/mgstudio-engine/examples/tools/scene_viewer/main/moon.pkg +++ b/mgstudio-engine/examples/tools/scene_viewer/main/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/tools/scene_viewer/morph_viewer_plugin/moon.pkg b/mgstudio-engine/examples/tools/scene_viewer/morph_viewer_plugin/moon.pkg index 7d28ac7d3..0f21b8a11 100644 --- a/mgstudio-engine/examples/tools/scene_viewer/morph_viewer_plugin/moon.pkg +++ b/mgstudio-engine/examples/tools/scene_viewer/morph_viewer_plugin/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/tools/scene_viewer/scene_viewer_plugin/moon.pkg b/mgstudio-engine/examples/tools/scene_viewer/scene_viewer_plugin/moon.pkg index f61a7d619..1e7b54463 100644 --- a/mgstudio-engine/examples/tools/scene_viewer/scene_viewer_plugin/moon.pkg +++ b/mgstudio-engine/examples/tools/scene_viewer/scene_viewer_plugin/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/transforms/3d_rotation/moon.pkg b/mgstudio-engine/examples/transforms/3d_rotation/moon.pkg index d14b15343..8102fb256 100644 --- a/mgstudio-engine/examples/transforms/3d_rotation/moon.pkg +++ b/mgstudio-engine/examples/transforms/3d_rotation/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/transforms/align/moon.pkg b/mgstudio-engine/examples/transforms/align/moon.pkg index 527dbd977..bdaf5d35c 100644 --- a/mgstudio-engine/examples/transforms/align/moon.pkg +++ b/mgstudio-engine/examples/transforms/align/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/transforms/scale/moon.pkg b/mgstudio-engine/examples/transforms/scale/moon.pkg index d14b15343..8102fb256 100644 --- a/mgstudio-engine/examples/transforms/scale/moon.pkg +++ b/mgstudio-engine/examples/transforms/scale/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/transforms/transform/moon.pkg b/mgstudio-engine/examples/transforms/transform/moon.pkg index 2256557ba..5814e1fbd 100644 --- a/mgstudio-engine/examples/transforms/transform/moon.pkg +++ b/mgstudio-engine/examples/transforms/transform/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/transforms/translation/moon.pkg b/mgstudio-engine/examples/transforms/translation/moon.pkg index d14b15343..8102fb256 100644 --- a/mgstudio-engine/examples/transforms/translation/moon.pkg +++ b/mgstudio-engine/examples/transforms/translation/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/images/image_node/moon.pkg b/mgstudio-engine/examples/ui/images/image_node/moon.pkg index ef71feeed..173b5eb13 100644 --- a/mgstudio-engine/examples/ui/images/image_node/moon.pkg +++ b/mgstudio-engine/examples/ui/images/image_node/moon.pkg @@ -11,6 +11,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/images/image_node_resizing/moon.pkg b/mgstudio-engine/examples/ui/images/image_node_resizing/moon.pkg index dea231dac..1c9b27ea3 100644 --- a/mgstudio-engine/examples/ui/images/image_node_resizing/moon.pkg +++ b/mgstudio-engine/examples/ui/images/image_node_resizing/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/images/ui_texture_atlas/moon.pkg b/mgstudio-engine/examples/ui/images/ui_texture_atlas/moon.pkg index 338d174a4..e8e159b9a 100644 --- a/mgstudio-engine/examples/ui/images/ui_texture_atlas/moon.pkg +++ b/mgstudio-engine/examples/ui/images/ui_texture_atlas/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/images/ui_texture_atlas_slice/moon.pkg b/mgstudio-engine/examples/ui/images/ui_texture_atlas_slice/moon.pkg index dd82cb003..01199a96d 100644 --- a/mgstudio-engine/examples/ui/images/ui_texture_atlas_slice/moon.pkg +++ b/mgstudio-engine/examples/ui/images/ui_texture_atlas_slice/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/images/ui_texture_slice/moon.pkg b/mgstudio-engine/examples/ui/images/ui_texture_slice/moon.pkg index 7b5c929e6..c7c67d53e 100644 --- a/mgstudio-engine/examples/ui/images/ui_texture_slice/moon.pkg +++ b/mgstudio-engine/examples/ui/images/ui_texture_slice/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/images/ui_texture_slice_flip_and_tile/moon.pkg b/mgstudio-engine/examples/ui/images/ui_texture_slice_flip_and_tile/moon.pkg index ef71feeed..173b5eb13 100644 --- a/mgstudio-engine/examples/ui/images/ui_texture_slice_flip_and_tile/moon.pkg +++ b/mgstudio-engine/examples/ui/images/ui_texture_slice_flip_and_tile/moon.pkg @@ -11,6 +11,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/layout/anchor_layout/moon.pkg b/mgstudio-engine/examples/ui/layout/anchor_layout/moon.pkg index 9a0213fb7..abf47298a 100644 --- a/mgstudio-engine/examples/ui/layout/anchor_layout/moon.pkg +++ b/mgstudio-engine/examples/ui/layout/anchor_layout/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/layout/display_and_visibility/moon.pkg b/mgstudio-engine/examples/ui/layout/display_and_visibility/moon.pkg index 7206fad69..a02823ab2 100644 --- a/mgstudio-engine/examples/ui/layout/display_and_visibility/moon.pkg +++ b/mgstudio-engine/examples/ui/layout/display_and_visibility/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/layout/flex_layout/moon.pkg b/mgstudio-engine/examples/ui/layout/flex_layout/moon.pkg index 94f5eb404..9c6b3808e 100644 --- a/mgstudio-engine/examples/ui/layout/flex_layout/moon.pkg +++ b/mgstudio-engine/examples/ui/layout/flex_layout/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/layout/ghost_nodes/moon.pkg b/mgstudio-engine/examples/ui/layout/ghost_nodes/moon.pkg index 67a6491b5..a0f39eb97 100644 --- a/mgstudio-engine/examples/ui/layout/ghost_nodes/moon.pkg +++ b/mgstudio-engine/examples/ui/layout/ghost_nodes/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/layout/grid/moon.pkg b/mgstudio-engine/examples/ui/layout/grid/moon.pkg index 94f5eb404..9c6b3808e 100644 --- a/mgstudio-engine/examples/ui/layout/grid/moon.pkg +++ b/mgstudio-engine/examples/ui/layout/grid/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/layout/size_constraints/moon.pkg b/mgstudio-engine/examples/ui/layout/size_constraints/moon.pkg index bab520fe0..7fbe3222c 100644 --- a/mgstudio-engine/examples/ui/layout/size_constraints/moon.pkg +++ b/mgstudio-engine/examples/ui/layout/size_constraints/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/layout/z_index/moon.pkg b/mgstudio-engine/examples/ui/layout/z_index/moon.pkg index f2a00659e..94b956bdb 100644 --- a/mgstudio-engine/examples/ui/layout/z_index/moon.pkg +++ b/mgstudio-engine/examples/ui/layout/z_index/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/navigation/directional_navigation/moon.pkg b/mgstudio-engine/examples/ui/navigation/directional_navigation/moon.pkg index eb6271d30..d268fb949 100644 --- a/mgstudio-engine/examples/ui/navigation/directional_navigation/moon.pkg +++ b/mgstudio-engine/examples/ui/navigation/directional_navigation/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/navigation/directional_navigation_overrides/moon.pkg b/mgstudio-engine/examples/ui/navigation/directional_navigation_overrides/moon.pkg index eb6271d30..d268fb949 100644 --- a/mgstudio-engine/examples/ui/navigation/directional_navigation_overrides/moon.pkg +++ b/mgstudio-engine/examples/ui/navigation/directional_navigation_overrides/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/relative_cursor_position/moon.pkg b/mgstudio-engine/examples/ui/relative_cursor_position/moon.pkg index 9a86ab9a3..2dc4c5c7a 100644 --- a/mgstudio-engine/examples/ui/relative_cursor_position/moon.pkg +++ b/mgstudio-engine/examples/ui/relative_cursor_position/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/render_ui_to_texture/moon.pkg b/mgstudio-engine/examples/ui/render_ui_to_texture/moon.pkg index f56af15c4..c8c98250e 100644 --- a/mgstudio-engine/examples/ui/render_ui_to_texture/moon.pkg +++ b/mgstudio-engine/examples/ui/render_ui_to_texture/moon.pkg @@ -25,6 +25,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/scroll_and_overflow/drag_to_scroll/moon.pkg b/mgstudio-engine/examples/ui/scroll_and_overflow/drag_to_scroll/moon.pkg index 4310c6627..a8116de5e 100644 --- a/mgstudio-engine/examples/ui/scroll_and_overflow/drag_to_scroll/moon.pkg +++ b/mgstudio-engine/examples/ui/scroll_and_overflow/drag_to_scroll/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/scroll_and_overflow/overflow/moon.pkg b/mgstudio-engine/examples/ui/scroll_and_overflow/overflow/moon.pkg index 7123d598a..0db30b0fd 100644 --- a/mgstudio-engine/examples/ui/scroll_and_overflow/overflow/moon.pkg +++ b/mgstudio-engine/examples/ui/scroll_and_overflow/overflow/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/scroll_and_overflow/overflow_clip_margin/moon.pkg b/mgstudio-engine/examples/ui/scroll_and_overflow/overflow_clip_margin/moon.pkg index 94f5eb404..9c6b3808e 100644 --- a/mgstudio-engine/examples/ui/scroll_and_overflow/overflow_clip_margin/moon.pkg +++ b/mgstudio-engine/examples/ui/scroll_and_overflow/overflow_clip_margin/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/scroll_and_overflow/overflow_debug/moon.pkg b/mgstudio-engine/examples/ui/scroll_and_overflow/overflow_debug/moon.pkg index 28ba504af..c28006a96 100644 --- a/mgstudio-engine/examples/ui/scroll_and_overflow/overflow_debug/moon.pkg +++ b/mgstudio-engine/examples/ui/scroll_and_overflow/overflow_debug/moon.pkg @@ -20,6 +20,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/scroll_and_overflow/scroll/moon.pkg b/mgstudio-engine/examples/ui/scroll_and_overflow/scroll/moon.pkg index 9a0213fb7..abf47298a 100644 --- a/mgstudio-engine/examples/ui/scroll_and_overflow/scroll/moon.pkg +++ b/mgstudio-engine/examples/ui/scroll_and_overflow/scroll/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/scroll_and_overflow/scrollbars/moon.pkg b/mgstudio-engine/examples/ui/scroll_and_overflow/scrollbars/moon.pkg index 7b5c929e6..c7c67d53e 100644 --- a/mgstudio-engine/examples/ui/scroll_and_overflow/scrollbars/moon.pkg +++ b/mgstudio-engine/examples/ui/scroll_and_overflow/scrollbars/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/styling/borders/moon.pkg b/mgstudio-engine/examples/ui/styling/borders/moon.pkg index 94f5eb404..9c6b3808e 100644 --- a/mgstudio-engine/examples/ui/styling/borders/moon.pkg +++ b/mgstudio-engine/examples/ui/styling/borders/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/styling/box_shadow/moon.pkg b/mgstudio-engine/examples/ui/styling/box_shadow/moon.pkg index bab520fe0..7fbe3222c 100644 --- a/mgstudio-engine/examples/ui/styling/box_shadow/moon.pkg +++ b/mgstudio-engine/examples/ui/styling/box_shadow/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/styling/gradients/moon.pkg b/mgstudio-engine/examples/ui/styling/gradients/moon.pkg index 3d8bd14dd..7ea04ecce 100644 --- a/mgstudio-engine/examples/ui/styling/gradients/moon.pkg +++ b/mgstudio-engine/examples/ui/styling/gradients/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/styling/stacked_gradients/moon.pkg b/mgstudio-engine/examples/ui/styling/stacked_gradients/moon.pkg index 3d8bd14dd..7ea04ecce 100644 --- a/mgstudio-engine/examples/ui/styling/stacked_gradients/moon.pkg +++ b/mgstudio-engine/examples/ui/styling/stacked_gradients/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/styling/transparency_ui/moon.pkg b/mgstudio-engine/examples/ui/styling/transparency_ui/moon.pkg index 73a3db588..da2c97fc0 100644 --- a/mgstudio-engine/examples/ui/styling/transparency_ui/moon.pkg +++ b/mgstudio-engine/examples/ui/styling/transparency_ui/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/text/font_atlas_debug/moon.pkg b/mgstudio-engine/examples/ui/text/font_atlas_debug/moon.pkg index 3fd01fb8b..265bfb404 100644 --- a/mgstudio-engine/examples/ui/text/font_atlas_debug/moon.pkg +++ b/mgstudio-engine/examples/ui/text/font_atlas_debug/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/text/font_query/moon.pkg b/mgstudio-engine/examples/ui/text/font_query/moon.pkg index cc79cabec..5ef15bdd7 100644 --- a/mgstudio-engine/examples/ui/text/font_query/moon.pkg +++ b/mgstudio-engine/examples/ui/text/font_query/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/text/font_weights/moon.pkg b/mgstudio-engine/examples/ui/text/font_weights/moon.pkg index 065411562..eed8ff04a 100644 --- a/mgstudio-engine/examples/ui/text/font_weights/moon.pkg +++ b/mgstudio-engine/examples/ui/text/font_weights/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/text/generic_font_families/moon.pkg b/mgstudio-engine/examples/ui/text/generic_font_families/moon.pkg index 364e2c27f..89552858a 100644 --- a/mgstudio-engine/examples/ui/text/generic_font_families/moon.pkg +++ b/mgstudio-engine/examples/ui/text/generic_font_families/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/text/strikethrough_and_underline/moon.pkg b/mgstudio-engine/examples/ui/text/strikethrough_and_underline/moon.pkg index 7b5c929e6..c7c67d53e 100644 --- a/mgstudio-engine/examples/ui/text/strikethrough_and_underline/moon.pkg +++ b/mgstudio-engine/examples/ui/text/strikethrough_and_underline/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/text/system_fonts/moon.pkg b/mgstudio-engine/examples/ui/text/system_fonts/moon.pkg index 870c2fb25..0cdb99301 100644 --- a/mgstudio-engine/examples/ui/text/system_fonts/moon.pkg +++ b/mgstudio-engine/examples/ui/text/system_fonts/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/text/text/moon.pkg b/mgstudio-engine/examples/ui/text/text/moon.pkg index 3965ac604..4ae37a17c 100644 --- a/mgstudio-engine/examples/ui/text/text/moon.pkg +++ b/mgstudio-engine/examples/ui/text/text/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/text/text_background_colors/moon.pkg b/mgstudio-engine/examples/ui/text/text_background_colors/moon.pkg index a27b7b4f7..1a3883f63 100644 --- a/mgstudio-engine/examples/ui/text/text_background_colors/moon.pkg +++ b/mgstudio-engine/examples/ui/text/text_background_colors/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/text/text_debug/moon.pkg b/mgstudio-engine/examples/ui/text/text_debug/moon.pkg index de492da28..67f28a5e7 100644 --- a/mgstudio-engine/examples/ui/text/text_debug/moon.pkg +++ b/mgstudio-engine/examples/ui/text/text_debug/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/text/text_wrap_debug/moon.pkg b/mgstudio-engine/examples/ui/text/text_wrap_debug/moon.pkg index 94f5eb404..9c6b3808e 100644 --- a/mgstudio-engine/examples/ui/text/text_wrap_debug/moon.pkg +++ b/mgstudio-engine/examples/ui/text/text_wrap_debug/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/ui_drag_and_drop/moon.pkg b/mgstudio-engine/examples/ui/ui_drag_and_drop/moon.pkg index 0c6d9427b..3c90ac99f 100644 --- a/mgstudio-engine/examples/ui/ui_drag_and_drop/moon.pkg +++ b/mgstudio-engine/examples/ui/ui_drag_and_drop/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/ui_material/moon.pkg b/mgstudio-engine/examples/ui/ui_material/moon.pkg index 0bf3ec42d..5ffb1aede 100644 --- a/mgstudio-engine/examples/ui/ui_material/moon.pkg +++ b/mgstudio-engine/examples/ui/ui_material/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/ui_scaling/moon.pkg b/mgstudio-engine/examples/ui/ui_scaling/moon.pkg index c61330fcc..f89a39908 100644 --- a/mgstudio-engine/examples/ui/ui_scaling/moon.pkg +++ b/mgstudio-engine/examples/ui/ui_scaling/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/ui_target_camera/moon.pkg b/mgstudio-engine/examples/ui/ui_target_camera/moon.pkg index c878e7260..39d013041 100644 --- a/mgstudio-engine/examples/ui/ui_target_camera/moon.pkg +++ b/mgstudio-engine/examples/ui/ui_target_camera/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/ui_transform/moon.pkg b/mgstudio-engine/examples/ui/ui_transform/moon.pkg index 8358de01d..fc7428e7c 100644 --- a/mgstudio-engine/examples/ui/ui_transform/moon.pkg +++ b/mgstudio-engine/examples/ui/ui_transform/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/widgets/button/moon.pkg b/mgstudio-engine/examples/ui/widgets/button/moon.pkg index 161ae517c..c9a8c2259 100644 --- a/mgstudio-engine/examples/ui/widgets/button/moon.pkg +++ b/mgstudio-engine/examples/ui/widgets/button/moon.pkg @@ -23,6 +23,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/widgets/feathers/moon.pkg b/mgstudio-engine/examples/ui/widgets/feathers/moon.pkg index 7b5c929e6..c7c67d53e 100644 --- a/mgstudio-engine/examples/ui/widgets/feathers/moon.pkg +++ b/mgstudio-engine/examples/ui/widgets/feathers/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/widgets/standard_widgets/moon.pkg b/mgstudio-engine/examples/ui/widgets/standard_widgets/moon.pkg index 7bdb2fdea..dca6a61a9 100644 --- a/mgstudio-engine/examples/ui/widgets/standard_widgets/moon.pkg +++ b/mgstudio-engine/examples/ui/widgets/standard_widgets/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/widgets/standard_widgets_observers/moon.pkg b/mgstudio-engine/examples/ui/widgets/standard_widgets_observers/moon.pkg index 7b5c929e6..c7c67d53e 100644 --- a/mgstudio-engine/examples/ui/widgets/standard_widgets_observers/moon.pkg +++ b/mgstudio-engine/examples/ui/widgets/standard_widgets_observers/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/widgets/tab_navigation/moon.pkg b/mgstudio-engine/examples/ui/widgets/tab_navigation/moon.pkg index a7959f4d4..30fafd902 100644 --- a/mgstudio-engine/examples/ui/widgets/tab_navigation/moon.pkg +++ b/mgstudio-engine/examples/ui/widgets/tab_navigation/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/widgets/vertical_slider/moon.pkg b/mgstudio-engine/examples/ui/widgets/vertical_slider/moon.pkg index 8cac50f91..64e8a1388 100644 --- a/mgstudio-engine/examples/ui/widgets/vertical_slider/moon.pkg +++ b/mgstudio-engine/examples/ui/widgets/vertical_slider/moon.pkg @@ -16,6 +16,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/widgets/viewport_node/moon.pkg b/mgstudio-engine/examples/ui/widgets/viewport_node/moon.pkg index f54b6a9a8..1d3be7a4e 100644 --- a/mgstudio-engine/examples/ui/widgets/viewport_node/moon.pkg +++ b/mgstudio-engine/examples/ui/widgets/viewport_node/moon.pkg @@ -18,6 +18,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/widgets/virtual_keyboard/moon.pkg b/mgstudio-engine/examples/ui/widgets/virtual_keyboard/moon.pkg index 9a0213fb7..abf47298a 100644 --- a/mgstudio-engine/examples/ui/widgets/virtual_keyboard/moon.pkg +++ b/mgstudio-engine/examples/ui/widgets/virtual_keyboard/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/ui/window_fallthrough/moon.pkg b/mgstudio-engine/examples/ui/window_fallthrough/moon.pkg index ca77b7529..739645c38 100644 --- a/mgstudio-engine/examples/ui/window_fallthrough/moon.pkg +++ b/mgstudio-engine/examples/ui/window_fallthrough/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/usage/context_menu/moon.pkg b/mgstudio-engine/examples/usage/context_menu/moon.pkg index c9af1785d..07e1210aa 100644 --- a/mgstudio-engine/examples/usage/context_menu/moon.pkg +++ b/mgstudio-engine/examples/usage/context_menu/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/usage/cooldown/moon.pkg b/mgstudio-engine/examples/usage/cooldown/moon.pkg index 83b2f81f3..44886c594 100644 --- a/mgstudio-engine/examples/usage/cooldown/moon.pkg +++ b/mgstudio-engine/examples/usage/cooldown/moon.pkg @@ -15,6 +15,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/window/clear_color/moon.pkg b/mgstudio-engine/examples/window/clear_color/moon.pkg index e90dbbd7a..9ec071092 100644 --- a/mgstudio-engine/examples/window/clear_color/moon.pkg +++ b/mgstudio-engine/examples/window/clear_color/moon.pkg @@ -13,6 +13,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/window/custom_cursor_image/moon.pkg b/mgstudio-engine/examples/window/custom_cursor_image/moon.pkg index 332c429d6..820574ef5 100644 --- a/mgstudio-engine/examples/window/custom_cursor_image/moon.pkg +++ b/mgstudio-engine/examples/window/custom_cursor_image/moon.pkg @@ -12,6 +12,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/window/low_power/moon.pkg b/mgstudio-engine/examples/window/low_power/moon.pkg index 488c0bb49..fe61f93de 100644 --- a/mgstudio-engine/examples/window/low_power/moon.pkg +++ b/mgstudio-engine/examples/window/low_power/moon.pkg @@ -9,6 +9,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/window/monitor_info/moon.pkg b/mgstudio-engine/examples/window/monitor_info/moon.pkg index 55c30c05a..973d6e79c 100644 --- a/mgstudio-engine/examples/window/monitor_info/moon.pkg +++ b/mgstudio-engine/examples/window/monitor_info/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/window/multi_window_text/moon.pkg b/mgstudio-engine/examples/window/multi_window_text/moon.pkg index 501b0dad5..9e75e1323 100644 --- a/mgstudio-engine/examples/window/multi_window_text/moon.pkg +++ b/mgstudio-engine/examples/window/multi_window_text/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/window/multiple_windows/moon.pkg b/mgstudio-engine/examples/window/multiple_windows/moon.pkg index 17361e61d..5c47559c9 100644 --- a/mgstudio-engine/examples/window/multiple_windows/moon.pkg +++ b/mgstudio-engine/examples/window/multiple_windows/moon.pkg @@ -20,6 +20,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/window/scale_factor_override/moon.pkg b/mgstudio-engine/examples/window/scale_factor_override/moon.pkg index 5477c59c8..6e9c09253 100644 --- a/mgstudio-engine/examples/window/scale_factor_override/moon.pkg +++ b/mgstudio-engine/examples/window/scale_factor_override/moon.pkg @@ -17,6 +17,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/window/screenshot/moon.pkg b/mgstudio-engine/examples/window/screenshot/moon.pkg index cc471b03b..547285b0b 100644 --- a/mgstudio-engine/examples/window/screenshot/moon.pkg +++ b/mgstudio-engine/examples/window/screenshot/moon.pkg @@ -22,6 +22,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/window/transparent_window/moon.pkg b/mgstudio-engine/examples/window/transparent_window/moon.pkg index 21c885759..a5cda579f 100644 --- a/mgstudio-engine/examples/window/transparent_window/moon.pkg +++ b/mgstudio-engine/examples/window/transparent_window/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/window/window_drag_move/moon.pkg b/mgstudio-engine/examples/window/window_drag_move/moon.pkg index e4be68a5f..35c519cf8 100644 --- a/mgstudio-engine/examples/window/window_drag_move/moon.pkg +++ b/mgstudio-engine/examples/window/window_drag_move/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/window/window_resizing/moon.pkg b/mgstudio-engine/examples/window/window_resizing/moon.pkg index ca2bebd57..d275a3e85 100644 --- a/mgstudio-engine/examples/window/window_resizing/moon.pkg +++ b/mgstudio-engine/examples/window/window_resizing/moon.pkg @@ -19,6 +19,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/examples/window/window_settings/moon.pkg b/mgstudio-engine/examples/window/window_settings/moon.pkg index a561521c1..f591ae96b 100644 --- a/mgstudio-engine/examples/window/window_settings/moon.pkg +++ b/mgstudio-engine/examples/window/window_settings/moon.pkg @@ -14,6 +14,4 @@ import { supported_targets = "native" -options( - "is-main": true, -) +pkgtype(kind: "executable") diff --git a/mgstudio-engine/pbr/pkg.generated.mbti b/mgstudio-engine/pbr/pkg.generated.mbti index a23d85216..9f0127828 100644 --- a/mgstudio-engine/pbr/pkg.generated.mbti +++ b/mgstudio-engine/pbr/pkg.generated.mbti @@ -190,6 +190,8 @@ pub fn[S : IntoPbrMeshAsset] add_mesh(@asset.Assets[@Milky2018/mgstudio/mesh.Mes pub fn[BD] collect_meshes_for_gpu_building(RenderMeshInstances, @batching.BatchedInstanceBuffers[BD, MeshInputUniform], MeshCullingDataBuffer, RenderMeshInstanceGpuQueues, RenderGpuCulledEntities, @Milky2018/mgstudio/render/mesh.MeshAllocator, RenderMaterialInstances, RenderMaterialBindings, @lightmap.RenderLightmaps, @Milky2018/mgstudio/pbr/render.SkinUniforms, @Milky2018/mgstudio/pbr/render.MorphIndices, UInt, MeshesToReextractNextFrame) -> Unit +pub fn collect_wireframe_3d_phase_buffers_system(@ecs.World) -> Unit + pub fn configure_pbr_render_app_build_flow(@app.SubApp[@ecs.World]) -> @app.SubApp[@ecs.World] pub fn configure_pbr_render_light_view_observers(@app.SubApp[@ecs.World]) -> @app.SubApp[@ecs.World] @@ -742,6 +744,8 @@ pub fn prepare_clusters_for_gpu_clustering(@ecs.World) -> Unit pub fn prepare_lights(@ecs.World) -> Unit +pub fn prepare_wireframe_3d_phase_buffers_system(@ecs.World) -> Unit + pub fn prepare_wireframe_wide_bind_groups(RenderMeshInstances, @Milky2018/mgstudio/render/mesh.RenderMeshAssets, RenderWireframeInstances, RenderWireframeAssets, @Milky2018/mgstudio/render/mesh.MeshAllocator, WireframeWideBindGroups) -> Unit pub fn[M : Material] prepared_material_assets_or_empty(@ecs.World, @asset.Handle[M]) -> @Milky2018/mgstudio/render.RenderAssets[PreparedMaterial[M]] @@ -3131,10 +3135,17 @@ pub fn Wireframe3dBatchSetKey::mesh_asset_id(Self) -> Int? pub fn Wireframe3dBatchSetKey::new(@render_resource.CachedRenderPipelineId, Int, @material.DrawFunctionId, @Milky2018/mgstudio/render/mesh.MeshSlabs, mesh_asset_id? : Int?) -> Self pub fn Wireframe3dBatchSetKey::pipeline(Self) -> @render_resource.CachedRenderPipelineId pub fn Wireframe3dBatchSetKey::slabs(Self) -> @Milky2018/mgstudio/render/mesh.MeshSlabs +pub impl Eq for Wireframe3dBatchSetKey + +pub struct Wireframe3dBatchedInstanceBuffer { + buffer : @batching.BatchedInstanceBuffer[Unit] +} +pub fn Wireframe3dBatchedInstanceBuffer::Wireframe3dBatchedInstanceBuffer() -> Self +pub impl @app.Resource for Wireframe3dBatchedInstanceBuffer pub struct Wireframe3dBinKey { asset_id : Int -} derive(Eq, @debug.Debug) +} derive(Eq, Hash, @debug.Debug) pub fn Wireframe3dBinKey::asset_id(Self) -> Int pub fn Wireframe3dBinKey::new(Int) -> Self @@ -3149,6 +3160,18 @@ pub fn Wireframe3dDrawFunctions::thin(Self) -> @material.DrawFunctionId pub fn Wireframe3dDrawFunctions::wide(Self) -> @material.DrawFunctionId pub impl @app.Resource for Wireframe3dDrawFunctions +pub struct Wireframe3dPhaseBatchedInstanceBuffers { + buffers : @batching.PhaseBatchedInstanceBuffers[Unit] +} +pub fn Wireframe3dPhaseBatchedInstanceBuffers::Wireframe3dPhaseBatchedInstanceBuffers() -> Self +pub impl @app.Resource for Wireframe3dPhaseBatchedInstanceBuffers + +pub struct Wireframe3dPhaseIndirectParametersBuffers { + buffers : @batching.PhaseIndirectParametersBuffers +} +pub fn Wireframe3dPhaseIndirectParametersBuffers::Wireframe3dPhaseIndirectParametersBuffers() -> Self +pub impl @app.Resource for Wireframe3dPhaseIndirectParametersBuffers + pub struct Wireframe3dPhases { views : Map[UInt64, Wireframe3dViewPhase] } @@ -3158,6 +3181,7 @@ pub fn Wireframe3dPhases::contains(Self, @core.Entity) -> Bool pub fn Wireframe3dPhases::len(Self) -> Int pub fn Wireframe3dPhases::phase(Self, @core.Entity) -> Wireframe3dViewPhase? pub fn Wireframe3dPhases::prepare_for_new_frame(Self, @core.Entity, @batching.GpuPreprocessingMode) -> Unit +pub fn Wireframe3dPhases::prepare_phase_buffers(Self, RenderMeshInstances, Map[UInt64, Bool], @batching.PhaseBatchedInstanceBuffers[Unit], @batching.PhaseIndirectParametersBuffers) -> Unit pub fn Wireframe3dPhases::remove(Self, @core.Entity, @sync_world.MainEntity) -> Unit pub fn Wireframe3dPhases::retain_live_views(Self, Map[UInt64, Bool]) -> Unit pub fn Wireframe3dPhases::retained_view_entities(Self) -> Array[@core.Entity] @@ -3235,28 +3259,18 @@ pub fn Wireframe3dThinImmediates::color(Self) -> @color.Color pub fn Wireframe3dThinImmediates::float_count(Self) -> Int pub fn Wireframe3dThinImmediates::from_material(RenderWireframeMaterial) -> Self -pub(all) struct Wireframe3dUnbatchableBinnedEntities { - batch_set_key : Wireframe3dBatchSetKey - bin_key : Wireframe3dBinKey - mut entities : Array[(@sync_world.MainEntity, @core.Entity)] - buffer_indices : @render_phase.UnbatchableBinnedEntityIndexSet -} - pub struct Wireframe3dViewPhase { - gpu_preprocessing_mode : @batching.GpuPreprocessingMode - mut items : Array[Wireframe3d] - mut unbatchable_meshes : Array[Wireframe3dUnbatchableBinnedEntities] - input_uniform_indices : Map[UInt64, @render_phase.InputUniformIndex] - cached_entity_bin_keys : Map[@sync_world.MainEntity, @render_phase.CachedBinnedEntity[Wireframe3dBatchSetKey, Wireframe3dBinKey]] + phase : @render_phase.BinnedRenderPhase[Wireframe3dBatchSetKey, Wireframe3dBinKey] } pub fn Wireframe3dViewPhase::add(Self, Wireframe3dBatchSetKey, Wireframe3dBinKey, (@core.Entity, @sync_world.MainEntity), @render_phase.InputUniformIndex, @render_phase.BinnedRenderPhaseType) -> Unit pub fn Wireframe3dViewPhase::gpu_preprocessing_mode(Self) -> @batching.GpuPreprocessingMode pub fn Wireframe3dViewPhase::input_uniform_index(Self, @sync_world.MainEntity) -> @render_phase.InputUniformIndex? pub fn Wireframe3dViewPhase::is_empty(Self) -> Bool -pub fn Wireframe3dViewPhase::items(Self) -> Array[Wireframe3d] +pub fn Wireframe3dViewPhase::items(Self, multi_draw_indirect_count_supported? : Bool) -> Array[Wireframe3d] pub fn Wireframe3dViewPhase::len(Self) -> Int pub fn Wireframe3dViewPhase::new(@batching.GpuPreprocessingMode) -> Self pub fn Wireframe3dViewPhase::phase_type(Self, @sync_world.MainEntity) -> @render_phase.BinnedRenderPhaseType? +pub fn Wireframe3dViewPhase::prepare_cpu_buffers(Self, RenderMeshInstances) -> Unit pub fn Wireframe3dViewPhase::prepare_for_new_frame(Self) -> Unit pub fn Wireframe3dViewPhase::remove(Self, @sync_world.MainEntity) -> Unit pub fn Wireframe3dViewPhase::unbatchable_bin_count(Self) -> Int @@ -3733,3 +3747,4 @@ pub(open) trait StandardMaterialExtension { fn enable_shadows_ref() -> Bool fn specialize_ref() -> ((String, @render_resource.RenderPipelineDescriptor, @Milky2018/mgstudio/mesh.MeshVertexBufferLayoutRef, @material.ErasedMaterialPipelineKey) -> @render_resource.RenderPipelineDescriptor raise @material.SpecializedMeshPipelineError)? } + diff --git a/mgstudio-engine/pbr/render/pkg.generated.mbti b/mgstudio-engine/pbr/render/pkg.generated.mbti index 5820c0216..32cc8801a 100644 --- a/mgstudio-engine/pbr/render/pkg.generated.mbti +++ b/mgstudio-engine/pbr/render/pkg.generated.mbti @@ -328,7 +328,7 @@ pub fn render3d_directional_light_flags(ExtractedDirectionalLight3d) -> UInt pub fn render3d_draw_mesh_gpu_payload(MeshGpuDrawPayload3d) -> Unit -pub fn render3d_draw_mesh_instanced(mesh_id~ : Int, pipeline~ : @render_resource.CachedRenderPipelineId, instance_vertex_buffer_id~ : Int, world_from_local~ : @math.Affine3, preprocess_camera_key_hi? : Int, preprocess_camera_key_lo? : Int, draw_storage_index? : Int, draw_count? : Int, immediate_bytes? : Bytes?, indirect_kind? : Int, indirect_parameters_index? : Int, wireframe_wide_params_index? : Int, wireframe_pulled_first_vertex? : Int, wireframe_pulled_vertex_count? : Int, wireframe_indirect_batch_set_count_offset? : Int) -> Unit +pub fn render3d_draw_mesh_instanced(mesh_id~ : Int, pipeline~ : @render_resource.CachedRenderPipelineId, instance_vertex_buffer_id~ : Int, world_from_local~ : @math.Affine3, preprocess_camera_key_hi? : Int, preprocess_camera_key_lo? : Int, preprocess_phase_id? : String, draw_storage_index? : Int, draw_count? : Int, immediate_bytes? : Bytes?, indirect_kind? : Int, indirect_parameters_index? : Int, wireframe_wide_params_index? : Int, wireframe_pulled_first_vertex? : Int, wireframe_pulled_vertex_count? : Int, wireframe_indirect_batch_set_count_offset? : Int) -> Unit pub fn render3d_entity_global_or_cached_transform(@ecs.World, @core.Entity, Render3dWorldTransformCache) -> @transform.Transform @@ -1388,3 +1388,4 @@ pub using @primitives {type SubCameraView3d} pub using @projection3d {type ViewFrustum} // Traits + diff --git a/mgstudio-engine/pbr/render/systems.mbt b/mgstudio-engine/pbr/render/systems.mbt index ea272e4b5..059d21c9c 100644 --- a/mgstudio-engine/pbr/render/systems.mbt +++ b/mgstudio-engine/pbr/render/systems.mbt @@ -62,7 +62,8 @@ pub fn[T : @ecs.Component] render3d_update_frusta_system_by_projection_key( let frusta = batch.write(ecs_key_frustum).unwrap() try! rows.for_each(fn(row_index) { let next = compute_frustum( - projections.value(row_index), transforms.value(row_index), + projections.value(row_index), + transforms.value(row_index), ) if frusta.peek(row_index) != next { frusta.set(row_index, next) diff --git a/mgstudio-engine/pbr/render_shadow_phase.mbt b/mgstudio-engine/pbr/render_shadow_phase.mbt index 4adcb6121..2422ec334 100644 --- a/mgstudio-engine/pbr/render_shadow_phase.mbt +++ b/mgstudio-engine/pbr/render_shadow_phase.mbt @@ -290,9 +290,9 @@ fn render3d_shadow_resolve_phase_items( continue } guard render3d_extracted_shadow_mesh_matches_bin( - meshes[index], - cached_bin_key.bin_key(), - ) else { + meshes[index], + cached_bin_key.bin_key(), + ) else { continue } guard phase.input_uniform_index(main_entity) is Some(input_uniform_index) else { @@ -309,9 +309,10 @@ fn render3d_shadow_resolve_phase_items( ), Render3dShadowPhaseItemExtraIndex::none(), ) - resolved.push( - Render3dResolvedShadowPhaseItem::{ item, extracted_indices: [index] }, - ) + resolved.push(Render3dResolvedShadowPhaseItem::{ + item, + extracted_indices: [index], + }) } resolved } diff --git a/mgstudio-engine/render/render_phase/pkg.generated.mbti b/mgstudio-engine/render/render_phase/pkg.generated.mbti index 8fdf04f4d..77c033b27 100644 --- a/mgstudio-engine/render/render_phase/pkg.generated.mbti +++ b/mgstudio-engine/render/render_phase/pkg.generated.mbti @@ -60,7 +60,9 @@ pub fn[BatchSetKey, BinKey] BinnedRenderPhase::is_empty(Self[BatchSetKey, BinKey pub fn[BatchSetKey, BinKey] BinnedRenderPhase::multidrawable_meshes(Self[BatchSetKey, BinKey]) -> ArrayView[BinnedRenderPhaseMultidrawableEntry[BatchSetKey, BinKey]] pub fn[BatchSetKey, BinKey] BinnedRenderPhase::new(@batching.GpuPreprocessingMode) -> Self[BatchSetKey, BinKey] pub fn[BatchSetKey, BinKey] BinnedRenderPhase::non_mesh_items(Self[BatchSetKey, BinKey]) -> ArrayView[BinnedRenderPhaseNonMeshEntry[BatchSetKey, BinKey]] +pub fn[BatchSetKey, BinKey] BinnedRenderPhase::prepare_cpu_buffers(Self[BatchSetKey, BinKey], @batching.BatchedInstanceBuffer[Unit], (@sync_world.MainEntity) -> InputUniformIndex?) -> Unit pub fn[BatchSetKey, BinKey] BinnedRenderPhase::prepare_for_new_frame(Self[BatchSetKey, BinKey]) -> Unit +pub fn[BatchSetKey, BinKey] BinnedRenderPhase::prepare_gpu_buffers(Self[BatchSetKey, BinKey], String, Bool, Bool, @batching.PhaseBatchedInstanceBuffers[Unit], @batching.PhaseIndirectParametersBuffers, (@sync_world.MainEntity) -> InputUniformIndex?, (BatchSetKey) -> Bool) -> Unit pub fn[BatchSetKey : Eq, BinKey : Eq + Hash] BinnedRenderPhase::remove(Self[BatchSetKey, BinKey], @sync_world.MainEntity) -> Unit pub fn[BatchSetKey, BinKey] BinnedRenderPhase::unbatchable_meshes(Self[BatchSetKey, BinKey]) -> ArrayView[BinnedRenderPhaseUnbatchableEntry[BatchSetKey, BinKey]] pub fn[BatchSetKey, BinKey] BinnedRenderPhase::update_cache(Self[BatchSetKey, BinKey], @sync_world.MainEntity, CachedBinKey[BatchSetKey, BinKey]?) -> Unit diff --git a/mgstudio-engine/render/renderer/gpu_wbtest.mbt b/mgstudio-engine/render/renderer/gpu_wbtest.mbt index b9ef05f10..6b2e5fe40 100644 --- a/mgstudio-engine/render/renderer/gpu_wbtest.mbt +++ b/mgstudio-engine/render/renderer/gpu_wbtest.mbt @@ -2543,19 +2543,12 @@ test "renderer: replacing mesh3d cluster buffers keeps handles bounded" { test "renderer: source-owned mesh3d cluster buffers reject legacy uploads" { let backend = GpuBackend::new() ensure_mesh3d_pipeline_layout_resources(backend) - let usage = bu( - @wgpu.BUFFER_USAGE_STORAGE | @wgpu.BUFFER_USAGE_COPY_DST, - ) + let usage = bu(@wgpu.BUFFER_USAGE_STORAGE | @wgpu.BUFFER_USAGE_COPY_DST) let clustered_lights = backend.device.create_buffer(size=16UL, usage~) let object_indices = backend.device.create_buffer(size=16UL, usage~) let offsets_and_counts = backend.device.create_buffer(size=16UL, usage~) backend.use_mesh3d_cluster_buffers( - clustered_lights, - 16UL, - object_indices, - 16UL, - offsets_and_counts, - 16UL, + clustered_lights, 16UL, object_indices, 16UL, offsets_and_counts, 16UL, ) clustered_lights.release() object_indices.release() diff --git a/mgstudio-engine/render/renderer/pkg.generated.mbti b/mgstudio-engine/render/renderer/pkg.generated.mbti index 745661058..e406dcb32 100644 --- a/mgstudio-engine/render/renderer/pkg.generated.mbti +++ b/mgstudio-engine/render/renderer/pkg.generated.mbti @@ -729,6 +729,7 @@ pub struct GpuBackend { mut mesh3d_clusterable_object_index_lists_size : UInt64 mut mesh3d_cluster_offsets_and_counts_buf : @wgpu_mbt.Buffer? mut mesh3d_cluster_offsets_and_counts_size : UInt64 + mut mesh3d_cluster_buffers_source_owned : Bool mut mesh3d_clustered_decals_buf : @wgpu_mbt.Buffer? mut mesh3d_clustered_decals_capacity : UInt64 mut mesh3d_clustered_decals_revision : Int @@ -2127,3 +2128,4 @@ pub type NativeGpuSurface = Int pub type PendingMapReadCallback = (UInt, Bytes, @wgpu_mbt.Buffer) -> Unit // Traits +