/* Example programs for BETATRON game library. ** Copyright (C) 1997 Liouros Thanasis, liouros@hotmail.com ** ** scroll.h: This file is part of the example programs for BETATRON game ** library and can be used and/or distributed only under the terms ** of the GNU General Public License. See doc/examples.txt for ** details. */ #ifndef __scroll_h #define __scroll_h // the scroll class struct TOscroll:public TOobject { TOobject *pguy; // a pointer to our guy char xscroll; // TRUE if the view window must scroll horizontally char yscroll; // TRUE if the view window must scroll vertically char dxscroll; // horizontal scrolling step char dyscroll; // vertical scrolling step void init(unsigned char id0, TOobject *pguy0, unsigned char dxs0, unsigned char dys0); }; #endif