So I have this project with bunch of headers included in core.h. main.cpp is included the core.h. Every header files included the core.h because the stdlib, directx headers and etc.
Now I created a core class in core.h that has an object inside and shows errors
error C2146: syntax error : missing ';' before identifier 'md2'
How can I fix this? I just want main.cpp to include one header file to use my engine.
//Bunch of headers with the MD2Model.h
Thank you very much