ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:unpackshort

Differences

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

Link to this comparison view

Next revision
Previous revision
functions:unpackshort [2017/03/19 16:03] – created korshunfunctions:unpackshort [2017/04/17 17:47] (current) – removed korshun
Line 1: Line 1:
-====== UnpackShortX ====== 
-{{tag>packing}} 
-  * ''int UnpackShort1(int packed)'' 
-  * ''int UnpackShort2(int packed)'' 
  
-===== Description ===== 
-Return the first and second two bytes of the integer interpreted as signed shorts respectively. Intended to extract values packed with [[PackShorts]]. 
- 
-===== Examples ===== 
-See [[PackShorts]] for examples. 
functions/unpackshort.1489939425.txt.gz · Last modified: by korshun