ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
obj_list.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef NUVIE_SAVE_OBJ_LIST_H
23 #define NUVIE_SAVE_OBJ_LIST_H
24 
25 namespace Ultima {
26 namespace Nuvie {
27 
28 #define OBJLIST_OFFSET_PARTY_NAMES 0xf00
29 #define OBJLIST_OFFSET_PARTY_ROSTER 0xfe0
30 #define OBJLIST_OFFSET_NUM_IN_PARTY 0xff0
31 
32 //U6 specific offsets
33 #define OBJLIST_OFFSET_U6_MOVEMENT_POINTS 0x14f1
34 #define OBJLIST_OFFSET_U6_TALK_FLAGS 0x17f1
35 #define OBJLIST_OFFSET_U6_MOVEMENT_FLAGS 0x19f1
36 #define OBJLIST_OFFSET_U6_QUEST_FLAG 0x1bf1
37 #define OBJLIST_OFFSET_U6_REST_COUNTER 0x1bf2
38 #define OBJLIST_OFFSET_U6_GAMETIME 0x1bf3
39 #define OBJLIST_OFFSET_U6_KARMA 0x1bf9
40 
41 #define OBJLIST_OFFSET_U6_WIND_DIR 0x1bfa
42 #define OBJLIST_OFFSET_U6_TIMERS 0x1c03
43 #define OBJLIST_OFFSET_U6_ECLIPSE 0x1c12
44 #define OBJLIST_OFFSET_U6_ALCOHOL 0x1c17
45 #define OBJLIST_OFFSET_U6_MOONSTONES 0x1c1b
46 #define OBJLIST_OFFSET_U6_GARGISH_LANG 0x1c5f
47 
48 #define OBJLIST_OFFSET_U6_COMBAT_MODE 0x1c69
49 #define OBJLIST_OFFSET_U6_SOLO_MODE 0x1c6a
50 #define OBJLIST_OFFSET_U6_COMMAND_BAR 0x1c6c
51 #define OBJLIST_OFFSET_U6_GENDER 0x1c71
52 
53 //MD specific offsets
54 
55 #define OBJLIST_OFFSET_MD_MOVEMENT_POINTS 0x15f1
56 #define OBJLIST_OFFSET_MD_TALK_FLAGS 0x18f1
57 #define OBJLIST_OFFSET_MD_MOVEMENT_FLAGS 0x1af1
58 #define OBJLIST_OFFSET_MD_BLUE_BERRY_COUNTER 0x1d05
59 #define OBJLIST_OFFSET_MD_COMMAND_BAR 0x1d26
60 #define OBJLIST_OFFSET_MD_GENDER 0x1d27
61 #define OBJLIST_OFFSET_MD_BERRY_TIMERS 0x1d2f
62 
63 //WOU specific offsets (MD and SE)
64 
65 #define OBJLIST_OFFSET_WOU_GAMETIME 0x1cf3
66 
67 #define OBJLIST_PARTY_MODE 0xff
68 
69 //u6 wind direction
70 #define OBJLIST_U6_WIND_DIR_N 0
71 #define OBJLIST_U6_WIND_DIR_NE 1
72 #define OBJLIST_U6_WIND_DIR_E 2
73 #define OBJLIST_U6_WIND_DIR_SE 3
74 #define OBJLIST_U6_WIND_DIR_S 4
75 #define OBJLIST_U6_WIND_DIR_SW 5
76 #define OBJLIST_U6_WIND_DIR_W 6
77 #define OBJLIST_U6_WIND_DIR_NW 7
78 #define OBJLIST_U6_WIND_DIR_C 0xff
79 
80 #define OBJLIST_OFFSET_SE_COMMAND_BAR 0x1d6c
81 
82 } // End of namespace Nuvie
83 } // End of namespace Ultima
84 
85 #endif
Definition: detection.h:27