From 8fa8485a3a207565a610dac981cb2da2a6a6d040 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Tue, 27 Nov 2007 19:32:35 +0000 Subject: fixed CTF sounds. fixed close teewars bug --- src/engine/client/gfx.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/engine/client/gfx.c') diff --git a/src/engine/client/gfx.c b/src/engine/client/gfx.c index e89fd199..c85e2a91 100644 --- a/src/engine/client/gfx.c +++ b/src/engine/client/gfx.c @@ -261,6 +261,10 @@ int gfx_window_active() return glfwGetWindowParam(GLFW_ACTIVE) == GL_TRUE ? 1 : 0; } +int gfx_window_open() +{ + return glfwGetWindowParam(GLFW_OPENED) == GL_TRUE ? 1 : 0; +} VIDEO_MODE fakemodes[] = { {320,240,8,8,8}, {400,300,8,8,8}, {640,480,8,8,8}, -- cgit 1.4.1