delay output based on value of runmode, if hero is running or doing a multi-turn action */
| 2993 | /* delay output based on value of runmode, |
| 2994 | if hero is running or doing a multi-turn action */ |
| 2995 | void |
| 2996 | runmode_delay_output(void) |
| 2997 | { |
| 2998 | if ((svc.context.run || gm.multi) && flags.runmode != RUN_TPORT) { |
| 2999 | /* for tport mode, don't display anything until we've stopped; |
| 3000 | for normal (leap) mode, update display every 7th step |
| 3001 | (relative to turn counter; ought to be to start of running); |
| 3002 | for walk and crawl (visual debugging) modes, update the |
| 3003 | display after every step */ |
| 3004 | if (flags.runmode != RUN_LEAP || !(svm.moves % 7L)) { |
| 3005 | /* moveloop() suppresses time_botl when running */ |
| 3006 | disp.time_botl = flags.time; |
| 3007 | curs_on_u(); |
| 3008 | nh_delay_output(); |
| 3009 | if (flags.runmode == RUN_CRAWL) { |
| 3010 | nh_delay_output(); |
| 3011 | nh_delay_output(); |
| 3012 | nh_delay_output(); |
| 3013 | nh_delay_output(); |
| 3014 | } |
| 3015 | } |
| 3016 | } |
| 3017 | } |
| 3018 | |
| 3019 | staticfn void |
| 3020 | maybe_smudge_engr(coordxy x1, coordxy y1, coordxy x2, coordxy y2) |
no test coverage detected