mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Document the deprecated rgbfix -O and string functions
This commit is contained in:
@@ -209,6 +209,31 @@ typed in column 1.
|
|||||||
Instead, use
|
Instead, use
|
||||||
.Ql \&;
|
.Ql \&;
|
||||||
comments.
|
comments.
|
||||||
|
.Ss STRIN, STRRIN, STRSUB, and CHARSUB
|
||||||
|
Deprecated in 1.0.0.
|
||||||
|
.Pp
|
||||||
|
These functions used 1-based indexing of string characters, which was inconsistent with the 0-based indexing used more often in programming.
|
||||||
|
.Pp
|
||||||
|
Instead of
|
||||||
|
.Ic STRIN ,
|
||||||
|
use
|
||||||
|
.Ic STRFIND ;
|
||||||
|
instead of
|
||||||
|
.Ic STRRIN ,
|
||||||
|
use
|
||||||
|
.Ic STRRFIND ;
|
||||||
|
instead of
|
||||||
|
.Ic STRSUB ,
|
||||||
|
use
|
||||||
|
.Ic STRSLICE ;
|
||||||
|
and instead of
|
||||||
|
.Ic CHARSUB ,
|
||||||
|
use
|
||||||
|
.Ic STRCHAR .
|
||||||
|
.Pp
|
||||||
|
Note that
|
||||||
|
.Ic STRSLICE
|
||||||
|
takes a start and end index instead of a start index and a length.
|
||||||
.Ss PRINTT, PRINTI, PRINTV, and PRINTF
|
.Ss PRINTT, PRINTI, PRINTV, and PRINTF
|
||||||
Deprecated in 0.5.0, removed in 0.6.0.
|
Deprecated in 0.5.0, removed in 0.6.0.
|
||||||
.Pp
|
.Pp
|
||||||
@@ -247,7 +272,7 @@ and
|
|||||||
.Ic DATA ,
|
.Ic DATA ,
|
||||||
use
|
use
|
||||||
.Ic ROMX ;
|
.Ic ROMX ;
|
||||||
instead of
|
and instead of
|
||||||
.Ic BSS ,
|
.Ic BSS ,
|
||||||
use
|
use
|
||||||
.Ic WRAM0 .
|
.Ic WRAM0 .
|
||||||
@@ -330,6 +355,11 @@ Instead, use
|
|||||||
.Fl I
|
.Fl I
|
||||||
or
|
or
|
||||||
.Fl \-include .
|
.Fl \-include .
|
||||||
|
.Ss rgbfix -O/--overwrite
|
||||||
|
Deprecated in 1.0.0.
|
||||||
|
.Pp
|
||||||
|
Instead, use
|
||||||
|
.Dl -Wno-overwrite .
|
||||||
.Ss rgbgfx -h
|
.Ss rgbgfx -h
|
||||||
Removed in 0.6.0.
|
Removed in 0.6.0.
|
||||||
.Pp
|
.Pp
|
||||||
|
|||||||
Reference in New Issue
Block a user