|
ManaPlus
|
Go to the documentation of this file.
26 #ifdef ENABLE_MEM_DEBUG
33 #ifdef DEBUG_SDL_SURFACES
35 #define MIMG_LoadPNG_RW(src) FakeIMG_LoadPNG_RW(src, __FILE__, __LINE__)
36 #define MIMG_LoadJPG_RW(src) FakeIMG_LoadJPG_RW(src, __FILE__, __LINE__)
37 #define MSDL_FreeSurface(s) FakeSDL_FreeSurface(s, __FILE__, __LINE__)
38 #define MSDL_CreateRGBSurface(flags, w, h, d, r, g, b, a) \
39 FakeSDL_CreateRGBSurface(flags, w, h, d, r, g, b, a, __FILE__, __LINE__)
40 #define MSDL_ConvertSurface(src, fmt, flags) \
41 FakeSDL_ConvertSurface(src, fmt, flags, __FILE__, __LINE__)
42 #define MTTF_RenderUTF8_Blended(font, text, fg) \
43 FakeTTF_RenderUTF8_Blended(font, text, fg, __FILE__, __LINE__)
44 #define MIMG_Load(file) FakeIMG_Load(file, __FILE__, __LINE__)
45 #define MSDL_DisplayFormatAlpha(surface) \
46 FakeSDL_DisplayFormatAlpha(surface, __FILE__, __LINE__)
47 #define MSDL_DisplayFormat(surface) \
48 FakeSDL_DisplayFormat(surface, __FILE__, __LINE__)
52 #define MIMG_LoadPNG_RW(src) IMG_LoadPNG_RW(src)
53 #define MIMG_LoadJPG_RW(src) IMG_LoadJPG_RW(src)
54 #define MSDL_FreeSurface(surface) SDL_FreeSurface(surface)
55 #define MSDL_CreateRGBSurface(flags, w, h, d, r, g, b, a) \
56 SDL_CreateRGBSurface(flags, w, h, d, r, g, b, a)
57 #define MSDL_ConvertSurface(src, fmt, flags) \
58 SDL_ConvertSurface(src, fmt, flags)
59 #define MTTF_RenderUTF8_Blended(font, text, fg) \
60 TTF_RenderUTF8_Blended(font, text, fg)
61 #define MIMG_Load(file) IMG_Load(file)
62 #define MSDL_DisplayFormatAlpha(surface) SDL_DisplayFormatAlpha(surface)
63 #define MSDL_DisplayFormat(surface) SDL_DisplayFormat(surface)