TERMP.DAT

From UFOpaedia
Revision as of 09:34, 6 March 2006 by Quantifier (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.

Length of file is map size (overall number of tiles) + some 4 bytes at the end.

File contains data about light from fixed sources and ambient light. It is recalculated on the end of turn. Ambient light levels are stored in BGLOB.DAT. Together with SOURCEMP.DAT it is full info about current lighting of the map. Actual lighting of tile is lower value from both files. Exact meaning of values is a number that pallette is shifted towards darker colours.