mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-23 04:52:07 +00:00
Only use client/refresh/header/local.h in refresh lib
that's why it's called "local.h". duh. (next I'll move it to refresh/gl/)
This commit is contained in:
parent
9252eba643
commit
73cf610cdb
5 changed files with 7 additions and 14 deletions
|
@ -25,7 +25,6 @@
|
|||
* =======================================================================
|
||||
*/
|
||||
|
||||
#include "../../client/refresh/header/local.h"
|
||||
#include "../../client/header/keyboard.h"
|
||||
#include "../generic/header/input.h"
|
||||
#include "../../client/header/client.h"
|
||||
|
@ -83,6 +82,9 @@ cvar_t *m_yaw;
|
|||
cvar_t *sensitivity;
|
||||
static cvar_t *windowed_mouse;
|
||||
|
||||
|
||||
extern void GLimp_GrabInput(qboolean grab);
|
||||
|
||||
/* ------------------------------------------------------------------ */
|
||||
|
||||
/*
|
||||
|
|
|
@ -34,8 +34,8 @@
|
|||
* =======================================================================
|
||||
*/
|
||||
|
||||
#include "../../client/refresh/header/local.h"
|
||||
|
||||
#include "../../common/header/common.h" /* CVar_*, qboolean (through shared.h) */
|
||||
#include "../../client/header/ref.h"
|
||||
|
||||
#ifdef SDL2
|
||||
#include <SDL2/SDL.h>
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
*/
|
||||
|
||||
#include "header/client.h"
|
||||
#include "refresh/header/local.h"
|
||||
|
||||
static cvar_t *cfg_unbindall;
|
||||
|
||||
|
|
|
@ -27,6 +27,8 @@
|
|||
#ifndef CL_HEADER_KEYBOARD_H
|
||||
#define CL_HEADER_KEYBOARD_H
|
||||
|
||||
#include "../../common/header/shared.h" /* for qboolean etc */
|
||||
|
||||
/* max length of a console command line */
|
||||
#define MAXCMDLINE 256
|
||||
|
||||
|
|
|
@ -407,11 +407,6 @@ typedef struct
|
|||
extern glconfig_t gl_config;
|
||||
extern glstate_t gl_state;
|
||||
|
||||
/*
|
||||
* Initialzes the SDL video subsystem
|
||||
*/
|
||||
int GLimp_Init(void);
|
||||
|
||||
/*
|
||||
* Shuts the render context and SDL window down
|
||||
* (if contextOnly, the window will not be shutdown)
|
||||
|
@ -424,9 +419,4 @@ void RI_ShutdownWindow(qboolean contextOnly);
|
|||
*/
|
||||
void *GLimp_GetProcAddress (const char* proc);
|
||||
|
||||
/*
|
||||
* (Un)grab Input
|
||||
*/
|
||||
void GLimp_GrabInput(qboolean grab);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue