OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
ScriptTimer Class Reference
Inheritance diagram for ScriptTimer:
Listener Class LightClass

Public Member Functions

 CLASS_PROTOTYPE (ScriptTimer)
 
 ScriptTimer (timertype_e type=TIMER_NORMAL)
 
void Think (Event *ev)
 
void Disable ()
 
void Enable ()
 
qboolean Done ()
 
float GetCurrentTime ()
 
float GetRatio ()
 
float GetTime ()
 
float LerpValue (float start, float end)
 
Vector LerpValue (Vector start, Vector end)
 
void Reset ()
 
void SetCurrentTime (float time)
 
void SetPhase (float phase)
 
void SetTime (float time)
 
bool isEnabled ()
 
void setType (timertype_e type)
 
- Public Member Functions inherited from Listener
 CLASS_PROTOTYPE (Listener)
 
virtual ListenerGetScriptOwner (void)
 
virtual void SetScriptOwner (Listener *newOwner)
 
void Archive (Archiver &arc) override
 
void CancelEventsOfType (Event *ev)
 
void CancelEventsOfType (Event &ev)
 
void CancelFlaggedEvents (int flags)
 
void CancelPendingEvents (void)
 
qboolean EventPending (Event &ev)
 
void PostEvent (Event *ev, float delay, int flags=0)
 
void PostEvent (const Event &ev, float delay, int flags=0)
 
qboolean PostponeAllEvents (float time)
 
qboolean PostponeEvent (Event &ev, float time)
 
bool ProcessEvent (const Event &ev)
 
bool ProcessEvent (Event *ev)
 
bool ProcessEvent (Event &ev)
 
ScriptVariableProcessEventReturn (Event *ev)
 
void ProcessContainerEvent (const Container< Event * > &conev)
 
qboolean ProcessPendingEvents (void)
 
bool ProcessScriptEvent (Event &ev)
 
bool ProcessScriptEvent (Event *ev)
 
int GetFlags (Event *event) const
 
qboolean ValidEvent (str name) const
 
void CommandDelay (Event *ev)
 
void Remove (Event *ev)
 
void ScriptRemove (Event *ev)
 
void EventInheritsFrom (Event *ev)
 
void EventIsInheritedBy (Event *ev)
 
void GetClassname (Event *ev)
 
- Public Member Functions inherited from Class
virtual ClassDefclassinfo (void) const
 
void warning (const char *function, const char *format,...) const
 
void error (const char *function, const char *format,...) const
 
qboolean inheritsFrom (ClassDef *c) const
 
qboolean inheritsFrom (const char *name) const
 
qboolean isInheritedBy (const char *name) const
 
qboolean isInheritedBy (ClassDef *c) const
 
const char * getClassname (void) const
 
const char * getClassID (void) const
 
const char * getSuperclass (void) const
 
- Public Member Functions inherited from LightClass
void * operator new (size_t s)
 
void operator delete (void *ptr)
 
void * operator new (size_t size, void *placement)
 
void operator delete (void *ptr, void *placement)
 
template<typename T>
void * operator new (size_t size, T &placement)
 
template<typename T>
void operator delete (void *ptr, T &placement)
 

Additional Inherited Members

- Static Public Member Functions inherited from Class
static void * _newInstance (void)
 
static ClassDefclassinfostatic (void)
 
- Static Public Attributes inherited from Listener
static bool EventSystemStarted = false
 
static bool ProcessingEvents = false
 
- Static Public Attributes inherited from Class
static ClassDef ClassInfo
 
static ClassDefHook _ClassInfo_
 
static ResponseDef< ClassResponses []
 
- Protected Member Functions inherited from Class
void ClearSafePointers ()
 

The documentation for this class was generated from the following files: