OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:YSIZE
(Results
1 - 12
of
12
) sorted by relevancy
/src/games/warp/
bang.h
9
EXT long blast[
YSIZE
][XSIZE];
12
EXT bool yblasted[
YSIZE
];
14
EXT char bangy[
YSIZE
*XSIZE];
15
EXT char bangx[
YSIZE
*XSIZE];
16
EXT char bangs[
YSIZE
*XSIZE];
18
EXT long bangm[
YSIZE
*XSIZE];
init.c
92
for (y=0;y<
YSIZE
;y++)
99
for (y=0; y<
YSIZE
; y++)
122
if (inumfriends+inumenemies+inumstars >
YSIZE
*XSIZE-20)
123
inumstars =
YSIZE
*XSIZE-20 - inumenemies - inumfriends;
182
y = rand_mod(
YSIZE
);
195
yoff = rand_mod(
YSIZE
);
212
if (inumenemies+inumstars >
YSIZE
*XSIZE-20)
213
inumstars = numstars =
YSIZE
*XSIZE-20 - inumenemies;
216
yoff = rand_mod(
YSIZE
); /* how much to shift y */
239
yoff = rand_mod(
YSIZE
);
[
all
...]
bang.c
64
assert(nxtbang <= XSIZE *
YSIZE
);
115
assert(nxtbang >= 0 && nxtbang <= XSIZE *
YSIZE
);
125
yblasted[yy[j] = (y+YSIZE00) %
YSIZE
] |= 1;
object.h
61
EXT OBJECT *occupant[
YSIZE
][XSIZE];
move.c
43
y = (obj->posy - sgn(obj->vely) + YSIZE00) %
YSIZE
;
46
y = (y + rand_mod(3) - 1 + YSIZE00) %
YSIZE
;
96
y = (y + curobj->vely + YSIZE00) %
YSIZE
;
219
for (y=0; y<
YSIZE
; y++) {
348
for (i = 0; i <
YSIZE
; i++)
353
for (yyy = 0; yyy <
YSIZE
; yyy++) {
619
if ((obj=occupant[y=(y+YSIZE99)%
YSIZE
][xp])&&obj->type == what) /* -1, 1 */
625
if ((obj=occupant[y=(y+2)%
YSIZE
][xp])&&obj->type == what) /* 1, 1 */
643
((obj=occupant[y=(y+YSIZE99)%
YSIZE
][xp])&&obj->type == what)||/* -1, 1 */
646
((obj=occupant[y=(y+2)%
YSIZE
][xp])&&obj->type == what) ||/* 1, 1 *
[
all
...]
weapon.c
43
to = occupant[(from->posy+from->vely+ydir+YSIZE00)%
YSIZE
]
134
cury = (cury + dy + YSIZE00) %
YSIZE
;
287
(obj->posy + obj->vely + YSIZE00)%
YSIZE
356
blast[y=(obj->posy+obj->vely+YSIZE00)%
YSIZE
]
466
y = (obj->posy+(obj==base?dy*2:dy)+YSIZE00)%
YSIZE
,
471
y = (y+dy+YSIZE00) %
YSIZE
,
575
YSIZE00) %
YSIZE
;
617
y = (obj->posy+dy+YSIZE00)%
YSIZE
,
620
y = (y+dy+YSIZE00) %
YSIZE
, x = (x+dx+XSIZE00) % XSIZE, size--) {
them.c
191
y=(curkl->posy+curkl->vely+YSIZE00)%
YSIZE
; /* find prospective */
370
y = (y + dy + YSIZE00) %
YSIZE
;
374
y = (y - dy + YSIZE00) %
YSIZE
;
398
y = (y + rand_mod(3) + YSIZE99) %
YSIZE
;
us.c
78
(obj=occupant[(ent->posy+evely+YSIZE00)%
YSIZE
]
99
(obj=occupant[(base->posy+bvely+YSIZE00)%
YSIZE
]
357
blast[y=(obj->posy+obj->vely+YSIZE00)%
YSIZE
]
warp.h
74
*
YSIZE
and XSIZE should be relatively prime so that a torpedo launched
86
#define
YSIZE
23
102
EXT char amb[
YSIZE
][XSIZE];
play.c
156
to = occupant[(curobj->posy+curobj->vely+YSIZE00)%
YSIZE
]
term.c
521
for (y=0; y<
YSIZE
; y++) {
/src/lib/libcurses/EXAMPLES/
ex1.c
51
#define
YSIZE
4
130
stdscr = newwin(
YSIZE
, XSIZE, 1, 1);
Completed in 21 milliseconds
Indexes created Thu Oct 16 14:10:15 GMT 2025