Repository navigation
dmm-tools v0.1.1
·
1848 commits
to master
since this release
Additions
- When a
.dmefile is not specified, an attempt is made to autodetect one. - The
__FILE__and__LINE__macros are now expanded. #ifand#elifdirectives are now actually evaluated.- The
defined()form is now recognized in preprocessor conditionals. - The
parent_typevar is now handled properly. - The
^and**operators are now evaluated in constants. - Built-in vars for
/imageare now recognized. - Buggy uses of macros in embedded expressions are now linted against.
Tweaks
- The lodepng library is now used to read
.dmifiles in one pass, improving speed. - Map read errors now include semi-accurate line numbers rather than no line numbers.
- If parsing aborts, only the first "undefined var" error is shown.
Fixes
- Atoms which have been pixel-shifted entirely offscreen no longer crash.
- Numbers of the from
2e6-1are no longer misinterpreted. - The default values of
layerfor each atom type are now recognized. - Invalid values for
layerno longer crash. - Indented
#includedirectives no longer indent the first line of the file they include. - Chaining multiple
#elseor#elifin a row no longer activates more than one.