sys/curses/main.c
Definition in file crogue.c.
#include "crogue.h"
#include "substdio.h"
#include "export.h"
Go to the source code of this file.
Functions | |
| void | cb_main_menu_choice (int n, char *buf) |
| void | main_menu (void) |
| void | initialize (void) |
| void | resize_map_store (int size_x, int size_y) |
| void | eventloop (void) |
| void | die (const char *cause_of_death) |
| void | end_game (const char *cause_of_death) |
| void | quit (void) |
| void | cleanup (void) |
| void | timepass (ushort amt) |
Variables | |
| world * | w |
| const char * | main_menu_choices [] |
| const int | num_main_menu_choices = 6 |
|
||||||||||||
|
Definition at line 189 of file crogue.c. References main_menu_choices. Referenced by main_menu(). |
|
|
Definition at line 293 of file crogue.c. References cleanup_items(), debug_free, world::itemids, world::plr, world::shuffletranslation, player::spellknowledge, sys_cleanup(), world::t, UI_TF_Deinit(), and w. |
|
|
Definition at line 250 of file crogue.c. References draw(), end_game(), KEY_ACKNOWLEDGE, message(), and read_char(). Referenced by plr_takedamage(), and potion_numbness_expire(). |
|
|
Definition at line 260 of file crogue.c. References award_high_score(), award_item_points(), cleanup_save(), display_scores(), message(), world::plr, quit(), read_char(), player::score, and w. Referenced by die(), follow_connection(), and plr_move(). |
|
|
Definition at line 239 of file crogue.c. References draw(), and plr_move(). Referenced by main(). |
|
|
Definition at line 92 of file crogue.c. References COORD, debug_calloc, display_title_screen(), enter_map(), get_entropy, init_discoveries(), init_layout(), init_options(), init_shuffle_tab(), init_spells(), load_options(), lsrand(), main_menu(), MAPSIZE_X, MAPSIZE_Y, world::messagevis, OPTION_GRAY_ON, OPTION_GRAYSCALE, world::options, restore_game(), sys_init(), sys_init_data_file(), world::time, UI_MF_clear(), UI_TF_Init(), and w. Referenced by main(). |
|
|
Definition at line 195 of file crogue.c. References cb_main_menu_choice(), COORD, world::current_map, world::current_map_link, deref_file_ptr(), world::desc, display_scores(), display_title_screen(), gen_map(), help(), init_player(), world::level, main_menu_rect, world_descriptor::mainmap, mapdesc::mapindex, world::maxlevel, num_main_menu_choices, options_menu(), quit(), world_descriptor::tutorialmap, UI_Menu_Pick(), and w. Referenced by initialize(). |
|
|
Definition at line 283 of file crogue.c. References cleanup(). Referenced by end_game(), main_menu(), and plr_move(). |
|
||||||||||||
|
Definition at line 154 of file crogue.c. References COORD, debug_free, debug_malloc, world::mapsize_x, world::mapsize_y, world::t, UI_TF_Init(), and w. Referenced by gen_map(), load_level(), and restore_game(). |
|
|
|
Initial value: {
gettext("New game"),
gettext("Help"),
gettext("Tutorial"),
gettext("High scores"),
gettext("Options"),
gettext("Quit")
}
Definition at line 178 of file crogue.c. Referenced by cb_main_menu_choice(). |
|
|
Definition at line 186 of file crogue.c. Referenced by main_menu(). |
|
1.3.6