Skip to content

Tracks 2 (Rust) BS 1.40.3

Choose a tag to compare

@Fernthedev Fernthedev released this 30 Mar 17:48
· 98 commits to master since this release
70e9214
Rust rewrite completely (#18)

* Changes

* Base providers

* Switch to json conversion

* Refactor animation structures and update JSON configuration for NDK compatibility

* Attempt to move most of the work to Rust

* Update PointDefinitionW constructor to include BaseProviderContext and refactor property access in AssignPathAnimationData

* Refactor animation context constructors and update PointDefinitionW to support copy construction

* Refactor TracksContext and update BeatmapAssociatedData to use shared_ptr for internal_tracks_context

* Implement event queuing

* Refactor Track and PointDefinition headers to improve structure and add interpolation methods for various vector types

* Add operator overloads and registration methods to TrackW and PathPropertyW for improved usability

* Refactor GameObjectTrackController to use std::span for track parameters and enhance property retrieval methods with optional types

* Multiply scale

* Refactor GameObjectTrackController to use TimeUnit for lastCheckedTime and enhance vector operations with new operator overloads

* Fix PointDefinitionW, missing one thing

* Enhance PointDefinitionW and Track classes with context management and const correctness; refactor point data handling in BeatmapAssociatedData

* Use corrosion

* Finally get tracks_rs statically linked

* Optimize binaries

* Remove tracks-rs dependency from qpm.json and qpm.shared.json

* Add Rust setup step for nightly and aarch64-linux-android target in CI workflows

* Remove canary NDK setup from build workflows

* Update QPM Rust Action to use version 1 in build and publish workflows

* Update to BS 1.40.3

* Install cargo-ndk

* Specify toolchain for aarch64-linux-android target in build workflows

* Fix GameObjectTrackController class declaration

* Fix static linking libtracks_rs_link

* Disable sl2 bundling in qmod

* Refactor include paths and improve const correctness in Track and Property classes

* Add lastCheckedTime and getter

* Fix time param

* Fix null context

---------

Co-authored-by: Futuremappermydud <54294576+Futuremappermydud@users.noreply.github.com>