|
AMFP Enhanced
C++ reference: the code this unofficial fork added
|
#include <LuxLoadProgress.h>
Public Member Functions | |
| cLuxLoadProgress () | |
| void | Begin (const float *avExpectedMs, unsigned long alNowMs) |
| Start a load; avExpectedMs = each phase's time from the last load of this map (or NULL). | |
| void | SetPhase (int alPhase, unsigned long alNowMs) |
| Move to a later phase (earlier phases count as complete). | |
| void | SetCount (int alDone, int alTotal) |
| Counter of the current phase (static objects, entities). | |
| int | Percent (unsigned long alNowMs) |
| 0..99 while loading. | |
| void | Finish (unsigned long alNowMs, float *avTakenMs) |
| The load is done; avTakenMs receives each phase's time, to expect next time. | |
| bool | IsActive () const |
| int | GetPhase () const |
Definition at line 26 of file LuxLoadProgress.h.
|
inline |
Definition at line 29 of file LuxLoadProgress.h.
|
inline |
Start a load; avExpectedMs = each phase's time from the last load of this map (or NULL).
Definition at line 32 of file LuxLoadProgress.h.
|
inline |
Move to a later phase (earlier phases count as complete).
Definition at line 57 of file LuxLoadProgress.h.
|
inline |
Counter of the current phase (static objects, entities).
Definition at line 67 of file LuxLoadProgress.h.
|
inline |
0..99 while loading.
Definition at line 70 of file LuxLoadProgress.h.
|
inline |
The load is done; avTakenMs receives each phase's time, to expect next time.
Definition at line 90 of file LuxLoadProgress.h.
|
inline |
Definition at line 97 of file LuxLoadProgress.h.
|
inline |
Definition at line 98 of file LuxLoadProgress.h.