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
Pieter-Jan Briers
1a8fb8d59e
Fix editor window resizing on macOS ( #51 )
2018-10-21 14:17:20 -07:00
Pieter-Jan Briers
03d74383f2
Make z-level rendering also parallel ( #50 )
2018-10-21 14:17:09 -07:00
Tad Hardesty
63fa595bfc
Apply a variety of rustfmt suggestions
2018-10-21 14:15:09 -07:00
Tad Hardesty
e7ce6f6136
Fix erroring on colons in tree paths
2018-10-20 21:47:31 -07:00
Tad Hardesty
fb49fdda0a
Add detect_environment_default convenience function
2018-10-20 21:39:48 -07:00
Tad Hardesty
5100d9cfc7
Add a Preprocessor method for retrieving an old DefineMap
2018-10-19 18:56:26 -07:00
Tad Hardesty
6c1279c50c
Only autocomplete proc builtins when inside procs
2018-10-19 18:37:55 -07:00
Tad Hardesty
1ac32d964a
Autocomplete preprocessor macros
2018-10-19 18:36:09 -07:00
Tad Hardesty
0d2e3cc28d
Marginally simplify stacked rendering code
2018-10-12 21:01:11 -07:00
Tad Hardesty
c852b7bd13
Allow showing multiple z-levels onscreen at once
2018-10-12 20:54:03 -07:00
Tad Hardesty
7ebd47e856
Update imgui crate to 0.0.21
2018-10-12 20:24:31 -07:00
Tad Hardesty
ecd55b9885
Remove Term::ReturnValue in favor of "." ident
2018-10-10 18:46:12 -07:00
Tad Hardesty
e73abf0902
Update constants for Term::Null actually existing
2018-10-10 18:32:26 -07:00
PJB3005
5920b99b1e
Actually emit Term::Null and Term::ReturnValue.
...
They were emitted as Term::Ident("null") and Term::Ident(".")
2018-10-10 12:07:13 +02:00
Tad Hardesty
f7928d825c
Track clean/dirty state for maps
2018-10-08 17:09:00 -07:00
Tad Hardesty
27d5054760
Fix erroneous Prefab::from_path call
2018-10-06 16:33:56 -07:00
Tad Hardesty
94c49f5d84
Add Prefab::from_path helper method
2018-10-05 18:18:25 -07:00
Tad Hardesty
25a1e3c4b0
Overwrite existing turfs and areas when placing
2018-10-05 17:59:42 -07:00
Tad Hardesty
3781b429cb
Obey the color and alpha vars in palette display
2018-10-05 17:11:50 -07:00
Tad Hardesty
4f671ec207
Use atom icons in palette
2018-10-05 17:03:07 -07:00
Tad Hardesty
3fabf9716d
Bundle icon context and pass it to ToolBehavior::settings
2018-10-05 16:20:09 -07:00
Tad Hardesty
dc732d4d66
Keep a Factory in MapRenderer
2018-10-05 16:03:34 -07:00
Tad Hardesty
9480590ba9
Reorganize how tool icon preparation is called
2018-10-05 15:40:53 -07:00
Tad Hardesty
cf0a9bdab3
Show object tree menu when adding to the palette
2018-10-05 15:08:24 -07:00
Tad Hardesty
8b27feb9f7
Use a simple diff reduction when saving maps
2018-10-05 14:14:53 -07:00
Tad Hardesty
27065a8d98
Crash even slower on opening a bad map
2018-10-05 13:41:36 -07:00
Tad Hardesty
b8a677b8b6
Crash slightly slower on opening a bad map
2018-10-05 13:13:51 -07:00
Tad Hardesty
6877bf3298
Add map saving back to the editor
2018-10-05 13:13:34 -07:00
Tad Hardesty
aba941f77d
Add placeholder menu to the palette add button
2018-10-05 12:47:44 -07:00
Tad Hardesty
f09652f725
Move the add button to the end of the palette
2018-10-05 12:17:47 -07:00
Tad Hardesty
6db133213d
Switch to imgui upstream development branch
...
The texture support that was previously only available on the fork has
been merged upstream.
2018-10-05 12:10:23 -07:00
Tad Hardesty
e1745dd945
Pretty-print palette tooltips
2018-10-04 16:48:09 -07:00
Tad Hardesty
4eba81d644
Allow picking an atom to add it to the palette
2018-10-04 16:41:06 -07:00
Tad Hardesty
6f40704a4a
Add an Apply button to place tool editing
2018-10-04 16:23:51 -07:00
Tad Hardesty
9bbae6def5
Show atom variables in the placement tool
2018-10-04 16:19:38 -07:00
Tad Hardesty
d9726e75ef
Add undo_add/remove_instance helpers
2018-10-04 15:46:24 -07:00
Tad Hardesty
b0417cfe7e
Add detailed returns to add_ and remove_instance
2018-10-04 15:27:52 -07:00
Tad Hardesty
13562013d3
Add atom editing skeleton to Place tool
2018-10-04 15:11:29 -07:00
Tad Hardesty
0d1b6acf72
Disable file operations in menu when no file is open
2018-10-03 21:28:32 -07:00
Tad Hardesty
e01a9192dd
Show up to date map dimensions when available
2018-10-03 21:23:24 -07:00
Tad Hardesty
1b569dd076
Move filter input to a method as well
2018-10-03 20:58:49 -07:00
Tad Hardesty
eeefe2794a
Factor atom var display into a reusable method
2018-10-03 20:58:48 -07:00
Tad Hardesty
8e76d85bf2
Horizontally wrap place tool prefabs, like tools themselves
2018-10-03 20:58:31 -07:00
Tad Hardesty
6f95f29927
Prevent editing tool settings before the environment loads
2018-10-03 13:34:12 -07:00
Tad Hardesty
67b51b2a91
Keep a list of prefabs in the place tool
2018-10-03 13:30:30 -07:00
Tad Hardesty
a54a1d2258
Move the place tool to its own file
2018-10-03 12:49:20 -07:00
Tad Hardesty
d85d8344da
Reorganize editor main module
2018-10-03 12:37:03 -07:00
Tad Hardesty
6f61226389
Remove Qt editor code
2018-10-03 12:27:36 -07:00
Tad Hardesty
6fcd2501bb
Move dead code attribute to editor main
2018-10-03 12:24:18 -07:00