Go to the source code of this file.
Detailed Description
Menu related functions.
Definition in file menu.c.
Function Documentation
| void blt_inventory_face_from_tag |
( |
int |
tag, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
Blit face from inventory located by tag.
- Parameters:
-
| tag | Item tag to locate |
| x | X position to blit the item |
| y | Y position to blit the item |
Definition at line 322 of file menu.c.
| void blt_window_slider |
( |
_Sprite * |
slider, |
|
|
int |
maxlen, |
|
|
int |
winlen, |
|
|
int |
startoff, |
|
|
int |
len, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
Blit a window slider.
- Parameters:
-
| slider | Sprite of the slider |
| maxlen | Maximum length of the slider |
| winlen | Window length |
| startoff | Start position offset |
| len | Length of the slider |
| x | X position of the slider to display |
| y | Y position of the slider to display |
Definition at line 359 of file menu.c.
| int client_command_check |
( |
const char * |
cmd | ) |
|
Analyze /cmd type commands the player has typed in the console or bound to a key. Sort out the "client intern" commands and expand or pre process them for the server.
- Parameters:
-
- Returns:
- 0 to send command to server, 1 to not send it
Definition at line 37 of file menu.c.
| void send_command_check |
( |
const char * |
cmd | ) |
|
Show one of the menus (book, party, etc).
Definition at line 337 of file menu.c.