added life (entity component system) type, and changed chemical param to try to match more to archeus (or at least what I've read from wikipedia)

This commit is contained in:
herbglitch 2025-03-10 03:11:55 -06:00
parent e698fb54a2
commit 990c22d27d
6 changed files with 43 additions and 21 deletions

View file

@ -89,11 +89,11 @@ void ARC_Chemical_SetGroupWithCStr(ARC_Chemical *chemical, const char *groupName
* @note name may be prefaced with <group>:: to specify group
*
* @param[in] chemical ARC_Chemical to get value from
* @param[in] element name of a variable that has been read in
* @param[in] energy name of a variable that has been read in
*
* @return the stored element on success, or NULL on failure
*/
void *ARC_Chemical_Get(ARC_Chemical *chemical, ARC_String *element);
void *ARC_Chemical_Get(ARC_Chemical *chemical, ARC_String *energy);
/**
* @brief get a value from a given keyname
@ -102,11 +102,11 @@ void *ARC_Chemical_Get(ARC_Chemical *chemical, ARC_String *element);
* @note this function uses ARC_Chemical_Get so it shares error messages with that function
*
* @param[in] chemical ARC_Chemical to get value from
* @param[in] element name of a variable that has been read in
* @param[in] energy name of a variable that has been read in
*
* @return the stored element on success, or NULL on failure
*/
void *ARC_Chemical_GetWithCStr(ARC_Chemical *chemical, const char *element);
void *ARC_Chemical_GetWithCStr(ARC_Chemical *chemical, const char *energy);
/**
* @brief TODO: write this
@ -194,8 +194,9 @@ void ARC_Chemical_UnloadFromFile(ARC_Chemical *chemical, ARC_String *data);
#define ARC_CHEMICAL_STRING_CHARS 0x36
#define ARC_CHEMICAL_STRING_CHAR 0x37
#define ARC_CHEMICAL_ESCAPE_CHAR 0x38
#define ARC_CHEMICAL_WHITESPACE 0x39
#define ARC_CHEMICAL_NUMBER_SIGN 0x39
#define ARC_CHEMICAL_NUMBER_TAG 0x3A
#define ARC_CHEMICAL_WHITESPACE 0x3B
#ifdef __cplusplus
}