1d access to a 2d type array

BlitzMax Forums/BlitzMax Programming/1d access to a 2d type array

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

ok, I've chosen wisely: TBank, and 2 arrays which contain bank offsets. One array is a 1d array, the other is 2d. Both contain the same numbers, but I can thus choose my preferred access method. Storing those offsets in those arrays saves quite a few multipliers for each pixel..

Still I wonder whether I'm just making too crappy stuff here or whether BMax seriously lacks some functionality here ... aaaaaaaanyway ...