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