1 /* ScummVM Tools
2  *
3  * ScummVM Tools is the legal property of its developers, whose
4  * names are too numerous to list here. Please refer to the
5  * COPYRIGHT file distributed with this source distribution.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (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, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20  */
21 
22 #ifndef SCI_UNPACK_H_
23 #define SCI_UNPACK_H_
24 
25 #include <sciresource.h>
26 
27 #define SORT_METHOD_ALPHA 0
28 #define SORT_METHOD_GROUP 1
29 
30 #define DEFAULT_SORTING SORT_METHOD_ALPHA
31 
32 extern int vocab_sort; /* Sorting strategy for vocab */
33 extern resource_mgr_t *resmgr;
34 
35 int
36 vocab_print(void);
37 /* Prints vocab data
38 ** Parameters: (void)
39 ** Returns   : (int) 0 on success, 1 on failure
40 ** Controlled by vocab_sort
41 */
42 
43 int
44 script_dump(void);
45 /* Prints all object information
46 ** Parameters: (void)
47 ** Returns   : (int) 0 on success, 1 on failure
48 */
49 
50 int
51 vocab_dump(void);
52 /* Prints full vocabulary information
53 ** Parameters: (void)
54 ** Returns   : (int) 0 on success, 1 on failure
55 */
56 
57 int
58 print_classes(void);
59 /* Prints full class information
60 ** Parameters: (void)
61 ** Returns   : (int) 0 on success, 1 otherwise
62 */
63 
64 #endif
65