I had two arrays formatted as shown above, I now reformatted those as multidimensional arrays to conserve memory usage.
//dbBuildTerrain ( terrain_block_reference[1][3] );
//dbBuildTerrain ( terrain_block_reference[2][3] );
//dbBuildTerrain ( terrain_block_reference[3][3] );
dbPositionObject (terrain_block_reference[1][1], 0, -200.0f, 0);
dbPositionObject (terrain_block_reference[2][1], 510.0f, -200.0f, 0);
dbPositionObject (terrain_block_reference[3][1], 1020.0f, -200.0f, 0);
dbPositionObject (terrain_block_reference[1][2], 0, -200.0f, 510.0f);
dbPositionObject (terrain_block_reference[2][2], 510.0f, -200.0f, 510.0f);
dbPositionObject (terrain_block_reference[3][2], 1020.0f,-200.0f, 510.0f);
//dbPositionObject (terrain_block_reference[1][3], 0, -200.0f, 1020.0f);
//dbPositionObject (terrain_block_reference[2][3], 510.0f, -200.0f, 1020.0f);
//dbPositionObject (terrain_block_reference[3][3], 1020.0f, -200.0f, 1020.0f);
SC_SetupComplexObject(terrain_block_reference[1][1],1,2);
SC_SetupComplexObject(terrain_block_reference[2][1],1,2);
SC_SetupComplexObject(terrain_block_reference[3][1],1,2);
SC_SetupComplexObject(terrain_block_reference[1][2],1,2);
SC_SetupComplexObject(terrain_block_reference[2][2],1,2);
SC_SetupComplexObject(terrain_block_reference[3][2],1,2);
//SC_SetupComplexObject(terrain_block_reference[1][3],1,2);
//SC_SetupComplexObject(terrain_block_reference[2][3],1,2);
//SC_SetupComplexObject(terrain_block_reference[3][3],1,2);
This did not help the problem at all. I am still stuck at using 6 terrains only.
There must be some sort of conflict somehwere between the terrain stuff and char usage..
Below is the output from the compiler, is this what you were referring to when you said "command line"?
------ Rebuild All started: Project: RakNet_DarkGDK_Combined, Configuration: Debug Win32 ------
Deleting intermediate and output files for project 'RakNet_DarkGDK_Combined', configuration 'Debug|Win32'
Compiling...
Sounds.cpp
Main.cpp
Generating Code...
Compiling manifest to resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation. All rights reserved.
Linking...
Creating library Debug\RakNet_DarkGDK_Combined.lib and object Debug\RakNet_DarkGDK_Combined.exp
SC_Collision.lib(Box.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'D:\Program Files\The Game Creators\Dark GDK\Sparkys collision detection\lib\VS8\SC_Collision.lib' or at 'd:\Documents and Settings\Mike.MIKES\My Documents\Visual Studio 2008\Projects\Raknet_DarkGDK_Combine_Client\Dark GDK - 3D Game1\Debug\vc80.pdb'; linking object as if no debug info
SC_Collision.lib(CollisionBox.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'D:\Program Files\The Game Creators\Dark GDK\Sparkys collision detection\lib\VS8\SC_Collision.lib' or at 'd:\Documents and Settings\Mike.MIKES\My Documents\Visual Studio 2008\Projects\Raknet_DarkGDK_Combine_Client\Dark GDK - 3D Game1\Debug\vc80.pdb'; linking object as if no debug info
SC_Collision.lib(CollisionPolygon.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'D:\Program Files\The Game Creators\Dark GDK\Sparkys collision detection\lib\VS8\SC_Collision.lib' or at 'd:\Documents and Settings\Mike.MIKES\My Documents\Visual Studio 2008\Projects\Raknet_DarkGDK_Combine_Client\Dark GDK - 3D Game1\Debug\vc80.pdb'; linking object as if no debug info
SC_Collision.lib(CollisionResults.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'D:\Program Files\The Game Creators\Dark GDK\Sparkys collision detection\lib\VS8\SC_Collision.lib' or at 'd:\Documents and Settings\Mike.MIKES\My Documents\Visual Studio 2008\Projects\Raknet_DarkGDK_Combine_Client\Dark GDK - 3D Game1\Debug\vc80.pdb'; linking object as if no debug info
SC_Collision.lib(CollisionSphere.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'D:\Program Files\The Game Creators\Dark GDK\Sparkys collision detection\lib\VS8\SC_Collision.lib' or at 'd:\Documents and Settings\Mike.MIKES\My Documents\Visual Studio 2008\Projects\Raknet_DarkGDK_Combine_Client\Dark GDK - 3D Game1\Debug\vc80.pdb'; linking object as if no debug info
SC_Collision.lib(CollisionTree.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'D:\Program Files\The Game Creators\Dark GDK\Sparkys collision detection\lib\VS8\SC_Collision.lib' or at 'd:\Documents and Settings\Mike.MIKES\My Documents\Visual Studio 2008\Projects\Raknet_DarkGDK_Combine_Client\Dark GDK - 3D Game1\Debug\vc80.pdb'; linking object as if no debug info
SC_Collision.lib(dllmain.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'D:\Program Files\The Game Creators\Dark GDK\Sparkys collision detection\lib\VS8\SC_Collision.lib' or at 'd:\Documents and Settings\Mike.MIKES\My Documents\Visual Studio 2008\Projects\Raknet_DarkGDK_Combine_Client\Dark GDK - 3D Game1\Debug\vc80.pdb'; linking object as if no debug info
SC_Collision.lib(Face.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'D:\Program Files\The Game Creators\Dark GDK\Sparkys collision detection\lib\VS8\SC_Collision.lib' or at 'd:\Documents and Settings\Mike.MIKES\My Documents\Visual Studio 2008\Projects\Raknet_DarkGDK_Combine_Client\Dark GDK - 3D Game1\Debug\vc80.pdb'; linking object as if no debug info
SC_Collision.lib(hMatrix.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'D:\Program Files\The Game Creators\Dark GDK\Sparkys collision detection\lib\VS8\SC_Collision.lib' or at 'd:\Documents and Settings\Mike.MIKES\My Documents\Visual Studio 2008\Projects\Raknet_DarkGDK_Combine_Client\Dark GDK - 3D Game1\Debug\vc80.pdb'; linking object as if no debug info
SC_Collision.lib(Object.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'D:\Program Files\The Game Creators\Dark GDK\Sparkys collision detection\lib\VS8\SC_Collision.lib' or at 'd:\Documents and Settings\Mike.MIKES\My Documents\Visual Studio 2008\Projects\Raknet_DarkGDK_Combine_Client\Dark GDK - 3D Game1\Debug\vc80.pdb'; linking object as if no debug info
SC_Collision.lib(Point.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'D:\Program Files\The Game Creators\Dark GDK\Sparkys collision detection\lib\VS8\SC_Collision.lib' or at 'd:\Documents and Settings\Mike.MIKES\My Documents\Visual Studio 2008\Projects\Raknet_DarkGDK_Combine_Client\Dark GDK - 3D Game1\Debug\vc80.pdb'; linking object as if no debug info
SC_Collision.lib(TreeFace.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'D:\Program Files\The Game Creators\Dark GDK\Sparkys collision detection\lib\VS8\SC_Collision.lib' or at 'd:\Documents and Settings\Mike.MIKES\My Documents\Visual Studio 2008\Projects\Raknet_DarkGDK_Combine_Client\Dark GDK - 3D Game1\Debug\vc80.pdb'; linking object as if no debug info
SC_Collision.lib(Vector.obj) : warning LNK4099: PDB 'vc80.pdb' was not found with 'D:\Program Files\The Game Creators\Dark GDK\Sparkys collision detection\lib\VS8\SC_Collision.lib' or at 'd:\Documents and Settings\Mike.MIKES\My Documents\Visual Studio 2008\Projects\Raknet_DarkGDK_Combine_Client\Dark GDK - 3D Game1\Debug\vc80.pdb'; linking object as if no debug info
Embedding manifest...
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation. All rights reserved.
Build log was saved at "file://d:\Documents and Settings\Mike.MIKES\My Documents\Visual Studio 2008\Projects\Raknet_DarkGDK_Combine_Client\Dark GDK - 3D Game1\Debug\BuildLog.htm"
RakNet_DarkGDK_Combined - 0 error(s), 13 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========