Tree [r469] /
History



File Date Author Commit
BallGame 2011-09-23 zulis [r466]
Bin 2012-11-06 zulis [r469] Reacts to XBOX 360 controller DPad
ComponentFramework 2012-11-06 zulis [r469] Reacts to XBOX 360 controller DPad
Cubica 2012-11-06 zulis [r469] Reacts to XBOX 360 controller DPad
External 2011-05-10 zulis [r435]
FPS 2010-06-09 zulis [r218]
Framework 2011-04-01 zulis [r407]
Game 2010-06-08 zulis [r214]
MatEd 2011-04-01 zulis [r407]
Race 2010-07-06 zulis [r231]
SandBox 2011-09-28 zulis [r467]
Cubica.sln 2011-09-23 zulis [r466]
Sandbox.{sa}proj 2009-11-24 zulis [r172]
Solution2008.sln 2011-06-11 zulis [r451]
Solution2010.sln 2011-02-14 zulis [r343]
readme.txt 2010-08-24 zulis [r255]

Read Me

class base_object
{
// .. blah
};

class tree_object : public base_object
{
// .. blah
};

class mountain_goat_object : public base_object
{
// .. blah
};

typedef std::vector< base_object * > objects_vector_t;

int main( int argc, char ** argv )
{
    objects_vector_t v;
    v.push_back( new tree_object( ) );
    v.push_back( new mountain_goat_object( ) );

    return 0;
}

void split(string StringToSplit, string Separators)
{
    size_t EndPart1 = StringToSplit.find_first_of(Separators)
    string Part1 = StringToSplit.substr(0, EndPart1);
    string Part2 = StringToSplit.substr(EndPart1 + 1);
}

mesh.GenerateLightMap(64,64, 1.0f, true);

TVTextureFactory Texture = new TVTextureFactory();
Texture.LoadTexture("C:\\text.bmp", "land", 2048, 2048);
TVLandscape Land;
Land = Scene1.CreateLandscape("land");
Land.GenerateTerrain("C:\\height.bmp",CONST_TV_LANDSCAPE_PRECISION.TV_PRECISION_HIGH,8,8,0,0,0);
Land.SetCullMode(CONST_TV_CULLING.TV_BACK_CULL);
Land.ExpandTexture(Global1.GetTex("land"), 0, 0, 8, 8);
Scene1.SetCamera(0, 1000, 0, 1024, 0, 1024);