SVN Builds
#9
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:
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() );
        }
    }
Reply
Thanks given by:


Messages In This Thread



Users browsing this thread: 2 Guest(s)