Mark gr 2dsline functions static
This commit is contained in:
parent
c69644dcf7
commit
2e3159a15f
|
@ -18,12 +18,10 @@ COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "u_mem.h"
|
||||
#include "gr.h"
|
||||
#include "grdef.h"
|
||||
#include "dxxerror.h"
|
||||
|
||||
void gr_linear_darken(ubyte * dest, int darkening_level, int count, ubyte * fade_table) {
|
||||
static void gr_linear_darken(ubyte * dest, int darkening_level, int count, ubyte * fade_table) {
|
||||
register int i;
|
||||
|
||||
for (i=0;i<count;i++)
|
||||
|
@ -33,7 +31,7 @@ void gr_linear_darken(ubyte * dest, int darkening_level, int count, ubyte * fade
|
|||
}
|
||||
}
|
||||
|
||||
void gr_linear_stosd( ubyte * dest, unsigned char color, unsigned int nbytes) {
|
||||
static void gr_linear_stosd( ubyte * dest, unsigned char color, unsigned int nbytes) {
|
||||
memset(dest,color,nbytes);
|
||||
}
|
||||
|
||||
|
|
|
@ -29,10 +29,6 @@ extern void gr_pal_setblock( int start, int n, unsigned char * palette );
|
|||
extern void gr_pal_getblock( int start, int n, unsigned char * palette );
|
||||
extern void gr_pal_setone( int index, unsigned char red, unsigned char green, unsigned char blue );
|
||||
|
||||
void gr_linear_movsb( ubyte * source, ubyte * dest, int nbytes);
|
||||
void gr_linear_movsw( ubyte * source, ubyte * dest, int nbytes);
|
||||
void gr_linear_stosd( ubyte * dest, unsigned char color, unsigned int nbytes);
|
||||
|
||||
extern unsigned int gr_var_color;
|
||||
extern unsigned int gr_var_bwidth;
|
||||
extern unsigned char * gr_var_bitmap;
|
||||
|
|
Loading…
Reference in a new issue