hlsdk-xash3d/cl_dll/in_defs.h

33 lines
546 B
C
Raw Normal View History

2018-01-19 18:00:32 +01:00
//========= Copyright (c) 1996-2002, Valve LLC, All rights reserved. ============
2016-06-04 15:24:23 +02:00
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#pragma once
2016-06-04 15:24:23 +02:00
#if !defined( IN_DEFSH )
#define IN_DEFSH
// up / down
#define PITCH 0
// left / right
#define YAW 1
// fall over
#define ROLL 2
#ifdef _WIN32
2016-08-04 00:36:50 +02:00
#define HSPRITE HSPRITE_win32
2016-06-04 15:24:23 +02:00
#include <windows.h>
2016-08-04 00:36:50 +02:00
#undef HSPRITE
2016-06-04 15:24:23 +02:00
#else
2016-07-03 15:39:55 +02:00
typedef struct point_s
{
2016-06-04 15:24:23 +02:00
int x;
int y;
} POINT;
#define GetCursorPos(x)
#define SetCursorPos(x,y)
#endif
#endif