Hey guys,

So what I am trying to do is essentially redefine a BMAP* object. Example;

Code:
BMAP* picture;

function changePicture()
{
var change = 0;
while(1)
 {
  if(picture==NULL)
  {
    wait(1)
  }
  if(change == 1)
  {
    picture = "image_a.bmp";
  }
  else
  {
  picture = "image_b.bmp"
  }
    wait(1)
  }
}


Essentially I need to change the contents of the BMAP pointer without changing the pointer itself since the function I am using this in conjunction with is pan_setbutton. Anyone know of a good/clever way of doing this

Last edited by rayp; 01/17/14 21:21. Reason: corrected code tags