Functions

allmain.c File Reference

#include "hack.h"
#include <signal.h>
Include dependency graph for allmain.c:

Functions

STATIC_DCL void FDECL (interrupt_multi,(const char *, int, int))
void moveloop ()
void stop_occupation ()
void display_gamewindows ()
void newgame ()
void welcome (boolean new_game)
STATIC_DCL void interrupt_multi (char *points, int current_points, int max_points) const

Function Documentation

void display_gamewindows (  )
STATIC_DCL void FDECL ( interrupt_multi  ,
(const char *, int, int)   
)
STATIC_DCL void interrupt_multi ( char *  points,
int  current_points,
int  max_points 
) const

Interrupt a multiturn action if current_points is equal to max_points.

References flags, multi, nomul(), pline(), and flag::verbose.

Referenced by moveloop().

Here is the call graph for this function:

Here is the caller graph for this function:

void moveloop (  )

References A_CON, A_DEX, A_INT, A_WIS, ABORT, ACURR, age_spells(), amulet(), BClairvoyant, Blind, bot(), flag::botl, flag::botlx, flag::bypasses, change_luck(), check_leash(), Clairvoyant, clear_bypasses(), COLNO, monst::data, decl_init(), deferred_goto(), depth(), display_nhwindow, DISSOLVED, d_level::dlevel, do_storms(), do_vicinity_map(), domove(), done(), dosearch0(), dosounds(), dragons_init(), encumber_msg(), Energy_regeneration, exerchk(), exercise(), EXT_ENCUMBER, fall_asleep(), FALSE, Fast, find_ac(), flags, fmon, flag::friday13, friday_13th(), FULL_MOON, get_nh_event, Getchar, gethungry(), Glib, glibr(), Hallucination, HVY_ENCUMBER, iflags, In_endgame, initrack(), interrupt_multi(), intervene(), invault(), is_lava(), is_pool(), Is_waterlevel, kbhit, KILLED_BY, killer, killer_format, lookaround(), LOW_PM, makemon(), MAXULEV, maybe_tutorial(), mcalcdistress(), mcalcmove(), you::mh, you::mhmax, MICRO, permonst::mlet, permonst::mmove, MOD_ENCUMBER, flag::mon_moving, monst_init(), monster_nearby(), monstermoves, monstr_init(), flag::moonphase, flag::move, movebubbles(), monst::movement, movemon(), moves, multi, flag::mv, NEW_MOON, next_to_u(), nh_timeout(), night(), monst::nmon, NO_MM_FLAGS, nomul(), NON_PM, NORMAL_SPEED, objects_init(), occtime, phase_of_the_moon(), pline(), PM_WIZARD, Polymorph, polyself(), Regeneration, rehumanize(), reset_eat(), restore_attrib(), rhack(), rn1, rn2(), rnd(), Role_if, flag::run, run_regions(), RUN_TPORT, instance_flags::runmode, S_EEL, save_cm, Searching, see_monsters(), see_objects(), see_traps(), settrack(), shop_selection_init(), SLT_ENCUMBER, stop_occupation(), stronghold_level, swallowed(), tele(), Teleportation, flag::time, flag::travel, instance_flags::travel1, TRUE, TT_LAVA, u, u_wipe_engr(), you::ublesscnt, you::udg_cnt, you::uen, you::uenmax, you::uevent, you::uhave, you::uhp, you::uhpmax, you::ulevel, you::ulycn, you::umoved, Unblind_telepat, Unchanging, under_ground(), under_water(), Underwater, UNENCUMBERED, unmul(), Upolyd, you::utotype, you::utrap, you::utraptype, you::ux, you::uy, you::uz, you::uz0, Very_fast, vision_full_recalc, vision_recalc(), Warn_of_mon, Warning, WIN_MAP, wizard, you_were(), and youmonst.

Here is the call graph for this function:

void newgame (  )
void stop_occupation (  )
void welcome ( boolean  new_game )

References A_CURRENT, A_ORIGINAL, Race::adj, align_str(), Role::allow, BUFSZ, eos(), RoleName::f, flag::female, flags, genders, Hello(), flag::initgend, RoleName::m, Role::name, pline(), plname, ROLE_FEMALE, ROLE_GENDMASK, ROLE_MALE, Sprintf, u, you::ualignbase, Upolyd, urace, and urole.

Referenced by dorecover(), and newgame().

Here is the call graph for this function:

Here is the caller graph for this function: