summaryrefslogtreecommitdiff
path: root/apps/plugins/xworld/parts.h
blob: 684306cc6db3deede2e7ac40167084c504129036 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/***************************************************************************
 *             __________               __   ___.
 *   Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
 *   Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
 *   Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
 *   Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
 *                     \/            \/     \/    \/            \/
 * $Id$
 *
 * Copyright (C) 2014 Franklin Wei, Benjamin Brown
 * Copyright (C) 2004 Gregory Montoir
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
 * KIND, either express or implied.
 *
 ***************************************************************************/

#ifndef __AW_PARTS_
#define __AW_PARTS_

#include "intern.h"
#include "awendian.h"

/* The game is divided in 10 parts. */
#define GAME_NUM_PARTS 10

#define GAME_PART_FIRST  0x3E80
#define GAME_PART1       0x3E80
#define GAME_PART2       0x3E81   /* Introduction */
#define GAME_PART3       0x3E82
#define GAME_PART4       0x3E83   /* Wake up in the suspended jail */
#define GAME_PART5       0x3E84
#define GAME_PART6       0x3E85   /* BattleChar sequence */
#define GAME_PART7       0x3E86
#define GAME_PART8       0x3E87
#define GAME_PART9       0x3E88
#define GAME_PART10      0x3E89
#define GAME_PART_LAST   0x3E89

extern const uint16_t memListParts[GAME_NUM_PARTS][4];

/* For each part of the game, four resources are referenced. */
#define MEMLIST_PART_PALETTE 0
#define MEMLIST_PART_CODE    1
#define MEMLIST_PART_POLY_CINEMATIC  2
#define MEMLIST_PART_VIDEO2  3


#define MEMLIST_PART_NONE 0x00


#endif