[526a993] | 1 | /*
|
---|
| 2 | =============================================================================
|
---|
| 3 | ptselbx.c -- external declarations
|
---|
| 4 | =============================================================================
|
---|
| 5 | */
|
---|
| 6 |
|
---|
[6262b5c] | 7 | #pragma once
|
---|
| 8 |
|
---|
| 9 | #include "fields.h"
|
---|
| 10 | #include "patch.h"
|
---|
| 11 | #include "stdint.h"
|
---|
| 12 |
|
---|
| 13 | /*
|
---|
| 14 | =============================================================================
|
---|
[526a993] | 15 | external variables
|
---|
[6262b5c] | 16 | =============================================================================
|
---|
| 17 | */
|
---|
| 18 |
|
---|
| 19 | extern int8_t datafmt[];
|
---|
[f537c48] | 20 | extern uint16_t datasrc[];
|
---|
[6262b5c] | 21 | extern int16_t defcols[];
|
---|
[f537c48] | 22 | extern uint16_t desdat1[];
|
---|
| 23 | extern uint16_t desdat2[];
|
---|
[6262b5c] | 24 | extern int8_t desdatf[];
|
---|
| 25 | extern int8_t destfmt[];
|
---|
| 26 | extern int16_t destype[];
|
---|
[572daa7] | 27 | extern uint16_t dfsttab[];
|
---|
[6262b5c] | 28 | extern int16_t dfsttp[];
|
---|
| 29 | extern int16_t dstcols[];
|
---|
[f537c48] | 30 | extern uint16_t fpudtab[];
|
---|
[6262b5c] | 31 | extern int16_t fpuetab[];
|
---|
| 32 | extern int8_t hilitab[][8];
|
---|
[f537c48] | 33 | extern uint16_t omdtab[];
|
---|
[6262b5c] | 34 | extern int16_t omftab[];
|
---|
[f537c48] | 35 | extern uint16_t omtabl[];
|
---|
[6262b5c] | 36 | extern int16_t ptbflag;
|
---|
| 37 | extern struct selbox ptboxes[];
|
---|
| 38 | extern int8_t ptdebuf[50];
|
---|
| 39 | extern struct patch ptebuf;
|
---|
| 40 | extern int16_t ptecpos;
|
---|
[3ac8e1b] | 41 | extern uint16_t ptedat1;
|
---|
| 42 | extern uint16_t ptedat2;
|
---|
[6262b5c] | 43 | extern int16_t ptedata;
|
---|
[3ac8e1b] | 44 | extern uint16_t ptedef;
|
---|
[6262b5c] | 45 | extern int16_t ptedest;
|
---|
| 46 | extern int16_t ptedfok;
|
---|
| 47 | extern int16_t ptedfst;
|
---|
| 48 | extern int16_t ptedftp;
|
---|
| 49 | extern int16_t ptedsok;
|
---|
| 50 | extern int16_t ptedtok;
|
---|
| 51 | extern int16_t ptegood;
|
---|
| 52 | extern int16_t ptemenu;
|
---|
| 53 | extern int16_t ptepred;
|
---|
| 54 | extern int16_t pteset;
|
---|
[3ac8e1b] | 55 | extern uint16_t ptespec;
|
---|
| 56 | extern uint16_t ptestm;
|
---|
[6262b5c] | 57 | extern int16_t ptestok;
|
---|
[3ac8e1b] | 58 | extern uint16_t ptesuba;
|
---|
[6262b5c] | 59 | extern int16_t ptesucc;
|
---|
| 60 | extern int8_t *rawdata[];
|
---|
| 61 | extern int8_t *rawdest[];
|
---|
| 62 | extern int8_t *rawdfst[];
|
---|
| 63 | extern int8_t *rawfpud[];
|
---|
| 64 | extern int8_t *rawmdat[];
|
---|
| 65 | extern int8_t *rawmode[];
|
---|
| 66 | extern int16_t stmcols[];
|
---|
| 67 |
|
---|
| 68 | /*
|
---|
| 69 | =============================================================================
|
---|
[526a993] | 70 | external functions
|
---|
[6262b5c] | 71 | =============================================================================
|
---|
| 72 | */
|
---|
| 73 |
|
---|
| 74 | extern void aftercm(void);
|
---|
| 75 | extern void badpdat(void);
|
---|
| 76 | extern void edefstm(int16_t du, int16_t n);
|
---|
| 77 | extern void endpsm(int16_t row, int16_t col);
|
---|
| 78 | extern void epatch(void);
|
---|
| 79 | extern void hilitpm(int8_t n);
|
---|
| 80 | extern void movectc(int16_t r, int16_t c);
|
---|
| 81 | extern void ptdest(int16_t du);
|
---|
| 82 | extern int16_t ptfnbox(int16_t n);
|
---|
| 83 | extern void setsubm(int16_t r, int16_t c);
|
---|