#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_bitmap * | texmerge_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_bitmap * | usedp [500] |
| int | usedc [500] |
| int | usedn |
| int | usedna |
| int | usedg |
| int | usedgc |
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||
|
NMONO.
|
|
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6