mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-14 08:30:50 +00:00
7ff5069617
This uses a global function, this has been placed into DObject for now because the scripting interface does not allow non-class-owned functions yet.
48 lines
No EOL
1 KiB
Text
48 lines
No EOL
1 KiB
Text
class Object native
|
|
{
|
|
// These really should be global functions...
|
|
native static int G_SkillPropertyInt(int p);
|
|
native static double G_SkillPropertyFloat(int p);
|
|
|
|
virtual native void Destroy();
|
|
native class<Object> GetClass();
|
|
}
|
|
|
|
class Thinker : Object native
|
|
{
|
|
}
|
|
|
|
class ThinkerIterator : Object native
|
|
{
|
|
enum EStatnums
|
|
{
|
|
MAX_STATNUM = 127
|
|
}
|
|
|
|
native static ThinkerIterator Create(class<Object> type = "Actor", int statnum=MAX_STATNUM+1);
|
|
native Thinker Next(bool exact = false);
|
|
native void Reinit();
|
|
}
|
|
|
|
class ActorIterator : Object native
|
|
{
|
|
native static ActorIterator Create(int tid, class<Actor> type = "Actor");
|
|
native Actor Next();
|
|
native void Reinit();
|
|
}
|
|
|
|
class DropItem : Object native
|
|
{
|
|
/* native fields listed for reference only for now
|
|
native readonly DropItem Next;
|
|
native readonly name Name;
|
|
native readonly int Probability;
|
|
native readonly int Amount;
|
|
*/
|
|
}
|
|
|
|
class SpotState : Object native
|
|
{
|
|
native static SpotState GetSpotState();
|
|
native SpecialSpot GetNextInList(class<Actor> type, int skipcounter);
|
|
} |