|
Archeus 0.0.0
A C library and game engine that focuses on documentation
|
Go to the source code of this file.
Typedefs | |
| typedef void(* | ARC_ChemicalData_CopyToTypeFn) (void **data, ARC_ParserTagToken *parsedData) |
| TODO: write this. | |
| typedef void(* | ARC_ParserCSV_DestroyTypeFn) (void *data) |
| TODO: write this. | |
| typedef struct ARC_Chemical | ARC_Chemical |
| a function to read a key from string to a ARC_ConfigTypeTemplate | |
Functions | |
| void | ARC_Chemical_Create (ARC_Chemical **chemical) |
| TODO: write this. | |
| void | ARC_Chemical_Destroy (ARC_Chemical *chemical) |
| TODO: write this. | |
| void | ARC_Chemical_RegisterType (ARC_Chemical *chemical, ARC_String *typeName, ARC_ChemicalData_CopyToTypeFn *copyToTypeFn, ARC_ParserCSV_DestroyTypeFn destroyTypeFn) |
| TODO: write this. | |
| void | ARC_Chemical_SetGroup (ARC_Chemical *chemical, ARC_String *groupName) |
| sets current group in config | |
| void * | ARC_Chemical_Get (ARC_Chemical *chemical, ARC_String *element) |
| get a value from a given keyname | |
| void | ARC_Chemical_LoadFromString (ARC_String *path) |
| TODO: write this. | |
| void | ARC_Chemical_LoadFromFile (ARC_String *path) |
| TODO: write this. | |
| void | ARC_Chemical_UnloadFromString (ARC_String *data) |
| TODO: write this. | |
| void | ARC_Chemical_UnloadFromFile (ARC_String *data) |
| TODO: write this. | |
| typedef struct ARC_Chemical ARC_Chemical |
a function to read a key from string to a ARC_ConfigTypeTemplate
| config | ARC_Config to store data to |
| string | ARC_String of data that is being read in |
| value | value that is read in |
a function to delete a value from a key in ARC_Config
| config | ARC_Config that can be used to check for references in data |
| value | pointer of data to be deleted |
TODO: write this
Definition at line 73 of file chemical.h.
| typedef void(* ARC_ChemicalData_CopyToTypeFn) (void **data, ARC_ParserTagToken *parsedData) |
TODO: write this.
Definition at line 38 of file chemical.h.
| typedef void(* ARC_ParserCSV_DestroyTypeFn) (void *data) |
TODO: write this.
Definition at line 43 of file chemical.h.
| void ARC_Chemical_Create | ( | ARC_Chemical ** | chemical | ) |
TODO: write this.
| void ARC_Chemical_Destroy | ( | ARC_Chemical * | chemical | ) |
TODO: write this.
| void * ARC_Chemical_Get | ( | ARC_Chemical * | chemical, |
| ARC_String * | element ) |
get a value from a given keyname
| [in] | chemical | ARC_Chemical to get value from |
| [in] | element | name of a variable that has been read in |
| void ARC_Chemical_LoadFromFile | ( | ARC_String * | path | ) |
TODO: write this.
| void ARC_Chemical_LoadFromString | ( | ARC_String * | path | ) |
TODO: write this.
| void ARC_Chemical_RegisterType | ( | ARC_Chemical * | chemical, |
| ARC_String * | typeName, | ||
| ARC_ChemicalData_CopyToTypeFn * | copyToTypeFn, | ||
| ARC_ParserCSV_DestroyTypeFn | destroyTypeFn ) |
TODO: write this.
| void ARC_Chemical_SetGroup | ( | ARC_Chemical * | chemical, |
| ARC_String * | groupName ) |
sets current group in config
| [in] | chemical | ARC_Config we are setting current group in |
| [in] | groupname | name of group that will be set |
| void ARC_Chemical_UnloadFromFile | ( | ARC_String * | data | ) |
TODO: write this.
| void ARC_Chemical_UnloadFromString | ( | ARC_String * | data | ) |
TODO: write this.