LD2000 SDK question

Discussion in 'The Lounge' started by rlbond86, Apr 28, 2008.

  1. rlbond86

    rlbond86 New Member


    I'm trying to use the MovePointsActive function in c++, but the last argument is

    LPLONG SUPPLY_ActiveArray

    What am I supposed to use for this?

  2. Pangolin

    Pangolin Staff Member

    Try passing it a NULL. That means that you want to use all points. Otherwise you would pass it the address of an array of integers, whose value is either zero (meaning don't move the point) or non-zero.

    If you want to do this in real time, then DisplayPosition or DisplayTranslation would be a better choice. The Asteroids source (included as part of the SDK) gives an excellent example of how to do things in real time.