Hello friends how can help me to compile metin2 source.I succed to compile database but the game i can not compile it because i get this error:
root@crack:/usr/src/M2-Wolf/Server/game/1 # gmake
compile BattleArena.cpp
compile FSM.cpp
compile MarkConvert.cpp
compile MarkImage.cpp
compile MarkManager.cpp
compile OXEvent.cpp
compile TrafficProfiler.cpp
compile ani.cpp
compile arena.cpp
compile banword.cpp
compile battle.cpp
compile blend_item.cpp
compile block_country.cpp
compile buffer_manager.cpp
compile building.cpp
compile castle.cpp
compile char.cpp
char.cpp:7283: warning: this decimal constant is unsigned only in ISO C90
compile char_affect.cpp
compile char_battle.cpp
compile char_change_empire.cpp
compile char_horse.cpp
compile char_item.cpp
char_item.cpp:1: error: stray '357' in program
char_item.cpp:1: error: stray '273' in program
char_item.cpp:1: error: stray '277' in program
char_item.cpp:1: error: stray '#' in program
char_item.cpp:1: error: expected constructor, destructor, or type conversion before string constant
In file included from char_item.cpp:5:
utils.h:44: error: 'WORD' does not name a type
In file included from char_item.cpp:6:
config.h:14: error: 'WORD' does not name a type
config.h:15: error: 'WORD' does not name a type
config.h:18: error: 'WORD' does not name a type
config.h:21: error: 'WORD' does not name a type
config.h:24: error: 'WORD' does not name a type
config.h:31: error: 'BYTE' does not name a type
config.h:43: error: 'BYTE' does not name a type
config.h:49: error: 'BYTE' does not name a type
config.h:78: error: 'BYTE' does not name a type
config.h:79: error: 'BYTE' does not name a type
config.h:81: error: 'BYTE' does not name a type
config.h:84: warning: 'IsValidProcessCRC' initialized and declared 'extern'
config.h:84: error: 'DWORD' was not declared in this scope
config.h:85: warning: 'IsValidFileCRC' initialized and declared 'extern'
config.h:85: error: 'DWORD' was not declared in this scope
config.h:88: error: 'WORD' does not name a type
config.h:96: error: expected initializer before '<' token
config.h:99: error: expected initializer before '<' token
config.h:117: error: 'DWORD' does not name a type
In file included from char.h:7,
from char_item.cpp:7:
entity.h:9: error: 'TR1_NS' has not been declared
entity.h:9: error: ISO C++ forbids declaration of 'unordered_map' with no type
entity.h:9: error: typedef name may not be a nested-name-specifier
entity.h:9: error: expected ';' before '<' token
entity.h:15: error: 'LPENTITY' has not been declared
entity.h:16: error: 'LPENTITY' has not been declared
entity.h:29: error: 'LPENTITY' has not been declared
entity.h:30: error: 'LPENTITY' has not been declared
entity.h:38: error: ISO C++ forbids declaration of 'PIXEL_POSITION' with no type
entity.h:38: error: expected ';' before '&' token
entity.h:40: error: expected `;' before 'void'
entity.h:41: error: expected ',' or '...' before '&' token
entity.h:41: error: ISO C++ forbids declaration of 'PIXEL_POSITION' with no type
entity.h:43: error: 'LPSECTREE' does not name a type
entity.h:44: error: 'LPSECTREE' has not been declared
entity.h:47: error: 'LPENTITY' has not been declared
entity.h:48: error: 'LPENTITY' has not been declared
entity.h:50: error: 'LPDESC' has not been declared
entity.h:51: error: 'LPDESC' does not name a type
entity.h:62: error: 'ENTITY_MAP' does not name a type
entity.h:66: error: 'LPDESC' does not name a type
entity.h:71: error: 'PIXEL_POSITION' does not name a type
entity.h:75: error: 'LPSECTREE' does not name a type
entity.h: In member function 'long int CEntity::GetX() const':
entity.h:35: error: 'm_pos' was not declared in this scope
entity.h: In member function 'long int CEntity::GetY() const':
entity.h:36: error: 'm_pos' was not declared in this scope
entity.h: In member function 'long int CEntity::GetZ() const':
entity.h:37: error: 'm_pos' was not declared in this scope
entity.h: In member function 'void CEntity::SetXYZ(long int, long int, long int)':
entity.h:40: error: 'm_pos' was not declared in this scope
entity.h: In member function 'void CEntity::SetXYZ(int)':
entity.h:41: error: 'm_pos' was not declared in this scope
entity.h:41: error: 'pos' was not declared in this scope
entity.h: In member function 'void CEntity::SetSectree(int)':
entity.h:44: error: 'm_pSectree' was not declared in this scope
entity.h: In member function 'void CEntity::BindDesc(int)':
entity.h:50: error: 'm_lpDesc' was not declared in this scope
In file included from ../../common/length.h:690,
from ../../common/tables.h:4,
from constants.h:4,
from horse_rider.h:4,
from char.h:9,
from char_item.cpp:7:
../../common/item_length.h: At global scope:
../../common/item_length.h:22: error: 'BYTE' does not name a type
In file included from ../../common/tables.h:4,
from constants.h:4,
from horse_rider.h:4,
from char.h:9,
from char_item.cpp:7:
../../common/length.h:718: error: 'BYTE' does not name a type
../../common/length.h:719: error: 'WORD' does not name a type
../../common/length.h:726: error: expected `)' before '_window_type'
../../common/length.h: In constructor 'SItemPos::SItemPos()':
../../common/length.h:722: error: 'window_type' was not declared in this scope
../../common/length.h:723: error: 'cell' was not declared in this scope
../../common/length.h: In member function 'bool SItemPos::IsValidItemPosition() const':
../../common/length.h:734: error: 'window_type' was not declared in this scope
../../common/length.h:741: error: 'cell' was not declared in this scope
../../common/length.h: In member function 'bool SItemPos::IsEquipPosition() const':
../../common/length.h:756: error: 'window_type' was not declared in this scope
../../common/length.h:756: error: 'cell' was not declared in this scope
../../common/length.h: In member function 'bool SItemPos::IsDragonSoulEquipPosition() const':
../../common/length.h:762: error: 'cell' was not declared in this scope
../../common/length.h: In member function 'bool SItemPos::IsBeltInventoryPosition() const':
../../common/length.h:767: error: 'cell' was not declared in this scope
../../common/length.h: In member function 'bool SItemPos::IsDefaultInventoryPosition() const':
../../common/length.h:772: error: 'window_type' was not declared in this scope
../../common/length.h:772: error: 'cell' was not declared in this scope
../../common/length.h: In member function 'bool SItemPos::operator==(const SItemPos&) const':
../../common/length.h:777: error: 'window_type' was not declared in this scope
../../common/length.h:777: error: 'const struct SItemPos' has no member named 'window_type'
../../common/length.h:777: error: 'cell' was not declared in this scope
../../common/length.h:777: error: 'const struct SItemPos' has no member named 'cell'
../../common/length.h: In member function 'bool SItemPos::operator<(const SItemPos&) const':
../../common/length.h:781: error: 'window_type' was not declared in this scope
../../common/length.h:781: error: 'const struct SItemPos' has no member named 'window_type'
../../common/length.h:781: error: 'const struct SItemPos' has no member named 'window_type'
../../common/length.h:781: error: 'cell' was not declared in this scope
../../common/length.h:781: error: 'const struct SItemPos' has no member named 'cell'
../../common/length.h: At global scope:
../../common/length.h:785: error: no matching function for call to 'SItemPos::SItemPos(EWindows, int)'
../../common/length.h:720: note: candidates are: SItemPos::SItemPos()
../../common/length.h:717: note: SItemPos::SItemPos(const SItemPos&)
In file included from constants.h:4,
from horse_rider.h:4,
from char.h:9,
from char_item.cpp:7:
../../common/tables.h:6: error: 'DWORD' does not name a type
../../common/tables.h:341: error: 'DWORD' does not name a type
../../common/tables.h:342: error: 'DWORD' does not name a type
../../common/tables.h:349: error: 'DWORD' does not name a type
../../common/tables.h:351: error: 'BYTE' does not name a type
../../common/tables.h:353: error: 'DWORD' does not name a type
../../common/tables.h:354: error: 'BYTE' does not name a type
../../common/tables.h:355: error: 'WORD' does not name a type
../../common/tables.h:356: error: 'BYTE' does not name a type
../../common/tables.h:357: error: 'WORD' does not name a type
../../common/tables.h:358: error: 'BYTE' does not name a type
../../common/tables.h:361: error: 'WORD' does not name a type
../../common/tables.h:362: error: 'BYTE' does not name a type
../../common/tables.h:367: error: 'DWORD' does not name a type
../../common/tables.h:372: error: 'BYTE' does not name a type
../../common/tables.h:378: error: 'BYTE' does not name a type
../../common/tables.h:384: error: 'BYTE' does not name a type
../../common/tables.h:390: error: 'DWORD' does not name a type
../../common/tables.h:391: error: 'BYTE' does not name a type
../../common/tables.h:392: error: 'WORD' does not name a type
../../common/tables.h:393: error: 'DWORD' does not name a type
../../common/tables.h:395: error: 'DWORD' does not name a type
../../common/tables.h:400: error: 'DWORD' does not name a type
../../common/tables.h:405: error: 'BYTE' does not name a type
../../common/tables.h:406: error: 'BYTE' does not name a type
../../common/tables.h:411: error: 'BYTE' does not name a type
../../common/tables.h:412: error: 'BYTE' does not name a type
../../common/tables.h:418: error: 'BYTE' does not name a type
../../common/tables.h:419: error: 'BYTE' does not name a type
../../common/tables.h:422: error: 'DWORD' does not name a type
../../common/tables.h:427: error: 'DWORD' does not name a type
../../common/tables.h:432: error: 'WORD' does not name a type
../../common/tables.h:433: error: 'BYTE' does not name a type
../../common/tables.h:436: error: 'BYTE' does not name a type
../../common/tables.h:439: error: 'DWORD' does not name a type
../../common/tables.h:442: error: 'BYTE' does not name a type
../../common/tables.h:443: error: 'INT' does not name a type
../../common/tables.h:444: error: 'INT' does not name a type
../../common/tables.h:466: error: 'BYTE' does not name a type
../../common/tables.h:467: error: 'WORD' does not name a type
../../common/tables.h:471: error: 'BYTE' does not name a type
../../common/tables.h:479: error: 'DWORD' does not name a type
../../common/tables.h:486: error: 'DWORD' does not name a type
../../common/tables.h:487: error: 'BYTE' does not name a type
../../common/tables.h:492: error: 'DWORD' does not name a type
../../common/tables.h:500: error: 'BYTE' does not name a type
../../common/tables.h:501: error: 'BYTE' does not name a type
../../common/tables.h:502: error: 'BYTE' does not name a type
../../common/tables.h:503: error: 'BYTE' does not name a type
../../common/tables.h:504: error: 'BYTE' does not name a type
../../common/tables.h:506: error: 'DWORD' does not name a type
../../common/tables.h:507: error: 'DWORD' does not name a type
../../common/tables.h:508: error: 'DWORD' does not name a type
../../common/tables.h:509: error: 'DWORD' does not name a type
../../common/tables.h:510: error: 'BYTE' does not name a type
../../common/tables.h:511: error: 'BYTE' does not name a type
../../common/tables.h:512: error: 'WORD' does not name a type
../../common/tables.h:514: error: 'DWORD' does not name a type
../../common/tables.h:515: error: 'DWORD' does not name a type
../../common/tables.h:516: error: 'DWORD' does not name a type
../../common/tables.h:518: error: 'BYTE' does not name a type
../../common/tables.h:519: error: 'DWORD' does not name a type
../../common/tables.h:523: error: 'BYTE' does not name a type
../../common/tables.h:524: error: 'WORD' does not name a type
../../common/tables.h:525: error: 'WORD' does not name a type
../../common/tables.h:530: error: 'DWORD' does not name a type
../../common/tables.h:531: error: 'DWORD' does not name a type
../../common/tables.h:533: error: 'BYTE' does not name a type
../../common/tables.h:534: error: 'BYTE' does not name a type
../../common/tables.h:536: error: 'BYTE' does not name a type
../../common/tables.h:541: error: 'DWORD' does not name a type
../../common/tables.h:542: error: 'DWORD' does not name a type
../../common/tables.h:543: error: 'DWORD' does not name a type
../../common/tables.h:544: error: 'DWORD' does not name a type
../../common/tables.h:548: error: 'BYTE' does not name a type
../../common/tables.h:549: error: 'BYTE' does not name a type
../../common/tables.h:550: error: 'BYTE' does not name a type
../../common/tables.h:551: error: 'BYTE' does not name a type
../../common/tables.h:552: error: 'BYTE' does not name a type
../../common/tables.h:557: error: 'DWORD' does not name a type
../../common/tables.h:559: error: 'BYTE' does not name a type
../../common/tables.h:560: error: 'BYTE' does not name a type
../../common/tables.h:561: error: 'DWORD' does not name a type
../../common/tables.h:572: error: 'DWORD' does not name a type
../../common/tables.h:573: error: 'DWORD' does not name a type
../../common/tables.h:579: error: 'DWORD' does not name a type
../../common/tables.h:586: error: 'BYTE' does not name a type
../../common/tables.h:587: error: 'BYTE' does not name a type
../../common/tables.h:588: error: 'DWORD' does not name a type
../../common/tables.h:589: error: 'BYTE' does not name a type
../../common/tables.h:594: error: 'BYTE' does not name a type
../../common/tables.h:596: error: 'DWORD' does not name a type
../../common/tables.h:601: error: 'DWORD' does not name a type
../../common/tables.h:602: error: 'BYTE' does not name a type
../../common/tables.h:606: error: 'BYTE' does not name a type
../../common/tables.h:611: error: 'DWORD' does not name a type
../../common/tables.h:612: error: 'DWORD' does not name a type
../../common/tables.h:614: error: 'BYTE' does not name a type
../../common/tables.h:623: error: 'DWORD' does not name a type
../../common/tables.h:631: error: 'BYTE' does not name a type
../../common/tables.h:637: error: 'BYTE' does not name a type
../../common/tables.h:643: error: 'DWORD' does not name a type
../../common/tables.h:646: error: 'BYTE' does not name a type
../../common/tables.h:647: error: 'BYTE' does not name a type
../../common/tables.h:649: error: 'BYTE' does not name a type
../../common/tables.h:650: error: 'BYTE' does not name a type
../../common/tables.h:652: error: 'DWORD' does not name a type
../../common/tables.h:653: error: 'DWORD' does not name a type
../../common/tables.h:654: error: 'DWORD' does not name a type
../../common/tables.h:655: error: 'DWORD' does not name a type
../../common/tables.h:657: error: 'DWORD' does not name a type
../../common/tables.h:658: error: 'DWORD' does not name a type
../../common/tables.h:664: error: 'DWORD' does not name a type
../../common/tables.h:665: error: 'WORD' does not name a type
../../common/tables.h:666: error: 'BYTE' does not name a type
../../common/tables.h:667: error: 'BYTE' does not name a type
../../common/tables.h:668: error: 'BYTE' does not name a type
../../common/tables.h:691: error: 'DWORD' does not name a type
../../common/tables.h:692: error: 'DWORD' does not name a type
../../common/tables.h:694: error: 'BYTE' does not name a type
../../common/tables.h: In constructor 'TItemAttrTable::TItemAttrTable()':
../../common/tables.h:682: error: class 'TItemAttrTable' does not have any field named 'dwApplyIndex'
../../common/tables.h:683: error: class 'TItemAttrTable' does not have any field named 'dwProb'
../../common/tables.h:687: error: 'bMaxLevelBySet' was not declared in this scope
../../common/tables.h: At global scope:
../../common/tables.h:700: error: 'IDENT' does not name a type
../../common/tables.h:711: error: 'DWORD' does not name a type
../../common/tables.h:712: error: 'DWORD' does not name a type
../../common/tables.h:713: error: 'BYTE' does not name a type
../../common/tables.h:720: error: 'DWORD' does not name a type
../../common/tables.h:721: error: 'BYTE' does not name a type
../../common/tables.h:728: error: 'DWORD' does not name a type
../../common/tables.h:729: error: 'BYTE' does not name a type
../../common/tables.h:742: error: 'DWORD' does not name a type
../../common/tables.h:750: error: 'DWORD' does not name a type
../../common/tables.h:751: error: 'BYTE' does not name a type
../../common/tables.h:752: error: 'DWORD' does not name a type
../../common/tables.h:753: error: 'WORD' does not name a type
../../common/tables.h:758: error: 'DWORD' does not name a type
../../common/tables.h:759: error: 'BYTE' does not name a type
../../common/tables.h:764: error: 'DWORD' does not name a type
../../common/tables.h:771: error: 'DWORD' does not name a type
../../common/tables.h:778: error: 'BYTE' does not name a type
../../common/tables.h:783: error: 'DWORD' does not name a type
../../common/tables.h:784: error: 'BYTE' does not name a type
../../common/tables.h:790: error: 'BYTE' does not name a type
../../common/tables.h:791: error: 'WORD' does not name a type
../../common/tables.h:792: error: 'WORD' does not name a type
../../common/tables.h:794: error: 'DWORD' does not name a type
../../common/tables.h:795: error: 'BYTE' does not name a type
../../common/tables.h:800: error: 'BYTE' does not name a type
../../common/tables.h:807: error: 'WORD' does not name a type
../../common/tables.h:813: error: 'WORD' does not name a type
../../common/tables.h:814: error: 'BYTE' does not name a type
../../common/tables.h:821: error: 'BYTE' does not name a type
../../common/tables.h:832: error: 'DWORD' does not name a type
../../common/tables.h:834: error: 'BYTE' does not name a type
../../common/tables.h:835: error: 'BYTE' does not name a type
../../common/tables.h:836: error: 'BYTE' does not name a type
../../common/tables.h:841: error: 'DWORD' does not name a type
../../common/tables.h:847: error: 'DWORD' does not name a type
../../common/tables.h:848: error: 'DWORD' does not name a type
../../common/tables.h:849: error: 'DWORD' does not name a type
../../common/tables.h:850: error: 'BYTE' does not name a type
../../common/tables.h:851: error: 'BYTE' does not name a type
../../common/tables.h:862: error: 'DWORD' does not name a type
../../common/tables.h:863: error: 'BYTE' does not name a type
../../common/tables.h:865: error: 'DWORD' does not name a type
../../common/tables.h:872: error: 'DWORD' does not name a type
../../common/tables.h:878: error: 'DWORD' does not name a type
../../common/tables.h:879: error: 'DWORD' does not name a type
../../common/tables.h:880: error: 'BYTE' does not name a type
../../common/tables.h:885: error: 'DWORD' does not name a type
../../common/tables.h:893: error: 'DWORD' does not name a type
../../common/tables.h:898: error: 'DWORD' does not name a type
../../common/tables.h:903: error: 'DWORD' does not name a type
../../common/tables.h:904: error: 'DWORD' does not name a type
../../common/tables.h:905: error: 'BYTE' does not name a type
../../common/tables.h:910: error: 'DWORD' does not name a type
../../common/tables.h:911: error: 'DWORD' does not name a type
../../common/tables.h:916: error: 'DWORD' does not name a type
../../common/tables.h:917: error: 'DWORD' does not name a type
../../common/tables.h:918: error: 'BYTE' does not name a type
../../common/tables.h:919: error: 'BYTE' does not name a type
../../common/tables.h:924: error: 'DWORD' does not name a type
../../common/tables.h:925: error: 'DWORD' does not name a type
../../common/tables.h:926: error: 'BYTE' does not name a type
../../common/tables.h:931: error: 'DWORD' does not name a type
../../common/tables.h:937: error: 'DWORD' does not name a type
../../common/tables.h:938: error: 'DWORD' does not name a type
../../common/tables.h:943: error: 'DWORD' does not name a type
../../common/tables.h:944: error: 'DWORD' does not name a type
../../common/tables.h:945: error: 'BYTE' does not name a type
../../common/tables.h:950: error: 'DWORD' does not name a type
../../common/tables.h:951: error: 'DWORD' does not name a type
../../common/tables.h:952: error: 'BYTE' does not name a type
../../common/tables.h:953: error: 'BYTE' does not name a type
../../common/tables.h:954: error: 'BYTE' does not name a type
../../common/tables.h:955: error: 'BYTE' does not name a type
../../common/tables.h:956: error: 'DWORD' does not name a type
../../common/tables.h:962: error: 'BYTE' does not name a type
../../common/tables.h:963: error: 'BYTE' does not name a type
../../common/tables.h:964: error: 'DWORD' does not name a type
../../common/tables.h:965: error: 'DWORD' does not name a type
../../common/tables.h:974: error: 'DWORD' does not name a type
../../common/tables.h:975: error: 'DWORD' does not name a type
../../common/tables.h:982: error: 'DWORD' does not name a type
../../common/tables.h:990: error: 'DWORD' does not name a type
../../common/tables.h:991: error: 'BYTE' does not name a type
../../common/tables.h:1004: error: 'DWORD' does not name a type
../../common/tables.h:1010: error: 'DWORD' does not name a type
../../common/tables.h:1016: error: 'DWORD' does not name a type
../../common/tables.h:1025: error: 'DWORD' does not name a type
../../common/tables.h:1039: error: 'DWORD' does not name a type
../../common/tables.h:1040: error: 'DWORD' does not name a type
../../common/tables.h:1041: error: 'DWORD' does not name a type
../../common/tables.h:1046: error: 'DWORD' does not name a type
../../common/tables.h:1047: error: 'DWORD' does not name a type
../../common/tables.h:1048: error: 'BYTE' does not name a type
../../common/tables.h:1053: error: 'DWORD' does not name a type
../../common/tables.h:1054: error: 'DWORD' does not name a type
../../common/tables.h:1059: error: 'DWORD' does not name a type
../../common/tables.h:1060: error: 'DWORD' does not name a type
../../common/tables.h:1063: error: 'DWORD' does not name a type
../../common/tables.h:1064: error: 'BYTE' does not name a type
../../common/tables.h:1065: error: 'DWORD' does not name a type
../../common/tables.h:1072: error: 'DWORD' does not name a type
../../common/tables.h:1073: error: 'DWORD' does not name a type
../../common/tables.h:1082: error: 'BYTE' does not name a type
../../common/tables.h:1084: error: 'DWORD' does not name a type
../../common/tables.h:1089: error: 'BYTE' does not name a type
../../common/tables.h:1091: error: 'BYTE' does not name a type
../../common/tables.h:1096: error: 'BYTE' does not name a type
../../common/tables.h:1098: error: 'DWORD' does not name a type
../../common/tables.h:1102: error: 'BYTE' does not name a type
../../common/tables.h:1103: error: 'DWORD' does not name a type
../../common/tables.h:1107: error: 'BYTE' does not name a type
../../common/tables.h:1108: error: 'BYTE' does not name a type
../../common/tables.h:1113: error: 'BYTE' does not name a type
../../common/tables.h:1115: error: 'DWORD' does not name a type
../../common/tables.h:1116: error: 'BYTE' does not name a type
../../common/tables.h:1124: error: 'BYTE' does not name a type
../../common/tables.h:1126: error: 'DWORD' does not name a type
../../common/tables.h:1127: error: 'BYTE' does not name a type
../../common/tables.h:1133: error: 'BYTE' does not name a type
../../common/tables.h:1135: error: 'BYTE' does not name a type
../../common/tables.h:1136: error: 'BYTE' does not name a type
../../common/tables.h:1142: error: 'BYTE' does not name a type
../../common/tables.h:1143: error: 'DWORD' does not name a type
../../common/tables.h:1149: error: 'DWORD' does not name a type
../../common/tables.h:1155: error: 'DWORD' does not name a type
../../common/tables.h:1161: error: 'DWORD' does not name a type
../../common/tables.h:1167: error: 'DWORD' does not name a type
../../common/tables.h:1169: error: 'BYTE' does not name a type
../../common/tables.h:1180: error: 'DWORD' does not name a type
../../common/tables.h:1181: error: 'BYTE' does not name a type
../../common/tables.h:1186: error: 'DWORD' does not name a type
../../common/tables.h:1194: error: 'BYTE' does not name a type
../../common/tables.h:1195: error: 'DWORD' does not name a type
../../common/tables.h:1200: error: 'DWORD' does not name a type
../../common/tables.h:1204: error: 'DWORD' does not name a type
../../common/tables.h:1205: error: 'DWORD' does not name a type
../../common/tables.h:1210: error: 'DWORD' does not name a type
../../common/tables.h:1211: error: 'DWORD' does not name a type
../../common/tables.h:1212: error: 'INT' does not name a type
../../common/tables.h:1213: error: 'INT' does not name a type
../../common/tables.h:1221: error: 'DWORD' does not name a type
../../common/tables.h:1222: error: 'DWORD' does not name a type
../../common/tables.h:1227: error: 'DWORD' does not name a type
../../common/tables.h:1236: error: 'DWORD' does not name a type
../../common/tables.h:1237: error: 'DWORD' does not name a type
../../common/tables.h:1238: error: 'DWORD' does not name a type
../../common/tables.h:1239: error: 'DWORD' does not name a type
../../common/tables.h:1240: error: 'BYTE' does not name a type
../../common/tables.h:1244: error: 'DWORD' does not name a type
../../common/tables.h:1245: error: 'DWORD' does not name a type
../../common/tables.h:1253: error: 'DWORD' does not name a type
../../common/tables.h:1255: error: 'DWORD' does not name a type
../../common/tables.h:1256: error: 'DWORD' does not name a type
../../common/tables.h:1263: error: 'DWORD' does not name a type
../../common/tables.h:1264: error: 'DWORD' does not name a type
../../common/tables.h:1272: error: 'DWORD' does not name a type
../../common/tables.h:1273: error: 'DWORD' does not name a type
../../common/tables.h:1274: error: 'INT' does not name a type
../../common/tables.h:1275: error: 'BYTE' does not name a type
../../common/tables.h:1280: error: 'DWORD' does not name a type
../../common/tables.h:1281: error: 'DWORD' does not name a type
../../common/tables.h:1286: error: 'DWORD' does not name a type
../../common/tables.h:1287: error: 'DWORD' does not name a type
../../common/tables.h:1292: error: 'DWORD' does not name a type
../../common/tables.h:1293: error: 'DWORD' does not name a type
../../common/tables.h:1294: error: 'DWORD' does not name a type
../../common/tables.h:1299: error: 'DWORD' does not name a type
../../common/tables.h:1300: error: 'DWORD' does not name a type
../../common/tables.h:1305: error: 'DWORD' does not name a type
../../common/tables.h:1306: error: 'DWORD' does not name a type
../../common/tables.h:1312: error: 'DWORD' does not name a type
../../common/tables.h:1313: error: 'BYTE' does not name a type
../../common/tables.h:1319: error: 'DWORD' does not name a type
../../common/tables.h:1326: error: 'DWORD' does not name a type
../../common/tables.h:1327: error: 'BYTE' does not name a type
../../common/tables.h:1341: error: 'DWORD' does not name a type
../../common/tables.h:1342: error: 'DWORD' does not name a type
../../common/tables.h:1376: error: 'DWORD' does not name a type
../../common/tables.h:1384: error: 'DWORD' does not name a type
../../common/tables.h:1385: error: 'DWORD' does not name a type
../../common/tables.h:1392: error: 'DWORD' does not name a type
../../common/tables.h:1399: error: 'BYTE' does not name a type
../../common/tables.h:1400: error: 'DWORD' does not name a type
../../common/tables.h:1405: error: 'BYTE' does not name a type
../../common/tables.h:1406: error: 'DWORD' does not name a type
../../common/tables.h:1414: error: 'DWORD' does not name a type
../../common/tables.h:1415: error: 'DWORD' does not name a type
../../common/tables.h:1427: error: 'BYTE' does not name a type
../../common/tables.h:1433: error: 'DWORD' does not name a type
../../common/tables.h:1434: error: 'DWORD' does not name a type
../../common/tables.h:1435: error: 'DWORD' does not name a type
../../common/tables.h:1440: error: 'DWORD' does not name a type
../../common/tables.h:1441: error: 'DWORD' does not name a type
../../common/tables.h:1442: error: 'DWORD' does not name a type
../../common/tables.h:1447: error: 'DWORD' does not name a type
../../common/tables.h:1458: error: 'DWORD' does not name a type
../../common/tables.h:1471: error: 'DWORD' does not name a type
../../common/tables.h:1477: error: 'BYTE' does not name a type
In file included from horse_rider.h:4,
from char.h:9,
from char_item.cpp:7:
constants.h:21: error: 'BYTE' does not name a type
constants.h:22: error: 'WORD' does not name a type
constants.h:23: error: 'DWORD' does not name a type
constants.h:24: error: 'WORD' does not name a type
constants.h:54: error: 'BYTE' does not name a type
constants.h:73: error: 'DWORD' does not name a type
constants.h:78: error: 'DWORD' has not been declared
constants.h: In function 'bool operator<(const SStoneDropInfo&, int)':
constants.h:80: error: 'const struct SStoneDropInfo' has no member named 'dwMobVnum'
constants.h: At global scope:
constants.h:83: error: declaration of 'operator<' as non-function
constants.h:83: error: 'DWORD' was not declared in this scope
constants.h:83: error: expected primary-expression before 'const'
constants.h: In function 'bool operator<(const SStoneDropInfo&, const SStoneDropInfo&)':
constants.h:90: error: 'const struct SStoneDropInfo' has no member named 'dwMobVnum'
constants.h:90: error: 'const struct SStoneDropInfo' has no member named 'dwMobVnum'
constants.h: At global scope:
constants.h:98: error: 'DWORD' does not name a type
constants.h:100: error: 'DWORD' does not name a type
constants.h:101: error: 'DWORD' does not name a type
constants.h:102: error: expected initializer before '*' token
constants.h:104: error: 'DWORD' does not name a type
constants.h:106: error: 'DWORD' does not name a type
constants.h:107: error: 'DWORD' does not name a type
constants.h:151: error: 'DWORD' was not declared in this scope
constants.h:151: error: template argument 1 is invalid
constants.h:151: error: template argument 3 is invalid
constants.h:151: error: template argument 4 is invalid
constants.h:151: error: invalid type in declaration before ';' token
In file included from horse_rider.h:5,
from char.h:9,
from char_item.cpp:7:
cmd.h:10: error: 'LPCHARACTER' has not been declared
cmd.h:18: warning: 'interpret_command' initialized and declared 'extern'
cmd.h:18: error: variable or field 'interpret_command' declared void
cmd.h:18: error: 'LPCHARACTER' was not declared in this scope
cmd.h:18: error: expected primary-expression before 'const'
cmd.h:18: error: expected primary-expression before 'len'
cmd.h:58: warning: 'SendMonarchNotice' initialized and declared 'extern'
cmd.h:58: error: variable or field 'SendMonarchNotice' declared void
cmd.h:58: error: 'BYTE' was not declared in this scope
cmd.h:58: error: expected primary-expression before 'const'
cmd.h:66: error: 'BYTE' has not been declared
cmd.h:66: error: 'DWORD' has not been declared
cmd.h:66: error: 'DWORD' has not been declared
In file included from char.h:9,
from char_item.cpp:7:
horse_rider.h:33: error: 'BYTE' does not name a type
horse_rider.h:34: error: 'BYTE' does not name a type
horse_rider.h:67: error: 'DWORD' has not been declared
horse_rider.h:72: error: 'DWORD' does not name a type
horse_rider.h:88: error: 'LPEVENT' does not name a type
horse_rider.h:89: error: 'LPEVENT' does not name a type
horse_rider.h:91: error: 'horse_stamina_regen_event' has not been declared
horse_rider.h:91: error: ISO C++ forbids declaration of 'EVENTFUNC' with no type
horse_rider.h:92: error: 'horse_stamina_consume_event' has not been declared
horse_rider.h:92: error: ISO C++ forbids declaration of 'EVENTFUNC' with no type
horse_rider.h:92: warning: 'int EVENTFUNC(int)' is already a friend of class 'CHorseRider'
horse_rider.h:93: error: 'LPCHARACTER' has not been declared
horse_rider.h: In member function 'int CHorseRider::GetHorseST()':
horse_rider.h:40: error: 'GetHorseLevel' was not declared in this scope
horse_rider.h: In member function 'int CHorseRider::GetHorseDX()':
horse_rider.h:41: error: 'GetHorseLevel' was not declared in this scope
horse_rider.h: In member function 'int CHorseRider::GetHorseHT()':
horse_rider.h:42: error: 'GetHorseLevel' was not declared in this scope
horse_rider.h: In member function 'int CHorseRider::GetHorseIQ()':
horse_rider.h:43: error: 'GetHorseLevel' was not declared in this scope
horse_rider.h: In member function 'int CHorseRider::GetHorseArmor()':
horse_rider.h:44: error: 'GetHorseLevel' was not declared in this scope
horse_rider.h: In member function 'bool CHorseRider::IsHorseRiding() const':
horse_rider.h:50: error: 'const struct THorseInfo' has no member named 'bRiding'
In file included from char.h:10,
from char_item.cpp:7:
vid.h: At global scope:
vid.h:11: error: expected `)' before 'id'
vid.h:39: error: expected type-specifier before 'DWORD'
vid.h:50: error: 'DWORD' does not name a type
vid.h:51: error: 'DWORD' does not name a type
vid.h: In constructor 'VID::VID()':
vid.h:7: error: class 'VID' does not have any field named 'm_id'
vid.h:7: error: class 'VID' does not have any field named 'm_crc'
vid.h: In member function 'const VID& VID::operator=(const VID&)':
vid.h:24: error: 'm_id' was not declared in this scope
vid.h:24: error: 'const class VID' has no member named 'm_id'
vid.h:25: error: 'm_crc' was not declared in this scope
vid.h:25: error: 'const class VID' has no member named 'm_crc'
vid.h: In member function 'bool VID::operator==(const VID&) const':
vid.h:31: error: 'm_id' was not declared in this scope
vid.h:31: error: 'const class VID' has no member named 'm_id'
vid.h:31: error: 'm_crc' was not declared in this scope
vid.h:31: error: 'const class VID' has no member named 'm_crc'
vid.h: In member function 'void VID::Reset()':
vid.h:46: error: 'm_id' was not declared in this scope
vid.h:46: error: 'm_crc' was not declared in this scope
In file included from char.h:12,
from char_item.cpp:7:
affect.h: At global scope:
affect.h:12: error: 'DWORD' does not name a type
affect.h:13: error: 'BYTE' does not name a type
affect.h:15: error: 'DWORD' does not name a type
affect.h:173: warning: 'SendAffectAddPacket' initialized and declared 'extern'
affect.h:173: error: variable or field 'SendAffectAddPacket' declared void
affect.h:173: error: 'LPDESC' was not declared in this scope
affect.h:173: error: expected primary-expression before '*' token
affect.h:173: error: 'pkAff' was not declared in this scope
In file included from char.h:13,
from char_item.cpp:7:
affect_flag.h:22: error: 'DWORD' does not name a type
affect_flag.h:25: error: expected `)' before 'v1'
affect_flag.h: In constructor 'TAffectFlag::TAffectFlag()':
affect_flag.h:24: error: 'bits' was not declared in this scope
affect_flag.h: In member function 'bool TAffectFlag::IsSet(int) const':
affect_flag.h:32: error: 'bits' was not declared in this scope
affect_flag.h:32: error: 'DWORD' was not declared in this scope
affect_flag.h:32: error: expected `)' before numeric constant
affect_flag.h:32: error: expected `)' before ';' token
affect_flag.h:32: error: expected `)' before ';' token
affect_flag.h:32: error: expected `)' before ';' token
affect_flag.h: In member function 'void TAffectFlag::Set(int)':
affect_flag.h:40: error: 'bits' was not declared in this scope
affect_flag.h:40: error: 'DWORD' was not declared in this scope
affect_flag.h:40: error: expected `)' before numeric constant
affect_flag.h:40: error: expected `)' before ';' token
affect_flag.h:40: error: expected `)' before ';' token
affect_flag.h:40: error: expected `)' before ';' token
affect_flag.h: In member function 'void TAffectFlag::Reset(int)':
affect_flag.h:48: error: 'bits' was not declared in this scope
affect_flag.h:48: error: 'DWORD' was not declared in this scope
affect_flag.h:48: error: expected `)' before numeric constant
affect_flag.h:48: error: expected `)' before ';' token
affect_flag.h:48: error: expected `)' before ';' token
affect_flag.h:48: error: expected `)' before ';' token
affect_flag.h: In member function 'TAffectFlag& TAffectFlag::operator=(const TAffectFlag&)':
affect_flag.h:53: error: 'bits' was not declared in this scope
affect_flag.h:53: error: 'const struct TAffectFlag' has no member named 'bits'
affect_flag.h:54: error: 'const struct TAffectFlag' has no member named 'bits'
affect_flag.h: In function 'bool operator==(const TAffectFlag&, const TAffectFlag&)':
affect_flag.h:61: error: 'const struct TAffectFlag' has no member named 'bits'
affect_flag.h:61: error: 'const struct TAffectFlag' has no member named 'bits'
affect_flag.h:61: error: 'const struct TAffectFlag' has no member named 'bits'
affect_flag.h:61: error: 'const struct TAffectFlag' has no member named 'bits'
In file included from char.h:14,
from char_item.cpp:7:
cube.h: At global scope:
cube.h:18: error: 'DWORD' does not name a type
cube.h: In member function 'bool CUBE_VALUE::operator==(const CUBE_VALUE&)':
cube.h:23: error: 'struct CUBE_VALUE' has no member named 'vnum'
cube.h:23: error: 'const struct CUBE_VALUE' has no member named 'vnum'
cube.h: At global scope:
cube.h:29: error: 'WORD' was not declared in this scope
cube.h:29: error: template argument 1 is invalid
cube.h:29: error: template argument 2 is invalid
cube.h:37: error: 'LPITEM' has not been declared
cube.h:37: error: 'WORD' has not been declared
cube.h:39: error: 'LPCHARACTER' has not been declared
cube.h:46: error: 'LPCHARACTER' was not declared in this scope
cube.h:48: error: variable or field 'Cube_clean_item' declared void
cube.h:48: error: 'LPCHARACTER' was not declared in this scope
cube.h:49: error: variable or field 'Cube_open' declared void
cube.h:49: error: 'LPCHARACTER' was not declared in this scope
cube.h:50: error: variable or field 'Cube_close' declared void
cube.h:50: error: 'LPCHARACTER' was not declared in this scope
cube.h:52: error: variable or field 'Cube_show_list' declared void
cube.h:52: error: 'LPCHARACTER' was not declared in this scope
cube.h:53: error: variable or field 'Cube_add_item' declared void
cube.h:53: error: 'LPCHARACTER' was not declared in this scope
cube.h:53: error: expected primary-expression before 'int'
cube.h:53: error: expected primary-expression before 'int'
cube.h:54: error: variable or field 'Cube_delete_item' declared void
cube.h:54: error: 'LPCHARACTER' was not declared in this scope
cube.h:54: error: expected primary-expression before 'int'
cube.h:56: error: variable or field 'Cube_request_result_list' declared void
cube.h:56: error: 'LPCHARACTER' was not declared in this scope
cube.h:57: error: variable or field 'Cube_request_material_info' declared void
cube.h:57: error: 'LPCHARACTER' was not declared in this scope
cube.h:57: error: expected primary-expression before 'int'
cube.h:57: error: expected primary-expression before 'int'
In file included from char.h:15,
from char_item.cpp:7:
mining.h:6: error: 'LPEVENT' does not name a type
mining.h:7: error: 'DWORD' does not name a type
mining.h:8: error: 'LPCHARACTER' was not declared in this scope
mining.h:8: error: 'LPCHARACTER' was not declared in this scope
mining.h:8: error: 'LPITEM' was not declared in this scope
mining.h:8: error: expected primary-expression before 'int'
mining.h:8: error: expected primary-expression before 'int'
mining.h:8: error: 'LPITEM' was not declared in this scope
mining.h:8: error: initializer expression list treated as compound expression
mining.h:12: error: 'LPCHARACTER' was not declared in this scope
mining.h:12: error: 'LPITEM' was not declared in this scope
mining.h:12: error: initializer expression list treated as compound expression
mining.h:13: error: variable or field 'CHEAT_MAX_PICK' declared void
mining.h:13: error: 'LPCHARACTER' was not declared in this scope
mining.h:13: error: 'LPITEM' was not declared in this scope
mining.h:16: error: 'DWORD' was not declared in this scope
In file included from char_item.cpp:7:
char.h:341: error: 'LPCHARACTER' does not name a type
char.h:355: error: declaration of 'operator=' as non-function
char.h:355: error: expected ';' before '(' token
char.h:357: error: expected type-specifier before 'LPCHARACTER'
char.h:370: error: 'BYTE' does not name a type
char.h:371: error: 'BYTE' does not name a type
char.h:374: error: 'DWORD' does not name a type
char.h:385: error: 'BYTE' does not name a type
char.h:401: error: 'DWORD' does not name a type
char.h:402: error: 'DWORD' does not name a type
char.h:403: error: 'DWORD' does not name a type
char.h:405: error: 'WORD' does not name a type
char.h:411: error: 'LPITEM' does not name a type
char.h:412: error: 'BYTE' does not name a type
char.h:415: error: 'LPITEM' does not name a type
char.h:416: error: 'WORD' does not name a type
char.h:419: error: 'LPITEM' does not name a type
char.h:420: error: 'LPCHARACTER' does not name a type
char.h:422: error: 'LPCHARACTER' does not name a type
char.h:424: error: 'BYTE' does not name a type
char.h:426: error: 'BYTE' does not name a type
char.h:430: error: 'BYTE' does not name a type
char.h:433: error: 'LPENTITY' does not name a type
char.h:440: error: 'BYTE' does not name a type
char.h:441: error: 'LPCHARACTER' has not been declared
char.h:441: error: 'LPCHARACTER' has not been declared
char.h:452: error: 'BYTE' does not name a type
char.h:453: error: 'LPCHARACTER' has not been declared
char.h:453: error: 'LPCHARACTER' has not been declared
char.h: In constructor 'CTrigger::CTrigger()':
char.h:448: error: class 'CTrigger' does not have any field named 'bType'
char.h: At global scope:
char.h:456: error: expected constructor, destructor, or type conversion before '(' token
char.h:466: error: 'DWORD' does not name a type
char.h:469: error: 'DWORD' does not name a type
char.h:479: error: 'DWORD' has not been declared
char.h:481: error: 'DWORD' has not been declared
char.h:481: error: 'DWORD' has not been declared
char.h:482: error: 'DWORD' does not name a type
char.h:483: error: 'DWORD' has not been declared
char.h: In constructor 'TSkillUseInfo::TSkillUseInfo()':
char.h:475: error: class 'TSkillUseInfo' does not have any field named 'dwNextSkillUsableTime'
char.h:476: error: class 'TSkillUseInfo' does not have any field named 'dwVID'
char.h: In member function 'void TSkillUseInfo::SetMainTargetVID(int)':
char.h:483: error: 'dwVID' was not declared in this scope
char.h: At global scope:
char.h:525: error: 'LPENTITY' has not been declared
char.h:526: error: 'LPENTITY' has not been declared
char.h:530: error: 'LPCHARACTER' does not name a type
char.h:556: error: 'DWORD' does not name a type
char.h:583: error: 'DWORD' does not name a type
char.h:590: error: 'DWORD' has not been declared
char.h:601: error: 'DWORD' does not name a type
char.h:607: error: 'WORD' does not name a type
char.h:618: error: 'BYTE' has not been declared
char.h:621: error: 'DWORD' does not name a type
char.h:624: error: 'BYTE' has not been declared
char.h:626: error: 'BYTE' does not name a type
char.h:627: error: 'BYTE' does not name a type
char.h:639: error: 'DWORD' does not name a type
char.h:640: error: 'DWORD' has not been declared
char.h:644: error: 'BYTE' does not name a type
char.h:645: error: 'BOOL' does not name a type
char.h:648: error: 'DWORD' does not name a type
char.h:649: error: 'DWORD' has not been declared
char.h:650: error: 'DWORD' does not name a type
char.h:651: error: 'LPCHARACTER' does not name a type
char.h:652: error: 'LPCHARACTER' has not been declared
char.h:653: error: 'LPCHARACTER' has not been declared
char.h:659: error: 'BYTE' has not been declared
char.h:659: error: 'WORD' has not been declared
char.h:660: error: 'WORD' does not name a type
char.h:661: error: 'WORD' does not name a type
char.h:689: error: 'BYTE' has not been declared
char.h:690: error: 'BYTE' has not been declared
char.h:692: error: 'BYTE' has not been declared
char.h:693: error: 'BYTE' has not been declared
char.h:694: error: 'BYTE' has not been declared
char.h:695: error: 'BYTE' has not been declared
char.h:698: error: 'BYTE' does not name a type
char.h:699: error: 'BYTE' does not name a type
char.h:700: error: 'BYTE' does not name a type
char.h:701: error: 'DWORD' does not name a type
char.h:702: error: 'DWORD' does not name a type
char.h:703: error: 'WORD' does not name a type
char.h:704: error: 'DWORD' does not name a type
char.h:727: error: 'DWORD' has not been declared
char.h:729: error: 'DWORD' does not name a type
char.h:731: error: 'DWORD' does not name a type
char.h:732: error: 'DWORD' does not name a type
char.h:738: error: 'BYTE' has not been declared
char.h:740: error: 'BYTE' has not been declared
char.h:752: error: 'BYTE' has not been declared
char.h:752: error: 'LPCHARACTER' has not been declared
char.h:753: error: 'BYTE' has not been declared
char.h:753: error: 'LPCHARACTER' has not been declared
char.h:755: error: 'BYTE' has not been declared
char.h:756: error: 'BYTE' has not been declared
char.h:761: error: 'BYTE' has not been declared
char.h:762: error: 'BYTE' has not been declared
char.h:763: error: 'BYTE' has not been declared
char.h:767: error: 'DWORD' has not been declared
char.h:768: error: 'DWORD' does not name a type
char.h:777: error: 'LPCHARACTER' has not been declared
char.h:782: error: 'DWORD' has not been declared
char.h:784: error: 'BYTE' has not been declared
char.h:784: error: 'LPCHARACTER' has not been declared
char.h:787: error: 'BYTE' does not name a type
char.h:788: error: 'BYTE' does not name a type
char.h:791: error: 'DWORD' does not name a type
char.h:793: error: 'DWORD' does not name a type
char.h:794: error: 'DWORD' does not name a type
char.h:797: error: 'BYTE' does not name a type
char.h:803: error: 'DWORD' does not name a type
char.h:804: error: 'BYTE' does not name a type
char.h:808: error: 'BYTE' does not name a type
char.h:832: error: 'DWORD' does not name a type
char.h:836: error: 'BYTE' has not been declared
char.h:836: error: 'BYTE' has not been declared
char.h:836: error: 'DWORD' has not been declared
char.h:836: error: 'DWORD' has not been declared
char.h:836: error: 'DWORD' has not been declared
char.h:836: error: 'DWORD' has not been declared
char.h:837: error: 'DWORD' does not name a type
char.h:838: error: 'DWORD' does not name a type
char.h:839: error: 'DWORD' does not name a type
char.h:840: error: 'DWORD' does not name a type
char.h:842: error: 'DWORD' has not been declared
char.h:844: error: 'LPCHARACTER' has not been declared
char.h:845: error: 'LPCHARACTER' has not been declared
char.h:850: error: ISO C++ forbids declaration of 'PIXEL_POSITION' with no type
char.h:850: error: expected ';' before '&' token
char.h:851: error: expected `;' before 'bool'
char.h:851: error: 'DWORD' has not been declared
char.h:862: error: 'DWORD' does not name a type
char.h:868: error: 'LPCHARACTER' does not name a type
char.h:869: error: 'CHARACTER_LIST' does not name a type
char.h:871: error: 'PIXEL_POSITION' does not name a type
char.h:872: error: 'PIXEL_POSITION' does not name a type
char.h:873: error: 'PIXEL_POSITION' does not name a type
char.h:876: error: 'PIXEL_POSITION' does not name a type
char.h:879: error: 'DWORD' does not name a type
char.h:880: error: 'DWORD' does not name a type
char.h:882: error: 'DWORD' does not name a type
char.h:883: error: 'DWORD' does not name a type
char.h:884: error: 'DWORD' does not name a type
char.h:885: error: 'DWORD' does not name a type
char.h:894: error: 'BYTE' has not been declared
char.h:894: error: 'BYTE' has not been declared
char.h:894: error: 'BYTE' has not been declared
char.h:895: error: 'BYTE' has not been declared
char.h:896: error: 'BYTE' has not been declared
char.h:897: error: 'BYTE' has not been declared
char.h:898: error: 'BYTE' has not been declared
char.h:898: error: 'BYTE' has not been declared
char.h:899: error: 'LPITEM' has not been declared
char.h:899: error: 'BYTE' has not been declared
char.h:899: error: 'BYTE' has not been declared
char.h:910: error: 'DWORD' has not been declared
char.h:910: error: 'BYTE' has not been declared
char.h:910: error: 'DWORD' has not been declared
char.h:912: error: 'DWORD' has not been declared
char.h:913: error: 'DWORD' has not been declared
char.h:918: error: 'DWORD' has not been declared
char.h:924: error: 'BYTE' has not been declared
char.h:929: error: expected ';' before '(' token
char.h:940: error: 'LPPARTY' has not been declared
char.h:941: error: 'LPPARTY' does not name a type
char.h:943: error: 'LPCHARACTER' has not been declared
char.h:944: error: 'LPCHARACTER' has not been declared
char.h:945: error: 'LPCHARACTER' has not been declared
char.h:953: error: 'LPCHARACTER' has not been declared
char.h:961: error: 'LPCHARACTER' has not been declared
char.h:967: error: 'DWORD' has not been declared
char.h:974: error: 'LPEVENT' has not been declared
char.h:982: error: 'LPCHARACTER' has not been declared
char.h:1010: error: expected ',' or '...' before 'pchLeader'
char.h:1010: error: ISO C++ forbids declaration of 'LPCHARACTER' with no type
char.h:1018: error: expected ',' or '...' before 'pchLeader'
char.h:1018: error: ISO C++ forbids declaration of 'LPCHARACTER' with no type
char.h:1020: error: 'LPPARTY' does not name a type
char.h:1021: error: 'DWORD' does not name a type
char.h:1022: error: 'LPEVENT' does not name a type
char.h:1031: error: 'DWORD' was not declared in this scope
char.h:1031: error: 'LPEVENT' was not declared in this scope
char.h:1031: error: template argument 1 is invalid
char.h:1031: error: template argument 2 is invalid
char.h:1031: error: template argument 3 is invalid
char.h:1031: error: template argument 4 is invalid
char.h:1039: error: 'LPDUNGEON' has not been declared
char.h:1040: error: 'LPDUNGEON' does not name a type
char.h:1041: error: 'LPDUNGEON' does not name a type
char.h:1043: error: 'LPDUNGEON' does not name a type
char.h:1057: error: 'DWORD' does not name a type
char.h:1069: error: 'LPITEM' has not been declared
char.h:1070: error: 'LPITEM' does not name a type
char.h:1071: error: 'LPITEM' does not name a type
char.h:1072: error: 'BYTE' has not been declared
char.h:1074: error: 'BYTE' has not been declared
char.h:1074: error: 'LPITEM' has not been declared
char.h:1075: error: 'LPITEM' does not name a type
char.h:1090: error: 'LPITEM' has not been declared
char.h:1098: error: 'LPCHARACTER' has not been declared
char.h:1101: error: 'LPITEM' has not been declared
char.h:1101: error: 'LPITEM' has not been declared
char.h:1102: error: 'BYTE' has not been declared
char.h:1103: error: 'LPITEM' has not been declared
char.h:1104: error: 'LPITEM' has not been declared
char.h:1111: error: 'LPITEM' has not been declared
char.h:1114: error: 'LPITEM' has not been declared
char.h:1115: error: 'BYTE' has not been declared
char.h:1115: error: 'BYTE' has not been declared
char.h:1120: error: 'LPCHARACTER' has not been declared
char.h:1121: error: 'LPCHARACTER' has not been declared
char.h:1121: error: 'LPITEM' has not been declared
char.h:1122: error: 'LPCHARACTER' has not been declared
char.h:1122: error: 'LPITEM' has not been declared
char.h:1123: error: 'DWORD' has not been declared
char.h:1123: error: 'DWORD' was not declared in this scope
char.h:1123: error: template argument 1 is invalid
char.h:1123: error: template argument 2 is invalid
char.h:1124: error: 'DWORD' was not declared in this scope
char.h:1124: error: template argument 1 is invalid
char.h:1124: error: template argument 2 is invalid
char.h:1124: error: 'LPITEM' was not declared in this scope
char.h:1124: error: template argument 1 is invalid
char.h:1124: error: template argument 2 is invalid
char.h:1126: error: 'BYTE' has not been declared
char.h:1127: error: 'DWORD' has not been declared
char.h:1128: error: 'LPITEM' has not been declared
char.h:1129: error: 'LPITEM' has not been declared
char.h:1132: error: expected ',' or '...' before 'item'
char.h:1132: error: ISO C++ forbids declaration of 'LPITEM' with no type
char.h:1135: error: expected ',' or '...' before 'item'
char.h:1135: error: ISO C++ forbids declaration of 'LPITEM' with no type
char.h:1137: error: 'BYTE' has not been declared
char.h:1137: error: 'BYTE' has not been declared
char.h:1138: error: 'LPITEM' does not name a type
char.h:1139: error: 'LPITEM' has not been declared
char.h:1141: error: 'BYTE' has not been declared
char.h:1142: error: 'LPITEM' has not been declared
char.h:1143: error: 'WORD' was not declared in this scope
char.h:1143: error: template argument 1 is invalid
char.h:1143: error: template argument 2 is invalid
char.h:1147: error: 'DWORD' has not been declared
char.h:1148: error: 'DWORD' has not been declared
char.h:1148: error: 'DWORD' has not been declared
char.h:1149: error: 'LPITEM' does not name a type
char.h:1150: error: 'LPITEM' does not name a type
char.h:1152: error: 'BYTE' has not been declared
char.h:1153: error: 'BYTE' has not been declared
char.h:1153: error: 'DWORD' has not been declared
char.h:1155: error: 'DWORD' has not been declared
char.h:1158: error: 'DWORD' has not been declared
char.h:1161: error: 'LPCHARACTER' has not been declared
char.h:1171: error: 'DWORD' has not been declared
char.h:1171: error: 'DWORD' has not been declared
char.h:1178: error: 'DWORD' does not name a type
char.h:1195: error: 'BYTE' has not been declared
char.h:1197: error: 'LPCHARACTER' has not been declared
char.h:1198: error: 'LPCHARACTER' does not name a type
char.h:1200: error: 'BYTE' has not been declared
char.h:1209: error: 'LPCHARACTER' does not name a type
char.h:1215: error: 'LPCHARACTER' has not been declared
char.h:1239: error: 'DWORD' does not name a type
char.h:1240: error: 'DWORD' does not name a type
char.h:1243: error: 'LPCHARACTER' has not been declared
char.h:1244: error: 'LPCHARACTER' has not been declared
char.h:1245: error: 'BYTE' has not been declared
char.h:1248: error: 'LPCHARACTER' has not been declared
char.h:1248: error: 'BYTE' has not been declared
char.h:1253: error: 'LPCHARACTER' has not been declared
char.h:1255: error: 'LPCHARACTER' has not been declared
char.h:1260: error: 'LPCHARACTER' has not been declared
char.h:1263: error: 'LPCHARACTER' has not been declared
char.h:1265: error: 'BYTE' has not been declared
char.h:1266: error: 'DWORD' has not been declared
char.h:1266: error: 'BYTE' has not been declared
char.h:1273: error: 'LPITEM' has not been declared
char.h:1273: error: 'LPITEM' has not been declared
char.h:1274: error: 'LPITEM' has not been declared
char.h:1274: error: 'DWORD' has not been declared
char.h:1276: error: 'LPCHARACTER' has not been declared
char.h:1279: error: 'LPCHARACTER' has not been declared
char.h:1293: error: 'BYTE' does not name a type
char.h:1294: error: 'BYTE' has not been declared
char.h:1296: error: 'LPCHARACTER' has not been declared
char.h:1298: error: 'LPCHARACTER' has not been declared
char.h:1304: error: 'BYTE' has not been declared
char.h:1305: error: 'BYTE' does not name a type
char.h:1307: error: 'DWORD' has not been declared
char.h:1308: error: 'DWORD' does not name a type
char.h:1313: error: 'BYTE' does not name a type
char.h:1318: error: 'DWORD' does not name a type
char.h:1321: error: 'BYTE' does not name a type
char.h:1322: error: 'DWORD' does not name a type
char.h:1324: error: 'BYTE' does not name a type
char.h:1326: error: 'DWORD' does not name a type
char.h:1329: error: 'LPCHARACTER' has not been declared
char.h:1330: error: 'LPCHARACTER' has not been declared
char.h:1332: error: 'DWORD' does not name a type
char.h:1333: error: 'DWORD' was not declared in this scope
char.h:1333: error: template argument 1 is invalid
char.h:1333: error: template argument 2 is invalid
char.h:1336: error: 'DWORD' does not name a type
char.h:1341: error: 'BYTE' does not name a type
char.h:1343: error: 'DWORD' does not name a type
char.h:1349: error: 'LPCHARACTER' has not been declared
char.h:1352: error: 'DWORD' does not name a type
char.h:1353: error: 'BYTE' does not name a type
char.h:1356: error: 'LPCHARACTER' does not name a type
char.h:1357: error: 'CHARACTER_SET' does not name a type
char.h:1358: error: 'DWORD' does not name a type
char.h:1359: error: 'BYTE' does not name a type
char.h:1375: error: 'DWORD' has not been declared
char.h:1375: error: 'BYTE' has not been declared
char.h:1376: error: 'DWORD' has not been declared
char.h:1378: error: 'DWORD' has not been declared
char.h:1378: error: 'LPCHARACTER' has not been declared
char.h:1380: error: 'DWORD' has not been declared
char.h:1380: error: 'BYTE' has not been declared
char.h:1381: error: 'DWORD' has not been declared
char.h:1383: error: 'DWORD' has not been declared
char.h:1386: error: expected ',' or '...' before 'SkillID'
char.h:1386: error: ISO C++ forbids declaration of 'BYTE' with no type
char.h:1387: error: 'DWORD' has not been declared
char.h:1388: error: 'DWORD' has not been declared
char.h:1389: error: 'DWORD' has not been declared
char.h:1390: error: 'DWORD' has not been declared
char.h:1391: error: 'DWORD' has not been declared
char.h:1391: error: 'BYTE' has not been declared
char.h:1393: error: 'DWORD' has not been declared
char.h:1394: error: 'DWORD' has not been declared
char.h:1395: error: 'DWORD' has not been declared
char.h:1397: error: 'DWORD' has not been declared
char.h:1398: error: 'DWORD' has not been declared
char.h:1398: error: 'LPCHARACTER' has not been declared
char.h:1398: error: 'BYTE' has not been declared
char.h:1399: error: 'DWORD' has not been declared
char.h:1399: error: expected ',' or '...' before '&' token
char.h:1399: error: ISO C++ forbids declaration of 'PIXEL_POSITION' with no type
char.h:1402: error: 'BYTE' has not been declared
char.h:1403: error: 'BYTE' does not name a type
char.h:1410: error: 'DWORD' has not been declared
char.h:1410: error: 'BYTE' has not been declared
char.h:1411: error: 'DWORD' has not been declared
char.h:1415: error: 'DWORD' does not name a type
char.h:1427: error: 'DWORD' does not name a type
char.h:1436: error: 'LPEVENT' does not name a type
char.h:1442: error: 'LPCHARACTER' has not been declared
char.h:1445: error: ISO C++ forbids declaration of 'CHARACTER_SET' with no type
char.h:1445: error: expected ';' before '&' token
char.h:1447: error: expected `;' before 'private'
char.h:1449: error: 'CHARACTER_SET' does not name a type
char.h:1458: error: 'DWORD' does not name a type
char.h:1465: error: 'BYTE' was not declared in this scope
char.h:1465: error: template argument 1 is invalid
char.h:1465: error: template argument 3 is invalid
char.h:1465: error: template argument 4 is invalid
char.h:1465: error: template argument 5 is invalid
char.h:1472: error: 'LPCHARACTER' does not name a type
char.h:1473: error: 'LPCHARACTER' has not been declared
char.h:1474: error: 'LPCHARACTER' does not name a type
char.h:1475: error: 'LPCHARACTER' does not name a type
char.h:1477: error: 'LPCHARACTER' has not been declared
char.h:1480: error: 'LPCHARACTER' has not been declared
char.h:1486: error: 'LPCHARACTER' has not been declared
char.h:1487: error: 'LPCHARACTER' has not been declared
char.h:1492: error: 'DWORD' does not name a type
char.h:1499: error: 'LPCHARACTER' does not name a type
char.h:1500: error: 'CHARACTER_SET' does not name a type
char.h:1503: error: 'LPCHARACTER' has not been declared
char.h:1507: error: 'LPCHARACTER' does not name a type
char.h:1518: error: 'DWORD' has not been declared
char.h:1519: error: 'BYTE' has not been declared
char.h:1557: error: 'PIXEL_POSITION' does not name a type
char.h:1564: error: 'DWORD' has not been declared
char.h:1565: error: 'DWORD' does not name a type
char.h:1566: error: 'DWORD' does not name a type
char.h:1576: error: 'DWORD' does not name a type
char.h:1584: error: 'DWORD' has not been declared
char.h:1586: error: 'LPCHARACTER' does not name a type
char.h:1587: error: 'LPCHARACTER' does not name a type
char.h:1589: error: 'LPCHARACTER' has not been declared
char.h:1590: error: 'LPCHARACTER' has not been declared
char.h:1591: error: 'LPCHARACTER' does not name a type
char.h:1605: error: 'LPCHARACTER' does not name a type
char.h:1606: error: 'LPCHARACTER' does not name a type
char.h:1607: error: 'LPCHARACTER' does not name a type
char.h:1609: error: 'DWORD' does not name a type
char.h:1610: error: 'DWORD' does not name a type
char.h:1612: error: 'BYTE' does not name a type
char.h:1613: error: 'BYTE' does not name a type
char.h:1614: error: 'BYTE' does not name a type
char.h:1630: error: 'BYTE' has not been declared
char.h:1631: error: 'BYTE' does not name a type
char.h:1634: error: 'BYTE' does not name a type
char.h:1639: error: 'LPREGEN' has not been declared
char.h:1642: error: 'PIXEL_POSITION' does not name a type
char.h:1644: error: 'LPREGEN' does not name a type
char.h:1652: error: 'DWORD' has not been declared
char.h:1653: error: 'DWORD' has not been declared
char.h:1663: error: 'DWORD' has not been declared
char.h:1664: error: 'DWORD' does not name a type
char.h:1665: error: 'LPCHARACTER' does not name a type
char.h:1667: error: 'LPITEM' has not been declared
char.h:1669: error: 'LPITEM' does not name a type
char.h:1671: error: 'DWORD' has not been declared
char.h:1672: error: 'DWORD' does not name a type
char.h:1677: error: 'DWORD' has not been declared
char.h:1680: error: 'DWORD' does not name a type
char.h:1681: error: 'DWORD' does not name a type
char.h:1682: error: 'LPITEM' does not name a type
char.h:1688: error: 'DWORD' has not been declared
char.h:1692: error: 'DWORD' has not been declared
char.h:1695: error: 'DWORD' does not name a type
char.h:1699: error: 'LPCHARACTER' does not name a type
char.h:1700: error: 'LPCHARACTER' has not been declared
char.h:1701: error: 'DWORD' has not been declared
char.h:1708: error: 'LPCHARACTER' does not name a type
char.h:1720: error: 'LPEVENT' does not name a type
char.h:1721: error: 'LPEVENT' does not name a type
char.h:1722: error: 'LPEVENT' does not name a type
char.h:1723: error: 'LPEVENT' does not name a type
char.h:1724: error: 'LPEVENT' does not name a type
char.h:1725: error: 'LPEVENT' does not name a type
char.h:1726: error: 'LPEVENT' does not name a type
char.h:1727: error: 'LPEVENT' does not name a type
char.h:1728: error: 'LPEVENT' does not name a type
char.h:1729: error: 'LPEVENT' does not name a type
char.h:1734: error: 'LPEVENT' does not name a type
char.h:1736: error: 'LPEVENT' does not name a type
char.h:1737: error: 'LPEVENT' does not name a type
char.h:1738: error: 'LPEVENT' does not name a type
char.h:1739: error: 'LPEVENT' does not name a type
char.h:1748: error: 'LPEVENT' was not declared in this scope
char.h:1748: error: template argument 2 is invalid
char.h:1748: error: template argument 4 is invalid
char.h:1755: error: 'BYTE' has not been declared
char.h:1761: error: 'DWORD' does not name a type
char.h:1777: error: 'LPITEM' has not been declared
char.h:1785: error: 'DWORD' has not been declared
char.h:1789: error: 'LPCHARACTER' has not been declared
char.h:1789: error: 'BYTE' has not been declared
char.h:1848: error: 'BOOL' does not name a type
char.h:1871: error: 'DWORD' does not name a type
char.h:1872: error: 'DWORD' does not name a type
char.h:1875: error: 'DWORD' does not name a type
char.h:1878: error: 'DWORD' does not name a type
char.h:1879: error: 'DWORD' does not name a type
char.h:1882: error: 'LPITEM' has not been declared
char.h:1885: error: ISO C++ forbids declaration of 'LPITEM' with no type
char.h:1885: error: expected ';' before '*' token
char.h:1886: error: expected `;' before 'bool'
char.h:1887: error: 'LPCHARACTER' has not been declared
char.h:1916: error: 'DWORD' does not name a type
char.h:1917: error: 'DWORD' does not name a type
char.h:1940: error: 'DWORD' was not declared in this scope
char.h:1940: error: template argument 1 is invalid
char.h:1940: error: template argument 2 is invalid
char.h:1940: error: template argument 3 is invalid
char.h:1944: error: 'DWORD' has not been declared
char.h:1947: error: 'DWORD' does not name a type
char.h:1950: error: 'DWORD' does not name a type
char.h:1958: error: 'DWORD' does not name a type
char.h:1967: error: 'LPEVENT' does not name a type
char.h:1976: error: 'LPITEM' has not been declared
char.h:1977: error: 'LPITEM' has not been declared
char.h:1980: error: 'BYTE' has not been declared
char.h:1980: error: 'BYTE' has not been declared
char.h:1980: error: 'BYTE' has not been declared
char.h:1983: error: 'BYTE' was not declared in this scope
char.h:1983: error: template argument 1 is invalid
char.h:1983: error: template argument 3 is invalid
char.h:1983: error: template argument 4 is invalid
char.h:2040: error: 'LPENTITY' has not been declared
char.h:2042: error: 'LPENTITY' does not name a type
char.h: In member function 'bool CHARACTER::IsPC() const':
char.h:629: error: 'GetDesc' was not declared in this scope
char.h: In member function 'bool CHARACTER::IsNPC() const':
char.h:630: error: 'm_bCharType' was not declared in this scope
char.h: In member function 'bool CHARACTER::IsMonster() const':
char.h:631: error: 'm_bCharType' was not declared in this scope
char.h: In member function 'bool CHARACTER::IsStone() const':
char.h:632: error: 'm_bCharType' was not declared in this scope
char.h: In member function 'bool CHARACTER::IsDoor() const':
char.h:633: error: 'm_bCharType' was not declared in this scope
char.h: In member function 'bool CHARACTER::IsBuilding() const':
char.h:634: error: 'm_bCharType' was not declared in this scope
char.h: In member function 'bool CHARACTER::IsWarp() const':
char.h:635: error: 'm_bCharType' was not declared in this scope
char.h: In member function 'bool CHARACTER::IsGoto() const':
char.h:636: error: 'm_bCharType' was not declared in this scope
char.h: In member function 'void CHARACTER::SetLastShoutPulse(int)':
char.h:640: error: 'struct CHARACTER_POINT_INSTANT' has no member named 'dwLastShoutPulse'
char.h: In member function 'void CHARACTER::SetExp(int)':
char.h:649: error: 'struct CHARACTER_POINT' has no member named 'exp'
char.h: In member function 'bool CHARACTER::IsBlockMode(int) const':
char.h:763: error: 'const struct CHARACTER_POINT_INSTANT' has no member named 'bBlockMode'
char.h: In member function 'bool CHARACTER::IsPolymorphed() const':
char.h:765: error: 'm_dwPolymorphRace' was not declared in this scope
char.h: In member function 'void CHARACTER::SetPartyRequestEvent(int)':
char.h:974: error: 'm_pkPartyRequestEvent' was not declared in this scope
char.h: In member function 'void CHARACTER::SetShopOwner(int)':
char.h:1197: error: 'm_pkChrShopOwner' was not declared in this scope
char.h: In member function 'void CHARACTER::AddChainLightningExcept(int)':
char.h:1442: error: 'm_setExceptChainLighting' was not declared in this scope
char.h: In member function 'void CHARACTER::ResetChainLightningIndex()':
char.h:1443: error: 'm_setExceptChainLighting' was not declared in this scope
char.h: In member function 'void CHARACTER::ClearAffectedEunhyung()':
char.h:1454: error: 'm_dwAffectedEunhyungLevel' was not declared in this scope
char.h: In member function 'bool CHARACTER::GetAffectedEunhyung() const':
char.h:1455: error: 'm_dwAffectedEunhyungLevel' was not declared in this scope
char.h: In member function 'void CHARACTER::ResetChangeAttackPositionTime()':
char.h:1481: error: 'm_dwLastChangeAttackPositionTime' was not declared in this scope
char.h:1481: error: 'get_dword_time' was not declared in this scope
char.h: In member function 'void CHARACTER::SetChangeAttackPositionTime()':
char.h:1482: error: 'm_dwLastChangeAttackPositionTime' was not declared in this scope
char.h:1482: error: 'get_dword_time' was not declared in this scope
char.h: In member function 'void CHARACTER::SetImmuneFlag(int)':
char.h:1653: error: 'struct CHARACTER_POINT_INSTANT' has no member named 'dwImmuneFlag'
char.h: In member function 'void CHARACTER::SetQuestBy(int)':
char.h:1671: error: 'm_dwQuestByVnum' was not declared in this scope
char.h: In member function 'bool CHARACTER::IsWarping() const':
char.h:1741: error: 'm_pkWarpEvent' was not declared in this scope
char.h: In member function 'void CHARACTER::SetSafeboxLoadTime()':
char.h:1814: error: 'thecore_pulse' was not declared in this scope
char.h: In member function 'void CHARACTER::SetRefineTime()':
char.h:1824: error: 'thecore_pulse' was not declared in this scope
char.h: In member function 'void CHARACTER::SetUseSeedOrMoonBottleTime()':
char.h:1830: error: 'thecore_pulse' was not declared in this scope
char.h: In member function 'void CHARACTER::SetExchangeTime()':
char.h:1836: error: 'thecore_pulse' was not declared in this scope
char.h: In member function 'void CHARACTER::SetMyShopTime()':
char.h:1842: error: 'thecore_pulse' was not declared in this scope
char.h: In member function 'bool CHARACTER::IsCubeOpen() const':
char.h:1886: error: 'const struct CHARACTER_POINT_INSTANT' has no member named 'pCubeNpc'
char.h: In member function 'void CHARACTER::SetCubeNpc(int)':
char.h:1887: error: 'struct CHARACTER_POINT_INSTANT' has no member named 'pCubeNpc'
char.h: In constructor 'CHARACTER::AttackedLog::AttackedLog()':
char.h:1919: error: class 'CHARACTER::AttackedLog' does not have any field named 'dwPID'
char.h:1919: error: class 'CHARACTER::AttackedLog' does not have any field named 'dwAttackedTime'
char.h: At global scope:
char.h:2072: error: 'LPCHARACTER' was not declared in this scope
In file included from char_item.cpp:8:
char_manager.h:17: error: expected template-name before '<' token
char_manager.h:17: error: expected `{' before '<' token
char_manager.h:17: error: expected unqualified-id before '<' token
In file included from packet_info.h:4,
from input.h:4,
from desc.h:5,
from char_item.cpp:10:
packet.h:336: error: expected declaration before end of line
gmake: *** [.obj/char_item.o] Error 1
root@crack:/usr/src/M2-Wolf/Server/game/1 #
My makefile is:
PLATFORM = $(shell file /bin/ls | cut -d' ' -f3 | cut -d'-' -f1)
GCC_VERSION = $(shell $(CC) --version 2>&1 | grep "(GCC)" | cut -d' ' -f3 | cut -d'.' -f1)
BSD_VERSION = $(shell uname -v 2>&1 | cut -d' ' -f2 | cut -d'.' -f1)
SVN_VERSION = 90112
CC = g++
INCDIR =
LIBDIR =
BINDIR = ..
OBJDIR = .obj
$(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi)
# Standard Setting
LIBS = -pthread -lm -lmd
# Removed -fno-rtti
CFLAGS = -g -Wall -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -DNDEBUG -D__SVN_VERSION__="$(SVN_VERSION)"
ifeq ($(GCC_VERSION), 4)
CFLAGS += -mtune=i686 -fstack-protector-all
else
CFLAGS += -mcpu=i686
endif
# boost
INCDIR += -I../../../Extern/include/boost
# DevIL
INCDIR += -I../../libdevil
LIBDIR += -L../../libdevil
LIBS += -lIL -lpng -ltiff -lmng -llcms -ljpeg
# MySQL
ifeq ($(BSD_VERSION), 7)
INCDIR += -I../../libmysql/7.x-5.1.35
LIBDIR += -L../../libmysql/7.x-5.1.35
else
INCDIR += -I../../libmysql/5.x-5.1.35
LIBDIR += -L../../libmysql/5.x-5.1.35
endif
LIBS += -lmysqlclient -lz
# Miscellaneous external libraries
INCDIR += -I../../../Extern/include
LIBDIR += -L../../../Extern/lib
LIBS += -lcryptopp -lgtest
# HackShield
INCDIR += -I../../libhackshield/include
LIBDIR += -L../../libhackshield/lib
LIBS += -lanticpxsvr
# XTrap
INCDIR += -I../../libxtrap/include
# openssl
#INCDIR += -I/usr/include
LIBS += -lssl
# Project Library
INCDIR += -I../../liblua/include
INCDIR += -I/usr/local/include
INCDIR += -I../../libserverkey
LIBDIR += -L../../libthecore/lib -L../../libpoly -L../../libsql -L../../libgame/lib -L../../liblua/lib -L../../libserverkey
LIBDIR += -L/usr/local/lib
LIBS += -lthecore -lpoly -llua -llualib -lsql -lgame -lserverkey
USE_STACKTRACE = 0
ifeq ($(USE_STACKTRACE), 1)
LIBS += /usr/local/lib/libexecinfo.a
endif
TARGET = $(BINDIR)/game_r$(P4_VERSION)_$(PLATFORM)
CFILE = minilzo.c
CPPFILE = BattleArena.cpp FSM.cpp MarkConvert.cpp MarkImage.cpp MarkManager.cpp OXEvent.cpp TrafficProfiler.cpp ani.cpp
arena.cpp banword.cpp battle.cpp blend_item.cpp block_country.cpp buffer_manager.cpp building.cpp castle.cpp
char.cpp char_affect.cpp char_battle.cpp char_change_empire.cpp char_horse.cpp char_item.cpp char_manager.cpp
char_quickslot.cpp char_resist.cpp char_skill.cpp char_state.cpp PetSystem.cpp cmd.cpp cmd_emotion.cpp cmd_general.cpp
cmd_gm.cpp cmd_oxevent.cpp config.cpp constants.cpp crc32.cpp cube.cpp db.cpp desc.cpp
desc_client.cpp desc_manager.cpp desc_p2p.cpp dev_log.cpp dungeon.cpp empire_text_convert.cpp entity.cpp
entity_view.cpp event.cpp event_queue.cpp exchange.cpp file_loader.cpp fishing.cpp gm.cpp guild.cpp
guild_manager.cpp guild_war.cpp horse_rider.cpp horsename_manager.cpp input.cpp input_auth.cpp input_db.cpp
input_login.cpp input_main.cpp input_p2p.cpp input_teen.cpp input_udp.cpp ip_ban.cpp
item.cpp item_addon.cpp item_attribute.cpp item_manager.cpp item_manager_idrange.cpp locale.cpp
locale_service.cpp log.cpp login_data.cpp lzo_manager.cpp marriage.cpp matrix_card.cpp
messenger_manager.cpp mining.cpp mob_manager.cpp monarch.cpp motion.cpp over9refine.cpp p2p.cpp packet_info.cpp
party.cpp passpod.cpp pcbang.cpp polymorph.cpp priv_manager.cpp pvp.cpp
questevent.cpp questlua.cpp questlua_affect.cpp questlua_arena.cpp questlua_ba.cpp questlua_building.cpp
questlua_danceevent.cpp questlua_dungeon.cpp questlua_forked.cpp questlua_game.cpp questlua_global.cpp
questlua_guild.cpp questlua_horse.cpp questlua_pet.cpp questlua_item.cpp questlua_marriage.cpp questlua_mgmt.cpp
questlua_monarch.cpp questlua_npc.cpp questlua_oxevent.cpp questlua_party.cpp questlua_pc.cpp
questlua_quest.cpp questlua_target.cpp questmanager.cpp questnpc.cpp questpc.cpp
refine.cpp regen.cpp safebox.cpp sectree.cpp sectree_manager.cpp sequence.cpp shop.cpp
skill.cpp start_position.cpp target.cpp text_file_loader.cpp trigger.cpp utils.cpp vector.cpp war_map.cpp
wedding.cpp xmas_event.cpp version.cpp panama.cpp threeway_war.cpp map_location.cpp auth_brazil.cpp
BlueDragon.cpp BlueDragon_Binder.cpp DragonLair.cpp questlua_dragonlair.cpp
HackShield.cpp HackShield_Impl.cpp char_hackshield.cpp skill_power.cpp affect.cpp
SpeedServer.cpp questlua_speedserver.cpp XTrapManager.cpp
auction_manager.cpp FileMonitor_FreeBSD.cpp ClientPackageCryptInfo.cpp cipher.cpp
buff_on_attributes.cpp dragon_soul_table.cpp DragonSoul.cpp
group_text_parse_tree.cpp char_dragonsoul.cpp questlua_dragonsoul.cpp
shop_manager.cpp shopEx.cpp item_manager_read_tables.cpp shutdown_manager.cpp
COBJS = $(CFILE:%.c=$(OBJDIR)/%.o)
CPPOBJS = $(CPPFILE:%.cpp=$(OBJDIR)/%.o)
MAINOBJ = $(OBJDIR)/main.o
MAINCPP = main.cpp
TESTOBJ = $(OBJDIR)/test.o
TESTCPP = test.cpp
TEST_TARGET = $(BINDIR)/test
default: $(TARGET) $(TEST_TARGET)
$(OBJDIR)/minilzo.o: minilzo.c
@$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@
@echo compile $<
$(OBJDIR)/version.o: version.cpp
@$(CC) $(CFLAGS) -D__P4_VERSION__="$(SVN_VERSION)" -c $< -o $@
@echo compile $<
$(OBJDIR)/%.o: %.cpp
@echo compile $<
@$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@
limit_time:
@echo update limit time
@python update_limit_time.py
$(TARGET): $(CPPOBJS) $(COBJS) $(MAINOBJ)
@echo linking $(TARGET)....
@$(CC) $(CFLAGS) $(LIBDIR) $(COBJS) $(CPPOBJS) $(MAINOBJ) $(LIBS) -o $(TARGET)
$(TEST_TARGET): $(TESTCPP) $(CPPOBJS) $(COBJS) $(TESTOBJ)
@echo linking $(TEST_TARGET)
@$(CC) $(CFLAGS) $(LIBDIR) $(COBJS) $(CPPOBJS) $(TESTOBJ) $(LIBS) -o ../test
clean:
@rm -f $(COBJS) $(CPPOBJS)
@rm -f $(BINDIR)/game_r* $(BINDIR)/conv
tag:
ctags *.cpp *.h *.c
dep:
makedepend -f Depend $(INCDIR) -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p$(OBJDIR)/ $(CPPFILE) $(CFILE) $(MAINCPP) $(TESTCPP) 2> /dev/null > Depend
sinclude Depend