From be231d11902a93f24a89980b49dbc67c0edc0365 Mon Sep 17 00:00:00 2001 From: Dennis Duda Date: Mon, 6 Aug 2018 22:34:34 +0200 Subject: [PATCH] Added description for `trans_file`. --- structs.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/structs.h b/structs.h index 65810d6a0..ce347c540 100644 --- a/structs.h +++ b/structs.h @@ -500,7 +500,10 @@ struct CMonster unsigned char mAFNum; char mdeadval; MonsterData *MData; - unsigned char *trans_file; // array, possibly 256 bytes + + // A TRN file contains a sequence of colour transitions, represented + // as indexes into a palette. (a 256 byte array of palette indices) + unsigned char *trans_file; }; struct MonsterStruct