// // File: llgfx_sstatic.h // // G A M E.O.N.E - LOW LEVEL LIB V1.0 // Copyright (C) 2001 LEVEL ONE ENTERTAINMENT, // Licensed under the terms of LGPL. //:--------------------------------------------------------------------------- //:Description // // Grafikbuffer Eintrag (llgfx.cpp) // //:----------------------------------------------------------------------------- #if !defined(LLGFX_SSTATIC_INCLUDED) #define LLGFX_SSTATIC_INCLUDED #include "llgfx_ctexture.h" #include "llgfx_stilemap.h" struct _static_GFX { int refcount; // reference count int width,height; // Höhe in Pixel int xoffset; // x origin int yoffset; // y origin int cntFrames; // anzahl Frames, normal 0 oder 1 = single Frame llgfx_sRECT rect; // Dimension - 0,0,width,height bool vidmem; // Wenn True, dann liegt der Buffer wahrscheinlich im Videoram bool colorkey; // Wenn True, dann ist colorkey aktiv TxU32 color; // RGB Color - nicht devicecolor llgfx_CTexture * texture; // loaded resource in ARGB_8888 format char * name; // filename void *gfxObj; // driver object // Tilemap queue * tilemap; // Zeiger auf tilemap daten }; EXTERN int num_static_gfx; EXTERN int cnt_static_gfx; EXTERN queue llgfx_dirtyrects; // Shadow Liste der Dirtyrects EXTERN queue llgfx_free_dirtyrects; // Free Liste rects typedef _static_GFX s_staticgfx; typedef _static_GFX * PtrGfx; extern s_staticgfx * st_static_gfx; //llgfx.cpp #endif // LLGFX_SSTATIC_INCLUDED