Skip to content

API Changes SC 5.16

GeckoN edited this page Aug 11, 2018 · 2 revisions

Changelog

  • Updated AngelScript to version 2.32.0. (changelog available HERE)
  • Updated ASString to use the new asIStringFactory interface. (String literals can now be reused to save memory.)
  • CPathTrack: Changed the recently added "int m_iMaxSpeed" and "int m_iNewSpeed" members to "float m_flMaxSpeed" and "float m_flNewSpeed".
  • Exposed map class methods to map and plug-in scripts:
    • LoadGlobalSkillFile(): Reloads the global skill file.
    • LoadMapSkillFile(): Reloads the standard map skill file (_skl.cfg).
    • LoadSkillFile( const CString& szFileName ): Loads a custom skill file.
  • Exposed CBasePlayerItem::LoadSprites(). Can be used to load a different set of HUD sprites for a given weapon.
  • Fixed some of the CEngineFuncs documentation strings.
  • Fixed the previously unnamed iAttachment argument of CEngineFuncs::GetAttachment().
  • The global CMap instance (g_Map) is no longer a constant.
Clone this wiki locally