mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-15 07:01:15 +00:00
0693b0efc8
and changes that was required to minimize their amount in code. # Conflicts: # source/blood/src/actor.cpp # source/blood/src/ai.h # source/blood/src/aiunicult.cpp # source/blood/src/aiunicult.h # source/blood/src/db.cpp # source/blood/src/db.h # source/blood/src/dude.h # source/blood/src/gameutil.cpp # source/blood/src/loadsave.cpp # source/blood/src/player.h # source/blood/src/sfx.cpp # source/blood/src/triggers.h # source/blood/src/view.cpp # source/blood/src/weapon.cpp
62 lines
1.9 KiB
C
62 lines
1.9 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
|
|
|
|
BEGIN_BLD_NS
|
|
void sleeveStopBouncing(spritetype* pSprite);
|
|
|
|
enum CALLBACK_ID {
|
|
kCallbackNone = -1,
|
|
kCallbackFXFlameLick = 0,
|
|
kCallbackRemove = 1,
|
|
kCallbackFXFlareBurst = 2,
|
|
kCallbackFXFlareSpark = 3,
|
|
kCallbackFXFlareSparkLite = 4,
|
|
kCallbackFXZombieSpurt = 5,
|
|
kCallbackFXBloodSpurt = 6,
|
|
kCallbackFXArcSpark = 7,
|
|
kCallbackFXDynPuff = 8,
|
|
kCallbackRespawn = 9,
|
|
kCallbackPlayerBubble = 10,
|
|
kCallbackEnemeyBubble = 11,
|
|
kCallbackCounterCheck = 12,
|
|
kCallbackFinishHim = 13,
|
|
kCallbackFXBloodBits = 14,
|
|
kCallbackFXTeslaAlt = 15,
|
|
kCallbackFXBouncingSleeve = 16,
|
|
kCallbackReturnFlag = 17,
|
|
kCallbackFXPodBloodSpray = 18,
|
|
kCallbackFXPodBloodSplat = 19,
|
|
kCallbackLeechStateTimer = 20,
|
|
kCallbackDropVoodoo = 21, // unused
|
|
#ifdef NOONE_EXTENSIONS
|
|
kCallbackMissileBurst = 22, // by NoOne
|
|
kCallbackMissileSpriteBlock = 23, // by NoOne
|
|
kCallbackGenDudeUpdate = 24, // by NoOne
|
|
#endif
|
|
kCallbackMax,
|
|
};
|
|
|
|
extern void (*gCallback[kCallbackMax])(int);
|
|
|
|
END_BLD_NS
|