Commit graph

121 commits

Author SHA1 Message Date
Tad Hardesty
17b29e9bd6 Fix gravity generator expansion 2019-11-16 19:38:18 -08:00
Tad Hardesty
4d5973d6fb Fix transit tube overlay rendering 2019-11-16 19:27:03 -08:00
Tad Hardesty
8fc31897d2 Fix APC terminal layering 2019-11-16 18:34:23 -08:00
Tad Hardesty
0003604d1c Shift Atom -> Sprite conversion earlier in the process 2019-11-16 17:49:47 -08:00
Tad Hardesty
7f8673b467 Avoid heap-allocation in gravity generator expansion 2019-11-16 16:27:15 -08:00
Tad Hardesty
ad5f1b6de2 Take immutable Atom in RenderPass::overlays 2019-11-16 16:04:02 -08:00
Tad Hardesty
457dbbabd9 Port some functionality to adjust_sprite 2019-11-16 15:59:33 -08:00
Tad Hardesty
a521fbac39 Export IconCache at the root of dmm_tools 2019-11-16 15:59:15 -08:00
Tad Hardesty
14cf5efc71 Add GetVar impls for Type and TypeRef 2019-11-16 14:39:08 -08:00
Tad Hardesty
f3e943e917 Add a Sprite-based render pass hook for fancy layers 2019-11-16 14:30:37 -08:00
Tad Hardesty
6f79a55b27 Split fancy_layer_of into two functions 2019-11-16 14:13:03 -08:00
Tad Hardesty
b7598f73ff Rearrange minimap functions 2019-11-16 13:18:44 -08:00
Tad Hardesty
aa06fc7d00 Use Sprite constructor for minimap generation 2019-11-16 13:00:48 -08:00
Tad Hardesty
d83a157d4e Split some RenderPop calculations into a Sprite type 2019-11-16 12:45:04 -08:00
Tad Hardesty
081ec18173 Handle named colors 2019-11-16 10:25:14 -08:00
Tad Hardesty
4f90287f14 Make Constant: Eq + Hash again 2019-11-14 22:52:42 -08:00
Tad Hardesty
8172d78535 Remove unused dmm_tools::utils 2019-11-11 19:53:24 -08:00
Tad Hardesty
424731084e Update dependency versions 2019-11-06 18:48:34 -08:00
Tad Hardesty
3bc83b11d1 Attempt UTF-8 decoding before falling back to Latin-1 2019-11-02 13:11:27 -07:00
Tad Hardesty
2644479a93 Fix deprecation warnings in Rust 1.37 2019-08-17 12:54:07 -07:00
Tad Hardesty
f9f830ea92 Update dependency versions
Updates git2, rand, jsonrpc-core, lsp-types, pulldown-cmark.
2019-07-02 00:26:02 -07:00
Tad Hardesty
ec8533ce6f Drop noisy_float dependency
Turns out BYOND actually does have NaN.
2019-06-26 22:48:18 -07:00
Tad Hardesty
290cd2e162 Fix being unable to parse maps split into two columns per block 2019-04-14 18:06:00 -07:00
Tad Hardesty
e97fedc37c Update map renderer, editor for Pop change 2019-02-19 23:24:40 -08:00
Tad Hardesty
b00862c08c Move string-to-Constant helper to dm::constants module 2019-02-07 19:47:54 -08:00
Tad Hardesty
2e54c41a8b Move constants::simple_evaluate onto Expression 2019-02-05 19:16:01 -08:00
Tad Hardesty
c749de484e Update various dependencies
Skips most of the editor and langserver for now.
2019-02-01 20:27:34 -08:00
Tad Hardesty
9d7ba0735d Fix minimap rendering of single-image icons 2019-01-29 20:25:14 -08:00
Tad Hardesty
104501a7ae Show missing icon warnings, but only once 2019-01-29 19:36:00 -08:00
Tad Hardesty
b94cd6e41c Add example for detecting duplicate icon states 2019-01-20 00:24:59 -08:00
Tad Hardesty
e895de76b8 Match DM by using the first duplicate icon_state instead of last 2019-01-19 23:30:46 -08:00
Tad Hardesty
c3afd8e064 Update fancy rendering of fire alarms 2019-01-19 23:08:43 -08:00
Tad Hardesty
090feab622 Use helpers when looking up icon values in minimapping 2019-01-19 22:22:36 -08:00
Tad Hardesty
4613ff8721 Allow comparing Constant with &str directly 2019-01-19 18:46:38 -08:00
Pieter-Jan Briers
e217aee3ce Make icon loading working-dir independent (#49)
The CLI minimap renderer now loads icons relative to the directory of the .dme
file, so icon loading works if the dme isn't in the current working directory.
2018-10-21 14:21:54 -07:00
Tad Hardesty
63fa595bfc Apply a variety of rustfmt suggestions 2018-10-21 14:15:09 -07:00
Tad Hardesty
94c49f5d84 Add Prefab::from_path helper method 2018-10-05 18:18:25 -07:00
Tad Hardesty
8b27feb9f7 Use a simple diff reduction when saving maps 2018-10-05 14:14:53 -07:00
Tad Hardesty
6877bf3298 Add map saving back to the editor 2018-10-05 13:13:34 -07:00
Tad Hardesty
e1745dd945 Pretty-print palette tooltips 2018-10-04 16:48:09 -07:00
Tad Hardesty
8e76d85bf2 Horizontally wrap place tool prefabs, like tools themselves 2018-10-03 20:58:31 -07:00
Tad Hardesty
2291882ffa Make Prefab and RenderPop Hash, add sort_key 2018-09-16 18:16:22 -07:00
Tad Hardesty
7b16fa88a2 Update minimap renderer for Constant::Float change 2018-09-16 18:07:07 -07:00
Tad Hardesty
7c0e9715b5 Genericize layer_of, color_of, &c. over GetVar 2018-09-14 22:55:30 -07:00
Tad Hardesty
6d568ad0f5 Add GetVar trait for sharing between Atom and Prefab 2018-09-14 22:51:51 -07:00
Tad Hardesty
43ec3f409c Add get_var methods to Prefab as well 2018-09-14 22:24:49 -07:00
Damian
9f9aeb6d89 We don't care about floats 2018-09-14 10:08:08 +02:00
Damian
94c8000117 ignore float plane, unshitcodify sorting 2018-09-11 04:18:36 +02:00
Damian
4f9bab6a43 Sort atoms by plane, then layer 2018-09-10 20:14:10 +02:00
Tad Hardesty
3692a52fc0 Show variables from parent types in atom window 2018-09-05 21:09:22 -07:00