Searched refs:Playersfp (Results 1 – 6 of 6) sorted by relevance
| /netbsd/src/games/phantasia/ |
| D | main.c | 325 if ((Playersfp = fopen(_PATH_PEOPLE, "r+")) == NULL) in initialstate() 328 if (fileno(Playersfp) < 3) in initialstate() 680 fseek(Playersfp, 0L, SEEK_SET); in titlelist() 681 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in titlelist() 697 fseek(Playersfp, 0L, SEEK_SET); in titlelist() 698 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in titlelist() 709 fseek(Playersfp, 0L, SEEK_SET); in titlelist() 711 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in titlelist() 729 fseek(Playersfp, 0L, SEEK_SET); in titlelist() 730 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in titlelist() [all …]
|
| D | interplayer.c | 33 fseek(Playersfp, 0L, SEEK_SET); in checkbattle() 35 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) { in checkbattle() 525 fseek(Playersfp, 0L, SEEK_SET); in tampered() 527 … while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in tampered() 561 fseek(Playersfp, 0L, SEEK_SET); in userlist() 565 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) { in userlist() 623 fseek(Playersfp, 0L, SEEK_SET); in throneroom() 624 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in throneroom()
|
| D | misc.c | 530 fseek(Playersfp, 0L, SEEK_SET); in findname() 531 while (fread((char *) playerp, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) { in findname() 548 fseek(Playersfp, 0L, SEEK_SET); in allocrecord() 549 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) { in allocrecord() 696 fseek(Playersfp, place, SEEK_SET); in writerecord() 697 fwrite((char *) playerp, SZ_PLAYERSTRUCT, 1, Playersfp); in writerecord() 698 fflush(Playersfp); in writerecord() 774 fseek(Playersfp, loc, SEEK_SET); in readrecord() 775 fread((char *) playerp, SZ_PLAYERSTRUCT, 1, Playersfp); in readrecord()
|
| D | gamesupport.c | 481 fseek(Playersfp, 0L, SEEK_SET); in activelist() 484 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in activelist() 505 fseek(Playersfp, loc, SEEK_SET); in purgeoldplayers() 506 if (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) != 1) in purgeoldplayers()
|
| D | phantglobs.c | 111 FILE *Playersfp; /* pointer to open player file */ variable
|
| D | phantglobs.h | 46 extern FILE *Playersfp; /* pointer to open player file */
|