ScummVM API documentation
u6_work_types.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 ULTIMA_ULTIMA6_ACTORS_U6_WORK_TYPES_H
23#define ULTIMA_ULTIMA6_ACTORS_U6_WORK_TYPES_H
24
25// Worktype codes
26#define WORKTYPE_U6_MOTIONLESS 0x0
27#define WORKTYPE_U6_IN_PARTY 0x1
28#define WORKTYPE_U6_PLAYER 0x2
29
30#define WORKTYPE_U6_COMBAT_COMMAND 0x2
31#define WORKTYPE_U6_COMBAT_FRONT 0x3
32#define WORKTYPE_U6_COMBAT_REAR 0x4
33#define WORKTYPE_U6_COMBAT_FLANK 0x5
34#define WORKTYPE_U6_COMBAT_BERSERK 0x6
35#define WORKTYPE_U6_COMBAT_RETREAT 0x7
36#define WORKTYPE_U6_COMBAT_ASSAULT 0x8
37#define WORKTYPE_U6_COMBAT_WILD 0x8
38#define WORKTYPE_U6_COMBAT_SHY 0x9
39#define WORKTYPE_U6_COMBAT_LIKE 0xa
40#define WORKTYPE_U6_COMBAT_UNFRIENDLY 0xb
41
42#define WORKTYPE_U6_ANIMAL_WANDER 0xc
43#define WORKTYPE_U6_TANGLE 0xd
44#define WORKTYPE_U6_IMMOBILE 0xe
45#define WORKTYPE_U6_GUARD_WALK_EAST_WEST 0xf
46#define WORKTYPE_U6_GUARD_WALK_NORTH_SOUTH 0x10
47
48#define WORKTYPE_U6_LOOKOUT 0x11 // just a guess
49#define WORKTYPE_U6_WALK_TO_LOCATION 0x86
50
51#define WORKTYPE_U6_FACE_NORTH 0x87
52#define WORKTYPE_U6_FACE_EAST 0x88
53#define WORKTYPE_U6_FACE_SOUTH 0x89
54#define WORKTYPE_U6_FACE_WEST 0x8a
55
56#define WORKTYPE_U6_WALK_NORTH_SOUTH 0x8b
57#define WORKTYPE_U6_WALK_EAST_WEST 0x8c
58
59#define WORKTYPE_U6_WANDER_AROUND 0x8f
60#define WORKTYPE_U6_WORK 0x90
61#define WORKTYPE_U6_SLEEP 0x91
62#define WORKTYPE_U6_PLAY_LUTE 0x95
63#define WORKTYPE_U6_BEG 0x96
64#define WORKTYPE_U6_ATTACK_PARTY 0x9b
65
66#endif