26 #include "sky/struc.h" 27 #include "sky/skydefs.h" 39 CPT_REICH_DOOR_20 = 0x30AB,
41 CPT_TALK_TABLE_LIST = 0xBC
62 Compact *fetchCpt(uint16 cptId);
63 Compact *fetchCptInfo(uint16 cptId, uint16 *elems = NULL, uint16 *type = NULL,
char *name = NULL,
size_t nameSize = 0);
64 static uint16 getSub(
Compact *cpt, uint16 mode);
65 static void setSub(
Compact *cpt, uint16 mode, uint16 value);
67 uint16 *getGrafixPtr(
Compact *cpt);
68 uint16 *getTurnTable(
Compact *cpt, uint16 dir);
69 void *getCompactElem(
Compact *cpt, uint16 off);
70 bool cptIsId(
Compact *cpt, uint16
id);
71 uint8 *createResetData(uint16 gameVersion);
75 uint16 findCptId(
void *cpt);
76 uint16 findCptId(
const char *cptName);
77 uint16 giveNumDataLists();
78 uint16 giveDataListLen(uint16 listNum);
79 const char *nameForType(uint16 type);
81 void checkAndFixOfficerBluntError();
93 static const char *
const _typeNames[NUM_CPT_TYPES];
Definition: algorithm.h:29
Definition: autoroute.h:28