1 /*
2   Addr
3   Unpack compact (word) addresses into segments and offsets.
4   The encoding depends on the game version.
5   JBS 15 June 1994
6   After version 6 it also depends on text or code (different offsets)
7   JBS 18 Nov 1995
8 */
9 
10 #ifndef _ADDR_
11 
12 #define _ADDR_
13 
14 #include "types.h"
15 
16 int init_addr(void);
17 long_word ad_raw_addr(long_word);
18 long_word ad_code_addr(word);
19 long_word ad_text_addr(word);
20 
21 #endif
22