Tic-80: Special functions should have common formatting

Created on 10 Jan 2018  路  3Comments  路  Source: nesbox/TIC-80

TIC and OVR are 3 characters, all caps. scanline() should be SCN or something to match. Also, all tic80 special functions should match this format or be otherwise standardized.

enhancement

Most helpful comment

Have both, mark scanline deprecated. It would be good to have official looking functions that are consistent.

All 3 comments

they could be, but what about backward compatibility?
users created a lot of games with lowercase scanline()

Have both, mark scanline deprecated. It would be good to have official looking functions that are consistent.

ok, I added SCN callback and now all the callbacks have 3 chars names: TIC SCN OVR e0cc606

old scanline also works, but not highlighted in the Code Editor

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Terumoc picture Terumoc  路  6Comments

BuoYancYdabl picture BuoYancYdabl  路  5Comments

nesbox picture nesbox  路  5Comments

codeartisticninja picture codeartisticninja  路  4Comments

frsgrn picture frsgrn  路  5Comments