The stick2xyz Documentation 1.14.1
input_buf Struct Reference

#include <stick2xyz.h>

Data Fields

uint32_t input_buf_type
 
stick2xyz_ptchar input_buf_str
 
int input_buf_params [STICK2XYZ_MAXBUFPARAMS]
 

Detailed Description

This structure is the basic buffer for the mod_input_read function.

Definition at line 2044 of file stick2xyz.h.

Field Documentation

◆ input_buf_params

int input_buf_params[STICK2XYZ_MAXBUFPARAMS]

These are the integer parameters you are to fill in accordance with the outlined commands in The Basic Text File Format.

Definition at line 2072 of file stick2xyz.h.

◆ input_buf_str

stick2xyz_ptchar input_buf_str

This is the input string, allocated by the program. The program will free it for you. Fill it with the string parameter if required by the command you are parsing.

Warning
The length of this buffer will be exactly STICK2XYZ_MAXBUFLEN bytes. Be careful not to overrun the buffer.
Note
This string usually contains the ID number of the texture.

Definition at line 2065 of file stick2xyz.h.

◆ input_buf_type

uint32_t input_buf_type

This is the input buffer type variable. Fill it with the appropriate command type.

Definition at line 2050 of file stick2xyz.h.


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

SourceForge.net Logo  stick2xyz Project Page