From f41b7633dab548afa8e3300570410e0d6ca84bb8 Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Fri, 15 Feb 2002 12:21:45 +0000 Subject: [PATCH] moved protos to from grdef.h to gr.h --- include/gr.h | 4 ++++ include/grdef.h | 9 +++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/include/gr.h b/include/gr.h index 620ef951..7c3d3ff0 100644 --- a/include/gr.h +++ b/include/gr.h @@ -264,6 +264,10 @@ grs_bitmap *gr_create_sub_bitmap(grs_bitmap *bm,int x,int y,int w, int h); // Free the bitmap and its pixel data void gr_free_bitmap(grs_bitmap *bm); +// Free the bitmap's data +void gr_free_bitmap_data (grs_bitmap *bm); +void gr_init_bitmap_data (grs_bitmap *bm); + // Free the bitmap, but not the pixel data buffer void gr_free_sub_bitmap(grs_bitmap *bm); diff --git a/include/grdef.h b/include/grdef.h index 9a36c0c3..91b21471 100644 --- a/include/grdef.h +++ b/include/grdef.h @@ -12,13 +12,16 @@ COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED. */ /* * $Source: /cvs/cvsroot/d2x/include/grdef.h,v $ - * $Revision: 1.2 $ + * $Revision: 1.3 $ * $Author: bradleyb $ - * $Date: 2001-11-14 10:31:40 $ + * $Date: 2002-02-15 12:21:45 $ * * Internal definitions for graphics lib. * * $Log: not supported by cvs2svn $ + * Revision 1.2 2001/11/14 10:31:40 bradleyb + * change __ENV_WINDOWS__ to __WINDOWS__, __ENV_MSDOS__ to __MSDOS__ + * * Revision 1.1.1.2 2001/01/19 03:34:09 bradleyb * Import of d2x-0.0.9-pre1 * @@ -75,8 +78,6 @@ COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED. void gr_init_bitmap_alloc( grs_bitmap *bm, int mode, int x, int y, int w, int h, int bytesperline); void show_fullscr(grs_bitmap *bm); -void gr_init_bitmap_data (grs_bitmap *bm); -void gr_free_bitmap_data (grs_bitmap *bm); void gr_init_sub_bitmap (grs_bitmap *bm, grs_bitmap *bmParent, int x, int y, int w, int h ); void gr_init_bitmap( grs_bitmap *bm, int mode, int x, int y, int w, int h, int bytesperline, unsigned char * data ); -- 2.39.2