Commit graph

150 commits

Author SHA1 Message Date
Tad Hardesty
545b1fd16a Add Adjacency helper type 2019-11-17 16:05:44 -08:00
Tad Hardesty
155499f804 Use consistent flag naming in icon_smoothing module 2019-11-17 15:42:00 -08:00
Tad Hardesty
8411f42f09 Move i32 direction constants to icon_smoothing module 2019-11-17 15:37:28 -08:00
Tad Hardesty
e1a73ff3a9 Add more manipulation methods to Dir 2019-11-17 15:36:04 -08:00
Tad Hardesty
ecc08fd33d Use Dir in APC offset calculation 2019-11-17 15:22:22 -08:00
Tad Hardesty
dac9293ac0 Add Dir 8-way facing enum 2019-11-17 15:19:45 -08:00
Tad Hardesty
a8d002d6a6 Remove duplicate constants from dmm_tools::dmi 2019-11-17 14:50:31 -08:00
Tad Hardesty
ab7eb9dcad Remove Atom::loc field 2019-11-17 14:43:30 -08:00
Tad Hardesty
b2ff507b30 Return a ZLevel from Map::z_level 2019-11-17 14:07:14 -08:00
Tad Hardesty
1b2e74fb54 Add ZLevel helper type 2019-11-17 13:21:52 -08:00
Tad Hardesty
38e80c8488 Make Map::key_length private 2019-11-17 11:43:08 -08:00
Tad Hardesty
8fa504eceb Split dmm.rs into multiple files 2019-11-17 11:36:55 -08:00
Tad Hardesty
f22b0ae59d Add basic BYOND coordinate types 2019-11-17 11:14:31 -08:00
Tad Hardesty
3d673541d1 Remove 'use subpath as subtype' imports 2019-11-17 10:37:34 -08:00
Tad Hardesty
8533f478a4 Remove Atom::path() 2019-11-17 10:37:19 -08:00
Tad Hardesty
27323eddfa Move setting Atom::loc into get_atom_list 2019-11-17 10:35:26 -08:00
Tad Hardesty
4df38245e7 Avoid reads from atom.loc in minimap::generate 2019-11-17 10:27:25 -08:00
Tad Hardesty
e989fc21c5 Reduce loc-awareness of icon smoothing 2019-11-17 10:14:57 -08:00
Tad Hardesty
8b21e63030 Remove unnecessary special case for fancy tables 2019-11-17 09:46:51 -08:00
Tad Hardesty
bc903b95c6 Move chunk of hardcoded overlays to a render pass 2019-11-17 09:38:59 -08:00
Tad Hardesty
8ca0294940 Reverse polarity of RenderPass::expand 2019-11-16 22:23:24 -08:00
Tad Hardesty
900177e280 Remove RenderPass::adjust_vars 2019-11-16 22:18:53 -08:00
Tad Hardesty
c8950c0ebc Move icon smoothing system to its own file 2019-11-16 22:12:47 -08:00
Tad Hardesty
84859e0689 Add helper type for filter categories 2019-11-16 22:07:26 -08:00
Tad Hardesty
1d55bacd9b Add helper type for fixed-point layer sorts 2019-11-16 21:54:17 -08:00
Tad Hardesty
2710462812 Fix vent rendering 2019-11-16 21:00:36 -08:00
Tad Hardesty
10b2d3f99c Replace Box::leak with a bump allocator 2019-11-16 20:45:31 -08:00
Tad Hardesty
71e103b784 Remove some unnecessary Box::leaks 2019-11-16 20:25:52 -08:00
Tad Hardesty
5c2a1860d8 Banish Atom::set_var 2019-11-16 19:58:34 -08:00
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