This post makes me think SqPlus is incompatible with Cygwin:
http://forum.squirrel-lang.org/default.a...sts&m=1937
If you want to commit the changes I can test the build on my linux install.
ThuGie:
Try something like this:
http://forum.squirrel-lang.org/default.a...sts&m=1937
If you want to commit the changes I can test the build on my linux install.
ThuGie:
Try something like this:
Code:
int rand_drop = (rand() % 3);
if ( (rand() % 1) == 0 )
{
if ( rand_drop == 0 )
{
}
else if ( rand_drop == 1 )
{
cPickup* Pickup = new cPickup( (int)(m_Pos->x*32), (int)(m_Pos->y*32), (int)(m_Pos->z*32), cItem( E_ITEM_STRING, 1 ) );
Pickup->Initialize( GetWorld() );
}
else
{
cPickup* Pickup = new cPickup( (int)(m_Pos->x*32), (int)(m_Pos->y*32), (int)(m_Pos->z*32), cItem( E_ITEM_STRING, 2 ) );
Pickup->Initialize( GetWorld() );
}
}