Skip to content

Organization, foundations for configs, and a REPL for headless mode#40

Merged
philiplinden merged 5 commits into
mainfrom
dev-2025-07-26
Jul 26, 2025
Merged

Organization, foundations for configs, and a REPL for headless mode#40
philiplinden merged 5 commits into
mainfrom
dev-2025-07-26

Conversation

@philiplinden

Copy link
Copy Markdown
Owner

This pull request introduces significant updates to the buoy project, including version upgrades, modularization of physics-related code, and new features for configuration and runtime functionality. The most important changes include version bumps across multiple crates, restructuring of the physics codebase, introduction of configuration-driven objects, and the addition of a REPL-based console for runtime interaction.

Version Updates

  • Updated the version of the buoy-physics crate to 0.3.0 in Cargo.toml and other crates to maintain consistency across the workspace. [1] [2] [3]

Modularization of Physics Code

  • Split the forces.rs file into separate modules: buoyancy.rs, drag.rs, and weight.rs, improving code organization. [1] [2] [3]
  • Added a new forces/mod.rs to manage the plugins for the newly modularized physics components.

Configuration-Driven Objects

  • Introduced GasSpeciesConfig and GasPropertiesConfig structs for defining gas properties via configuration files.
  • Added a new BalloonConfig struct to allow the creation of balloon objects from configuration data.
  • Updated assets/configs/scenario.ron to include a sample configuration for a balloon.

Runtime Enhancements

  • Added a REPL-based console (ConsolePlugin) with a minimal command system, allowing runtime interaction and control of the simulation. [1] [2]
  • Integrated the console into the runtime plugin system and added dependencies for REPL functionality. [1] [2]

Code Cleanup and Refactoring

  • Removed unused code in forces.rs, such as the drag and buoyancy functions, and moved them to their respective modules.
  • Removed the old Balloon implementation and replaced it with a configuration-driven approach. [1] [2]
  • Simplified the lib.rs files by removing commented-out code and unused modules. [1] [2]

These changes enhance the maintainability, flexibility, and usability of the buoy project, preparing it for more complex simulations and runtime interactions.

@github-actions

Copy link
Copy Markdown

Changelog

Notable changes to this project will be documented in this file.

0.2.1 - 2025-07-26

🎨 UI & Styling

  • Add a REPL for headless mode (59da51f)

🐛 Bug Fixes

  • Remove broken and unused ui (d8ebb40)

⚙️ Repository

📜 Full Changelog

Changelog

Notable changes to this project will be documented in this file.

0.2.0 - 2025-06-27

🚀 Features

♻️ Refactor

🐛 Bug Fixes

  • Disable mesh utils for now and focus on headless (db8ac1f)

⚙️ Repository

  • Refresh the changelog on pushes to main (26a2e6a)
  • Package the bevy-ui binary for releases (064e94c)
  • Include unreleased changes in log (c9fa447)

@philiplinden
philiplinden merged commit 09d1451 into main Jul 26, 2025
7 checks passed
@philiplinden
philiplinden deleted the dev-2025-07-26 branch July 26, 2025 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant