keep external identifiers under 31 characters length

This commit is contained in:
nhmall
2023-05-13 13:49:57 -04:00
parent a54b6ba75c
commit ec9d3cb88e
16 changed files with 18 additions and 18 deletions

View File

@@ -331,7 +331,7 @@ activation.
value that the platform's main() may have placed there earlier value that the platform's main() may have placed there earlier
via its own call to assign_soundlib()] via its own call to assign_soundlib()]
2. init_sound_and_display_gamewindows() 2. init_sound_disp_gamewindows()
-> activate_chosen_soundlib() is called prior to -> activate_chosen_soundlib() is called prior to
displaying the game windows. displaying the game windows.

View File

@@ -1027,11 +1027,11 @@ initoptions() /* read the resource file */
init_nhwindows() /* initialize the window system */ init_nhwindows() /* initialize the window system */
process_options(argc, argv) /* process command line options or equiv */ process_options(argc, argv) /* process command line options or equiv */
if(save file is present) { if(save file is present) {
init_sound_and_display_gamewindows() /* init sound, create & display */ init_sound_disp_gamewindows() /* init sound, create & display */
dorestore() /* restore old game; pline()s are OK */ dorestore() /* restore old game; pline()s are OK */
} else { } else {
player_selection() /* select a player type using a window */ player_selection() /* select a player type using a window */
init_sound_and_display_gamewindows() /* init sound, create & display */ init_sound_disp_gamewindows() /* init sound, create & display */
} }
pline("Hello, welcome..."); pline("Hello, welcome...");

View File

@@ -22,7 +22,7 @@ extern void early_init(void);
extern void moveloop_core(void); extern void moveloop_core(void);
extern void moveloop(boolean); extern void moveloop(boolean);
extern void stop_occupation(void); extern void stop_occupation(void);
extern void init_sound_and_display_gamewindows(void); extern void init_sound_disp_gamewindows(void);
extern void newgame(void); extern void newgame(void);
extern void welcome(boolean); extern void welcome(boolean);
extern int argcheck(int, char **, enum earlyarg); extern int argcheck(int, char **, enum earlyarg);

View File

@@ -427,7 +427,7 @@ struct NewScreen NewHackScreen = { 0, 0, WIDTH, SCREENHEIGHT, 3, 0,
* explicitly (by being the wizard) or by askname. * explicitly (by being the wizard) or by askname.
* It may still contain a suffix denoting pl_character. * It may still contain a suffix denoting pl_character.
* Always called after init_nhwindows() and before * Always called after init_nhwindows() and before
* init_sound_and_display_gamewindows(). * init_sound_disp_gamewindows().
*/ */
void void
amii_askname() amii_askname()

View File

@@ -64,7 +64,7 @@ MAIN(int argc, char **argv)
*/ */
vision_init(); vision_init();
init_sound_and_display_gamewindows(); init_sound_disp_gamewindows();
/* /*
* First, try to find and restore a save file for specified character. * First, try to find and restore a save file for specified character.

View File

@@ -65,7 +65,7 @@ main(void)
*/ */
vision_init(); vision_init();
init_sound_and_display_gamewindows(); init_sound_disp_gamewindows();
set_playmode(); /* sets plname to "wizard" for wizard mode */ set_playmode(); /* sets plname to "wizard" for wizard mode */
/* strip role,race,&c suffix; calls askname() if plname[] is empty /* strip role,race,&c suffix; calls askname() if plname[] is empty

View File

@@ -74,7 +74,7 @@ functions:49 _delete_levelfile _delete_savefile _delfloortrap _deliver_by_pline
functions:50 _demonpet _destroy_arm _destroy_drawbridge _destroy_item _destroy_mitem _dev_name _dig functions:50 _demonpet _destroy_arm _destroy_drawbridge _destroy_item _destroy_mitem _dev_name _dig
functions:51 _dig_check _dig_corridor _dig_point _dig_typ _digactualhole _dighole _digit _dipfountain functions:51 _dig_check _dig_corridor _dig_point _dig_typ _digactualhole _dighole _digit _dipfountain
functions:52 _disable_ctrlP _disarm_landmine _disarm_shooting_trap _disarm_squeaky_board _discard_minvent _disclose _discover_object functions:52 _disable_ctrlP _disarm_landmine _disarm_shooting_trap _disarm_squeaky_board _discard_minvent _disclose _discover_object
functions:53 _diseasemu _display_binventory _display_cinventory _init_sound_and_display_gamewindows _display_inventory _display_minventory functions:53 _diseasemu _display_binventory _display_cinventory _init_sound_disp_gamewindows _display_inventory _display_minventory
functions:54 _distant_name _distfleeck _disturb _djinni_from_bottle _dlb_cleanup _dlb_fclose functions:54 _distant_name _distfleeck _disturb _djinni_from_bottle _dlb_cleanup _dlb_fclose
functions:55 _dlb_fgets _dlb_fopen _dlb_fread _dlb_fseek _dlb_ftell _dlb_init _dlord _dmgtype functions:55 _dlb_fgets _dlb_fopen _dlb_fread _dlb_fseek _dlb_ftell _dlb_init _dlord _dmgtype
functions:56 _dmgval _dmonsfree _dmore _dname_to_dnum _do_break_wand _do_clear_area _do_comp _do_dknown_of functions:56 _dmgval _dmonsfree _dmore _dname_to_dnum _do_break_wand _do_clear_area _do_comp _do_dknown_of

View File

@@ -74,7 +74,7 @@ functions:49 _delete_levelfile _delete_savefile _delfloortrap _deliver_by_pline
functions:50 _demonpet _destroy_arm _destroy_drawbridge _destroy_item _destroy_mitem _dev_name _dig functions:50 _demonpet _destroy_arm _destroy_drawbridge _destroy_item _destroy_mitem _dev_name _dig
functions:51 _dig_check _dig_corridor _dig_point _dig_typ _digactualhole _dighole _digit _dipfountain functions:51 _dig_check _dig_corridor _dig_point _dig_typ _digactualhole _dighole _digit _dipfountain
functions:52 _disable_ctrlP _disarm_landmine _disarm_shooting_trap _disarm_squeaky_board _discard_minvent _disclose _discover_object functions:52 _disable_ctrlP _disarm_landmine _disarm_shooting_trap _disarm_squeaky_board _discard_minvent _disclose _discover_object
functions:53 _diseasemu _display_binventory _display_cinventory _init_sound_and_display_gamewindows _display_inventory _display_minventory functions:53 _diseasemu _display_binventory _display_cinventory _init_sound_disp_gamewindows _display_inventory _display_minventory
functions:54 _distant_name _distfleeck _disturb _djinni_from_bottle _dlb_cleanup _dlb_fclose functions:54 _distant_name _distfleeck _disturb _djinni_from_bottle _dlb_cleanup _dlb_fclose
functions:55 _dlb_fgets _dlb_fopen _dlb_fread _dlb_fseek _dlb_ftell _dlb_init _dlord _dmgtype functions:55 _dlb_fgets _dlb_fopen _dlb_fread _dlb_fseek _dlb_ftell _dlb_init _dlord _dmgtype
functions:56 _dmgval _dmonsfree _dmore _dname_to_dnum _do_break_wand _do_clear_area _do_comp _do_dknown_of functions:56 _dmgval _dmonsfree _dmore _dname_to_dnum _do_break_wand _do_clear_area _do_comp _do_dknown_of

View File

@@ -495,7 +495,7 @@ Gem_player_selection()
* plname is filled either by an option (-u Player or -uPlayer) or * plname is filled either by an option (-u Player or -uPlayer) or
* explicitly (by being the wizard) or by askname. * explicitly (by being the wizard) or by askname.
* It may still contain a suffix denoting pl_character. * It may still contain a suffix denoting pl_character.
* Always called after init_nhwindows() and before init_sound_and_display_gamewindows(). * Always called after init_nhwindows() and before init_sound_disp_gamewindows().
*/ */
void void

View File

@@ -650,7 +650,7 @@ stop_occupation(void)
} }
void void
init_sound_and_display_gamewindows(void) init_sound_disp_gamewindows(void)
{ {
int menu_behavior = MENU_BEHAVE_STANDARD; int menu_behavior = MENU_BEHAVE_STANDARD;
@@ -683,7 +683,7 @@ init_sound_and_display_gamewindows(void)
#ifdef MAC #ifdef MAC
/* This _is_ the right place for this - maybe we will /* This _is_ the right place for this - maybe we will
* have to split init_sound_and_display_gamewindows into * have to split init_sound_disp_gamewindows into
* create_gamewindows and show_gamewindows to get rid of this ifdef... * create_gamewindows and show_gamewindows to get rid of this ifdef...
*/ */
if (!strcmp(windowprocs.name, "mac")) if (!strcmp(windowprocs.name, "mac"))

View File

@@ -247,7 +247,7 @@ nhmain(int argc, char *argv[])
*/ */
vision_init(); vision_init();
init_sound_and_display_gamewindows(); init_sound_disp_gamewindows();
/* /*
* First, try to find and restore a save file for specified character. * First, try to find and restore a save file for specified character.

View File

@@ -448,7 +448,7 @@ _CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR);*/
*/ */
vision_init(); vision_init();
init_sound_and_display_gamewindows(); init_sound_disp_gamewindows();
/* /*
* First, try to find and restore a save file for specified character. * First, try to find and restore a save file for specified character.
* We'll return here if new game player_selection() renames the hero. * We'll return here if new game player_selection() renames the hero.

View File

@@ -218,7 +218,7 @@ main(int argc, char *argv[])
*/ */
vision_init(); vision_init();
init_sound_and_display_gamewindows(); init_sound_disp_gamewindows();
/* /*
* First, try to find and restore a save file for specified character. * First, try to find and restore a save file for specified character.

View File

@@ -183,7 +183,7 @@ main(int argc, char *argv[])
*/ */
vision_init(); vision_init();
init_sound_and_display_gamewindows(); init_sound_disp_gamewindows();
/* /*
* First, try to find and restore a save file for specified character. * First, try to find and restore a save file for specified character.

View File

@@ -678,7 +678,7 @@ _CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR);*/
* new game or before a level restore on a saved game. * new game or before a level restore on a saved game.
*/ */
vision_init(); vision_init();
init_sound_and_display_gamewindows(); init_sound_disp_gamewindows();
/* /*
* First, try to find and restore a save file for specified character. * First, try to find and restore a save file for specified character.
* We'll return here if new game player_selection() renames the hero. * We'll return here if new game player_selection() renames the hero.

View File

@@ -587,7 +587,7 @@ tty_player_selection(void)
* explicitly (by being the wizard) or by askname. * explicitly (by being the wizard) or by askname.
* It may still contain a suffix denoting the role, etc. * It may still contain a suffix denoting the role, etc.
* Always called after init_nhwindows() and before * Always called after init_nhwindows() and before
* init_sound_and_display_gamewindows(). * init_sound_disp_gamewindows().
*/ */
void void
tty_askname(void) tty_askname(void)