OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:velx
(Results
1 - 7
of
7
) sorted by relevancy
/src/games/warp/
them.c
58
obj->
velx
= 0; /* stop and munch amoeba */
61
obj->
velx
= (obj->image=='<' ? 1 : -1);
63
else if (!obj->
velx
) {
66
obj->
velx
= obj->image == '<' ? 1 : -1;
71
setimage(obj, (obj->
velx
*= -1) < 0 ? '>' : '<');
76
nuke->
velx
= nuke->vely = 0;
90
else if (curkl->vely || curkl->
velx
)
145
else if (!obj->vely && !obj->
velx
) {
192
x=(curkl->posx+curkl->
velx
+XSIZE00)%XSIZE; /* new position */
230
if (!obj->vely && !obj->
velx
&& (rand_mod(100) <= smarts) &
[
all
...]
weapon.c
44
[(from->posx+from->
velx
+xdir+XSIZE00)%XSIZE];
45
if (from->type != Enemy || !to || to->vely || to->
velx
) {
49
to->
velx
+= xdir;
54
from->vely+ydir,from->
velx
+xdir, 0L, 1L,&root);
61
from->vely+ydir,from->
velx
+xdir, 0L, 1L,&root);
69
from->vely+ydir,from->
velx
+xdir, 100L, 1L,&root);
85
from->vely+ydir,from->
velx
+xdir, 0L, 1L,&root);
150
&& -dx + attackee->
velx
== obj->
velx
)
153
-dx + attackee->
velx
);
[
all
...]
play.c
63
evelx = ent->
velx
;
77
bvelx = base->
velx
;
116
ent->
velx
= evelx;
150
base->
velx
= bvelx;
157
[(curobj->posx+curobj->
velx
+XSIZE00)%XSIZE];
158
if (to && !to->vely && !to->
velx
) {
object.h
26
short
velx
, vely;
member in struct:object
move.c
44
x = (obj->posx - sgn(obj->
velx
) + XSIZE00) % XSIZE;
59
obj->
velx
= 0;
89
if (curobj->vely || curobj->
velx
) {
97
x = (x + curobj->
velx
+ XSIZE00) % XSIZE;
107
curobj->
velx
= rand_mod(3)-1;
110
curobj->vely = curobj->
velx
= 0;
156
if (curobj->
velx
)
193
(curobj->
velx
|| curobj->vely ||
197
if (curobj->type == Crusher && curobj->
velx
) {
268
: (5+abs(ent->
velx
)+abs(ent->vely)
[
all
...]
object.c
43
obj->
velx
= vx;
us.c
358
[x=(obj->posx+obj->
velx
+XSIZE00)%XSIZE]
380
obj->vely = obj->
velx
= 0;
Completed in 12 milliseconds
Indexes created Thu Oct 23 22:10:10 GMT 2025