You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
109 lines
2.4 KiB
C
109 lines
2.4 KiB
C
//:Header:185, "llgfx_vd", 3b93fb50
|
|
//
|
|
// File: llgfx_vd.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
|
|
//
|
|
// Funktionen zum VD - Virtual Display
|
|
//
|
|
//:-----------------------------------------------------------------------------
|
|
|
|
#if !defined(LLGFX_VD_INCLUDED)
|
|
#define LLGFX_VD_INCLUDED
|
|
|
|
#include "lib_base.h"
|
|
|
|
//:> +--------------------------------+
|
|
//:>---------------------| Global Data Declarations |---------------------
|
|
//:> +--------------------------------+
|
|
|
|
//:g13
|
|
// +--------------+
|
|
// | llgfx_VD_w |
|
|
// +--------------+
|
|
|
|
extern int llgfx_VD_w; // VD Breite
|
|
|
|
//:g14
|
|
// +--------------+
|
|
// | llgfx_VD_h |
|
|
// +--------------+
|
|
|
|
extern int llgfx_VD_h; // VD Höhe
|
|
|
|
//:g62
|
|
// +------------+
|
|
// | llgfx_VD |
|
|
// +------------+
|
|
|
|
extern llgfx_sRECT llgfx_VD; // Virtual Display Rect
|
|
|
|
//:> +------------------------------------+
|
|
//:>-------------------| Global Function Declarations |-------------------
|
|
//:> +------------------------------------+
|
|
|
|
//::11
|
|
// +-----------------------------+
|
|
// | llgfx_PopVirtualDisplay() |
|
|
// +-----------------------------+
|
|
|
|
void llgfx_PopVirtualDisplay();
|
|
|
|
//::10
|
|
// +------------------------------+
|
|
// | llgfx_PushVirtualDisplay() |
|
|
// +------------------------------+
|
|
|
|
void llgfx_PushVirtualDisplay();
|
|
|
|
//::6
|
|
// +-----------------------------+
|
|
// | llgfx_SetVirtualDisplay() |
|
|
// +-----------------------------+
|
|
|
|
//:Description
|
|
//
|
|
// Set neuen VD, zentriert im Bildschirm.
|
|
// Parameter:
|
|
// xsize = Breite von VD
|
|
// ysize = Höhe von VD
|
|
// clip = Cliprect als VD
|
|
// x1,x2,y1,y2 = Eckpunkte als VD
|
|
//
|
|
void llgfx_SetVirtualDisplay(
|
|
int xsize,
|
|
int ysize);
|
|
|
|
//::7
|
|
// +-----------------------------+
|
|
// | llgfx_SetVirtualDisplay() |
|
|
// +-----------------------------+
|
|
|
|
void llgfx_SetVirtualDisplay(
|
|
const llgfx_sRECT &clip);
|
|
|
|
//::8
|
|
// +-----------------------------+
|
|
// | llgfx_SetVirtualDisplay() |
|
|
// +-----------------------------+
|
|
|
|
void llgfx_SetVirtualDisplay(
|
|
const llgfx_sRECT *clip);
|
|
|
|
//::9
|
|
// +-----------------------------+
|
|
// | llgfx_SetVirtualDisplay() |
|
|
// +-----------------------------+
|
|
|
|
void llgfx_SetVirtualDisplay(
|
|
int x1,
|
|
int y1,
|
|
int x2,
|
|
int y2);
|
|
#endif // LLGFX_VD_INCLUDED
|
|
|