Skip to content

LunatiX v0.11.0

Compare
Choose a tag to compare
@Gumichan01 Gumichan01 released this 29 Jul 14:19
· 889 commits to master since this release

Important changes

  • Overall
    • The deprecated functions have been removed
    • These following exception classes have been removed:
      • LX_ChunkException
      • LX_MusicException
    • Those following enumerations became enum class:
      • LX_TTF_TypeText
      • LX_EventType
      • LX_WinEventID
  • Configuration
    • Two useless flags (and their associated getters and internal variables) have been removed (See 081c727):
      • font_file
      • font_size
  • Physics
    • New class: LX_Line. See 67e140e
    • Added new collision function (line intersections)
  • Graphics
    • LX_Texture: Refactorized the class and its subclasses.
      • New constructors - See a52cfc7
      • LX_AnimatedTexture: The animation can be reset and/or infinitely looped
      • LX_TextTexture: get the text size and the text colour - See 6a4fa7a
      • Changed a function signature: setSize()setTextSize() - See 1ba0b81

Minor changes

  • Physics
    • Refactorized some collision functions (line/circle, circle/rectangle)
    • It is possible to get the enclosing bounding box of a polygon
    • LX_Polygon: It is possible to add several points using iterators. See 35e5874
    • LX_Vector2D: New operator overloading. See cba514f
    • LX_ParticleSystem: critical log instead of crashing if the particle system is not available
  • Graphics
    • LX_TextTexture: Improved the text texture update
    • LX_TextTexture: Get the dimension of the displayed text — width/height
    • LX_SharedTextTexture: Constant reference in argument LX_Colour. See 75dcfbb
    • LX_SharedTextTexture: Removed some functions defined in the super-class (LX_TextTexture). See 54d518f
    • LX_BufferedImage: Specify the format of the image to display. See 40a2908
    • LX_Font : It is possible to get the name of the font file (with or without the path) and the font color - See 83f7c26