mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- exported the base thinker class for sector lighting effects to ZScript.
This commit is contained in:
parent
d74b6a6896
commit
0cfdd699ad
3 changed files with 17 additions and 2 deletions
|
@ -72,6 +72,9 @@ void DSectorEffect::Serialize(FSerializer &arc)
|
|||
arc("sector", m_Sector);
|
||||
}
|
||||
|
||||
DEFINE_FIELD(DSectorEffect, m_Sector)
|
||||
|
||||
|
||||
IMPLEMENT_CLASS(DMover, false, true)
|
||||
|
||||
IMPLEMENT_POINTERS_START(DMover)
|
||||
|
|
|
@ -16,9 +16,11 @@ public:
|
|||
|
||||
sector_t *GetSector() const { return m_Sector; }
|
||||
|
||||
protected:
|
||||
DSectorEffect ();
|
||||
sector_t *m_Sector;
|
||||
|
||||
protected:
|
||||
DSectorEffect();
|
||||
|
||||
};
|
||||
|
||||
class DMover : public DSectorEffect
|
||||
|
|
|
@ -717,3 +717,13 @@ struct LookExParams
|
|||
int flags;
|
||||
State seestate;
|
||||
};
|
||||
|
||||
class SectorEffect : Thinker native
|
||||
{
|
||||
native protected Sector m_Sector;
|
||||
}
|
||||
|
||||
class Lighting : SectorEffect native
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue