Releases: Merzasphor/MWSE
Releases · Merzasphor/MWSE
MWSE v0.9.5-alpha.20171114
Added
- New function to get the race of the player and NPCs: xGetRace.
- New function get the number of elements in an array: xGetArraySize
- New function to remove all elements in an array: xClearArray
Fixed
- Calling xSetArrayValue with an invalid array id could crash the game.
MWSE v0.9.5-alpha.20171112
Fixed
- In some cases, evaluating string format codes could fail (xMessageFix, xStringBuild, xLogMessage, xFileWriteText).
MWSE v0.9.5-alpha.20171111
Added
- New function to get maximum, current (modified), and unmodified encumbrance:
xGetEncumbrance. - New functions to get maximum magicka and fatigue, to complement xGetMaxHealth:
xGetMaxMagicka, xGetMaxFatigue
Changed
- xMessageFix, xStringBuild, xLogMessage, xFileWriteText print a message to the
log when invalid format codes are encountered. The log message contains the
invalid codes, the original format string, and the resulting string. - xGetMagic now works with NPC and creature references, in addition to the
player. - xGetMaxHealth, xGetSkill, xGetBaseAttribute, xGetAttribute, xModAttribute now
work with creature references, in addition to the player and NPCs. - xGetEnchant now works with ammo.
Fixed
- Better handling of invalid format codes in xMessageFix, xStringBuild,
xLogMessage, xFileWriteText. All invalid codes are removed in the resulting
string, preventing them from propagating to MessageBox via xMessageFix and
potentially causing a crash.
MWSE v0.9.5-alpha.20171006
New in this version:
- xNextRef no longer crashes when passed a null reference. Now it returns a null reference and prints a message to the log instead.
MWSE v0.9.5-alpha.20151016
New in this version:
- xGetEnchant now works with scrolls.
- Added functions to generate random numbers. (xRandomLong, xRandomFloat)
- Updated internal interpolate() function to use std::strings instead of fixed
character arrays. This removes the limits on string length for certain
functions (xLogMessage, xStringBuild, xFileWriteText). xMessageFix also uses
interpolate(), but its string length limit is determined by the following
MessageBox. - Fixed a bug where xMessageFix ignored the trailing "%" flag (null
terminator suppression) when updating button strings. - Upgraded boost to 1.59.0.
New Functions:
xRandomFloat
float rand_val xRandomFloat float min float max
Generates a random floating point value from a uniform distribution over [min, max).
Returns 0 if min > max.
xRandomLong
long rand_val xRandomLong long min long max
Generates a random long integer value from a uniform distribution over [min, max].
Returns 0 if min > max.
MWSE v0.9.5-alpha.20150902
New in this version:
- xSetLevel is now a wrapper for the native SetLevel function.
MWSE v0.9.5-alpha.20150829
New in this version:
Bug fixes:
- xContentList and xGetName now return ammo and lockpick names.
- xSetName now sets lockpick names.
- xSetQuality and xSetWeight now work with lockpicks.
- xGetBaseSkill now supports npc references.
New functions:
- xSetLevel
- xGetSkill
- xGetBaseAttribute
- xGetAttribute
- xGetMaxHealth
- xModAttribute
MWSE v0.9.5-alpha.20150722
New in this version:
- Added functions to read/write string GMSTs. (xGetGSString, xSetGSString)
MWSE v0.9.5-alpha.20150718
New in this version:
- Fixed bug where newly created spells could not be added to an actor. (xCreateSpell)
- Spell names are now properly truncated to 31 characters and don't use more memory
than needed (xCreateSpell) - Spells are created with a default cost of 1. (xCreateSpell)
- xStringMatch no longer finds partial pattern matches.
- Added functions to read and write skill parameters. (xGetSkillInfo, xSetSkillInfo)
- Progress functions no longer need an explicit player reference. They now
implicitly access the player's reference as needed. (xGetProgressLevel,
xSetProgressLevel, xModProgressLevel, xGetProgressSkill, xSetProgressSkill,
xModProgressSkill)
MWSE v0.9.5-alpha.20150707
New in this version:
- Fixed crash on exit caused by changing the name of a spell.
- Spell names are now limited to 31 characters. (xSetSpellInfo)
- Added spell origin (module, spellmaking) support. (xSetSpellInfo, xGetSpellInfo)
- Combined skill and attribute ids into a single parameter/return value. (xAddEffect, xSetEffectInfo, xGetEffectInfo)
- Added functions to read/write base magic effect properties. (xGetBaseEffectInfo, xSetBaseEffectInfo)
- Added functions to create/delete custom spells. (xCreateSpell, xDeleteSpell)
- Updated and corrected magic effect id list.