main/texmerge.c File Reference

#include <stdlib.h>
#include "gr.h"
#include "error.h"
#include "game.h"
#include "textures.h"
#include "mono.h"
#include "rle.h"
#include "piggy.h"

Classes

struct  TEXTURE_CACHE

Defines

#define MAX_NUM_CACHE_BITMAPS   50
#define PCCODE

Functions

void merge_textures_new (int type, grs_bitmap *bottom_bmp, grs_bitmap *top_bmp, ubyte *dest_data)
 NMONO.
void merge_textures_super_xparent (int type, grs_bitmap *bottom_bmp, grs_bitmap *top_bmp, ubyte *dest_data)
void texmerge_close ()
int texmerge_init (int num_cached_textures)
void texmerge_flush ()
grs_bitmaptexmerge_get_cached_bitmap (int tmap_bottom, int tmap_top)
void addused (grs_bitmap *bm)
void merge_textures_stats (void)

Variables

static TEXTURE_CACHE Cache [MAX_NUM_CACHE_BITMAPS]
static int num_cache_entries = 0
static int cache_hits = 0
static int cache_misses = 0
grs_bitmapusedp [500]
int usedc [500]
int usedn
int usedna
int usedg
int usedgc

Define Documentation

#define MAX_NUM_CACHE_BITMAPS   50
 

#define PCCODE
 


Function Documentation

void addused grs_bitmap bm  ) 
 

void merge_textures_new int  type,
grs_bitmap bottom_bmp,
grs_bitmap top_bmp,
ubyte dest_data
 

NMONO.

void merge_textures_stats void   ) 
 

void merge_textures_super_xparent int  type,
grs_bitmap bottom_bmp,
grs_bitmap top_bmp,
ubyte dest_data
 

void texmerge_close  ) 
 

void texmerge_flush  ) 
 

grs_bitmap* texmerge_get_cached_bitmap int  tmap_bottom,
int  tmap_top
 

int texmerge_init int  num_cached_textures  ) 
 


Variable Documentation

TEXTURE_CACHE Cache[MAX_NUM_CACHE_BITMAPS] [static]
 

int cache_hits = 0 [static]
 

int cache_misses = 0 [static]
 

int num_cache_entries = 0 [static]
 

int usedc[500]
 

int usedg
 

int usedgc
 

int usedn
 

int usedna
 

grs_bitmap* usedp[500]
 


Generated on Mon Aug 28 20:55:34 2006 for D1X-Rebirth by  doxygen 1.4.6