Last change
on this file since 80 was
80,
checked in by Sam Hocevar, 14 years ago
|
- Adding the Golgotha source code. Not sure what's going to be interesting
in there, but since it's all public domain, there's certainly stuff to
pick up.
|
File size:
988 bytes
|
Line | |
---|
1 | /********************************************************************** <BR>
|
---|
2 | This file is part of Crack dot Com's free source code release of
|
---|
3 | Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
|
---|
4 | information about compiling & licensing issues visit this URL</a>
|
---|
5 | <PRE> If that doesn't help, contact Jonathan Clark at
|
---|
6 | golgotha_source@usa.net (Subject should have "GOLG" in it)
|
---|
7 | ***********************************************************************/
|
---|
8 |
|
---|
9 | #ifndef G1_FILL_HH
|
---|
10 | #define G1_FILL_HH
|
---|
11 |
|
---|
12 | #include "arch.hh"
|
---|
13 |
|
---|
14 | class g1_flood_fill_class
|
---|
15 | {
|
---|
16 | class fill_rec
|
---|
17 | {
|
---|
18 | public :
|
---|
19 | short x,y;
|
---|
20 | fill_rec *last;
|
---|
21 | fill_rec(short X, short Y, fill_rec *Last)
|
---|
22 | { x=X; y=Y; last=Last; }
|
---|
23 | } ;
|
---|
24 |
|
---|
25 | public:
|
---|
26 | virtual void get_clip(sw32 &x1, sw32 &y1, sw32 &x2, sw32 &y2) = 0;
|
---|
27 | virtual i4_bool blocking(sw32 x, sw32 y) = 0;
|
---|
28 | virtual void fill_block(sw32 x, sw32 y, sw32 startx, sw32 starty) =0;
|
---|
29 | void fill(sw32 x, sw32 y);
|
---|
30 | };
|
---|
31 |
|
---|
32 |
|
---|
33 |
|
---|
34 | #endif
|
---|
Note: See
TracBrowser
for help on using the repository browser.