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.
49 lines
1.3 KiB
C
49 lines
1.3 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
|
|
|
|
#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, "libpngmd" )
|
|
#pragma comment( lib, "zlibmd" )
|
|
#pragma comment( lib, "jpegd" )
|
|
#pragma comment( lib, "lowlevellib_vc6_gdi_md" )
|
|
#else
|
|
#pragma comment( lib, "libpngm" )
|
|
#pragma comment( lib, "zlibm" )
|
|
#pragma comment( lib, "jpegd" )
|
|
#pragma comment( lib, "lowlevellib_vc6_gdi" )
|
|
#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 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
|