A83: centered string routine


[Prev][Next][Index][Thread]

A83: centered string routine




>That's not what it's for.  It's to calculate the virtual screen
>diminsions for a bounce word program so no matter how long the string is,
>it takes up the whole screen.  Besides, it's more memory efficient to
>calculate the centered text on your own, unless you had in mind a program
>that used the same code to display different strings or something


the reason i wrote that string centering routine is so all the names of
external levels for my game could be centered in a menu. that couldn't
be precalculated.


References: