scroll
int scroll(WINDOW *);
strange_feeling(scroll,"Your bones itch.");
strange_feeling(scroll,"Your skin itches.");
if(!chwepon(scroll, 1)) /* tests for !uwep */
if(!chwepon(scroll, -1)) /* tests for !uwep */
strange_feeling(scroll, "Your toes stop itching.");
strange_feeling(scroll, "You feel materially poor.");
strange_feeling(scroll,"Your nose twitches.");
useup(scroll);
scroll->otyp);
if(!objects[scroll->otyp].oc_name_known) {
objects[scroll->otyp].oc_name_known = 1;
} else if(!objects[scroll->otyp].oc_uname)
docall(scroll);
useup(scroll);
struct obj *scroll;
scroll = getobj("?", "read");
if(!scroll) return(0);
if(!scroll->dknown && Blind) {
switch(scroll->otyp) {
strange_feeling(scroll,"Your skin glows then fades.");
scroll(win);
scroll(win);
scroll(win);
extern NCURSES_EXPORT(int) scroll (WINDOW *); /* generated */
scroll(win);
scroll(win);
scroll(win);
input->motion.dw = tp->scroll.dw;
input->motion.dz = tp->scroll.dz;
&& !(tp->scroll.dz || tp->scroll.dw)
tp->scroll.hdist = 4 * h_unit;
tp->scroll.vdist = 4 * v_unit;
tp->scroll.hdist = val;
tp->scroll.vdist = val;
*pval = tp->scroll.hdist;
*pval = tp->scroll.vdist;
} scroll;
tp->scroll.dz = 0;
tp->scroll.dw = 0;
if (tp->scroll.dz || tp->scroll.dw || wstpad_is_stable(input, tp->t)) {
mag = tp->scroll.mag = imin(MAG_MEDIUM,
(mag + 3 * tp->scroll.mag) / 4);
if (dy && tp->scroll.vdist) {
if (tp->scroll.dw) {
tp->scroll.dw = 0;
dz = -dy * 4096 / (tp->scroll.vdist * n);
if (tp->scroll.dz) {
if ((dy < 0) != (tp->scroll.dz > 0))
tp->scroll.dz = -tp->scroll.dz;
dz = (dz + 3 * tp->scroll.dz) / 4;
tp->scroll.dz = dz;
} else if (dx && tp->scroll.hdist) {
if (tp->scroll.dz) {
tp->scroll.dz = 0;
dw = dx * 4096 / (tp->scroll.hdist * n);
if (tp->scroll.dw) {
if ((dx > 0) != (tp->scroll.dw > 0))
tp->scroll.dw = -tp->scroll.dw;
dw = (dw + 3 * tp->scroll.dw) / 4;
tp->scroll.dw = dw;
!(tp->scroll.dz || tp->scroll.dw))
{ "z", { scroll }, M|STRLIST, 0, 0 },
int scroll(void *);
scroll(win->x_win);