OK i compiled it with vs .net 2003, It works fine untill after it does the 3d sound, then it goes reall slow, loads the object then moves it about. (waiting for it.) ok after about 2 min it crashed with one of thos nice access violation, at where >> is.
void testEngine::testWeapon()
{
gameModel testModel2("chaingun\chaingun.3DS",1,"chaingun\GUN.jpg");
weapon testWeapon("Test Weapon", 100,1,1.0,testModel2);
dbPrint("Test Weapon Created");
dbPrint(testWeapon.name);
>> dbPrint((char*)testWeapon.damage);
dbPrint((char*)testWeapon.maxAmmo);
testPause();
}
and this was compiled in debug mode.
[EDIT]
ok i got it not chrash with that access error, i don't see why it doesn't work the other way, semas it should, i am just learning c++ so i may be wrong. anyways if you change
dbPrint((char*)testWeapon.damage);
dbPrint((char*)testWeapon.maxAmmo);
To
dbPrint(dbStr( testWeapon.damage ));
dbPrint(dbStr( testWeapon.maxAmmo ));
besides the amount of memory it use's ( 60mb of ram ) it seams to run fine.