Commit graph

5 commits

Author SHA1 Message Date
Gered 29efe17506 add palette loading when a "palfile:" directive is found in a desc file
otherwise it wasn't actually doing anything with it. palette loading
was done as part of bitmap loading only, but this allows a specific
palette to be set which may make it easier to notice bitmap palette
mismatches in some scenarios
2019-11-05 19:19:23 -05:00
Gered 2482fe7bbb use slightly more intuitive path handling for loading files
- medit.dtf is assumed to always be beside mapedit.exe
- assets listed in the desc file being loaded are all assumed to be
  beside that same desc file

paths for both the mapedit.exe and desc file are discovered
automatically from the command line arguments received.

this, in my opinion, represents the most intuitive/logical behaviour.
before this change, you would have needed to have copied mapedit.exe
and medit.dtf to the same directory as your map desc file and all the
assets being loaded. kind of icky in my opinion.
2019-11-05 18:53:47 -05:00
Gered f992d41e11 add ability for map editor to recognize and load pcx files 2019-11-04 20:27:26 -05:00
Gered 1f1185b67f some minor cleanups 2019-11-03 11:06:19 -05:00
Gered cf7cd898cd add dos map_edit sources
from the book cd under /ACK/DOS/MAP_EDIT/SOURCE
2019-11-02 18:16:05 -04:00