You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
/**
|
|
|
|
|
* @file portal.h
|
|
|
|
|
*
|
|
|
|
|
* Interface of functionality for handling town portals.
|
|
|
|
|
*/
|
|
|
|
|
#ifndef __PORTAL_H__
|
|
|
|
|
#define __PORTAL_H__
|
|
|
|
|
|
|
|
|
|
extern PortalStruct portal[MAXPORTAL];
|
|
|
|
|
|
|
|
|
|
void InitPortals();
|
|
|
|
|
void SetPortalStats(int i, BOOL o, int x, int y, int lvl, int lvltype);
|
|
|
|
|
void AddWarpMissile(int i, int x, int y);
|
|
|
|
|
void SyncPortals();
|
|
|
|
|
void AddInTownPortal(int i);
|
|
|
|
|
void ActivatePortal(int i, int x, int y, int lvl, int lvltype, BOOL sp);
|
|
|
|
|
void DeactivatePortal(int i);
|
|
|
|
|
BOOL PortalOnLevel(int i);
|
|
|
|
|
void RemovePortalMissile(int id);
|
|
|
|
|
void SetCurrentPortal(int p);
|
|
|
|
|
void GetPortalLevel();
|
|
|
|
|
void GetPortalLvlPos();
|
|
|
|
|
BOOL PosOkPortal(int lvl, int x, int y);
|
|
|
|
|
|
|
|
|
|
#endif /* __PORTAL_H__ */
|