1.26.23 for Trackmania

default 5 months ago

  • Game version data for 2024-04-30
  • Refactored Net::Socket:
    • Added documentation
    • Added IsHungUp()
    • Added ReadBuffer(n)
    • Added WriteLine(str)
    • Added ReadString() to complement Write(v) with string
    • Fixed double capture in Write(v) with string
    • Deprecated CanRead() and CanWrite() in favor of Available() and IsReady()
    • Increased default send and receive buffer size
  • Moved global functions StripFormatCodes, StripNonColorFormatCodes, and ColoredString to the Text namespace, and renamed ColoredString to OpenplanetFormatCodes
  • Added Text::StripOpenplanetFormatCodes
  • Added yield(n) overload to yield for a specific number of frames
  • Added Text::EncodeHex(), Text::DecodeHex(), MemoryBuffer::WriteFromHex(), MemoryBuffer::ReadToHex()
  • Added more accurate formatting codes in UI - also switches \$tXX to \$jXX
  • Added support for italics formatting using \\$i
  • Added warning about low script timeout values
  • Added option to start Openplanet with the currently selected competition profile
  • Added a settings save trigger when a plugin is toggled on or off
  • Added documentation flags for deprecated and internal entities
  • Added WINE preprocessor flag (WINDOWS_WINE)
  • Numbers in Json::Value are now kept in memory as strings and only parsed to the desired type on demand - this allows for accurate number parsing regardless of type
  • Script hooks are now plugin resources and will automatically unhook when leaked
  • Fixed missing cursor advance on MemoryBuffer::ReadBuffer
  • Fixed IO::Move not blocking until it has fully completed
  • Fixed Ctrl+R and Ctrl+Shift+R not being disabled when UI wants to capture input
  • Fixed shift & ctrl getting stuck in shortcuts when window loses focus
  • Fixed keeping a lock on folders when building plugins
  • Fixed missing execution context on plugin unload
  • Fixed + in DEPENDENCY_* preprocessor flags (they are now replaced with _)
  • Fixed "Remove from scene" in scene explorer causing an ImGui assertion
  • Removed deprecated CSystemFidFile functions Preload, Extract, and GetFullPath (they have moved to the Fids namespace)
  • Updated ImGui
    • Added UI::Separator with flags and UI::SeparatorText
    • Added UI::InputTextFlags::EscapeClearsAll
    • Updated UI::TreeNodeFlags
    • Updated UI::BeginChild to include a parameter for UI::ChildFlags
  • Updated Angelscript