//:Header:1, "_screen", 3b940006 // // File: llgfx_sscreen.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 // // Beschreibt einen Grafikbuffer. Beinhaltet alle Information für direkte // Manipulation der Pixel. // //:----------------------------------------------------------------------------- #if !defined(LLGFX_SSCREEN_INCLUDED) #define LLGFX_SSCREEN_INCLUDED //:> +----------------------------------+ //:>--------------------| _screen Struct Declaration |-------------------- //:> +----------------------------------+ //:Class struct _surface { void * baseptr; // Zeiger auf den GrafikBuffer int w; // breite in pixel int h; // höhe in pixel int pixsize; // Bytes pro Pixel int pitch; // Bytes pro Rasterzeile int modulo; // Bytes zwischen einer Rasterzeile zur nächsten }; //:Custom typedef struct _surface s_screen; typedef struct _surface s_surface; typedef struct _surface llgfx_sSURFACE; //:End Custom #endif // LLGFX_SSCREEN_INCLUDED