Commit graph

11 commits

Author SHA1 Message Date
Gered de3232a474 fix map editor not showing indicator for secret doors 2019-11-06 19:12:15 -05:00
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 4321b7751d minor makefile updates 2019-11-03 13:52:59 -05:00
Gered 5a92ca7021 update map_edit makefile with paths for map testing
this is not intended to be normally run via this makefile, but maybe
useful to have these predefined for future-development purposes
2019-11-03 11:42:05 -05:00
Gered 1f1185b67f some minor cleanups 2019-11-03 11:06:19 -05:00
Gered 800298c59f fix ushort/uint confusion. return success/fail from main()
the map_edit source on the book's cd included a prebuilt version of
the old watcom version of ack3d (with headers) which defined UINT to be
'unsigned short' while our version of ack3d defines UINT to be
'unsigned int'
2019-11-03 10:51:11 -05:00
Gered be71fad292 get rid of extra / old data files and other assets 2019-11-03 10:48:44 -05:00
Gered 40bab9e61b add makefile for building map_edit, get rid of unneeded sources
the map_edit sources from the cd seemed to include two different
versions of a map editor. the sources i've left here seem to most
closely match the version of mapedit.exe included on the book's cd
2019-11-02 19:01:21 -04: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