mirror of
https://git.code.sf.net/p/quake/game-source
synced 2025-02-18 18:01:24 +00:00
18 lines
287 B
C++
18 lines
287 B
C++
|
#include "common.qh"
|
||
|
#include "menu.qh"
|
||
|
|
||
|
void(void() menu_func) menu_set = {
|
||
|
self.menu_state = 0;
|
||
|
self.menu_time = 0;
|
||
|
self.menu_think = menu_func;
|
||
|
};
|
||
|
|
||
|
float() util_menu_needs_print = {
|
||
|
if (time > self.menu_time) {
|
||
|
self.menu_time = time + 1.4;
|
||
|
return TRUE;
|
||
|
}
|
||
|
|
||
|
return FALSE;
|
||
|
};
|