1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-05-13 02:45:05 +01:00
Update list of functions

artifact functions should reflect that artifact IDs are ints now.

dotravel is now used by Thought Travel on Astral

Evaporation of the Armor plates on Noble's dresses can change the slot the dress is equipped in, need to call shirt functions to do that

Add function for telling if the current level is a cave

Add a 'reset hunger' function, so that the initialization code in init_hunger isn't run after near death experiences.

Add function for selling clockwork components (ask_cp)

Add function for determining allied drow factions

Add function to handle LOUD sources of monster waking (for deafening grimlocks)

Add mutator function for the bypassDR variable

Add function to allow drow to join their nemesis

Add function to tell if a quest art is the original or a traded version

Drow need to be able to use set_lit

Too-hit functions work a bit different now, taking and generating values for regular, touch, and physical

illurien does not permanently die.

The Claws of the Rev revive eggs.
This commit is contained in:
Chris-plus-alphanumericgibberish 2015-01-23 03:03:21 -05:00
parent 9e0c6ff63f
commit 1732504ba5

View file

@ -91,8 +91,8 @@ E void FDECL(set_artifact_intrinsic, (struct obj *,BOOLEAN_P,long));
E int FDECL(touch_artifact, (struct obj *,struct monst *));
E int FDECL(spec_abon, (struct obj *,struct monst *));
E int FDECL(spec_dbon, (struct obj *,struct monst *,int));
E void FDECL(discover_artifact, (XCHAR_P));
E boolean FDECL(undiscovered_artifact, (XCHAR_P));
E void FDECL(discover_artifact, (int));
E boolean FDECL(undiscovered_artifact, (int));
E int FDECL(disp_artifact_discoveries, (winid));
E boolean FDECL(artifact_hit, (struct monst *,struct monst *,
struct obj *,int *,int));
@ -221,6 +221,7 @@ E char FDECL(txt2key, (char*));
E char* FDECL(key2txt, (char, char*));
E char* FDECL(str2txt, (char*, char*));
E char FDECL(yn_function, (const char *, const char *, CHAR_P));
E int NDECL(dotravel);
/* ### dbridge.c ### */
@ -416,7 +417,6 @@ E char *FDECL(coyotename, (struct monst *,char *));
/* ### do_wear.c ### */
#ifdef USE_TRAMPOLI
E int NDECL(Armor_on);
E int NDECL(Boots_on);
E int NDECL(Gloves_on);
E int NDECL(Helmet_on);
@ -427,6 +427,7 @@ E void FDECL(off_msg, (struct obj *));
E void NDECL(set_wear);
E boolean FDECL(donning, (struct obj *));
E void NDECL(cancel_don);
E int NDECL(Armor_on);
E int NDECL(Armor_off);
E int NDECL(Armor_gone);
E int NDECL(Helmet_on);
@ -436,9 +437,8 @@ E int NDECL(Boots_on);
E int NDECL(Boots_off);
E int NDECL(Cloak_off);
E int NDECL(Shield_off);
#ifdef TOURIST
E int NDECL(Shirt_on);
E int NDECL(Shirt_off);
#endif
E void NDECL(Amulet_off);
E void NDECL(Amulet_on);
E void FDECL(Ring_on, (struct obj *));
@ -568,6 +568,7 @@ E boolean FDECL(Can_dig_down, (d_level *));
E boolean FDECL(Can_rise_up, (int,int,d_level *));
E boolean FDECL(In_quest, (d_level *));
E boolean FDECL(In_outdoors, (d_level *));
E boolean FDECL(In_cave, (d_level *));
E boolean FDECL(In_mines, (d_level *));
E boolean FDECL(In_neu, (d_level *));
E boolean FDECL(In_cha, (d_level *));
@ -609,6 +610,7 @@ E void FDECL(cprefx, (int, BOOLEAN_P, BOOLEAN_P));
E void FDECL(cpostfx, (int, BOOLEAN_P, BOOLEAN_P, BOOLEAN_P));
E boolean FDECL(is_edible, (struct obj *));
E void NDECL(init_uhunger);
E void NDECL(reset_uhunger);
E int NDECL(Hear_again);
E void NDECL(reset_eat);
E int NDECL(doeat);
@ -631,6 +633,7 @@ E void NDECL(fix_petrification);
E void FDECL(consume_oeaten, (struct obj *,int));
E boolean FDECL(maybe_finished_meal, (BOOLEAN_P));
E int FDECL(ask_turns, (struct monst *, int, int));
E int FDECL(ask_cp, (struct monst *, int));
E int FDECL(start_clockwinding, (struct obj *,struct monst *, int));
/* ### end.c ### */
@ -699,6 +702,7 @@ E void FDECL(del_ward, (struct engr *));
E void FDECL(del_engr_ward, (struct engr *));
E void FDECL(rloc_engr, (struct engr *));
E void FDECL(make_grave, (int,int,const char *));
E boolean FDECL(allied_faction, (int,int));
/* ### exper.c ### */
@ -1300,6 +1304,7 @@ E void FDECL(setmangry, (struct monst *));
E void FDECL(wakeup, (struct monst *));
E void NDECL(wake_nearby);
E void FDECL(wake_nearto, (int,int,int));
E void FDECL(wake_nearto_noisy, (int,int,int));
E void FDECL(seemimic, (struct monst *));
E void NDECL(rescham);
E void NDECL(restartcham);
@ -1465,6 +1470,7 @@ E void FDECL(Delay, (int));
/* ### mthrowu.c ### */
E int FDECL(set_bypassDR, (int));
E int FDECL(set_destroy_thrown, (int));
E int FDECL(thitu, (int,int,struct obj *,const char *));
E int FDECL(ohitmon, (struct monst *,struct obj *,int,BOOLEAN_P));
@ -1871,6 +1877,7 @@ E void FDECL(quest_chat, (struct monst *));
E void FDECL(quest_talk, (struct monst *));
E void FDECL(quest_stat_check, (struct monst *));
E void FDECL(finish_quest, (struct obj *));
E void NDECL(turn_stag);
/* ### questpgr.c ### */
@ -1879,6 +1886,7 @@ E void NDECL(unload_qtlist);
E short FDECL(quest_info, (int));
E const char *NDECL(ldrname);
E boolean FDECL(is_quest_artifact, (struct obj*));
E boolean FDECL(is_primary_quest_artifact, (struct obj*));
E void FDECL(com_pager, (int));
E void FDECL(qt_pager, (int));
E struct permonst *NDECL(qt_montype);
@ -1906,10 +1914,8 @@ E void FDECL(forget_levels, (int));
E void NDECL(forget_traps);
E void FDECL(forget_map, (int));
E int FDECL(seffects, (struct obj *));
#ifdef USE_TRAMPOLI
E void FDECL(set_lit, (int,int,genericptr_t));
#endif
E void FDECL(litroom, (BOOLEAN_P,struct obj *));
E void FDECL(set_lit, (int,int,genericptr_t));
E void FDECL(do_genocide, (int));
E void FDECL(punish, (struct obj *));
E void NDECL(unpunish);
@ -2134,6 +2140,7 @@ E int FDECL(P_SKILL, (int));
E int FDECL(P_RESTRICTED, (int));
E boolean FDECL(spiritSkill, (int));
E boolean FDECL(roleSkill, (int));
E int FDECL(domonnoise,(struct monst *));
#ifdef USER_SOUNDS
E int FDECL(add_sound_mapping, (const char *));
E void FDECL(play_sound_for_message, (const char *));
@ -2338,7 +2345,8 @@ E void NDECL(u_init);
E void FDECL(hurtmarmor,(struct monst *,int));
E boolean FDECL(attack_checks, (struct monst *,struct obj *));
E void FDECL(check_caitiff, (struct monst *));
E schar FDECL(find_roll_to_hit, (struct monst *, boolean));
E void FDECL(find_to_hit_rolls, (struct monst *,int *,int *,int *));
E int FDECL(find_roll_to_hit, (struct monst *, boolean));
E boolean FDECL(attack, (struct monst *));
E boolean FDECL(hmon, (struct monst *,struct obj *,int));
E int FDECL(damageum, (struct monst *,struct attack *));
@ -2347,8 +2355,8 @@ E int FDECL(passive, (struct monst *,BOOLEAN_P,int,UCHAR_P));
E void FDECL(passive_obj, (struct monst *,struct obj *,struct attack *));
E void FDECL(stumble_onto_mimic, (struct monst *));
E int FDECL(flash_hits_mon, (struct monst *,struct obj *));
E boolean FDECL(hmonas, (struct monst *,int));
E boolean FDECL(hmonwith, (struct monst *,int, struct attack *, int));
E boolean FDECL(hmonas, (struct monst *,int,int,int));
E boolean FDECL(hmonwith, (struct monst *, int, int, int, struct attack *, int));
/* ### unixmain.c ### */
@ -2598,7 +2606,9 @@ E void NDECL(clonewiz);
E int NDECL(pick_nasty);
E int FDECL(nasty, (struct monst*));
E void NDECL(resurrect);
E void NDECL(illur_resurrect);
E void NDECL(intervene);
E void NDECL(illur_intervene);
E void NDECL(wizdead);
E void FDECL(cuss, (struct monst *));
@ -2688,6 +2698,7 @@ E int FDECL(destroy_mitem, (struct monst *,int,int));
E int FDECL(resist, (struct monst *,CHAR_P,int,int));
E void NDECL(makewish);
E void FDECL(costly_cancel, (struct obj *));
E void FDECL(revive_egg, (struct obj *));
#endif /* !MAKEDEFS_C && !LEV_LEX_C */