ScummVM API documentation
resdata.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 CHAMBER_RESDATA_H
23
#define CHAMBER_RESDATA_H
24
25
#include "graphics/surface.h"
26
27
namespace
Chamber {
28
29
typedef
struct
ResEntry_t
{
30
char
name[8 + 1 + 3 + 1];
31
void
*buffer;
32
}
ResEntry_t
;
33
34
typedef
struct
ResEntry_tp
{
35
char
name[16];
36
byte
**buffer;
37
}
ResEntry_tp
;
38
39
/* Max resource file size among all languages */
40
#define RES_ALEAT_MAX 256
41
#define RES_ANICO_MAX 667
42
#define RES_ANIMA_MAX 2046
43
#define RES_ARPLA_MAX 7910
44
#define RES_CARPC_MAX 384
45
#define RES_GAUSS_MAX 1449
46
#define RES_ICONE_MAX 2756
47
#define RES_LUTIN_MAX 2800
48
#define RES_MURSM_MAX 76
49
#define RES_SOUCO_MAX 424
50
#define RES_SOURI_MAX 1152
51
#define RES_TEMPL_MAX 27337
52
#define RES_ZONES_MAX 9014
53
#define RES_PUZZL_MAX 45671
54
#define RES_SPRIT_MAX 23811
55
#define RES_PERS1_MAX 14294
56
#define RES_PERS2_MAX 10587
57
#define RES_DESCI_MAX 10515
58
#define RES_DIALI_MAX 9636
59
#define RES_MOTSI_MAX 1082
60
#define RES_VEPCI_MAX 1345
61
62
extern
byte
vepci_data[];
63
extern
byte
motsi_data[];
64
65
extern
byte
puzzl_data[];
66
extern
byte
sprit_data[];
67
68
extern
byte
pers1_data[];
69
extern
byte
pers2_data[];
70
71
extern
byte
desci_data[];
72
extern
byte
diali_data[];
73
74
extern
byte
*arpla_data;
75
extern
byte
*aleat_data;
76
extern
byte
*carpc_data;
77
extern
byte
*icone_data;
78
extern
byte
*souco_data;
79
extern
byte
*souri_data;
80
extern
byte
*templ_data;
81
extern
byte
*mursm_data;
82
extern
byte
*gauss_data;
83
extern
byte
*lutin_data;
84
extern
byte
*anima_data;
85
extern
byte
*anico_data;
86
extern
byte
*zones_data;
87
88
byte
*seekToEntry(
byte
*bank, uint16 num,
byte
**end);
89
byte
*seekToEntryW(
byte
*bank, uint16 num,
byte
**end);
90
91
uint16 loadFile(
const
char
*filename,
byte
*buffer);
92
uint16 saveFile(
char
*filename,
byte
*buffer, uint16 size);
93
int16 loadFilesList(
ResEntry_t
*entries);
94
95
int16 loadStaticData(
void
);
96
Graphics::Surface
*loadFond(
void
);
97
int16 loadSpritesData(
void
);
98
int16 loadPersData(
void
);
99
100
extern
ResEntry_t
res_texts[];
101
int16 loadVepciData(
void
);
102
103
extern
ResEntry_t
res_desci[];
104
int16 loadDesciData(
void
);
105
106
extern
ResEntry_t
res_diali[];
107
int16 loadDialiData(
void
);
108
109
}
// End of namespace Chamber
110
111
#endif
Chamber::ResEntry_t
Definition:
resdata.h:29
Chamber::ResEntry_tp
Definition:
resdata.h:34
Graphics::Surface
Definition:
surface.h:67
engines
chamber
resdata.h
Generated on Sun Nov 22 2026 09:21:47 for ScummVM API documentation by
1.9.4