(Temporarily) set "animate" to "none" by default (broken feature).
[gf1.git] / rem_row.h
blobc96f1ae432e7a2adc8d1bee8f9dfc0b47099c621
1 /*
2 ** $Id$
3 */
4 /*
5 ** Copyright (C) 1998 Kurt Van den Branden
6 **
7 ** This program is free software; you can redistribute it and/or modify
8 ** it under the terms of the GNU General Public License as published by
9 ** the Free Software Foundation; either version 2 of the License, or
10 ** (at your option) any later version.
11 **
12 ** This program is distributed in the hope that it will be useful,
13 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ** GNU General Public License for more details.
16 **
17 ** You should have received a copy of the GNU General Public License
18 ** along with this program; if not, write to the Free Software
19 ** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 #ifndef _REM_ROW_H_
23 #define _REM_ROW_H_ 1
25 #include <stdio.h>
26 #include "position.h"
27 #include "linklist.h"
29 typedef struct {
30 position * startpos;
31 position * endpos;
32 listheader * piecelist;
33 int rowindex;
34 char owner; /* the owner is always lowercase */
35 } rem_row;
37 #define new_rem_row() (rem_row *) malloc (sizeof (rem_row))
38 #define row_owner(x) x->owner
39 #define row_start(x) x->startpos
40 #define row_end(x) x->endpos
42 #ifndef __cplusplus
43 void * copy_rem_row (void * orig);
44 listheader * copy_rem_row_row (listheader * orig);
45 void del_rem_row (void * orig);
46 #else
47 extern "C" void * copy_rem_row (void * orig);
48 extern "C" listheader * copy_rem_row_row (listheader * orig);
49 extern "C" void del_rem_row (void * orig);
50 #endif
52 #endif