2016-10-30 13:00:11 +00:00
|
|
|
class Object native
|
|
|
|
{
|
2016-11-22 22:42:32 +00:00
|
|
|
native bool bDestroyed;
|
|
|
|
|
2016-11-18 21:12:53 +00:00
|
|
|
// These really should be global functions...
|
|
|
|
native static int G_SkillPropertyInt(int p);
|
|
|
|
native static double G_SkillPropertyFloat(int p);
|
|
|
|
|
2016-11-11 19:05:07 +00:00
|
|
|
virtual native void Destroy();
|
2016-11-05 00:19:41 +00:00
|
|
|
native class<Object> GetClass();
|
2016-10-30 13:00:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class Thinker : Object native
|
|
|
|
{
|
2016-11-23 20:26:59 +00:00
|
|
|
const TICRATE = 35;
|
|
|
|
|
2016-11-21 13:59:17 +00:00
|
|
|
virtual native void Tick();
|
|
|
|
virtual native void PostBeginPlay();
|
2016-10-31 16:02:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class ThinkerIterator : Object native
|
|
|
|
{
|
|
|
|
enum EStatnums
|
|
|
|
{
|
|
|
|
MAX_STATNUM = 127
|
|
|
|
}
|
|
|
|
|
2016-11-05 00:19:41 +00:00
|
|
|
native static ThinkerIterator Create(class<Object> type = "Actor", int statnum=MAX_STATNUM+1);
|
|
|
|
native Thinker Next(bool exact = false);
|
2016-10-31 16:02:47 +00:00
|
|
|
native void Reinit();
|
|
|
|
}
|
|
|
|
|
2016-11-16 00:36:21 +00:00
|
|
|
class ActorIterator : Object native
|
|
|
|
{
|
|
|
|
native static ActorIterator Create(int tid, class<Actor> type = "Actor");
|
|
|
|
native Actor Next();
|
|
|
|
native void Reinit();
|
|
|
|
}
|
|
|
|
|
2016-10-31 16:02:47 +00:00
|
|
|
class DropItem : Object native
|
|
|
|
{
|
|
|
|
native readonly DropItem Next;
|
2016-11-05 00:19:41 +00:00
|
|
|
native readonly name Name;
|
2016-10-31 16:02:47 +00:00
|
|
|
native readonly int Probability;
|
2016-11-22 22:42:32 +00:00
|
|
|
native int Amount;
|
2016-10-31 16:02:47 +00:00
|
|
|
}
|
|
|
|
|
2016-11-18 21:12:53 +00:00
|
|
|
class SpotState : Object native
|
|
|
|
{
|
|
|
|
native static SpotState GetSpotState();
|
|
|
|
native SpecialSpot GetNextInList(class<Actor> type, int skipcounter);
|
2016-11-22 18:20:31 +00:00
|
|
|
}
|
|
|
|
|
2016-11-22 23:35:06 +00:00
|
|
|
struct LevelLocals native
|
|
|
|
{
|
|
|
|
native readonly int time;
|
|
|
|
native readonly int maptime;
|
|
|
|
native readonly int totaltime;
|
|
|
|
native readonly int starttime;
|
|
|
|
native readonly int partime;
|
|
|
|
native readonly int sucktime;
|
|
|
|
native readonly int cluster;
|
|
|
|
native readonly int clusterflags;
|
|
|
|
native readonly int levelnum;
|
|
|
|
native readonly String LevelName;
|
|
|
|
native readonly String MapName;
|
|
|
|
native String NextMap;
|
|
|
|
native String NextSecretMap;
|
|
|
|
native readonly int maptype;
|
|
|
|
native readonly String Music;
|
|
|
|
native readonly int musicorder;
|
|
|
|
native readonly int total_secrets;
|
|
|
|
native int found_secrets;
|
|
|
|
native readonly int total_items;
|
|
|
|
native int found_items;
|
|
|
|
native readonly int total_monsters;
|
|
|
|
native int killed_monsters;
|
|
|
|
native double gravity;
|
|
|
|
native double aircontrol;
|
|
|
|
native double airfriction;
|
|
|
|
native int airsupply;
|
|
|
|
native double teamdamage;
|
|
|
|
native bool monsterstelefrag;
|
|
|
|
native bool actownspecial;
|
|
|
|
native bool sndseqtotalctrl;
|
|
|
|
native bool allmap;
|
|
|
|
native bool missilesactivateimpact;
|
|
|
|
native bool monsterfallingdamage;
|
|
|
|
native bool checkswitchrange;
|
|
|
|
native bool polygrind;
|
|
|
|
// level_info_t *info cannot be done yet.
|
|
|
|
}
|
|
|
|
|
|
|
|
struct State native
|
|
|
|
{
|
|
|
|
State NextState;
|
|
|
|
int sprite;
|
|
|
|
int16 Tics;
|
|
|
|
uint16 TicRange;
|
|
|
|
uint8 Frame;
|
|
|
|
uint8 UseFlags;
|
|
|
|
int Misc1;
|
|
|
|
int Misc2;
|
|
|
|
uint16 bSlow;
|
|
|
|
uint16 bFast;
|
|
|
|
bool bFullbright;
|
|
|
|
bool bNoDelay;
|
|
|
|
bool bSameFrame;
|
|
|
|
bool bCanRaise;
|
|
|
|
bool bDehacked;
|
|
|
|
}
|
|
|
|
|
2016-11-22 18:20:31 +00:00
|
|
|
struct Sector native
|
|
|
|
{
|
|
|
|
}
|