[Ohrrpgce] SVN: teeemcee/9677 Remove all redundant byval's from allmodex. Also always capitalise Frame

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Tue Nov 7 07:38:17 PST 2017


teeemcee
2017-11-07 07:38:16 -0800 (Tue, 07 Nov 2017)
739
Remove all redundant byval's from allmodex. Also always capitalise Frame and Palette16

Which of the following is more readable?
  DECLARE SUB drawmap OVERLOAD (tmap as TileMap, byval x as integer, byval y as integer, byval tilesetsprite as Frame ptr, byval p as integer, byval trans as bool = NO, byval overheadmode as integer = 0, byval pmapptr as TileMap ptr = NULL, byval ystart as integer = 0, byval yheight as integer = -1, byval largetileset as bool = NO)
or
  DECLARE SUB drawmap OVERLOAD (tmap as TileMap, x as integer, y as integer, tilesetsprite as Frame ptr, p as integer, trans as bool = NO, overheadmode as integer = 0, pmapptr as TileMap ptr = NULL, ystart as integer = 0, yheight as integer = -1, largetileset as bool = NO)
---
U   wip/allmodex.bas
U   wip/allmodex.bi


More information about the Ohrrpgce mailing list