File information
Last updated
Original upload
Created by
LazyWizardUploaded by
ALazyWizardVirus scan
Tags for this mod
Activity logs
This page was last updated on 27 March 2025, 8:16PM
- Changelogs
-
-
Version 3.0
- Updated to be compatible with Starsector 0.98a and Java 17
- Updated to Kotlin 2.1 and the K2 compiler
- Updated bundled libraries to take advantage of the move to Java 17
- Updated kotlin-stdlib from v1.6.21 to v2.1.20
- Updated kotlinx-coroutines from v1.6.4 (custom build) to v1.10.1
- Removed standalone jetbrains-annotations as it's now included in kotlin-stdlib
- Moved LazyLib-Console.jar and Kotlin-Runtime.jar to jars/internal, to better signify that they aren't meant to be added as mod dependencies
- Added org.lazywizard.lazylib.ShapeUtils, a copy of org.lazywizard.lazylib.opengl.DrawUtils, except its methods return a list of vertices instead of drawing the requested shape
- CollisionUtils: Fixed getCollisionPoint(Vector2f lineStart, Vector2f lineEnd, CombatEntityAPI target) returning null if entire line was within target's bounds without touching a bounds segment (now returns copy of lineStart)
- CollisionUtils: getNearestPointOnBounds() no longer requires you to call bounds.update(); as with all other CollisionUtils methods it now calls update() itself
- ColorUtils: Added genRandomColor(), returns a Color with random RGB values
- FastTrig: atan() properly reduces its argument if it's not between -1 and 1 (credit to Genir for the bug report and the fix)
- LazyFont: Fixed display of fonts whose texture scaling doesn't match their texture size (credit to Psiyon for the bug report and the fix)
- LazyFont: Added buildUntilLimit(String line, float fontSize, float maxWidth), which returns a substring of line that will fit within maxWidth width
- LazyFont: Unicode smart quotes (single and double) are converted into basic quotes
- LazyFont: Attempting to create a DrawableString with missing character data will only log a warning once per missing character, instead of every time one is used (explanation: if the font doesn't define Ç, it will log a warning the first time you try to draw one while replacing the missing character with either a question mark, or empty space if the font doesn't define a question mark)
- LazyFont: LazyFont.loadFont() will now make up fake data for a space character if the font file lacks one (it creates an invisible pixel with extra padding)
- LazyFont: Cached fallback char used when font doesn't contain a requested character; very slight performance improvement
- LazyFont: Added missing Javadoc to LazyChar
- VectorUtils: Added toFloatArray(List<Vector2f> vectors), which converts a List of Vector2fs into an array of floats containing their coordinates
- VectorUtils: Added toVectorList(float[] coordinates), which converts a float array of coordinates into a List of Vector2fs
- Removed org.lazywizard.lazylib.campaign.orbits.KeplerOrbit at the request of its contributor
- LazyFont: Removed drawText(); use createText() instead
- LazyFont: Removed appendText(); use append() instead
- LazyFont: Removed getColor() and setColor(); use get/setBaseColor() instead
- LazyFont: Removed checkRebuild(); use triggerRebuildIfNeeded() instead
-
Version 2.8b
- Updated to be compatible with Starsector 0.97a
- LazyFont: Changed default blendSrc back to GL_SRC_ALPHA (was GL_ONE since 2.4c)
- org.lazywizard.lazylib.campaign.orbits.KeplerOrbit: Deprecated at the request of its contributor due to bugs
-
Version 2.8
- Updated to be compatible with Starsector 0.96a
- Updated bundled library kotlin-stdlib: v1.5.31 -> v1.6.21
- Updated bundled library kotlinx-coroutines: v1.5.2 -> v1.6.4 (custom build)
- Added org.lazywizard.lazylib.campaign.orbits.KeplerOrbit. Submitted by Liral, this provides more accurate orbits than EllipticalOrbit
- CombatUtils: Updated to use CombatEngineAPI's bin-lattice system where applicable, as requested by several modders since those methods introduction
-
Version 2.7b
- Updated to be compatible with Starsector 0.95.1a
- Updated bundled library jetbrains-annotations: v22.0.0 -> 23.0.0
- LazyFont.DrawableString: Center/right-aligned text no longer requires maxWidth to be set
- LazyFont.DrawableString: setRenderDebugBounds() now shows anchor and max size
-
Version 2.7
- Fixed links to online Starsector API in javadoc.zip
- Updated bundled library kotlin-stdlib: v1.4.31 -> v1.5.31
- Updated bundled library kotlinx-coroutines: v1.4.3 -> v1.5.2
- Updated bundled library jetbrains-annotations: v20.1.0 -> 22.0.0
- CombatUtils: Fixed a bug where ships spawned by spawnShipOrWingDirectly() would report the wrong fleet side in some circumstances
- LazyFont: Fixed log spam with some whitespace being considered unsupported characters
- LazyFont.DrawableString: Fixed a minor memory leak when dispose() is not called before garbage collection
- LazyFont.DrawableString: Added TextAlignment, setAlignment(), and getAlignment(). TextAlignment controls whether text is drawn left-aligned (the default), right-aligned, or centered
- LazyFont.DrawableString: Added TextAnchor, setAnchor(), and getAnchor(). TextAnchor controls the origin when drawing text; for example, TextAnchor.TOP_LEFT (the default) will mean draw() will start drawing at the top left, so the text will appear below and to the right of the position passed into draw()
- LazyFont.DrawableString: Added setBaseColor() and getBaseColor() (replace setColor()/getColor())
- LazyFont.DrawableString: Added isRebuildNeeded() and triggerRebuildIfNeeded() (unnecessary 99% of the time as rebuilding happens automatically, but useful in fringe cases)
- LazyFont.DrawableString: Cleaned up some out-of-date documentation
- LazyFont.DrawableString: Deprecated setColor() and getColor(), as users were assuming they set the color of the next append. Added setBaseColor() and getBaseColor() as replacements that better convey what these methods do (set/get the color of all text that _doesn't_ have a color argument passed in)
-
Version 2.6
- Updated to be compatible with Starsector 0.95a
- Updated bundled library kotlin-stdlib: v1.4.21 -> v1.4.31
- Updated bundled library kotlinx-coroutines: v1.4.2 -> v1.4.3
- The Javadoc's index is now one single page
- Added org.lazywizard.lazylib.IOUtils
- IOUtils: Contains methods to help with reading/writing files using the API
- byte[] readAllBytes(String filePath), an API-safe port of java.nio.Files.readAllBytes()
- LazyFont.DrawableString: Added tab support (2x the base vertical height of the text)
- LazyFont.DrawableString: Added append(String text)
- LazyFont.DrawableString: Added append(String text, Color color)
- LazyFont.DrawableString: Added appendIndented(String text, int indent)
- LazyFont.DrawableString: Added appendIndented(String text, Color color, int indent)
- LazyFont.DrawableString: Added getBlendSrc(), setBlendSrc(int blendSrc), getBlendDest(), and setBlendDest(int blendDest) to control color blending
- LazyFont.DrawableString: Deprecated all appendText() methods in favor of new append() equivalents. The append() variants take any object and return the DrawableString so that calls can be chained together
-
Version 2.5c
- DrawableString: hopefully fixed the text rendering issues some users were encountering
- DrawableString: added colored substring support
- DrawableString: added appendText(String text, Color color) and appendText(String text, Color color, int indent)
-
Version 2.5b
- Retroactively renamed v2.4g to v2.5
- Added getFontName() to LazyFont
- Fixed a rare crash in DrawableString with word-wrapped text that includes a hyphenated line break
- Added setRenderDebugBounds() to DrawableString, which draws a box showing the text's width, height, and position
-
Version 2.5
- Updated bundled Kotlin libraries to their latest versions
- Fixed a bug that could cause DrawableStrings to become corrupted when used in the campaign
- Rewrote DrawableStrings to use vertex buffers instead of display lists
- Deprecated drawText(String text, float x, float y, float fontSize, float maxWidth, float maxHeight), use createText() instead
-
Version 2.4f
- Updated bundled Kotlin runtime library to v1.3.61
- Javadoc is now available online at https://lazywizard.github.io/lazylib
- Moved .version file hosting to GitHub
-
Version 2.4e
- Updated bundled Kotlin runtime library to v1.3.30
- Bundled Kotlin coroutines library v1.2.0
- CombatUtils: Reverted 2.4c changes due to bugs
-
Version 2.4d
- CombatUtils: Reverted changes to getEntitiesWithinRange() (it now only returns ships, projectiles, missiles and asteroids as it did pre-2.4c)
-
Version 2.4c
- Updated bundled Kotlin runtime library to v1.3.21
- CombatUtils: All getXWithinRange() methods have been updated to use 0.9a's new CollisionGridAPI, which should improve performance
- CombatUtils: getEntitiesWithinRange() now includes BattleObjectiveAPIs
- LazyFont: Blend mode is no longer automatically enabled during rendering - if you want your text to be drawn blended, you must ensure GL_BLEND is enabled and set the blend func (usually glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA))
-
Version 2.4b
- JSONUtils: loadCommonJSON(String filename, String defaultJSONPath) will save the newly created CommonDataJSONObject to disk immediately if defaultJSONPath exist and filename does not
-
- Author's activity
-
March 2025
-
27 Mar 2025, 8:16PM | Action by: ALazyWizard
Changelog added
'Change log added for version 3.0'
-
27 Mar 2025, 8:08PM | Action by: ALazyWizard
File added
'LazyLib 3.0 [version 3.0]'
-
27 Mar 2025, 8:07PM | Action by: ALazyWizard
Attribute change
'File \'LazyLib\' changed to \'LazyLib 2.8b\'.'
October 2024
-
05 Oct 2024, 2:31AM | Action by: ALazyWizard
Changelog added
'Change log added for version 2.8b'
-
05 Oct 2024, 2:30AM | Action by: ALazyWizard
File added
'LazyLib [version 2.8b]'
March 2024
-
20 Mar 2024, 6:32PM | Action by: ALazyWizard
Permission change
'Users can now upload this file to other sites.'
May 2023
-
06 May 2023, 9:46PM | Action by: ALazyWizard
Changelog added
'Change log added for version 2.8'
-
06 May 2023, 9:37PM | Action by: ALazyWizard
File added
'LazyLib 2.8 [version 2.8]'
December 2021
-
10 Dec 2021, 8:02PM | Action by: ALazyWizard
Changelog added
'Change log added for version 2.7b'
-
10 Dec 2021, 8:00PM | Action by: ALazyWizard
File added
'LazyLib 2.7b [version 2.7b]'
October 2021
-
23 Oct 2021, 1:02AM | Action by: ALazyWizard
Changelog added
'Change log added for version 2.7'
-
23 Oct 2021, 12:54AM | Action by: ALazyWizard
Changelog added
'Change log added for version 2.6'
-
23 Oct 2021, 12:48AM | Action by: ALazyWizard
File added
'LazyLib 2.7 [version 2.7]'
March 2021
-
26 Mar 2021, 6:35PM | Action by: ALazyWizard
File added
LazyLib 2.6 [version 2.6]
-
26 Mar 2021, 6:32PM | Action by: ALazyWizard
File added
LazyLib 2.6 [version 2.6]
January 2021
-
23 Jan 2021, 7:00AM | Action by: ALazyWizard
Changelog added
Change log added for version 2.5c
-
23 Jan 2021, 6:47AM | Action by: ALazyWizard
File added
LazyLib 2.5c [version 2.5c]
-
20 Jan 2021, 11:47PM | Action by: ALazyWizard
Changelog added
Change log added for version 2.5b
-
20 Jan 2021, 11:47PM | Action by: ALazyWizard
Changelog added
Change log added for version 2.5
-
20 Jan 2021, 11:38PM | Action by: ALazyWizard
File added
LazyLib 2.5b [version 2.5b]
-
- Mod page activity
-
May 2025
-
06 May 2025, 9:04PM | Action by: FrostISS
Endorsed
'LazyLib'
-
06 May 2025, 5:42PM | Action by: Brafem
Endorsed
'LazyLib'
-
06 May 2025, 2:15PM | Action by: nyct0ph1le
Endorsed
'LazyLib'
-
04 May 2025, 6:01PM | Action by: RealLinaly
Endorsed
'LazyLib'
-
02 May 2025, 8:26PM | Action by: Althisararis
Endorsed
'LazyLib'
-
02 May 2025, 6:10AM | Action by: brutalcrab
Tracked
'LazyLib'
-
01 May 2025, 1:37AM | Action by: Dcade92
Endorsed
'LazyLib'
April 2025
-
29 Apr 2025, 10:23PM | Action by: OverloadingMoistman
Endorsed
'LazyLib'
-
29 Apr 2025, 6:52PM | Action by: ShadowDriz
Endorsed
'LazyLib'
-
27 Apr 2025, 10:59PM | Action by: downloadingmanlol
Endorsed
'LazyLib'
-
26 Apr 2025, 2:48AM | Action by: brycenl
Endorsed
'LazyLib'
-
25 Apr 2025, 6:10PM | Action by: ShadowDragon88
Tracked
LazyLib
-
24 Apr 2025, 6:33PM | Action by: Arcados83
Endorsed
'LazyLib'
-
20 Apr 2025, 2:43AM | Action by: pros0015
Endorsed
'LazyLib'
-
19 Apr 2025, 12:01PM | Action by: Hangerhold
Endorsed
'LazyLib'
-
18 Apr 2025, 11:17AM | Action by: mitch92
Tracked
LazyLib
-
18 Apr 2025, 10:56AM | Action by: Therealmqb
Endorsed
'LazyLib'
-
17 Apr 2025, 6:05AM | Action by: BadBonk
Endorsed
'LazyLib'
-
17 Apr 2025, 4:54AM | Action by: awooyori
Endorsed
'LazyLib'
-
13 Apr 2025, 9:34PM | Action by: NoMaDeEviL
Tracked
'LazyLib'
-