Portable Half-Life SDK. GoldSource and Xash3D. Crossplatform.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
544 B

9 years ago
//========= Copyright <EFBFBD> 1996-2002, Valve LLC, All rights reserved. ============
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#pragma once
9 years ago
#if !defined( IN_DEFSH )
#define IN_DEFSH
// up / down
#define PITCH 0
// left / right
#define YAW 1
// fall over
#define ROLL 2
#ifdef _WIN32
9 years ago
#define HSPRITE HSPRITE_win32
9 years ago
#include <windows.h>
9 years ago
#undef HSPRITE
9 years ago
#else
9 years ago
typedef struct point_s
{
9 years ago
int x;
int y;
} POINT;
#define GetCursorPos(x)
#define SetCursorPos(x,y)
#endif
#endif