22 #ifndef ULTIMA4_GFX_IMAGEMGR_H 23 #define ULTIMA4_GFX_IMAGEMGR_H 25 #include "ultima/ultima4/gfx/image.h" 26 #include "ultima/ultima4/core/observer.h" 27 #include "ultima/shared/std/containers.h" 50 #define BKGD_SHAPES "tiles" 51 #define BKGD_CHARSET "charset" 52 #define BKGD_BORDERS "borders" 53 #define BKGD_INTRO "title" 54 #define BKGD_OPTIONS_TOP "options_top" 55 #define BKGD_OPTIONS_BTM "options_btm" 56 #define BKGD_TREE "tree" 57 #define BKGD_PORTAL "portal" 58 #define BKGD_OUTSIDE "outside" 59 #define BKGD_INSIDE "inside" 60 #define BKGD_WAGON "wagon" 61 #define BKGD_GYPSY "gypsy" 62 #define BKGD_ABACUS "abacus" 63 #define BKGD_HONCOM "honcom" 64 #define BKGD_VALJUS "valjus" 65 #define BKGD_SACHONOR "sachonor" 66 #define BKGD_SPIRHUM "spirhum" 67 #define BKGD_ANIMATE "beasties" 68 #define BKGD_KEY "key" 69 #define BKGD_HONESTY "honesty" 70 #define BKGD_COMPASSN "compassn" 71 #define BKGD_VALOR "valor" 72 #define BKGD_JUSTICE "justice" 73 #define BKGD_SACRIFIC "sacrific" 74 #define BKGD_HONOR "honor" 75 #define BKGD_SPIRIT "spirit" 76 #define BKGD_HUMILITY "humility" 77 #define BKGD_TRUTH "truth" 78 #define BKGD_LOVE "love" 79 #define BKGD_COURAGE "courage" 80 #define BKGD_STONCRCL "stoncrcl" 81 #define BKGD_RUNE_INF "rune0" 82 #define BKGD_SHRINE_HON "rune1" 83 #define BKGD_SHRINE_COM "rune2" 84 #define BKGD_SHRINE_VAL "rune3" 85 #define BKGD_SHRINE_JUS "rune4" 86 #define BKGD_SHRINE_SAC "rune5" 87 #define BKGD_SHRINE_HNR "rune6" 88 #define BKGD_SHRINE_SPI "rune7" 89 #define BKGD_SHRINE_HUM "rune8" 90 #define BKGD_GEMTILES "gemtiles" 98 FIXUP_BLACKTRANSPARENCYHACK,
111 int _width, _height, _depth;
122 bool hasBlackBackground();
131 static void destroy();
146 void freeIntroBackgrounds();
177 void fixupIntro(
Image *im,
int prescale);
178 void fixupAbyssVision(
Image *im,
int prescale);
179 void fixupAbacus(
Image *im,
int prescale);
185 void fixupDungNS(
Image *im,
int prescale);
191 void fixupFMTowns(
Image *im,
int prescale);
211 #define imageMgr (ImageMgr::getInstance()) Definition: image_decoder.h:52
int _tiles
Definition: imagemgr.h:114
Definition: settings.h:147
ImageFixup _fixup
Definition: imagemgr.h:118
Definition: imagemgr.h:105
Definition: observer.h:37
Image * _image
Definition: imagemgr.h:119
Definition: imagemgr.h:128
int _transparentIndex
Definition: imagemgr.h:116
Definition: detection.h:27
Definition: algorithm.h:29
Definition: movie_decoder.h:32
bool _introOnly
Definition: imagemgr.h:115
bool _xu4Graphic
Definition: imagemgr.h:117