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.

53 lines
1.5 KiB
C

//
// 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
//
// SYS_PLATFORM INCLUDE FILE
//
#ifdef SYS_PLATFORM_WIN32_GDI
#ifndef _SYS_GDI_H
#define _SYS_GDI_H
//lowlevellib_vc2003_gdi_md.lib png_vc7_md.lib zlib_vc7_md.lib jpeg_vc7_md.lib
#define OK (0)
#define FAIL (__LINE__)
#pragma message("SYS_PLATFORM_WIN32_GDI Compile")
#pragma comment( lib, "dsound" )
#pragma comment( lib, "winmm" )
#ifdef _DEBUG
#pragma comment( lib, "png_vc7_md" )
#pragma comment( lib, "zlib_vc7_md" )
#pragma comment( lib, "jpeg_vc7_md" )
#pragma comment( lib, "lowlevellib_vc2003_gdi_md" )
#else
#pragma comment( lib, "png_vc7_m" )
#pragma comment( lib, "zlib_vc7_m" )
#pragma comment( lib, "jpeg_vc7_m" )
#pragma comment( lib, "lowlevellib_vc2003_gdi_m" )
#endif
#include <string.h>
#define __finite _finite
#include "sys_types.h"
#include "sys_assert.h"
#include "sys_debug.h"
#include "../generic/sys_txCopy.h"
#include "sys_thread.h"
extern void llgfx_Init(void* wnd);
extern void llirq_Init(void* wnd);
extern void llsound_Init(void *wnd);
extern void drv_gfx_UpdateWND(void* HWnd, /*llgfx_id*/int srcgfx);
extern void drv_gfx_UpdateDC(void* WndDC, /*llgfx_id*/int srcgfx, void* rect=0);
extern void * drv_gfx_GetDC(int dstgfx);
extern void drv_gfx_ReleaseDC(int dstgfx);
#endif // _SYS_GDI_H
#endif // SYS_PLATFORM_WIN32_GP2X