|
Spellforce-Spell-framework
|
#include <stdio.h>#include <string.h>#include <stdint.h>#include <stdlib.h>#include <stdbool.h>#include "../../api/structures/sf_building_structures.h"

Go to the source code of this file.
Classes | |
| struct | WorldCoord |
| struct | Collision |
| struct | Resource |
| struct | Building |
Macros | |
| #define | MAX_POINTS 255 |
| #define | MAX_COLLISIONS 5 |
| #define | MAX_RESOURCES 5 |
Enumerations | |
| enum | FieldKey { FIELD_UNKNOWN , FIELD_ID , FIELD_BUILDING_REQUIRED , FIELD_CAN_ENTER , FIELD_CENTER_X , FIELD_CENTER_Y , FIELD_X , FIELD_Y , FIELD_COLLISION_COUNT , FIELD_DESCRIPTION_ID , FIELD_FLAGS , FIELD_HEALTH , FIELD_NAME_ID , FIELD_RACE , FIELD_SLOT_COUNT , FIELD_COLLISIONS , FIELD_RESOURCES , FIELD_SHADOW , FIELD_POINTS , FIELD_AMOUNT , FIELD_TYPE , FIELD_LIST , FIELD_NUMBER } |
Functions | |
| char * | readfile (const char *path) |
| bool | parse_building_json_entrypoint (const char *building_json_name, const char *mod_id, Building *out_building) |
| #define MAX_COLLISIONS 5 |
Definition at line 12 of file sf_building_loader.h.
| #define MAX_POINTS 255 |
Definition at line 11 of file sf_building_loader.h.
| #define MAX_RESOURCES 5 |
Definition at line 13 of file sf_building_loader.h.
| enum FieldKey |
Definition at line 66 of file sf_building_loader.h.
| bool parse_building_json_entrypoint | ( | const char * | building_json_name, |
| const char * | mod_id, | ||
| Building * | out_building ) |
Definition at line 552 of file sf_building_loader.c.


| char * readfile | ( | const char * | path | ) |
Definition at line 496 of file sf_building_loader.c.

