#include <menu.h>
|
| | Menu () |
| |
| void | init (Graphics *gfx, Audio *audio, char **pk3_list, int num_pk3) |
| |
| void | render (Global &global, bool ingame=false) |
| |
| void | load (char *menu_file, char *state_file) |
| |
| void | delta (char *delta, Engine &altEngine) |
| |
| bool | delta (float x, float y) |
| |
| void | handle (char key, Engine *altEngine) |
| |
| void | draw_text (char *str, float x, float y, float scale, vec3 &color, bool start, bool stop) |
| |
| void | render_console (Global &global) |
| |
| void | render_chatmode (Global &global) |
| |
| void | render_stringmode (Global &global) |
| |
| void | handle_console (char key, Engine *altEngine) |
| |
| void | handle_chatmode (char key, Engine *altEngine) |
| |
| void | handle_stringmode (char key, Engine *altEngine) |
| |
| void | movepos (char c, float &xpos, float &ypos, float scale) |
| |
| void | print (const char *str) |
| |
| void | stop () |
| |
| void | play () |
| |
| void | clear_console () |
| |
| void | copy (char *data, unsigned int size) |
| |
| void | print_chat (const char *str) |
| |
| void | render_chat (Global &global) |
| |
| void | clear_chat () |
| |
| void | print_notif (const char *str) |
| |
| void | render_notif (Global &global) |
| |
| void | clear_notif () |
| |
| void | sub_value (const char *str, char *out) |
| |
| void | handle_slider (char *out, float value) |
| |
| | ~Menu () |
| |
| void Menu::clear_chat |
( |
| ) |
|
| void Menu::clear_console |
( |
| ) |
|
| void Menu::clear_notif |
( |
| ) |
|
| void Menu::copy |
( |
char * |
data, |
|
|
unsigned int |
size |
|
) |
| |
| void Menu::delta |
( |
char * |
delta, |
|
|
Engine & |
altEngine |
|
) |
| |
| bool Menu::delta |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
| void Menu::draw_text |
( |
char * |
str, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
scale, |
|
|
vec3 & |
color, |
|
|
bool |
start, |
|
|
bool |
stop |
|
) |
| |
| void Menu::handle |
( |
char |
key, |
|
|
Engine * |
altEngine |
|
) |
| |
| void Menu::handle_chatmode |
( |
char |
key, |
|
|
Engine * |
altEngine |
|
) |
| |
| void Menu::handle_console |
( |
char |
key, |
|
|
Engine * |
altEngine |
|
) |
| |
| void Menu::handle_slider |
( |
char * |
out, |
|
|
float |
value |
|
) |
| |
| void Menu::handle_stringmode |
( |
char |
key, |
|
|
Engine * |
altEngine |
|
) |
| |
| void Menu::init |
( |
Graphics * |
gfx, |
|
|
Audio * |
audio, |
|
|
char ** |
pk3_list, |
|
|
int |
num_pk3 |
|
) |
| |
| void Menu::load |
( |
char * |
menu_file, |
|
|
char * |
state_file |
|
) |
| |
| void Menu::movepos |
( |
char |
c, |
|
|
float & |
xpos, |
|
|
float & |
ypos, |
|
|
float |
scale |
|
) |
| |
| void Menu::print |
( |
const char * |
str | ) |
|
| void Menu::print_chat |
( |
const char * |
str | ) |
|
| void Menu::print_notif |
( |
const char * |
str | ) |
|
| void Menu::render |
( |
Global & |
global, |
|
|
bool |
ingame = false |
|
) |
| |
| void Menu::render_chat |
( |
Global & |
global | ) |
|
| void Menu::render_chatmode |
( |
Global & |
global | ) |
|
| void Menu::render_console |
( |
Global & |
global | ) |
|
| void Menu::render_notif |
( |
Global & |
global | ) |
|
| void Menu::render_stringmode |
( |
Global & |
global | ) |
|
| void Menu::sub_value |
( |
const char * |
str, |
|
|
char * |
out |
|
) |
| |
| vector< char * > Menu::chat_buffer |
|
static |
| vector<char *> Menu::cmd_buffer |
|
private |
| vector< char * > Menu::console_buffer |
|
static |
| unsigned int Menu::history_index |
|
private |
| char Menu::key_buffer[1024] |
|
private |
| unsigned int Menu::line_offset |
|
private |
| vector< char * > Menu::notif_buffer |
|
static |
| vector< char * > Menu::string_buffer |
|
static |
| char Menu::string_cmd[128] |
| char* Menu::string_target |
The documentation for this class was generated from the following files: