Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
tools.c File Reference

Go to the source code of this file.

Data Structures

class  AnimationTimer
 AnimationTimer class. More...
class  AnimatorTimer
class  array< ref CallQueueContext >
 CallQueue Class provide "lazy" calls - when we don't want to execute function immediately but later during frame update (used mainly in UI)
usage: More...
class  array< TimerBase >
 TimerQueue Class using for system purpose only. More...
class  CallQueue
 DragQueue Class provide callbacks while mouse is dragging. More...
class  CallQueueContext
class  multiMap< Class K, Class V >
 Associative array template, with multiple values per key
usage: More...
class  TimerBase
 Simple class for fading Widgets. More...

Typedefs

typedef map< string, stringTStringMap

Functions

void ~TimerBase ()
void Continue ()
 Timer continue when it was paused.
float GetDuration ()
int GetNumberOfSetBits (int i)
bool GetProfileValueBool (string name, bool def=false)
 Return value from profile variable, if variable with given name is not present, default value is returned.
float GetRemaining ()
float GetRunTime ()
int GetTemperatureColor (int temperature)
float GetTime ()
bool IsRunning ()
void OnInit (int category)
void OnStart (float duration, bool loop)
void OnTimer ()
 DEPRECATED.
void OnTimerQueueDestoryed ()
 System function, don't call.
void OnUpdate ()
void Pause ()
 Pause Timer, internal counter is not restarted, so timer can continue later.
void SetProfileValueBool (string name, bool value)
 Writes bool variable to profile, after write don't forget to call CGame::SaveProfile() to save profile to storage!
void SetRunning (bool running)
void Stop ()
 Stop Timer and restart internal counter.
void Tick (float timeslice)
 System function, don't call.

Variables

const int CALL_CATEGORY_COUNT = 3
const int CALL_CATEGORY_GAMEPLAY = 2
const int CALL_CATEGORY_GUI = 1
const int CALL_CATEGORY_SYSTEM = 0
float m_duration
bool m_loop
class DragQueue extends CallQueue m_running
 TimerBase Class provide just interface for all Timer classes.
float m_RunTime
float m_time
array< TimerBasem_timerQueue