forked from klochner/Qxw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dicts.h
56 lines (41 loc) · 1.69 KB
/
dicts.h
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
// $Id: dicts.h -1 $
/*
Qxw is a program to help construct and publish crosswords.
Copyright 2011 Mark Owen
http://www.quinapalus.com
E-mail: [email protected]
This file is part of Qxw.
Qxw is free software: you can redistribute it and/or modify
it under the terms of version 2 of the GNU General Public License
as published by the Free Software Foundation.
Qxw is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Qxw. If not, see <http://www.gnu.org/licenses/> or
write to the Free Software Foundation, Inc., 51 Franklin Street,
Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __DICTS_H__
#define __DICTS_H__
#define MAXNDICTS 9 // must fit in a word
extern char dfnames[MAXNDICTS][SLEN];
extern char dsfilters[MAXNDICTS][SLEN];
extern char dafilters[MAXNDICTS][SLEN];
extern char*lemdesc[NLEM];
extern char*lemdescADVP[NLEM];
extern int lcount[MXSZ+1]; // number of lights of each length
extern int atotal; // total answers
extern int ltotal; // total lights
extern int ultotal; // total uniquified lights
extern char*aused; // answer already used while filling
extern char*lused; // light already used while filling
extern int loaddicts(int sil);
extern void freedicts(void);
extern int getinitflist(int**l,int*ll,struct lprop*lp,int wlen);
extern int pregetinitflist(void);
extern int postgetinitflist(void);
extern char*loadtpi(void);
extern void unloadtpi(void);
#endif