FORM 4.3
FiLeInDeX Struct Reference

#include <structs.h>

Data Fields

POSITION next
 
POSITION number
 
INDEXENTRY expression [INFILEINDEX]
 
SBYTE empty [EMPTYININDEX]
 

Detailed Description

Defines the structure of a file index in store-files and save-files.

It contains several entries (see struct InDeXeNtRy) up to a maximum of INFILEINDEX.

The variable number has been made of type POSITION to avoid padding problems with some types of computers/OS and keep system independence of the .sav files.

This struct is always 512 bytes long.

Definition at line 137 of file structs.h.

Field Documentation

◆ next

POSITION next

Position of next FILEINDEX if any

Definition at line 138 of file structs.h.

Referenced by ReadSaveIndex().

◆ number

POSITION number

Number of used entries in this index

Definition at line 139 of file structs.h.

Referenced by ReadSaveIndex().

◆ expression

INDEXENTRY expression[INFILEINDEX]

File index entries

Definition at line 140 of file structs.h.

◆ empty

SBYTE empty[EMPTYININDEX]

Padding to 512 bytes

Definition at line 141 of file structs.h.


The documentation for this struct was generated from the following file: