Searched refs:Databuf (Results 1 - 9 of 9) sorted by relevance

/openbsd-current/games/phantasia/
H A Dmain.c94 / GLOBAL INPUTS: *Login, Throne, Wizard, Player, *stdscr, Changed, Databuf[],
387 / GLOBAL INPUTS: Other, Wizard, Player, *stdscr, Databuf[]
439 getstring(Databuf, SZ_DATABUF);
440 sscanf(Databuf, "%lf %lf", &Player.p_x, &Player.p_y);
477 getstring(Databuf, SZ_PASSWORD);
479 while (strcmp(Player.p_password, Databuf) != 0);
505 / Databuf[], Illmove[]
588 getstring(Databuf, SZ_DATABUF);
590 if (sscanf(Databuf, "%lf %lf", &x, &y) != 2)
608 getstring(Databuf, SZ_DATABU
[all...]
H A Dphantglobs.c114 char Databuf[SZ_DATABUF]; /* a place to read data into */ variable
H A Dsetup.c42 / GLOBAL INPUTS: Curmonster, _iob[], Databuf[], *Monstfp, Enrgyvoid
44 / GLOBAL OUTPUTS: Curmonster, Databuf[], *Monstfp, Enrgyvoid
165 while (fgets(Databuf, SZ_DATABUF, fp) != NULL)
168 sscanf(&Databuf[24], "%lf%lf%lf%lf%lf%d%d%lf",
173 Databuf[24] = '\0';
174 strlcpy(Curmonster.m_name, Databuf, sizeof Curmonster.m_name);
H A Dgamesupport.c35 / GLOBAL INPUTS: LINES, *Login, Other, Wizard, Player, *stdscr, Databuf[],
86 getstring(Databuf, SZ_DATABUF);
87 truncstring(Databuf);
89 if (Databuf[0] == '\0')
101 if (strcmp(Databuf, Player.p_name) == 0)
111 if (loc < 0L && (loc = findname(Databuf, playerp)) < 0L)
226 getstring(Databuf, 9);
228 if (strcmp(Databuf, playerp->p_password) != 0)
235 getstring(Databuf, SZ_NAME);
236 truncstring(Databuf);
[all...]
H A Dio.c154 / GLOBAL INPUTS: Databuf[]
170 getstring(Databuf, SZ_DATABUF);
171 if (sscanf(Databuf, "%lf", &result) < 1)
H A Dinterplayer.c880 / Databuf[], Enrgyvoid
927 getstring(Databuf, SZ_DATABUF);
928 sscanf(Databuf, "%lf %lf", &temp1, &temp2);
1022 getstring(Databuf, SZ_DATABUF);
1023 sscanf(Databuf, "%lf %lf", &temp1, &temp2);
1053 getstring(Databuf, SZ_DATABUF);
1054 truncstring(Databuf);
1056 if (Databuf[0] == '\0')
1062 if (strcmp(Player.p_name, Databuf) != 0)
1065 if ((loc = findname(Databuf,
[all...]
H A Dphantglobs.h56 extern char Databuf[SZ_DATABUF]; /* a place to read data into */
H A Dmisc.c119 / GLOBAL INPUTS: Databuf[]
173 snprintf(Databuf, sizeof Databuf, "%.29s", label);
175 snprintf(Databuf, sizeof Databuf,
178 return (Databuf);
585 / GLOBAL INPUTS: Databuf[]
587 / GLOBAL OUTPUTS: Databuf[]
653 strlcpy(Databuf, results[type], sizeof Databuf);
[all...]
H A Dfight.c1136 / *stdscr, Databuf[], *Statptr, Fightenv[]
1441 getstring(Databuf, SZ_DATABUF);
1442 sscanf(Databuf, "%lf %lf", &x, &y);

Completed in 144 milliseconds