Searched refs:Playersfp (Results 1 – 6 of 6) sorted by relevance
/original-bsd/games/phantasia/ |
H A D | main.c | 354 if ((Playersfp = fopen(_PATH_PEOPLE, "r+")) == NULL) in initialstate() 770 fseek(Playersfp, 0L, 0); in titlelist() 771 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in titlelist() 786 fseek(Playersfp, 0L, 0); in titlelist() 787 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in titlelist() 797 fseek(Playersfp, 0L, 0); in titlelist() 799 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in titlelist() 819 fseek(Playersfp, 0L, 0); in titlelist() 820 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in titlelist() 1280 fclose(Playersfp);
|
H A D | interplayer.c | 37 fseek(Playersfp, 0L, 0); in checkbattle() 39 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in checkbattle() 670 fseek(Playersfp, 0L, 0); 672 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) 741 fseek(Playersfp, 0L, 0); 745 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) 833 fseek(Playersfp, 0L, 0); in throneroom() 834 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in throneroom()
|
H A D | misc.c | 697 fseek(Playersfp, 0L, 0); 698 while (fread((char *) playerp, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) 741 fseek(Playersfp, 0L, 0); in allocrecord() 742 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in allocrecord() 998 fseek(Playersfp, place, 0); 999 fwrite((char *) playerp, SZ_PLAYERSTRUCT, 1, Playersfp); 1000 fflush(Playersfp); 1179 fseek(Playersfp, loc, 0); 1180 fread((char *) playerp, SZ_PLAYERSTRUCT, 1, Playersfp);
|
H A D | phantglobs.c | 100 FILE *Playersfp; /* pointer to open player file */ variable
|
H A D | gamesupport.c | 588 fseek(Playersfp, 0L, 0); in activelist() 591 while (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) in activelist() 635 fseek(Playersfp, loc, 0); in purgeoldplayers() 636 if (fread((char *) &Other, SZ_PLAYERSTRUCT, 1, Playersfp) != 1) in purgeoldplayers()
|
H A D | phantglobs.h | 44 extern FILE *Playersfp; /* pointer to open player file */
|