WGLOB.DAT

From UFOpaedia
Revision as of 07:57, 15 October 2005 by Bomb Bloke (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This file is only used by tactical saves.

Here is stored the turn count, map dimensions, possibly
the lighting, and information concerning kills and score.

There are 22 values made of 2 bytes each. 44 bytes in total.

wglob[00] - Current turn * 2. First value of play is 2.
wglob[01] - Current turn. First value of play is 1.
wglob[02] - X dimension of map.
wglob[03] - Y dimension of map.
wglob[04] - Z dimension of map.
wglob[05] - Values [2] and [3] multiplied together.
wglob[06] - Seems to be equal to wglob[4] - 1.
wglob[07] - Unknown. Probably something to do with lighting.
wglob[08] - Unknown. Can change during play of the map.
wglob[09] - Alien units killed.
wglob[10] - X-Com soldiers lost.
wglob[11] - X-Com tanks lost.
wglob[12] - Score for killing Aliens.
wglob[13] - Score for losing X-Com units. A negative value.
wglob[14] - Civilians killed by Aliens.
wglob[15] - Civilians killed by X-Com.
wglob[16] - Unknown. Always seems to be 4.
wglob[17] - Unknown. Always seems to be 3.
wglob[18] - Unknown. Always seems to be 3.
wglob[19] - Unknown. Always seems to be 3.
wglob[20] - Unknown. Always seems to be 3.
wglob[21] - Unknown. Always seems to be 1.