Data Fields | |
union { | |
struct { | |
Bool flipHoriz: 1 | |
Flip all coordinates horizontally. | |
Bool flipVert: 1 | |
Flip all coordinates vertically. | |
Bool transpose: 1 | |
Transpose horizontal and vertical components. | |
} | |
Uint8 flags | |
Flags modifying how this frame's data is processed. | |
}; | |
FILE * | file |
The open file pointer used to access the file. | |
char | filename [(64-sizeof(FILE *)-sizeof(int)-4)] |
The name of the file. | |
Uint16 | height |
The height of this part of the map. | |
int | line |
The line number of the current position in this file. | |
Uint16 | width |
The width of this part of the map. | |
Sint16 | xoffset |
The horizontal offset value that affects all values in this frame's file. | |
Sint16 | yoffset |
The vertical offset value that affects all values in this frame's file. |
Using this instead of just recursion allows the file names stored on the stack to be searched. This is required to notice recursive file includes without a stack overflow.
For internal use only.
Definition at line 132 of file gameconfig.c.
union { ... } |
The open file pointer used to access the file.
Definition at line 136 of file gameconfig.c.
Referenced by OpenFile(), ReadInts(), ReadToken(), and StartLoadConfig().
char ConfigFileStackFrame_t::filename[(64-sizeof(FILE *)-sizeof(int)-4)] |
The name of the file.
Definition at line 162 of file gameconfig.c.
Referenced by ErrorOut(), OpenFile(), and StartLoadConfig().
Flags modifying how this frame's data is processed.
Definition at line 167 of file gameconfig.c.
Referenced by AddToConfigList(), and StartLoadConfig().
Flip all coordinates horizontally.
Definition at line 172 of file gameconfig.c.
Referenced by ReadInts(), and StartLoadConfig().
Flip all coordinates vertically.
Definition at line 176 of file gameconfig.c.
Referenced by ReadInts(), and StartLoadConfig().
The height of this part of the map.
Used to implement horizontal flipping.
Definition at line 158 of file gameconfig.c.
Referenced by ReadInts(), and StartLoadConfig().
The line number of the current position in this file.
Definition at line 140 of file gameconfig.c.
Referenced by ErrorOut(), ReadToken(), and StartLoadConfig().
Transpose horizontal and vertical components.
Definition at line 180 of file gameconfig.c.
Referenced by ReadInts(), and StartLoadConfig().
The width of this part of the map.
Used to implement vertical flipping.
Definition at line 154 of file gameconfig.c.
Referenced by ReadInts(), and StartLoadConfig().
The horizontal offset value that affects all values in this frame's file.
Definition at line 145 of file gameconfig.c.
Referenced by ReadAreaParams(), and StartLoadConfig().
The vertical offset value that affects all values in this frame's file.
Definition at line 150 of file gameconfig.c.
Referenced by ReadAreaParams(), and StartLoadConfig().