2019-09-19 22:42:45 +00:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
/*
|
|
|
|
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
|
|
|
|
|
2019-09-22 06:39:22 +00:00
|
|
|
BEGIN_BLD_NS
|
2019-10-11 21:59:39 +00:00
|
|
|
void sleeveStopBouncing(spritetype* pSprite);
|
2019-09-19 22:42:45 +00:00
|
|
|
|
|
|
|
enum CALLBACK_ID {
|
2019-10-11 21:59:39 +00:00
|
|
|
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
|
2020-01-26 11:19:01 +00:00
|
|
|
#ifdef NOONE_EXTENSIONS
|
2020-02-07 19:47:43 +00:00
|
|
|
kCallbackMissileBurst = 22,
|
|
|
|
kCallbackMissileSpriteBlock = 23,
|
|
|
|
kCallbackGenDudeUpdate = 24,
|
2020-03-13 20:59:13 +00:00
|
|
|
kCallbackCondition = 25,
|
2020-01-26 11:19:01 +00:00
|
|
|
#endif
|
2019-10-25 20:53:41 +00:00
|
|
|
kCallbackMax,
|
2019-09-19 22:42:45 +00:00
|
|
|
};
|
|
|
|
|
2021-09-01 19:54:23 +00:00
|
|
|
extern void(*gCallback[kCallbackMax])(DBloodActor*, int);
|
2019-09-22 06:39:22 +00:00
|
|
|
|
|
|
|
END_BLD_NS
|