|
Xonotic
|
#include "i18n.qh"
Include dependency graph for counting.qh:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | APPEND_TIME(unit) if (tmp_##unit) output = strcat(output, ((output != "") ? ", " : ""), count_##unit(tmp_##unit)) |
| #define | count_days(time) |
| #define | count_days_decs(time, decs) sprintf(CTX(_("CI_DEC^%s days")), ftos_decimals(time, decs)) |
| #define | count_hours(time) |
| #define | count_hours_decs(time, decs) sprintf(CTX(_("CI_DEC^%s hours")), ftos_decimals(time, decs)) |
| #define | count_minutes(time) |
| #define | count_minutes_decs(time, decs) sprintf(CTX(_("CI_DEC^%s minutes")), ftos_decimals(time, decs)) |
| #define | count_seconds(time) |
| #define | count_seconds_decs(time, decs) sprintf(CTX(_("CI_DEC^%s seconds")), ftos_decimals(time, decs)) |
| #define | count_weeks(time) |
| #define | count_weeks_decs(time, decs) sprintf(CTX(_("CI_DEC^%s weeks")), ftos_decimals(time, decs)) |
| #define | count_years(time) |
| #define | count_years_decs(time, decs) sprintf(CTX(_("CI_DEC^%s years")), ftos_decimals(time, decs)) |
Functions | |
| ERASEABLE string | count_fill (float interval, string zeroth, string first, string second, string third, string multi) |
| ERASEABLE string | count_ordinal (int interval) |
| ERASEABLE string | process_time (float outputtype, int seconds) |
| #define APPEND_TIME | ( | unit | ) | if (tmp_##unit) output = strcat(output, ((output != "") ? ", " : ""), count_##unit(tmp_##unit)) |
Referenced by process_time().
| #define count_days | ( | time | ) |
Definition at line 28 of file counting.qh.
Referenced by process_time().
Definition at line 27 of file counting.qh.
| #define count_hours | ( | time | ) |
Definition at line 37 of file counting.qh.
Referenced by process_time().
| #define count_hours_decs | ( | time, | |
| decs | |||
| ) | sprintf(CTX(_("CI_DEC^%s hours")), ftos_decimals(time, decs)) |
Definition at line 36 of file counting.qh.
| #define count_minutes | ( | time | ) |
Definition at line 47 of file counting.qh.
| #define count_minutes_decs | ( | time, | |
| decs | |||
| ) | sprintf(CTX(_("CI_DEC^%s minutes")), ftos_decimals(time, decs)) |
Definition at line 46 of file counting.qh.
| #define count_seconds | ( | time | ) |
Definition at line 56 of file counting.qh.
Referenced by process_time().
| #define count_seconds_decs | ( | time, | |
| decs | |||
| ) | sprintf(CTX(_("CI_DEC^%s seconds")), ftos_decimals(time, decs)) |
Definition at line 55 of file counting.qh.
| #define count_weeks | ( | time | ) |
Definition at line 19 of file counting.qh.
| #define count_weeks_decs | ( | time, | |
| decs | |||
| ) | sprintf(CTX(_("CI_DEC^%s weeks")), ftos_decimals(time, decs)) |
Definition at line 18 of file counting.qh.
| #define count_years | ( | time | ) |
Definition at line 10 of file counting.qh.
| #define count_years_decs | ( | time, | |
| decs | |||
| ) | sprintf(CTX(_("CI_DEC^%s years")), ftos_decimals(time, decs)) |
Definition at line 9 of file counting.qh.
| ERASEABLE string count_fill | ( | float | interval, |
| string | zeroth, | ||
| string | first, | ||
| string | second, | ||
| string | third, | ||
| string | multi | ||
| ) |
Definition at line 89 of file counting.qh.
References CTX(), ERASEABLE, and floor().
Here is the call graph for this function:Definition at line 66 of file counting.qh.
Referenced by depthfirst(), getladder(), getrankings(), and Scoreboard_Rankings_Draw().
Here is the caller graph for this function:Definition at line 120 of file counting.qh.
References APPEND_TIME, count_days, count_hours, count_seconds, floor(), and strcat().
Referenced by CommonCommand_who(), and WinningCondition_Assault().
Here is the call graph for this function:
Here is the caller graph for this function: