From 7a31dd48044cdf003868ae558df1f945025543f3 Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Sat, 22 May 2004 09:21:24 +0000 Subject: [PATCH] function prototypes --- ChangeLog | 5 +++++ arch/ogl/internal.h | 1 - include/gr.h | 4 +++- include/ogl_init.h | 1 + 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 61f846b3..3041ac59 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-05-22 Bradley Bell + + * arch/ogl/internal.h, include/gr.h, include/ogl_init.h: function + prototypes + 2004-05-22 Matthew Mueller * 2d/font.c, arch/ogl/gr.c, arch/ogl/internal.h, arch/ogl/ogl.c, diff --git a/arch/ogl/internal.h b/arch/ogl/internal.h index 91f9d221..7b705953 100644 --- a/arch/ogl/internal.h +++ b/arch/ogl/internal.h @@ -12,7 +12,6 @@ extern ogl_texture ogl_texture_list[OGL_TEXTURE_LIST_SIZE]; extern int ogl_mem_target; -void ogl_init_texture(ogl_texture* t, int w, int h, int flags); void ogl_init_texture_list_internal(void); void ogl_smash_texture_list_internal(void); void ogl_vivify_texture_list_internal(void); diff --git a/include/gr.h b/include/gr.h index 35a20abc..1650ec86 100644 --- a/include/gr.h +++ b/include/gr.h @@ -1,4 +1,4 @@ -/* $Id: gr.h,v 1.26 2004-05-22 02:01:34 btb Exp $ */ +/* $Id: gr.h,v 1.27 2004-05-22 09:21:22 btb Exp $ */ /* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO @@ -439,6 +439,8 @@ void gr_linear_movsd_double(ubyte *src, ubyte *dest, int num_pixels); void gr_update_buffer( void * sbuf1, void * sbuf2, void * dbuf, int size ); +void gr_set_transparent(grs_bitmap *pbm, int bTransparent); + //========================================================================= // Color functions: diff --git a/include/ogl_init.h b/include/ogl_init.h index c6b6fa17..147ef644 100644 --- a/include/ogl_init.h +++ b/include/ogl_init.h @@ -59,6 +59,7 @@ typedef struct _ogl_texture { } ogl_texture; extern ogl_texture* ogl_get_free_texture(); +void ogl_init_texture(ogl_texture* t, int w, int h, int flags); extern int ogl_alttexmerge;//merge textures by just printing the seperate textures? extern int ogl_rgba_internalformat; -- 2.39.2