Skip to content

dmm-tools v0.1.1

Compare
Choose a tag to compare
@SpaceManiac SpaceManiac released this 27 May 02:13
· 1614 commits to master since this release
cli-v0.1.1

Additions

  • When a .dme file is not specified, an attempt is made to autodetect one.
  • The __FILE__ and __LINE__ macros are now expanded.
  • #if and #elif directives are now actually evaluated.
  • The defined() form is now recognized in preprocessor conditionals.
  • The parent_type var is now handled properly.
  • The ^ and ** operators are now evaluated in constants.
  • Built-in vars for /image are now recognized.
  • Buggy uses of macros in embedded expressions are now linted against.

Tweaks

  • The lodepng library is now used to read .dmi files 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-1 are no longer misinterpreted.
  • The default values of layer for each atom type are now recognized.
  • Invalid values for layer no longer crash.
  • Indented #include directives no longer indent the first line of the file they include.
  • Chaining multiple #else or #elif in a row no longer activates more than one.