ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


new:changelog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
new:changelog [2018/02/17 14:45] korshunnew:changelog [2018/02/27 22:05] (current) korshun
Line 1: Line 1:
 ====== Changelog ====== ====== Changelog ======
 +
 +===== 1.8.2 =====
 +
 +  * Removed all uses of local arrays as they are not supported in Zandronum 3.0.
 +  * Added ''getNumDigits''.
 +  * Removed broken ''bitlog2'' that returned 0 for numbers greater than 15.
 +  * Added ''flag2index'' as a replacement for ''bitlog2''.
 +  * Added ''GetActorVelocityXY'' alias for ''GetActorXYVelocity''.
 +  * Added ''HudSetAlign*'' aliases for ''HudSetAlignment*''.
 +
 +==== Porting guide ====
 +
 +Replace uses of ''bitlog2'' with ''flag2index''.
 +
 +===== 1.8.1 =====
 +
 +Fixed ''AngleDiff'' outputting wrong results for some angles.
 +
 +==== Porting guide ====
 +
 +No changes needed.
 +
 +
 +===== 1.8 ======
 +  * Added [[array|array sorting and shuffling]]
 +  * Added [[sync|server-to-client variable synchronization]] functions.
 +  * Moved all decorate to ''decorate.acsutils''.
 +  * ''RotateVector'' no longer multiplies rotation angle by -1.
 +  * Changed ''RotateVectorSC'' to ''RotateVectorCS'' (different argument order)
 +  * Added ''byte2ang'' and ''ang2byte''
 +  * Added ''HudX1'' ''HudX2'' ''HudY1'' ''HudY2'' aliases for [[widescreen]] functions.
 +
 +==== Porting guide ====
 +
 +  * Change all ''RotateVector(x, y, angle)'' calls to ''RotateVector(x, y, -angle)''
 +  * Change all ''RotateVectorSC(x, y, s, c)'' calls to ''RotateVectorCS(x, y, c, s)''
 +  * Delete ''decorate/changeflag.txt'' and copy ''decorate.acsutils'' to your project.
 +
 +===== 1.7 =====
 +
 +  * **Changed ''PackShorts'' format to fix ''SHORT_MIN'' getting turned into 0**
 +  * Fixed ''trunc'' and ''itrunc'' returning X - 1 for integer Xs.
 +  * Renamed [[HUD Library]] TextOrigin property to Alignment.
 +  * Added ''RotateVectorSC''
 +  * Added ''AnglesToVector''
 +  * Added ''AngleDiff''
 +  * Added ''randint''
 +  * Removed ''length2d'' and ''length3d'' aliases
 +  * [[error|Errors]] are logged to serverside console even when ''acsutils_noerrors'' is 1.
 +
 +==== Porting guide ====
 +
 +  - Replace ''length2d'' and ''length3d'' with [[zdoom>VectorLength]] and ''VectorLength3D'' respectively.
 +  - Replace ''HudSetTextOrigin'' with ''HudSetAlignment'' and ''HUD_TEXTORIGIN_*'' with ''HUD_ALIGN_*''.
 +  - If you store ''PackShorts'' output in database or cvars, copy broken ''UnpackShorts'' implementation from previous version of ACSUtils and implement backwards compatibility.
 +
 +
 +===== 1.6.2 =====
 +
 +This is a hotfix release to fix broken 3D HudMessages in [[HUD Library]].
 +
 +==== Porting guide ====
 +
 +No changes needed.
  
 ===== 1.6.1 ===== ===== 1.6.1 =====
Line 82: Line 146:
       * ''height2jumpz''       * ''height2jumpz''
   * Added new constants:   * Added new constants:
-    * [[constants:TAU]] (see http://tauday.com/tau-manifesto) +    * ''TAU'' (see http://tauday.com/tau-manifesto) 
-    * [[constants:USHORT_MAX]] +    * ''USHORT_MAX'' 
-    * [[constants:SBYTE_MAX]] +    * ''SBYTE_MAX'' 
-    * [[constants:SBYTE_MIN]] +    * ''SBYTE_MIN'' 
-    * [[constants:UBYTE_MAX]] +    * ''UBYTE_MAX'' 
-    * [[constants:MAX_PLAYERS_ZDOOM]] +    * ''MAX_PLAYERS_ZDOOM'' 
-    * [[constants:TEAM_NONE]] +    * ''TEAM_NONE'' 
-    * [[constants:HUDTIC]] +    * ''HUDTIC'' 
-    * [[constants:COLORCODE]]+    * ''COLORCODE''
              
 ==== Porting guide ==== ==== Porting guide ====
new/changelog.txt · Last modified: 2018/02/27 22:05 by korshun