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.
52 lines
1.3 KiB
C
52 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_DX5
|
|
|
|
#ifndef _SYS_DX5_H
|
|
#define _SYS_DX5_H
|
|
|
|
#define OK (0)
|
|
#define FAIL (__LINE__)
|
|
#define RGB332_MODE //in 8bit mode, use rgb332 not palette
|
|
#pragma message("SYS_PLATFORM_WIN32_DX5 Compile")
|
|
#pragma comment( lib, "dxguid" )
|
|
#pragma comment( lib, "ddraw" )
|
|
#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_dx5_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_dx5_d" )
|
|
#endif
|
|
#pragma warning(disable : 4996)
|
|
#pragma warning(disable : 4267)
|
|
#pragma warning(disable : 4312)
|
|
#pragma warning(disable : 4311)
|
|
#define __finite _finite
|
|
#if !defined(NULL)
|
|
#define NULL (0)
|
|
#endif
|
|
#define USE_MSGLOOP_MOUSE
|
|
#include "sys_types.h"
|
|
#include "sys_assert.h"
|
|
#include "sys_debug.h"
|
|
#include <string.h>
|
|
#include "../generic/sys_txCopy.h"
|
|
|
|
#endif // _SYS_DX5
|
|
#endif // SYS_PLATFORM_WIN32_DX5
|