Thanks thanks thanks thanks xD
Hey look, another thing
How can i re-position my maps so my player doesnt start under them?
@EDIT
I builded and now i got errors...
void loadMap()
{
// CSM Import
// Load the map...
CSMFile Map1;
Map1.Load( "map//map.csm" );
// ...and make an object of it. That's all!
Map1.Build(map);
// END ===================================
//dbLoadObject("map//Bedroom.X", map);
//dbLoadObject("map//map2.X", 18);
//dbLoadImage("map//AlgaeBricks.bmp", 19);
//dbTextureObject(18, 19);
//SC_SetupComplexObject(map, 1, 2);
SC_SetupComplexObject(18, 1, 2);
SC_AllowObjectScaling(18);
//dbScaleObject(18, 100, 100, 100);
SC_UpdateObject(18);
}
ERRORS:
Quote: "Compiling...
Main.cpp
Linking...
libcpmtd.lib(xdebug.obj) : warning LNK4098: defaultlib 'libcmt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
Main.obj : error LNK2019: unresolved external symbol "public: __thiscall CSMFile::~CSMFile(void)" (??1CSMFile@@QAE@XZ) referenced in function "void __cdecl loadMap(void)" (?loadMap@@YAXXZ)
Main.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CSMFile::Build(int)" (?Build@CSMFile@@QAE_NH@Z) referenced in function "void __cdecl loadMap(void)" (?loadMap@@YAXXZ)
Main.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CSMFile::Load(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >
" (?Load@CSMFile@@QAE_NV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "void __cdecl loadMap(void)" (?loadMap@@YAXXZ)
Main.obj : error LNK2019: unresolved external symbol "public: __thiscall CSMFile::CSMFile(void)" (??0CSMFile@@QAE@XZ) referenced in function "void __cdecl loadMap(void)" (?loadMap@@YAXXZ)
libcpmtd.lib(xdebug.obj) : error LNK2019: unresolved external symbol __malloc_dbg referenced in function "void * __cdecl operator new(unsigned int,struct std::_DebugHeapTag_t const &,char *,int)" (??2@YAPAXIABU_DebugHeapTag_t@std@@PADH@Z)
libcpmtd.lib(xdebug.obj) : error LNK2019: unresolved external symbol __free_dbg referenced in function "void __cdecl operator delete(void *,struct std::_DebugHeapTag_t const &,char *,int)" (??3@YAXPAXABU_DebugHeapTag_t@std@@PADH@Z)
libcpmtd.lib(stdthrow.obj) : error LNK2019: unresolved external symbol __CrtDbgReportW referenced in function "void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" (?_Debug_message@std@@YAXPB_W0I@Z)
Debug\FPS Tut 3.exe : fatal error LNK1120: 7 unresolved externals
Build log was saved at "file://c:\Documents and Settings\Vitor\Os meus documentos\Visual Studio 2008\Projects\FPS Tut 3\FPS Tut 3\Debug\BuildLog.htm"
FPS Tut 3 - 8 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
"
Learning C++
VB6 Advanced: 4/5
VB.NET Advanced: 4/5