Releases: MagicLibStarsector/MagicLib
Releases · MagicLibStarsector/MagicLib
1.4.1-rc01
Paintjobs can now display four wide instead of two.
1.4.0
New: MagicSubsystems
- tldr; Combat Activators + CMUtils.
- Add additional "ship systems" to ships, each triggered with a hotkey.
- Add drones with formations and charges.
- All displayed in a vanilla-like UI.
- Contributed by President Matt Damon. UI code contributed by tomatopaste.
- See examples in
org.magiclib.subsystems.examples. - See MagicLib README.md for migration guide from Combat Activators.
Combat Activators to MagicSubsystems Migration Guide
- Rename from Activators to MagicSubsystems.
- Change your imports from
activatorstoorg.magiclib.subsystems. - Change
ActivatorManagertoMagicSubsystemsManager. - Change
CombatActivatortoMagicSubsystem. - (etc)
- Change your imports from
advance(float amount)andadvanceEveryFrame()are now a single method,advance(float amount, boolean isPaused).- All logic that was in
advanceEveryFramebefore should move toadvance, which is now called even when paused. - All logic that was in
advancebefore should haveif (!isPaused)added around it.
- All logic that was in
ActivatorManager.addActivatorhas been renamed toMagicSubsystemsManager.addSubsystemToShip.- Same with similar methods.
Bonus: Kotlin extension methods for adding/removing subsystems have been added on ShipAPI.
1.4.0-rc02
Merge pull request #67 from scardwell15/subsystem-matching-bar-length
extends bar widths to account for any subsystem name
1.4.0-rc01
New: MagicSubsystems
- tldr; Combat Activators + CMUtils.
- Add additional "ship systems" to ships, each triggered with a hotkey.
- Add drones with formations and charges.
- All displayed in a vanilla-like UI.
- Contributed by President Matt Damon. UI code contributed by tomatopaste.
- See examples in
org.magiclib.subsystems.examples. - See MagicLib README.md for migration guide from Combat Activators.
1.3.11
MagicBounty
- Fixed a crash when a bounty has no flagship (reported by Dostya).
MagicPaintjobs
- Fixed paintjobs duplicating in the selector every save load (reported by Galaga Galaxian).
1.3.11-dev02
Hopefully fixed bounty info flagship crash.
1.3.11-dev01
Fixed duplicating paintjobs.
1.3.10
MagicBounty
- Fixes Bounty Board to respect
mb_distanceflags (contributed by President Matt Damon).
MagicAchievements
- Added
completeAchievementmethods toMagicAchievementManager(before, you needed an instance ofMagicAchievementto complete one).
MagicPaintjobs
- Fixed automatically unlocked paintjobs not being automatically unlocked (reported by Galaga Galaxian).
- No longer loads paintjobs for ships that don't exist (e.g. from a mod that's not installed).
- Cleaned up some logging that reported an error on first run and added pj ids to pjs that fail to load.
1.3.10-dev01
MagicAchievements
- Added
completeAchievementmethods toMagicAchievementManager(before, you needed an instance ofMagicAchievementto complete one).
MagicPaintjobs
- Fixed automatically unlocked paintjobs not being automatically unlocked (reported by galaga_galaxian).
- No longer loads paintjobs for ships that don't exist (e.g. from a mod that's not installed).
- Cleaned up some logging that reported an error on first run and added pj ids to pjs that fail to load.
1.3.9
0.97a compat, minute changes.