niOpenNt
Reads a NIFF text file
Syntax
#include "niffapi.h"
int niOpenNt(char *filename, Nis *nis);
Arguments
filename
The name of the NIFF text file to read
nis
Pointer to the Nis structure where the data to be read is held.
nis must have been already initialized with the niNewNis()function.
Returned value
TRUE(=1) if the file is read without error. FALSE(=0) if an error occurs.
Explanation
Reads a NIFF text file and stores it in the Nis structure. A NIFF text file is a file storing NIFF data expressed in text format. NIFF text format can be output with the niOutputNt() function.
This function performs the processes which are appropriate for the given NIFF version.
See also
niNewNis, niOutputNt, for the Nis structure see n64kit/niff/niffapi/nis.h, nis2.h
Back to NIFFAPI Index
Copyright 1998-1999 NINTENDO Co., Ltd.
1998-1999 MONEGI CORPORATION All rights reserved.