DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Файл tools.c

См. исходные тексты.

Структуры данных

class  CallQueueContext
 
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: Подробнее...
 
class  CallQueue
 DragQueue Class provide callbacks while mouse is dragging. Callback function must have exact arguments: Подробнее...
 
class  array< TimerBase >
 TimerQueue Class using for system purpose only. Подробнее...
 
class  TimerBase
 Simple class for fading Widgets. Подробнее...
 
class  AnimationTimer
 AnimationTimer class. This timer is for animating float value.
usage: Подробнее...
 
class  AnimatorTimer
 
class  multiMap< Class K, Class V >
 Associative array template, with multiple values per key
usage: Подробнее...
 

Определения типов

typedef map< string, stringTStringMap
 

Функции

void ~TimerBase ()
 
void Pause ()
 Pause Timer, internal counter is not restarted, so timer can continue later. Can be unpaused via Continue.
 
void Continue ()
 Timer continue when it was paused.
 
void Stop ()
 Stop Timer and restart internal counter. Cannot be unpaused, must be started again.
 
bool IsRunning ()
 
void Tick (float timeslice)
 System function, don't call.
 
void OnTimerQueueDestoryed ()
 System function, don't call.
 
float GetTime ()
 
float GetDuration ()
 
float GetRemaining ()
 
float GetRunTime ()
 
void OnInit (int category)
 
void OnStart (float duration, bool loop)
 
void OnUpdate ()
 
void OnTimer ()
 DEPRECATED.
 
void SetRunning (bool running)
 
int GetTemperatureColor (int temperature)
 
bool GetProfileValueBool (string name, bool def=false)
 Return value from profile variable, if variable with given name is not present, default value is returned.
 
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!
 
int GetNumberOfSetBits (int i)
 

Переменные

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