Posted By: exile
Redefine BMAP pointer - 01/17/14 16:43
Hey guys,
So what I am trying to do is essentially redefine a BMAP* object. Example;
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
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