11.07.2015 Views

Upgrade Guide - Prolifics

Upgrade Guide - Prolifics

Upgrade Guide - Prolifics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

}if (!new_luid){mb_free_sc_bufs(scroll->first_buff);scroll->first_buff = scroll->cur_buff = 0;return 0;}sc_buf = mb_getscbuf (scroll, (int)new_luid);if (!sc_buf)new_luid = mb_incluid(as_ptr, scroll, new_luid);else if (sc_buf->link){mb_free_sc_bufs(sc_buf->link);sc_buf->link = 0;scroll->cur_buff = sc_buf;}old_fuid = as_ptr->luid;as_ptr->luid = new_luid;while (++old_fuid item = old_fuid;mb_putitem (as_ptr);}return (int)new_luid;/*NAME: mb_rlsscrl - Free scroll buffersSYNOPSIS: mb_rlsscrlDESCRIPTION: Loops through field's scroll buffers, freeing them.Then frees altsc_id and sets it to 0.*/static int SMLOCALmb_rlsscrl (as_ptr)altsc_t *as_ptr;{sc_buf_t *sc_buf;scr_data_t *scroll;scroll = (scr_data_t *) as_ptr->scrolldata;sc_buf = scroll->first_buff;mb_free_sc_bufs(sc_buf);sm_ffree ((VOIDPTR) scroll);return 0;}/*A-16 JAM Documentation: Alternative Scrolling

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!