script, ui: added "sv_min_startmap_health" cvar
[k8vavoom.git] / source / finale.cpp
blobcf2e98e742f4e22a46b768d1b925aaa20208444f
1 //**************************************************************************
2 //**
3 //** ## ## ## ## ## #### #### ### ###
4 //** ## ## ## ## ## ## ## ## ## ## #### ####
5 //** ## ## ## ## ## ## ## ## ## ## ## ## ## ##
6 //** ## ## ######## ## ## ## ## ## ## ## ### ##
7 //** ### ## ## ### ## ## ## ## ## ##
8 //** # ## ## # #### #### ## ##
9 //**
10 //** Copyright (C) 1999-2006 Jānis Legzdiņš
11 //** Copyright (C) 2018-2023 Ketmar Dark
12 //**
13 //** This program is free software: you can redistribute it and/or modify
14 //** it under the terms of the GNU General Public License as published by
15 //** the Free Software Foundation, version 3 of the License ONLY.
16 //**
17 //** This program is distributed in the hope that it will be useful,
18 //** but WITHOUT ANY WARRANTY; without even the implied warranty of
19 //** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 //** GNU General Public License for more details.
21 //**
22 //** You should have received a copy of the GNU General Public License
23 //** along with this program. If not, see <http://www.gnu.org/licenses/>.
24 //**
25 //**************************************************************************
26 //**
27 //** Game completion, final screen animation.
28 //**
29 //**************************************************************************
30 #include "gamedefs.h"
31 #include "finale.h"
32 #include "client/client.h"
33 #include "client/cl_local.h"
36 //===========================================================================
38 // F_Responder
40 //===========================================================================
41 bool F_Responder (event_t *event) {
42 if (!cl || !GClGame->InFinale()) return false;
43 return GClGame->eventFinaleResponder(event);