My write function will not need to split by words, it will just split along the area of the window even if it has to split words in half. I can take care of the splitting with already preset functions in my API. I can also take care of scrolling with ScrollX, ScrollY or ScrollPos(x, y). I just need sort of logical help for how I could make this work.
Also I use a two-dimensional pixel table for storing each character and colour data of my window. For example if the window is 10 width and 6 height and at the 10, 6 there is a letter C written. win.charsData[6][10] (reversed, it's easier for X handling) will equal to "C".
Can someone provide help here on how I could make such a function that would write as described? I don't want to write over the borders of the window either, I can't think of a way.
Regards
Augustas
Edited by augustas656, 12 June 2014 - 07:34 PM.











