mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-18 10:02:12 +00:00
Declare is_portable only once in frame.c and not in each backend.
This commit is contained in:
parent
b3562015b0
commit
a1ba33e6d9
4 changed files with 3 additions and 7 deletions
|
@ -32,8 +32,6 @@
|
||||||
|
|
||||||
void registerHandler(void);
|
void registerHandler(void);
|
||||||
|
|
||||||
qboolean is_portable;
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int argc, char **argv)
|
main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
|
|
@ -31,8 +31,6 @@
|
||||||
|
|
||||||
#include "../../common/header/common.h"
|
#include "../../common/header/common.h"
|
||||||
|
|
||||||
qboolean is_portable;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Windows main function. Containts the
|
* Windows main function. Containts the
|
||||||
* initialization code and the main loop
|
* initialization code and the main loop
|
||||||
|
|
|
@ -48,9 +48,6 @@ static HINSTANCE game_library;
|
||||||
static char console_text[256];
|
static char console_text[256];
|
||||||
static size_t console_textlen;
|
static size_t console_textlen;
|
||||||
|
|
||||||
// TODO
|
|
||||||
qboolean is_portable;
|
|
||||||
|
|
||||||
/* ================================================================ */
|
/* ================================================================ */
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -69,6 +69,9 @@ void Key_Init(void);
|
||||||
void SCR_EndLoadingPlaque(void);
|
void SCR_EndLoadingPlaque(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Is the game portable?
|
||||||
|
qboolean is_portable;
|
||||||
|
|
||||||
// ----
|
// ----
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue