mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-14 06:31:34 +00:00
3455610031
Avoid passing this anywhere in the client code. It should only be set right before rendering the 3D view and the only code using the base palette should be the 3D renderer and hud_drawsprite. Also make the palette override CVARs 3D view only in debug mode.
60 lines
1.4 KiB
C++
60 lines
1.4 KiB
C++
//-------------------------------------------------------------------------
|
|
/*
|
|
Copyright (C) 2010-2019 EDuke32 developers and contributors
|
|
Copyright (C) 2019 Nuke.YKT
|
|
|
|
This file is part of NBlood.
|
|
|
|
NBlood is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License version 2
|
|
as published by the Free Software Foundation.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
*/
|
|
//-------------------------------------------------------------------------
|
|
#pragma once
|
|
|
|
#include "common_game.h"
|
|
#include "player.h"
|
|
#include "qav.h"
|
|
|
|
BEGIN_BLD_NS
|
|
|
|
class CChoke
|
|
{
|
|
public:
|
|
CChoke()
|
|
{
|
|
at0 = NULL;
|
|
at8 = NULL;
|
|
atc = 0;
|
|
at10 = 0;
|
|
at1c = NULL;
|
|
at14 = 0;
|
|
at18 = 0;
|
|
};
|
|
void sub_83ff0(int a1, void(*a2)(PLAYER*));
|
|
void sub_84110(int x, int y);
|
|
void sub_84218();
|
|
char *at0;
|
|
QAV *at8;
|
|
int atc;
|
|
int at10;
|
|
int at14;
|
|
int at18;
|
|
void(*at1c)(PLAYER *);
|
|
};
|
|
|
|
void sub_84230(PLAYER*);
|
|
|
|
extern CChoke gChoke;
|
|
|
|
END_BLD_NS
|