~ubuntu-branches/debian/experimental/cuneiform/experimental

« back to all changes in this revision

Viewing changes to cuneiform_src/Kern/hrstr/func.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-07-10 17:58:10 UTC
  • Revision ID: james.westby@ubuntu.com-20090710175810-rqc89d2i3tki9m89
Tags: upstream-0.7.0+dfsg
ImportĀ upstreamĀ versionĀ 0.7.0+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
Copyright (c) 1993-2008, Cognitive Technologies
 
3
All rights reserved.
 
4
 
 
5
ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ ļæ½ ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½,
 
6
ļæ½ļæ½ļæ½ ļæ½ ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½, ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½, ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½:
 
7
 
 
8
      * ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½
 
9
        ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½, ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½
 
10
        ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½.
 
11
      * ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½/ļæ½ļæ½ļæ½ ļæ½
 
12
        ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½, ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½, ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½
 
13
        ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½, ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½
 
14
        ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½.
 
15
      * ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ Cognitive Technologies, ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½
 
16
        ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½/ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½
 
17
        ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½, ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½, ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½
 
18
        ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½.
 
19
 
 
20
ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ ļæ½/ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ "ļæ½ļæ½ļæ½
 
21
ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½" ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½-ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½, ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½,
 
22
ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½, ļæ½ļæ½ ļæ½ļæ½
 
23
ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½. ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ ļæ½ ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½, ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½
 
24
ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½/ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½, ļæ½ļæ½ ļæ½ ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½
 
25
ļæ½ļæ½ŃØļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½, ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½, ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½, ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½
 
26
ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½, ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½
 
27
ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ (ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½, ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½,
 
28
ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½, ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½/ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½, ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½-ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½
 
29
ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ ļæ½/ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½,
 
30
ļæ½ļæ½ ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½), ļæ½ļæ½ ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½, ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½
 
31
ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½ ļæ½ ļæ½ļæ½ļæ½ļæ½ļæ½ļæ½.
 
32
 
 
33
Redistribution and use in source and binary forms, with or without modification,
 
34
are permitted provided that the following conditions are met:
 
35
 
 
36
    * Redistributions of source code must retain the above copyright notice,
 
37
      this list of conditions and the following disclaimer.
 
38
    * Redistributions in binary form must reproduce the above copyright notice,
 
39
      this list of conditions and the following disclaimer in the documentation
 
40
      and/or other materials provided with the distribution.
 
41
    * Neither the name of the Cognitive Technologies nor the names of its
 
42
      contributors may be used to endorse or promote products derived from this
 
43
      software without specific prior written permission.
 
44
 
 
45
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
 
46
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 
47
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 
48
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
 
49
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 
50
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 
51
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
 
52
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 
53
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 
54
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
55
*/
 
56
 
 
57
 
 
58
/********************************************************************/
 
59
/*                                                                  */
 
60
/*                common functions prototypes                       */
 
61
/*                                                                  */
 
62
/********************************************************************/
 
63
 
 
64
#ifndef KERNEL_H_INCLUDE
 
65
#define KERNEL_H_INCLUDE
 
66
 
 
67
#include <setjmp.h>
 
68
 
 
69
#include "struct.h"
 
70
#include "extract.h"
 
71
#include "stick.h"
 
72
#include "cstr.h"
 
73
#include "alphabet.h"
 
74
 
 
75
/* FIXME: to compile in MS VC++ */
 
76
#define c_locomp EVN_CLocomp
 
77
 
 
78
extern BYTE    *let_linpos,    *let_lindef,
 
79
               *let_lincomp,   *let_linshape,
 
80
               *let_sans_acc,  *let_lindef3;
 
81
extern Word16    *accent_tab ; // 30.08.2000 E.P.
 
82
 
 
83
// module diffrv.c
 
84
void r_criteria(cell *c, const s_glue * gl);
 
85
 
 
86
// module prscan.c
 
87
INT brigt(INT,INT,INT,INT);
 
88
 
 
89
// module names.c
 
90
PCHAR full_name(PCHAR w, PCHAR n);
 
91
 
 
92
// module kernel.c
 
93
void correct_dir_path (PBYTE p);
 
94
 
 
95
// module proimage.c
 
96
void image_file_close();
 
97
BOOL image_file_open();
 
98
INT source_read (PBYTE start, PBYTE ptr, PBYTE end);
 
99
 
 
100
// module progress.c
 
101
void set_percentage(void);
 
102
void progress_next_step(void);
 
103
DWORD progress_set_step (DWORD volume);
 
104
DWORD progress_set_percent (DWORD volume);
 
105
void progress_finish(void);
 
106
 
 
107
// module matrix.c
 
108
void matrix_open();
 
109
void matrix_close();
 
110
INT matrix_read(PBYTE buff, WORD lth);
 
111
 
 
112
// module rules.c
 
113
void rules_open();
 
114
INT rules(MN *);
 
115
INT frame(MN *);
 
116
void rules_closed();
 
117
void short_undln();
 
118
void del_root(INT,INT,INT,INT);
 
119
 
 
120
// module rulsh.c
 
121
LONG rules_shaving(MN *,INT);
 
122
INT shaving_let();
 
123
 
 
124
// module rulbr.c
 
125
void cutoffs();
 
126
 
 
127
// module sweeper.c
 
128
void sweeper_ini();
 
129
WORD sweeper(INT);
 
130
void sweeper_end();
 
131
void read_comp(DWORD,PCHAR,LONG);
 
132
void comp_file_close();
 
133
INT delgarb();
 
134
void del_shav();
 
135
 
 
136
// module skew.c
 
137
INT skew_corr(CSTR_line , INT);
 
138
void skew_end();
 
139
void ideal_rc(cell *);
 
140
 
 
141
// module pass3.c
 
142
void pass3(CSTR_line lin,CSTR_line lout);
 
143
BOOL pass3BL(CSTR_line ln);
 
144
BOOL pass1_test_alphabet(str_info *str,CSTR_line ln);
 
145
BOOL pass2_test_alphabet(str_info *str,CSTR_line ln);
 
146
void accept_cell(cell *ce,c_comp *co);
 
147
void dust_ini(CSTR_line lin);
 
148
INT revision();
 
149
// module alphabet.c
 
150
BOOL is_digital_string(void);
 
151
void serbian_J2j(void);
 
152
 
 
153
// module snap.c
 
154
void reset_snap(void);
 
155
BOOL snap_fictive_skip(INT i);
 
156
BOOL snap_init(void);
 
157
BOOL snap_init_variables(void);
 
158
BOOL snap_finish(void);
 
159
BOOL snap_newline(void);
 
160
BOOL snap_newpass(BYTE);
 
161
BOOL snap_show_text(PBYTE);
 
162
BOOL snap_show_text1(PBYTE);
 
163
BOOL snap_monitor(void);
 
164
void snap_draw_line(Handle wnd, Point16 *start, Point16 *end, Int32 skew,
 
165
                                                           Word32 rgb, Int16 pen, Word32 key);//IGOR
 
166
void snap_del_line(Handle wnd, Word32 key);//IGOR
 
167
BOOL snap_baselines(BYTE a);//IGOR
 
168
BOOL snap_monitor_ori(CSTR_line *snap_line, Int32 nums);
 
169
BOOL snap_newcell(cell *);
 
170
BOOL snap_stopcell(cell *,cell *);
 
171
BOOL snap_activity(BYTE);
 
172
BOOL snap_is_marked(CSTR_line ln);
 
173
BOOL snap_show_raster(PBYTE,INT,INT);
 
174
BOOL Alik_snap_show_raster(PBYTE,PBYTE,PBYTE,INT,INT,PCHAR,PCHAR,PINT);
 
175
void snap_newcut(void);
 
176
void snap_show_cuts(cell *C, struct cut_elm *cut_points);
 
177
void snap_newpoint(INT i);
 
178
void snap_stop_cuts(void);
 
179
cell*snap_get_stopcell(void);
 
180
 
 
181
BOOL snap_is_active(void);
 
182
 
 
183
// module prop.c
 
184
void prop(INT);
 
185
INT prop_index(INT h, INT w);
 
186
 
 
187
// module diff.c
 
188
INT ij_dot(cell *);
 
189
void criteries();
 
190
void criteria(cell *);
 
191
cell *dot_ri(cell *);
 
192
cell *dot_ij(cell *);
 
193
cell *dot_excl(cell *);
 
194
cell *dot_inv(cell *);
 
195
INT ij_test(cell *);
 
196
void v_to_y(cell * c, BYTE compose);
 
197
void c_to_ctail(cell * c, BYTE compose);
 
198
 
 
199
// module accents.c
 
200
void pass_accent(void);
 
201
INT bottom_accent(cell *c);
 
202
INT accent(cell *);
 
203
INT type_acc(cell *,BOOL);
 
204
INT find_bottom_accent(cell *c);
 
205
 
 
206
// module findiff.c
 
207
void final_crit();
 
208
 
 
209
// module linpos.c
 
210
INT obtain_diff(INT);
 
211
INT def_locbas(cell *);
 
212
void inter_diff(cell *);
 
213
INT if_dust(cell *);
 
214
INT if_dust_size(cell *);
 
215
void linpos(CSTR_line);
 
216
void cell_by_base();
 
217
void cell_position(cell *);
 
218
INT levcut(cell *, INT);
 
219
void get_b_lines(cell *,B_LINES *);
 
220
LONG get_size();
 
221
INT get_bsm();                          //AK 04.03.97 ? to LONG
 
222
INT is_defis(cell *);
 
223
void basedraft(CSTR_line);
 
224
void basefin(CSTR_line);
 
225
INT cut_by_pos(cell *C, BYTE c, INT wp, BYTE fl, BYTE arg);
 
226
 
 
227
// module dmacc.c
 
228
INT try_cut_accent(cell *C1, B_LINES *my_bases, INT flag);
 
229
INT try_cut_top_accent(cell *C1, B_LINES *my_bases, INT flag);
 
230
INT try_cut_bot_accent(cell *C1, B_LINES *my_bases, INT flag);
 
231
 
 
232
// module dm1.c
 
233
void dm1();
 
234
INT discrid(cell *, INT);
 
235
INT decidust(cell *);
 
236
INT estcomp
 
237
  (CHAR,cell *,SVERS *,INT,INT,INT,s_glue *,cut_pos*,cut_pos*,CHAR,CHAR,CHAR);
 
238
void snBOX(cell *);
 
239
void est_snap(CHAR user,cell *C,PCHAR txt);
 
240
void promote(BYTE, cell *, BYTE, INT);
 
241
void collect_pat(cell *, s_glue *, cell *);
 
242
 
 
243
// module dm2.c
 
244
void dm2();
 
245
void glsnap(CHAR,cell *,PCHAR);
 
246
 
 
247
// module dms.c
 
248
void save_vers(cell *,SVERS *);
 
249
void min3(v_val *,BYTE,v_val *);
 
250
void rest_vers(cell *,SVERS *);
 
251
INT signif_line_count(cell*);
 
252
INT compare_vect(v_val *,v_val *);
 
253
INT cell_is_BOX_solid (cell*);
 
254
 
 
255
// module locomp.asm
 
256
MN* c_locomp(PBYTE,LONG,LONG,INT,INT);
 
257
 
 
258
// module v0compgl.asm
 
259
void invert_tiff(PBYTE c, WORD lth);
 
260
 
 
261
// module cutgraph.c
 
262
INT make_graph();
 
263
void excl_connect();
 
264
void find_path();
 
265
 
 
266
// module cutpoint.c
 
267
INT cut_points(INT,INT,PBYTE,struct cut_elm *);
 
268
INT Alik_cut_points(INT,INT,PBYTE,struct cut_elm *, INT);
 
269
MN* cut_rast(PBYTE,INT,INT,INT,INT,struct cut_elm *,CHAR,CHAR,PCHAR,cut_pos*);
 
270
 
 
271
// module alcutfun.c
 
272
void Alik_def_cut_flg(cell *,struct cut_elm *,struct cut_elm *,INT,BYTE);
 
273
 
 
274
// module glue.c
 
275
MN *glue(c_comp **, INT);
 
276
 
 
277
// module dmBOX.c
 
278
INT dmBOX(cell *,s_glue *);
 
279
INT dmiBOX(cell *,s_glue *,INT);
 
280
servBOX *make_broken_raster(s_glue *,INT);
 
281
INT crecell(cell *,s_glue *,INT);
 
282
INT crepat(cell *,s_glue *,INT,INT);
 
283
void SBOX_to_static();
 
284
void SBOX_to_GL(s_glue *);
 
285
void GL_to_SBOX(s_glue *);
 
286
void static_to_SBOX();
 
287
void dens_to_cell(cell *);
 
288
void static_to_cell(cell *);
 
289
 
 
290
// module embBOX.c
 
291
void embBOX(servBOX *,SVERS *, BOOL );
 
292
void embBOXF(servBOX *,INT, BOOL);
 
293
 
 
294
// module scalar.asm
 
295
INT proport(WORD,WORD,WORD,INT,INT);
 
296
extern WORD (*scalarf)(PWORD,PWORD,WORD);
 
297
extern LONG (*scalar) (PWORD,PWORD);
 
298
INT long_sqrt(DWORD);
 
299
 
 
300
// module funcBOX.asm
 
301
void comp_to_box(PWORD,c_comp *,WORD, WORD, WORD, WORD);
 
302
 
 
303
// module abris.c
 
304
void abris_reset();
 
305
INT abris(s_glue *,cell *,BYTE,INT);
 
306
INT h_filt(cell *, INT, s_glue *, BYTE Let);
 
307
INT rtf(cell *cl, INT prob, s_glue *GL);
 
308
void apply_monus(cell *);
 
309
 
 
310
// module perc.c
 
311
void perc();
 
312
void number();
 
313
 
 
314
// module atlant.c
 
315
void atlant(cell *,s_glue *,INT,INT);
 
316
 
 
317
// module ltmain.c
 
318
void LayoutPart1 (void);
 
319
void LayoutPart2 (void);
 
320
 
 
321
// module ltpage.c
 
322
void SpecCompPut (MN *mn);
 
323
 
 
324
// module spec_sym.c
 
325
void star();
 
326
void bullet();
 
327
INT chkbullet(BYTE);
 
328
BOOL abris_curve(BYTE fun[],INT n,INT w);
 
329
INT find_minimum(BYTE fun[],INT n,BYTE *_imin);
 
330
 
 
331
 
 
332
// module S_TOOLS.C
 
333
void new_vers( cell *c, BYTE vers, BYTE prob);
 
334
void down_all_versions(cell *c, INT monus);
 
335
void filtr_shave(BYTE fun[],INT len);
 
336
BOOL set_prob(cell *c, CHAR let, BYTE prob);
 
337
BOOL check_let(cell *c, CHAR let );
 
338
void add_stick_vers(cell *c,CHAR let,BYTE prob);
 
339
void filtr_short(BYTE fun[],INT n,INT lev);
 
340
void filtr121(BYTE fun[],INT n);
 
341
void filtr_bullet(BYTE fun[],INT len);
 
342
void add_thick_stick_versions(cell *c,INT dx,INT wide,INT inc,
 
343
                           INT typ_snap,
 
344
                           STICK_CHARS *left_chars,STICK_CHARS *right_chars,
 
345
                           STICK_SIGNUMS *signums);
 
346
void add_thin_stick_versions(cell *c,BYTE left[],BYTE right[],
 
347
                           INT dy,INT dx,INT typ_inc,
 
348
                           STICK_CHARS *left_chars,STICK_CHARS *right_chars,
 
349
                           STICK_SIGNUMS *signums);
 
350
BOOL sign_neck(BYTE left[],BYTE right[],INT n,INT base,INT mode);
 
351
INT conv_prob(INT prob);
 
352
INT shift_raster(BYTE *r,INT dy,INT dx,INT tab[],INT max_shift,BYTE *res,INT dir);
 
353
/******************************
 
354
void full_snap(cell *c,STICK_CHARS *l,STICK_CHARS *r,STICK_SIGNUMS *s,
 
355
                      INT tab_angle[],
 
356
                      INT left_mode,INT right_mode,INT opt,INT wide,
 
357
                      INT inc_v,INT t);
 
358
void short_snap(CHAR *s,INT t);
 
359
*******************************/
 
360
 
 
361
// module dis_stic.c
 
362
INT discrim_all_sticks(cell *c,
 
363
                STICK_CHARS *left_chars,STICK_CHARS *right_chars,
 
364
        STICK_SIGNUMS *signums);
 
365
INT discrim_stick(BYTE,STICK_CHARS *,STICK_CHARS *,STICK_SIGNUMS *,
 
366
          INT );
 
367
INT del_sticks(cell *c ,CHAR let);
 
368
INT similar_0xBA (STICK_CHARS *, STICK_CHARS *, STICK_SIGNUMS *);
 
369
INT similar_0xBB (STICK_CHARS *l,STICK_CHARS *r,STICK_SIGNUMS *s);
 
370
INT similar_1(STICK_CHARS *,STICK_CHARS *,STICK_SIGNUMS *);
 
371
INT similar_l_stroked(STICK_CHARS *,STICK_CHARS *,STICK_SIGNUMS *);
 
372
INT similar_lcb(STICK_CHARS *,STICK_CHARS *,STICK_SIGNUMS *);
 
373
INT similar_rcb(STICK_CHARS *,STICK_CHARS *,STICK_SIGNUMS *);
 
374
INT similar_excl(STICK_CHARS *,STICK_CHARS *,STICK_SIGNUMS *);
 
375
INT similar_excl_with_dot(STICK_CHARS *,STICK_CHARS *,STICK_SIGNUMS *);
 
376
BYTE similar_wide_frt1(STICK_CHARS *left_chars,STICK_CHARS *right_chars);
 
377
 
 
378
 
 
379
// module def_stic.c
 
380
INT stick_center_study(cell *c,s_glue *GL,INT typ );
 
381
WORD typ_thin_stick(lnhead *lin,INT dy,INT dx);
 
382
INT erector(cell *c, INT enable_erect, INT enable_shave, INT enable_snap, INT enable_diskrim );
 
383
 
 
384
// module cha_stic.c
 
385
INT set_stick_char(BYTE left[],BYTE right[],INT tails[],
 
386
                   INT dy,INT dx,INT opt,INT wid,INT corr_mode,
 
387
           INT skip_ul,INT skip_dl,INT skip_ur,INT skip_dr, INT inc,
 
388
                   STICK_CHARS *left_chars, STICK_CHARS *right_chars,
 
389
                   STICK_SIGNUMS *signums,
 
390
                   INT *l_mode,INT *r_mode);
 
391
INT calc_right_f_symptom(BYTE fun[],INT n,INT m);
 
392
INT calc_left_f_symptom (BYTE fun[],INT n,INT nx,BOOL c_ft);
 
393
void num_of_skip_line(BYTE left[],BYTE right[],INT dy,INT opt,INT wide,
 
394
                     INT *up_l,INT *up_r,INT *down_l,INT *down_r);
 
395
 
 
396
void set_stick_aux_signums(cell *c,BYTE left[],BYTE right[],
 
397
                INT dy,INT wide_up,
 
398
                STICK_CHARS *left_chars,STICK_CHARS *right_chars,
 
399
                STICK_SIGNUMS *signums,
 
400
                INT dis_left_brace,INT dis_right_brace,INT dis_slash,
 
401
                INT l_f_sym,INT r_f_sym,
 
402
                INT T_c,
 
403
                WORD T_2_3,
 
404
                WORD T_skok,
 
405
                B_LINES *bl,
 
406
                INT nlines,INT incline);
 
407
 
 
408
void calc_skipped_lines(INT hist_int[],BYTE left[],BYTE right[],
 
409
                        INT dy,INT dx,INT wide,INT opt,BOOL c_r,
 
410
                        INT *ul,INT *ur,INT *dl,INT *dr);
 
411
void correct_f_symptoms(INT hist_int[],INT dy,INT *l_f_sym,INT *r_f_sym);
 
412
void correct_upper_peaks(STICK_CHARS *l,STICK_CHARS *r,INT dy);
 
413
 
 
414
// module differ.c
 
415
void differ();
 
416
 
 
417
// module bold.c
 
418
BOOL boldshave(cell *,INT);                         //AK: at .ms as BOOL
 
419
BOOL pimpleshave(cell *C, INT shave, INT inc);      //AK: at .ms as BOOL
 
420
 
 
421
 
 
422
// module shaving.c
 
423
INT shaving(INT);
 
424
 
 
425
// module punct.c
 
426
void punct();
 
427
void clear_punct_twin_flags(void);
 
428
void clear_twin_flags(void);
 
429
void clean_punct();
 
430
void clean_punct_temp();
 
431
void clean_line();
 
432
void recover_dusts(void);
 
433
void hide_dusts(BYTE reg);
 
434
 
 
435
// module il1peak.c
 
436
void extremum(PCHAR,INT,INT,INT,INT,CHAR,CHAR);
 
437
 
 
438
// module il1tg.c
 
439
void il1();
 
440
 
 
441
// module space.c
 
442
void space_size(INT);
 
443
void set_space_size(INT);
 
444
void space_cell();
 
445
void cont_space();
 
446
void space_valid_words(void);
 
447
void showgap(cell *);
 
448
INT get_space_size(void);
 
449
INT get_gap(void);
 
450
 
 
451
// module context.c
 
452
void context();
 
453
void context_proc_line();
 
454
void complex_word();
 
455
 
 
456
// module rcontext.c
 
457
void correct_case(void);
 
458
 
 
459
// module spec_sym.c
 
460
BOOL abris_curve(BYTE fun[],INT n,INT w);
 
461
 
 
462
// module fontprop.c
 
463
void font_let();
 
464
void font_narrow();
 
465
void font_str();
 
466
void checkpitch();
 
467
void avdens();
 
468
INT letincl(cell *);
 
469
 
 
470
// module lineout.c
 
471
void lineout();
 
472
void lineout_fragment();
 
473
void lines_out_init();
 
474
void rules_to_ed();
 
475
void ed_load();
 
476
void ed_flip();
 
477
void ed_out_finish();
 
478
void set_initial_edout (PBYTE pool, DWORD lth);
 
479
void ed_save (void);
 
480
void init_sheet_tag(void);
 
481
 
 
482
// module lout_bcr.c
 
483
void lout_bcr();
 
484
void loutf_bcr();
 
485
void louti_bcr();
 
486
 
 
487
// module edscan.c
 
488
INT ed_scan (BOOL (*)(PBYTE,INT),BOOL (*)(PBYTE,INT),PBYTE,PBYTE);
 
489
BOOL scan_skip (PBYTE p, INT lth);
 
490
 
 
491
// module edp.c
 
492
void edp_main(PBYTE memory, LONG lth);
 
493
 
 
494
// module edpsave.c
 
495
void save_ed(void);
 
496
 
 
497
// module edprproc.c
 
498
void preprocess();
 
499
 
 
500
// module writepro.c
 
501
void write_prot(cell *);
 
502
 
 
503
// module tools.c
 
504
BOOL    comp_versions(version *v, version *w, INT n,INT    snvers);
 
505
void set_bad_cell(cell *);
 
506
void sort_vers(cell *);
 
507
void sort_v_vect(INT,version *);
 
508
void setup_string();
 
509
void kit_init();
 
510
PBYTE il1_pool_ptr();
 
511
PBYTE t_raster();
 
512
c_comp * comp_vers_to_kit(MN * mn, c_comp *c);
 
513
c_comp * comp_from_file(DWORD,LONG);
 
514
c_comp * compose_comp(INT,c_comp **);
 
515
BOOL compose_cell(INT,cell **,cell *);
 
516
BOOL compose_cell_save(INT,cell **,cell *);
 
517
void del_retain_cell(cell *);
 
518
cell *del_cell(cell *);
 
519
PBYTE del_save_cell(cell *);
 
520
cell *rest_cell(void *,cell *);
 
521
cell *cell_f();
 
522
cell *cell_l();
 
523
////////////////////////////////////////////////
 
524
//AK add 3 funcs for check chain of cells:
 
525
void AKTryChainRecover( cell ** );
 
526
void AKCheckChain();
 
527
INT  AKCellInChain( cell * );
 
528
void AKClearVers(void);
 
529
////////////////////////////////////////////////
 
530
cell *new_cell();
 
531
void free_cell(cell *c);
 
532
void insert_cell(cell *c, cell *ci);
 
533
void insert_cell1(cell *c,cell *ci);
 
534
void adjust_links (cell *c);
 
535
cell *create_cell (MN *,cell *,CHAR, CHAR);
 
536
cell *create_cell1(MN *,cell *,CHAR, CHAR);
 
537
cell *create_cell_work(MN * mn, cell * ci, CHAR bdiff, CHAR dflag);
 
538
INT short_recog_cell(cell *);
 
539
INT recog_cell(cell *);
 
540
INT recop_cell(cell *);
 
541
INT reco2_cell(cell *);
 
542
PBYTE save_raster(cell *);
 
543
PBYTE give_kit_addr();
 
544
void take_kit_addr(PBYTE a);
 
545
void add_vers(cell *, version *);
 
546
void del_version( cell *c, BYTE let);
 
547
void online_comp(c_comp *);
 
548
BOOL save_MN(MN *);
 
549
void cell_bonus_let(cell *C, CHAR Let, INT BonVal);
 
550
void cell_bonus(cell *C, version *pVer, INT BonVal);
 
551
 
 
552
// module baton.c
 
553
INT sticks_in_letter(cell *,INT,STICK **);
 
554
void set_tab_incl();
 
555
 
 
556
// module filesys.c
 
557
void file_string(STRING *);    // accept string into file
 
558
str *first_string();
 
559
str *next_string();
 
560
INT read_string();
 
561
void setup_memory();
 
562
void convert_rtf();
 
563
void maden_comp(PBYTE,INT,INT,INT,INT);
 
564
c_comp *get_comp(PROOT);
 
565
void Pass2(void);
 
566
Bool32 read_rec_file(INT seqn, PBYTE pool, PBYTE * end);
 
567
///////////////////INT cond_open(INT seqn, PCHAR name, WORD b1, WORD b2);
 
568
PBYTE seq_nam(INT seqn);
 
569
INT  to_voc(void);
 
570
void to_edp(void);
 
571
void make_rtf(void);
 
572
void make_ASCII(void);
 
573
void make_smart_ASCII(void);
 
574
void LayoutSetup (void);
 
575
void load_vocs(void);
 
576
 
 
577
// module msgerr
 
578
void error_exit(INT group, INT element);
 
579
void error_exit_asm(INT element);
 
580
void clear_error_status(void);
 
581
 
 
582
// module testsnap
 
583
void snap_events(cell *);
 
584
void write_events(cell *);
 
585
void * snap_ev_res();
 
586
void snap_ev_reset();
 
587
void snap_keep(BYTE user, PBYTE addr, WORD lth);
 
588
/*void snap_sticks(cell *,char *);*/
 
589
 
 
590
// module v0compmn.asm
 
591
void extrcomp (void);
 
592
 
 
593
// module v0comprq.asm
 
594
INT recog_letter();
 
595
void recog_save_maden();
 
596
 
 
597
// module proport.c
 
598
void v2_pidx_crit(cell *);
 
599
void pidx_crit();
 
600
BOOL pidx_skip(INT h, INT w,BYTE t_let);
 
601
WORD el_pidx_crit(WORD t_let,INT pidx);
 
602
 
 
603
// module lang_fil.c
 
604
void ev_lang_filter();
 
605
BOOL proplet(BYTE);
 
606
 
 
607
// module compkit.c
 
608
INT MN_to_line(MN *);
 
609
PBYTE make_raster();
 
610
PBYTE make_extended_raster(c_comp *);
 
611
 
 
612
// module picture.c
 
613
INT scaled(INT value, BYTE scale);
 
614
 
 
615
// module large.asm
 
616
PBYTE compress_component(c_comp *c, BYTE scale);
 
617
PBYTE compress_large_component(c_comp *c, BYTE scale);
 
618
PBYTE compress_dust_component(c_comp *c, BYTE scale);
 
619
INT filling_MN(MN *mn, WORD h, WORD w);
 
620
 
 
621
//      module tg_spell
 
622
INT spelling(PBYTE memory, LONG size);
 
623
 
 
624
// module in_treei.c
 
625
BYTE * load_stat_dict (PBYTE ptr);
 
626
void load_user_dicts (PSTR list_name, PBYTE ptr);
 
627
void user_voc_init (void);
 
628
 
 
629
// module corners.c
 
630
void discrim_un( cell *, s_glue *, INT );
 
631
 
 
632
// module rtf.c
 
633
void rtf_main(PBYTE memory, LONG memory_lth);
 
634
 
 
635
// module rtfdebug.c
 
636
void print_fragments();
 
637
 
 
638
// module ascisave.c
 
639
void smart_ascii_save(PBYTE pool, LONG lth);
 
640
void ascii_save(PBYTE pool, LONG lth);
 
641
 
 
642
// module writepro
 
643
void write_prot(cell *);
 
644
 
 
645
// module scanjet
 
646
INT give_scan_handle(void);
 
647
WORD scan_close(void);
 
648
 
 
649
// module dllentry or run
 
650
void write_text(BYTE);
 
651
 
 
652
// module celldump.c
 
653
void setup_dump(void);
 
654
void cell_to_dump(cell *);
 
655
void dump_to_string(void);
 
656
 
 
657
//module tm.c
 
658
void trade_marks(void);
 
659
 
 
660
//module passe.c
 
661
cell * end_word(cell *cs,BYTE *str,BYTE *word_len,BYTE *add_letters);
 
662
cell * next_word(cell *cs);
 
663
BOOL russian_word(BYTE *wrd);
 
664
 
 
665
//module erection.c
 
666
INT erection_cyr_language(BYTE language);
 
667
INT erection_cond_language(BYTE language);
 
668
INT erection_language(BYTE language);
 
669
void  calcErection( cell *c );
 
670
void   erect_init_global_tab(void);
 
671
void erect_set_global(void);
 
672
INT erect_get_global(void);
 
673
INT erect_get_local(void);
 
674
INT erect_get_represent(void);
 
675
INT erect_get_words(void);
 
676
BYTE   erection_incline_words(INT pass);
 
677
BYTE   erection_one_incline_word(cell *c, cell *e);
 
678
void   erection_delete(void);
 
679
void   erection_restore(void);
 
680
void   erection_delete_seq(cell *b, cell *e);
 
681
void   erection_restore_seq(cell *b, cell *e);
 
682
INT    erection_compose_inc(INT n,cell **clist);
 
683
INT    erect_original_dens  (cell *c);
 
684
INT    erect_original_width (cell *c);
 
685
cell*  erect_cell_value (cell *c, INT inc,         INT shave, BOOL cutting);
 
686
cell*  erect_cell_table (cell *c, INT tab_angle[], INT shave, BOOL cutting);
 
687
BOOL erect_make_tab(cell *c, INT     tab_angle[]);
 
688
void erect_shift_intervals(void *addr, INT h, INT tab_angle[] );
 
689
INT erect_raster_value (BYTE *raster, INT dx, INT dy, INT inc);
 
690
 
 
691
// module shevron.c
 
692
void shevron(cell* );
 
693
/*-------------------------- Extern -------------------*/
 
694
 
 
695
BOOL check_cancel(WORD perc);
 
696
 
 
697
 
 
698
 
 
699
MN *cell_cut(cell *);
 
700
 
 
701
 
 
702
void set_page_name(PBYTE);
 
703
 
 
704
void setdrmode(INT);
 
705
 
 
706
void c_rastror(PBYTE,PBYTE,WORD,WORD);
 
707
 
 
708
lnhead *c_boxln(MN *);
 
709
 
 
710
// rstr_con.c
 
711
Int16 rstr_cont_store(RecRaster *r,Word8 let, Word8 nLns,Rect16 *rect,Word8 IsPrint,
 
712
                Word8   Prob, Word8 Valid, RecVersions *v,Word8 control,
 
713
        Word8   kegl,Word8 column,Word8 tabno);
 
714
void rstr_close_cont(void);
 
715
Bool32 rstr_open_cont(void);
 
716
// rcm.c
 
717
Bool32  Reload_lang_vocs(Word8  language);
 
718
Bool32  set_user_alphabet(Word8 * usa_ascii);
 
719
void ErrorExit(int Code);
 
720
 
 
721
#ifndef _JBTYPE
 
722
#define _JBTYPE jmp_buf
 
723
#endif
 
724
_JBTYPE *Control_Point();
 
725
#endif
 
726
 
 
727
// font_ser.c
 
728
void serif_let();
 
729
 
 
730
 
 
731
// erect2.c
 
732
Bool32  cstr_erection_pass2(CSTR_line lout);