mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-10 03:30:47 +00:00
936ce5a866
# Conflicts: # platform/Windows/exhumed.vcxproj # platform/Windows/exhumed.vcxproj.filters
35 lines
714 B
C
35 lines
714 B
C
|
|
#ifndef __items_h__
|
|
#define __items_h__
|
|
|
|
enum
|
|
{
|
|
kItemHeart = 0,
|
|
kItemInvincibility,
|
|
kItemTorch,
|
|
kItemDoubleDamage,
|
|
kItemInvisibility,
|
|
kItemMask,
|
|
};
|
|
|
|
extern short nItemMagic[];
|
|
|
|
void BuildItemAnim(short nSprite);
|
|
void DestroyItemAnim(short nSprite);
|
|
void ItemFlash();
|
|
void FillItems(short nPlayer);
|
|
void UseEye(short nPlayer);
|
|
void UseMask(short nPlayer);
|
|
void UseTorch(short nPlayer);
|
|
void UseHeart(short nPlayer);
|
|
void UseScarab(short nPlayer);
|
|
void UseHand(short nPlayer);
|
|
void UseItem(short nPlayer, short nItem);
|
|
void UseCurItem(short nPlayer);
|
|
int GrabItem(short nPlayer, short nItem);
|
|
void DropMagic(short nSprite);
|
|
void InitItems();
|
|
void StartRegenerate(short nSprite);
|
|
void DoRegenerates();
|
|
|
|
#endif
|