1 /* 2 * SDLRoids - An Astroids clone. 3 * 4 * Copyright (c) 2000 David Hedbor <david@hedbor.org> 5 * based on xhyperoid by Russel Marks. 6 * xhyperoid is based on a Win16 game, Hyperoid by Edward Hutchins 7 * 8 * This program is distributed in the hope that it will be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * GNU General Public License for more details. 12 * 13 * You should have received a copy of the GNU General Public License 14 * along with this program; if not, write to the Free Software 15 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 16 * 17 */ 18 19 /* 20 * graphics.h - graphic backend prototypes. 21 */ 22 23 24 extern float IsKeyDown(int); 25 extern void Circle(Sint16, Sint16, Sint32); 26 extern void Polyline(POINT *,int); 27 extern void SetPixel(Sint16, Sint16, Uint32); 28 extern void set_colour(int); 29 extern void score_graphics(int,int,int,int,int); 30 extern void init_graphics(int *); 31 extern void update_graphics(void); 32 extern void exit_graphics(void); 33 extern void ResetRefreshCoords(void); 34 extern void RedrawObject(void); 35 extern void lock_graphics(void); 36 extern void unlock_graphics(void); 37 38