2018-06-19 00:16:32 +00:00
|
|
|
//HEADER_GOES_HERE
|
2018-06-20 10:17:44 +00:00
|
|
|
#ifndef __PORTAL_H__
|
|
|
|
#define __PORTAL_H__
|
2018-06-07 02:25:54 +00:00
|
|
|
|
|
|
|
extern PortalStruct portal[4];
|
|
|
|
extern int portalindex;
|
|
|
|
// int END_portalstruct; // weak
|
|
|
|
|
|
|
|
void __cdecl InitPortals();
|
|
|
|
void __fastcall SetPortalStats(int i, int o, int x, int y, int lvl, int lvltype);
|
|
|
|
void __fastcall AddWarpMissile(int i, int x, int y);
|
|
|
|
void __cdecl SyncPortals();
|
|
|
|
void __fastcall AddInTownPortal(int i);
|
|
|
|
void __fastcall ActivatePortal(int i, int x, int y, int lvl, int lvltype, int sp);
|
|
|
|
void __fastcall DeactivatePortal(int i);
|
|
|
|
bool __fastcall PortalOnLevel(int i);
|
|
|
|
void __fastcall RemovePortalMissile(int id);
|
|
|
|
void __fastcall SetCurrentPortal(int p);
|
|
|
|
void __cdecl GetPortalLevel();
|
|
|
|
void __cdecl GetPortalLvlPos();
|
|
|
|
bool __fastcall PosOkPortal(int level, int x, int y);
|
|
|
|
|
|
|
|
/* rdata */
|
|
|
|
extern int WarpDropX[4];
|
|
|
|
extern int WarpDropY[4];
|
2018-06-20 10:17:44 +00:00
|
|
|
|
|
|
|
#endif /* __PORTAL_H__ */
|