1
1
/*
2
2
3
3
Copyright (C) 2015-2018 Night Dive Studios, LLC.
4
+ Copyright (C) 2018-2020 Shockolate Project
4
5
5
6
This program is free software: you can redistribute it and/or modify
6
7
it under the terms of the GNU General Public License as published by
7
8
the Free Software Foundation, either version 3 of the License, or
8
9
(at your option) any later version.
9
-
10
+
10
11
This program is distributed in the hope that it will be useful,
11
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
14
GNU General Public License for more details.
14
-
15
+
15
16
You should have received a copy of the GNU General Public License
16
17
along with this program. If not, see <http://www.gnu.org/licenses/>.
17
-
18
+
18
19
*/
19
- /*
20
+ /*
20
21
* $Source: r:/prj/lib/src/2d/RCS/linfcn.h $
21
22
* $Revision: 1.1 $
22
23
* $Author: kevin $
@@ -30,67 +31,71 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
30
31
/* functions living in the tables */
31
32
32
33
/* all - means that it is a dispatcher */
33
- extern void gri_all_uiline_fill (long , long , grs_vertex * , grs_vertex * );
34
+ extern void gri_all_uiline_fill (long , long , grs_vertex * , grs_vertex * );
34
35
35
36
/* gen is also bank8, bank24 and modex */
36
- extern void gri_gen_uline_fill (long , long , grs_vertex * , grs_vertex * );
37
- extern void gri_gen_uhline_fill (short , short , short , long , long );
38
- extern void gri_gen_uvline_fill (short , short , short , long , long );
39
- extern void gri_gen_usline_fill (long , long , grs_vertex * , grs_vertex * );
40
- extern void gri_gen_ucline_fill (long , long , grs_vertex * , grs_vertex * );
41
- extern void gri_gen_wire_poly_uline (long , long , grs_vertex * , grs_vertex * );
42
- extern void gri_gen_wire_poly_usline (long , long , grs_vertex * , grs_vertex * );
43
- extern void gri_gen_wire_poly_ucline (long , long , grs_vertex * , grs_vertex * );
37
+ extern void gri_gen_uline_fill (long , long , grs_vertex * , grs_vertex * );
38
+ extern void gri_gen_uhline_fill (short , short , short , long , long );
39
+ extern void gri_gen_uvline_fill (short , short , short , long , long );
40
+ extern void gri_gen_usline_fill (long , long , grs_vertex * , grs_vertex * );
41
+ extern void gri_gen_ucline_fill (long , long , grs_vertex * , grs_vertex * );
42
+ extern void gri_gen_wire_poly_uline (long , long , grs_vertex * , grs_vertex * );
43
+ // extern void gri_gen_wire_poly_usline(long, long, grs_vertex *, grs_vertex *);
44
+ extern void gri_gen_wire_poly_ucline (long , long , grs_vertex * , grs_vertex * );
44
45
45
46
/* flat8 -- for each line type and fill type */
46
- extern void gri_flat8_uline_ns (long , long , grs_vertex * , grs_vertex * );
47
- extern void gri_flat8_uline_clut (long , long , grs_vertex * , grs_vertex * );
48
- extern void gri_flat8_uline_xor (long , long , grs_vertex * , grs_vertex * );
49
- extern void gri_flat8_uline_blend (long , long , grs_vertex * , grs_vertex * );
50
-
51
- extern void gri_flat8_uhline_ns (short , short , short , long , long );
52
- extern void gri_flat8_uhline_clut (short , short , short , long , long );
53
- extern void gri_flat8_uhline_xor (short , short , short , long , long );
54
- extern void gri_flat8_uhline_blend (short , short , short , long , long );
55
-
56
- extern void gri_flat8_uvline_ns (short , short , short , long , long );
57
- extern void gri_flat8_uvline_clut (short , short , short , long , long );
58
- extern void gri_flat8_uvline_xor (short , short , short , long , long );
59
- extern void gri_flat8_uvline_blend (short , short , short , long , long );
60
-
61
- extern void gri_flat8_ucline_norm (long , long , grs_vertex * , grs_vertex * );
62
- extern void gri_flat8_ucline_clut (long , long , grs_vertex * , grs_vertex * );
63
- extern void gri_flat8_ucline_xor (long , long , grs_vertex * , grs_vertex * );
64
- extern void gri_flat8_ucline_blend (long , long , grs_vertex * , grs_vertex * );
65
-
66
- extern void gri_flat8_usline_norm (long , long , grs_vertex * , grs_vertex * );
67
- extern void gri_flat8_usline_clut (long , long , grs_vertex * , grs_vertex * );
68
- extern void gri_flat8_usline_xor (long , long , grs_vertex * , grs_vertex * );
69
- extern void gri_flat8_usline_blend (long , long , grs_vertex * , grs_vertex * );
70
-
71
- extern void gri_flat8_wire_poly_uline (long , long , grs_vertex * , grs_vertex * );
72
- extern void gri_flat8_wire_poly_uline_xor (long , long , grs_vertex * , grs_vertex * );
73
- extern void gri_flat8_wire_poly_uline_blend (long , long , grs_vertex * , grs_vertex * );
74
-
75
- extern void gri_flat8_wire_poly_usline_norm (long , long , grs_vertex * , grs_vertex * );
76
- extern void gri_flat8_wire_poly_usline_clut (long , long , grs_vertex * , grs_vertex * );
77
- extern void gri_flat8_wire_poly_usline_xor (long , long , grs_vertex * , grs_vertex * );
78
- extern void gri_flat8_wire_poly_usline_blend (long , long , grs_vertex * , grs_vertex * );
79
-
80
- extern void gri_flat8_wire_poly_ucline_norm (long , long , grs_vertex * , grs_vertex * );
81
- extern void gri_flat8_wire_poly_ucline_clut (long , long , grs_vertex * , grs_vertex * );
82
- extern void gri_flat8_wire_poly_ucline_xor (long , long , grs_vertex * , grs_vertex * );
83
- extern void gri_flat8_wire_poly_ucline_blend (long , long , grs_vertex * , grs_vertex * );
84
- /* bank8 and modex have their own hlines only */
47
+ extern void gri_flat8_uline_ns (long , long , grs_vertex * , grs_vertex * );
48
+ extern void gri_flat8_uline_clut (long , long , grs_vertex * , grs_vertex * );
49
+ extern void gri_flat8_uline_xor (long , long , grs_vertex * , grs_vertex * );
50
+ extern void gri_flat8_uline_blend (long , long , grs_vertex * , grs_vertex * );
51
+
52
+ extern void gri_flat8_uhline_ns (short , short , short , long , long );
53
+ extern void gri_flat8_uhline_clut (short , short , short , long , long );
54
+ extern void gri_flat8_uhline_xor (short , short , short , long , long );
55
+ extern void gri_flat8_uhline_blend (short , short , short , long , long );
56
+
57
+ extern void gri_flat8_uvline_ns (short , short , short , long , long );
58
+ extern void gri_flat8_uvline_clut (short , short , short , long , long );
59
+ extern void gri_flat8_uvline_xor (short , short , short , long , long );
60
+ extern void gri_flat8_uvline_blend (short , short , short , long , long );
61
+
62
+ extern void gri_flat8_ucline_norm (long , long , grs_vertex * , grs_vertex * );
63
+ extern void gri_flat8_ucline_clut (long , long , grs_vertex * , grs_vertex * );
64
+ extern void gri_flat8_ucline_xor (long , long , grs_vertex * , grs_vertex * );
65
+ extern void gri_flat8_ucline_blend (long , long , grs_vertex * , grs_vertex * );
66
+
67
+ extern void gri_flat8_usline_norm (long , long , grs_vertex * , grs_vertex * );
68
+ extern void gri_flat8_usline_clut (long , long , grs_vertex * , grs_vertex * );
69
+ extern void gri_flat8_usline_xor (long , long , grs_vertex * , grs_vertex * );
70
+ extern void gri_flat8_usline_blend (long , long , grs_vertex * , grs_vertex * );
71
+
72
+ extern void gri_flat8_wire_poly_uline (long , long , grs_vertex * , grs_vertex * );
73
+ // extern void gri_flat8_wire_poly_uline_xor(long, long, grs_vertex *, grs_vertex *);
74
+ // extern void gri_flat8_wire_poly_uline_blend(long, long, grs_vertex *, grs_vertex *);
85
75
86
- extern void gri_modex_uhline_ns (short , short , short , long , long );
87
- extern void gri_modex_uhline_clut (short , short , short , long , long );
88
- extern void gri_modex_uhline_xor (short , short , short , long , long );
89
- extern void gri_modex_uhline_blend (short , short , short , long , long );
76
+ /*
77
+ extern void gri_flat8_wire_poly_usline_norm(long, long, grs_vertex *, grs_vertex *);
78
+ extern void gri_flat8_wire_poly_usline_clut(long, long, grs_vertex *, grs_vertex *);
79
+ extern void gri_flat8_wire_poly_usline_xor(long, long, grs_vertex *, grs_vertex *);
80
+ extern void gri_flat8_wire_poly_usline_blend(long, long, grs_vertex *, grs_vertex *);
81
+ */
90
82
91
- extern void gri_bank8_uhline_ns ( short , short , short , long , long );
92
- extern void gri_bank8_uhline_clut ( short , short , short , long , long );
93
- extern void gri_bank8_uhline_xor ( short , short , short , long , long );
94
- extern void gri_bank8_uhline_blend ( short , short , short , long , long );
83
+ extern void gri_flat8_wire_poly_ucline_norm ( long , long , grs_vertex * , grs_vertex * );
84
+ extern void gri_flat8_wire_poly_ucline_clut ( long , long , grs_vertex * , grs_vertex * );
85
+ // extern void gri_flat8_wire_poly_ucline_xor(long, long, grs_vertex *, grs_vertex * );
86
+ // extern void gri_flat8_wire_poly_ucline_blend(long, long, grs_vertex *, grs_vertex * );
95
87
88
+ /* bank8 and modex have their own hlines only */
89
+ /*
90
+ extern void gri_modex_uhline_ns(short, short, short, long, long);
91
+ extern void gri_modex_uhline_clut(short, short, short, long, long);
92
+ extern void gri_modex_uhline_xor(short, short, short, long, long);
93
+ extern void gri_modex_uhline_blend(short, short, short, long, long);
94
+ */
95
+ /*
96
+ extern void gri_bank8_uhline_ns(short, short, short, long, long);
97
+ extern void gri_bank8_uhline_clut(short, short, short, long, long);
98
+ extern void gri_bank8_uhline_xor(short, short, short, long, long);
99
+ extern void gri_bank8_uhline_blend(short, short, short, long, long);
100
+ */
96
101
#endif
0 commit comments