Servus,
bekomme beim compilen immer diesen Fehler:
acce.h:8:2: error: 'DWORD' does not name a type
DWORD vnum;
^
acce.h: In member function 'bool ACCE_VALUE::operator==(const ACCE_VALUE&)':
acce.h:12:45: error: 'struct ACCE_VALUE' has no member named 'vnum'
return (this->count == b.count) && (this->vnum == b.vnum);
^
acce.h:12:55: error: 'const struct ACCE_VALUE' has no member named 'vnum'
return (this->count == b.count) && (this->vnum == b.vnum);
^
acce.h: At global scope:
acce.h:18:7: error: 'vector' in namespace 'std' does not name a template type
std::vector<WORD> npc_vnum;
^
acce.h:19:7: error: 'vector' in namespace 'std' does not name a template type
std::vector<ACCE_VALUE> item;
^
acce.h:20:7: error: 'vector' in namespace 'std' does not name a template type
std::vector<ACCE_VALUE> reward;
^
acce.h:28:23: error: 'LPITEM' has not been declared
bool can_make_item (LPITEM *items, WORD npc_vnum);
^
acce.h:28:38: error: 'WORD' has not been declared
bool can_make_item (LPITEM *items, WORD npc_vnum);
^
acce.h:30:24: error: 'LPCHARACTER' has not been declared
void remove_material(LPCHARACTER ch, int result);
^
acce.h:35:16: error: 'LPCHARACTER' was not declared in this scope
bool Acce_make(LPCHARACTER ch);
^
acce.h:36:27: error: 'LPCHARACTER' was not declared in this scope
bool Acce_absorption_make(LPCHARACTER ch);
^
acce.h:37:22: error: variable or field 'Acce_clean_item' declared void
void Acce_clean_item(LPCHARACTER ch);
^
acce.h:37:22: error: 'LPCHARACTER' was not declared in this scope
acce.h:38:16: error: variable or field 'Acce_open' declared void
void Acce_open(LPCHARACTER ch);
^
acce.h:38:16: error: 'LPCHARACTER' was not declared in this scope
acce.h:39:27: error: variable or field 'Acce_absorption_open' declared void
void Acce_absorption_open(LPCHARACTER ch);
^
acce.h:39:27: error: 'LPCHARACTER' was not declared in this scope
acce.h:40:17: error: variable or field 'Acce_close' declared void
void Acce_close(LPCHARACTER ch);
^
acce.h:40:17: error: 'LPCHARACTER' was not declared in this scope
acce.h:41:21: error: variable or field 'Acce_show_list' declared void
void Acce_show_list(LPCHARACTER ch);
^
acce.h:41:21: error: 'LPCHARACTER' was not declared in this scope
acce.h:42:20: error: variable or field 'Acce_add_item' declared void
void Acce_add_item(LPCHARACTER ch, int acce_index, int inven_index);
^
acce.h:42:20: error: 'LPCHARACTER' was not declared in this scope
acce.h:42:36: error: expected primary-expression before 'int'
void Acce_add_item(LPCHARACTER ch, int acce_index, int inven_index);
^
acce.h:42:52: error: expected primary-expression before 'int'
void Acce_add_item(LPCHARACTER ch, int acce_index, int inven_index);
^
acce.h:43:23: error: variable or field 'Acce_delete_item' declared void
void Acce_delete_item(LPCHARACTER ch, int acce_index);
^
acce.h:43:23: error: 'LPCHARACTER' was not declared in this scope
acce.h:43:39: error: expected primary-expression before 'int'
void Acce_delete_item(LPCHARACTER ch, int acce_index);
^
acce.h:44:31: error: variable or field 'Acce_request_result_list' declared void
void Acce_request_result_list(LPCHARACTER ch);
^
acce.h:44:31: error: 'LPCHARACTER' was not declared in this scope
acce.h:45:33: error: variable or field 'Acce_request_material_info' declared void
void Acce_request_material_info(LPCHARACTER ch, int request_start_index, int request_count = 1);
^
acce.h:45:33: error: 'LPCHARACTER' was not declared in this scope
acce.h:45:49: error: expected primary-expression before 'int'
void Acce_request_material_info(LPCHARACTER ch, int request_start_index, int request_count = 1);
^
acce.h:45:74: error: expected primary-expression before 'int'
void Acce_request_material_info(LPCHARACTER ch, int request_start_index, int request_count = 1);