Source bmpman

From FreeSpace Wiki
Jump to: navigation, search

Contains high-level routines for loading & manipulating 2d graphics files, in .tga, .jpg, .dds, or .pcx format.

Major Classes/Functions/Structs

Class/Group/Struct Method/Function/Element Notes
bm_* functions bm_load() Loads a graphic from a file. Used all over the place (UI, effects etc)
bm_create() Allocates memory space for a bitmap (eg. for animations, or where a graphic is created in memory rather than loaded).