OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:XSIZE
(Results
1 - 12
of
12
) sorted by relevancy
/src/games/warp/
bang.h
9
EXT long blast[YSIZE][
XSIZE
];
11
EXT bool xblasted[
XSIZE
];
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
93
for (x=0;x<
XSIZE
;x++) {
101
for (x=0; x<
XSIZE
; x++)
122
if (inumfriends+inumenemies+inumstars > YSIZE*
XSIZE
-20)
123
inumstars = YSIZE*
XSIZE
-20 - inumenemies - inumfriends;
183
x = rand_mod(
XSIZE
);
196
xoff = rand_mod(
XSIZE
);
212
if (inumenemies+inumstars > YSIZE*
XSIZE
-20)
213
inumstars = numstars = YSIZE*
XSIZE
-20 - inumenemies;
217
xoff = rand_mod(
XSIZE
); /* how much to shift x */
240
xoff = rand_mod(
XSIZE
);
[
all
...]
move.c
44
x = (obj->posx - sgn(obj->velx) + XSIZE00) %
XSIZE
;
47
x = (x + rand_mod(3) - 1 + XSIZE00) %
XSIZE
;
97
x = (x + curobj->velx + XSIZE00) %
XSIZE
;
211
for (x=0; x<
XSIZE
; x++) {
350
for (i = 0; i <
XSIZE
; i++)
354
for (xxx = 0; xxx <
XSIZE
; xxx++) {
381
make_blast(y,(x+XSIZE00)%
XSIZE
,10000L,0);
384
make_blast(y,(x+i)%
XSIZE
,
387
make_blast(y,(x+i)%
XSIZE
,
389
make_blast(y,(x+XSIZE03)%
XSIZE
,
[
all
...]
bang.c
64
assert(nxtbang <=
XSIZE
* YSIZE);
115
assert(nxtbang >= 0 && nxtbang <=
XSIZE
* YSIZE);
126
xblasted[xx[j] = (x+XSIZE00) %
XSIZE
] |= 1;
object.h
61
EXT OBJECT *occupant[YSIZE][
XSIZE
];
them.c
56
x = (obj->posx+(obj->image=='<'?1:-1)+XSIZE00)%
XSIZE
;
192
x=(curkl->posx+curkl->velx+XSIZE00)%
XSIZE
; /* new position */
371
x = (x + dx + XSIZE00) %
XSIZE
;
375
x = (x - dx + XSIZE00) %
XSIZE
;
399
x = (x + rand_mod(3) + XSIZE99) %
XSIZE
;
weapon.c
44
[(from->posx+from->velx+xdir+XSIZE00)%
XSIZE
];
135
curx = (curx + dx + XSIZE00) %
XSIZE
;
285
(obj->posx + obj->velx + XSIZE00)%
XSIZE
357
[x=(obj->posx+obj->velx+XSIZE00)%
XSIZE
]
467
x = (obj->posx+(obj==base?dx*2:dx)+XSIZE00)%
XSIZE
;
472
x = (x+dx+XSIZE00) %
XSIZE
,
577
XSIZE00) %
XSIZE
;
618
x = (obj->posx+dx+XSIZE00)%
XSIZE
;
620
y = (y+dy+YSIZE00) % YSIZE, x = (x+dx+XSIZE00) %
XSIZE
, size--) {
us.c
79
[(ent->posx+evelx+XSIZE00)%
XSIZE
] ) &&
100
[(base->posx+bvelx+XSIZE00)%
XSIZE
] ) &&
358
[x=(obj->posx+obj->velx+XSIZE00)%
XSIZE
]
warp.h
74
* YSIZE and
XSIZE
should be relatively prime so that a torpedo launched
91
#define
XSIZE
40
102
EXT char amb[YSIZE][
XSIZE
];
play.c
157
[(curobj->posx+curobj->velx+XSIZE00)%
XSIZE
];
term.c
522
for (x=0; x<
XSIZE
; x++) {
/src/lib/libcurses/EXAMPLES/
ex1.c
52
#define
XSIZE
30
130
stdscr = newwin(YSIZE,
XSIZE
, 1, 1);
Completed in 16 milliseconds
Indexes created Thu Oct 16 14:10:15 GMT 2025