am facut ce a spus, si uite ce imi apare cand compilez sursa
Cod: Selectaţi tot
char_affect.cpp:676: error: prototype for 'bool CHARACTER::RemoveAffect(CAffect*)' does not match any in class 'CHARACTER'
char.h:988: error: candidates are: bool CHARACTER::RemoveAffect(CAffect*, bool)
char.h:969: error: bool CHARACTER::RemoveAffect(DWORD)
char_affect.cpp: In member function 'bool CHARACTER::RemoveAffect(DWORD)':
char_affect.cpp:730: error: call of overloaded 'RemoveAffect(CAffect*&)' is ambiguous
char_affect.cpp:715: note: candidates are: bool CHARACTER::RemoveAffect(DWORD) <near match>
char.h:988: note: bool CHARACTER::RemoveAffect(CAffect*, bool)
char_affect.cpp:676: note: bool CHARACTER::RemoveAffect(CAffect*)
char_affect.cpp: In member function 'void CHARACTER::RemoveGoodAffect()':
char_affect.cpp:744: error: 'GoodAffects' was not declared in this scope
char_affect.cpp:744: error: invalid type in declaration before '=' token
char_affect.cpp:746: error: invalid type argument of 'unary *'
char_affect.cpp: In member function 'void CHARACTER::RemoveBadAffect()':
char_affect.cpp:788: error: 'BadAffects' was not declared in this scope
char_affect.cpp:788: error: invalid type in declaration before '=' token
char_affect.cpp:790: error: invalid type argument of 'unary *'
gmake: *** [.obj/char_affect.o] Error 1
gmake: *** Waiting for unfinished jobs....


