FS2_Open
Open source remastering of the Freespace 2 engine
bitmap_entry Struct Reference

#include <bm_internal.h>

Public Attributes

char filename [MAX_FILENAME_LEN]
 filename for this bitmap More...
 
uint signature
 a unique signature identifying the data More...
 
uint palette_checksum
 checksum used to be sure bitmap is in current palette More...
 
int handle
 Handle = id*MAX_BITMAPS + bitmapnum. More...
 
int last_used
 When this bitmap was last used. More...
 
BM_TYPE type
 PCX, USER, ANI, etc. More...
 
BM_TYPE comp_type
 What sort of compressed type, BM_TYPE_NONE if not compressed. More...
 
signed char ref_count
 Number of locks on bitmap. Can't unload unless ref_count is 0. More...
 
int dir_type
 which directory this was loaded from (to skip other locations with same name) More...
 
size_t mem_taken
 How much memory does this bitmap use? - UnknownPlayer. More...
 
int num_mipmaps
 number of mipmap levels, we need to read all of them More...
 
ubyte preloaded
 If set, then this was loaded from the lst file. More...
 
int preload_count
 how many times this gets used in game, for unlocking More...
 
ubyte used_flags
 What flags it was accessed thru. More...
 
int load_count
 
bitmap bm
 Bitmap info. More...
 
bm_extra_info info
 Data for animations and user bitmaps. More...
 

Detailed Description

Definition at line 49 of file bm_internal.h.

Member Data Documentation

bitmap bitmap_entry::bm

Bitmap info.

Definition at line 74 of file bm_internal.h.

BM_TYPE bitmap_entry::comp_type

What sort of compressed type, BM_TYPE_NONE if not compressed.

Definition at line 59 of file bm_internal.h.

int bitmap_entry::dir_type

which directory this was loaded from (to skip other locations with same name)

Definition at line 62 of file bm_internal.h.

char bitmap_entry::filename[MAX_FILENAME_LEN]

filename for this bitmap

Definition at line 51 of file bm_internal.h.

int bitmap_entry::handle

Handle = id*MAX_BITMAPS + bitmapnum.

Definition at line 55 of file bm_internal.h.

bm_extra_info bitmap_entry::info

Data for animations and user bitmaps.

Definition at line 76 of file bm_internal.h.

int bitmap_entry::last_used

When this bitmap was last used.

Definition at line 56 of file bm_internal.h.

int bitmap_entry::load_count

Definition at line 72 of file bm_internal.h.

size_t bitmap_entry::mem_taken

How much memory does this bitmap use? - UnknownPlayer.

Definition at line 65 of file bm_internal.h.

int bitmap_entry::num_mipmaps

number of mipmap levels, we need to read all of them

Definition at line 66 of file bm_internal.h.

uint bitmap_entry::palette_checksum

checksum used to be sure bitmap is in current palette

Definition at line 54 of file bm_internal.h.

int bitmap_entry::preload_count

how many times this gets used in game, for unlocking

Definition at line 70 of file bm_internal.h.

ubyte bitmap_entry::preloaded

If set, then this was loaded from the lst file.

Definition at line 69 of file bm_internal.h.

signed char bitmap_entry::ref_count

Number of locks on bitmap. Can't unload unless ref_count is 0.

Definition at line 60 of file bm_internal.h.

uint bitmap_entry::signature

a unique signature identifying the data

Definition at line 53 of file bm_internal.h.

BM_TYPE bitmap_entry::type

PCX, USER, ANI, etc.

Definition at line 58 of file bm_internal.h.

ubyte bitmap_entry::used_flags

What flags it was accessed thru.

Definition at line 71 of file bm_internal.h.


The documentation for this struct was generated from the following file: