Commit graph

2056 commits

Author SHA1 Message Date
MaxED
2cff348dbb Fixed, Visual Mode: untextured middle parts of double-sided linedefs were selected when Shift-selecting a sidedef part with missing texture ("-"). 2015-01-07 21:20:55 +00:00
MaxED
297d7d281b Map Analysis mode: added "Browse Texture" fix to "Missing Texture" and "Unknown Texture" error results.
Map Analysis mode: added "Browse Flat" fix to "Missing Flat" and "Unknown Flat" error results.
Fixed several typos in ZDoom_misc.cfg.
2015-01-07 18:32:48 +00:00
MaxED
bb263448b0 Woops, forgot to commit the icon! 2015-01-06 12:46:48 +00:00
MaxED
86031291dc High-Dpi: fixed most of alignment errors. 2015-01-06 11:49:06 +00:00
MaxED
c788802c44 High-DPI: fixed alignment issues in Sector, Thing, Linedef and Vertex Edit Forms, also in Open Map Options and Map Options Forms.
Changed: Thing Browser Form is now resizeable.
Changed: made default Texture Browser Form size smalled, so it properly fits the screen when using low display resolution.
2015-01-05 14:56:44 +00:00
MaxED
a91227e962 Linedef Edit Form (Doom/Hexen map formats): fixed incorrect window size when using low display resolution (like 1024x768). 2015-01-05 10:30:32 +00:00
MaxED
9c11d7e682 DECORATE parser: added special handling for ZDoom's special sprite names (namely TNT1, "####" and "----").
Internal: changed the way apppath is acquired. It should no longer fail when launching the editor from a shared network folder.
Main Form: changed some labels of dynamic light and model rendering selectors to be less confusing.
Updated ZDoom_DECORATE.cfg.
2015-01-03 18:43:37 +00:00
MaxED
be14f852ec Internal: moved TNT1A0 ignoring logic to a more adequate place (why these "proper implementation" ideas always occur right AFTER I commit stuff?..) 2014-12-30 20:39:45 +00:00
MaxED
17564a96bc Fixed: patches named TNT1A0 should be skipped when creating a texture.
Updated ZDoom_DECORATE.cfg.
2014-12-30 20:14:53 +00:00
MaxED
704ec15ce6 Added more thorough map name validation logic to New/Open/Switch Map forms.
High-DPI: added app.manifest, which enables application DPI-awareness.
High-DPI: ExceptionDialog is now displayed properly.
2014-12-30 13:21:01 +00:00
MaxED
ec69eb5dfd Also, we should not switch to a map named "MAP"... 2014-12-29 21:44:25 +00:00
MaxED
de43f4f959 Apparently, we can no longer load a map named "MAP" after r2151. Let's warn a user about this unfortunate event. 2014-12-29 19:38:24 +00:00
MaxED
858bffd64a Added more checks and fixed incorrect flag assignment in UDMF -> Hexen action conversion from r2155. 2014-12-29 18:15:53 +00:00
MaxED
8491993bf4 Updated SharpCompress library from 0.8.1 to 0.10.3. This fixes inability to load certain PK7 files and grants a 2x performance boost when loading PK3 and PK7 files. 2014-12-29 12:28:40 +00:00
MaxED
4f7e2298f4 Added Hexen -> UDMF and UDMF -> Hexen action conversion as described in "Universal Doom Map Format ZDoom extensions" (udmf_zdoom.txt). It is used when changing map format form Hexen to UDMF and from UDMF to Hexen.
Game configurations, Line Identification action: added "Front side only" (128) flag to arg1.
Game configurations, Line Identification action: renamed arg1 flags to match corresponding UDMF flag names.
Updated udmf_zdoom.txt.
2014-12-29 09:19:20 +00:00
MaxED
246ff4ae3b Fixed: some controls had inconsistent auto-scaling mode.
Fixed: PairedFloatControl had incorrect initial link icon.
Internal, AngleControl: rewritten AngleChanged event so it behaves like the rest of custom events.
Updated GZDB icon.
2014-12-24 18:32:24 +00:00
MaxED
07d626bb77 Find and Replace mode: only used sidedef parts are now found when searching for missing texture ("-").
Find and Replace mode: only textures on used sidedef parts are now replaced when replacing missing texture ("-"),
2014-12-24 07:50:15 +00:00
MaxED
4a1f8319c9 Fit Textures action: texture repeats can now be negative.
Fixed, Fit Textures action: vertical texture offset of a middle part of double-sided linedef with "Lower unpegged" flag was calculated incorrectly.
Fixed, Fit Textures action: texture offsets were calculated incorrectly when using the action on several groups of connected walls at once with "Fit across connected surfaces" enabled.
Fixed, Visual mode: middle parts of double-sided linedefs were not rendered when ScaleY was negative.
Updated ZDoom_DECORATE.cfg.
2014-12-23 12:32:08 +00:00
MaxED
deb43343bb Visual mode: "Fit Textures" action can now fit textures across multiple selected surfaces. A number of times to repeat a texture can now be specified.
Visual mode: removed "Fit Texture's Width" and "Fit Texture's Height" actions.
Visual mode: "Auto-align texture offsets" actions were incorrectly aligning double-sided middle walls in some cases.
Visual mode: "Auto-align texture offsets" actions now align non-wrapped double-sided middle walls to vertical offset closest to their initial vertical offset.
Visual mode: middle parts of double-sided walls were ignored when Shift-selecting walls.
Nodebuilders/Game configurations: GL nodes definitions were missing from game configurations.
Nodebuilders/Game configurations: "~MAP" wildcard can now be a part of a lump name. 
Nodebuilders: GL nodes were not properly handled by the editor.
Main Window: the window is now moved into the view when stored position is ouside of screen bounds. 
Classic and Visual modes: changing thing pitch was ignored in some cases.
Visual mode: raising and lowering a thing with "+SPAWNCEILING" flag now works the same way as when raising/lowering a regular thing.
Visual mode: using "Raise/Lower Floor/Ceiling to adjacent sector" actions on a thing with "+SPAWNCEILING" flag now works the same way as when using them on a regular thing.  
Rendering: even more fixes to MODELDEF and UDMF properties-related model rendering logic.
Internal, ResourceListEditor: rewritten resource validation check in a more OOP-ish way.
Configurations: fixed an infinite loop crash when a file was trying to include() itself.
UDMF thing flags: added Skill 6-8 to the flags list (because there are thing filters for these).
ZDoom_ACS.cfg: added definitions for SetTeleFog and SwapTeleFog.
ZDoom_DECORATE.cfg: added definitions for A_SetTeleFog and A_SwapTeleFog.
Updated ZDoom ACC.
Updated documentation.
2014-12-22 21:36:49 +00:00
MaxED
59f8bea419 Image Selector Control: fixed a crash when clearing an image. 2014-12-19 09:24:22 +00:00
MaxED
a94829b78e Added "Use long texture names" check-box to Map Options and Open Map Options windows.
Resource List Editor: not existing resources are now shown using different color. 
Map Options, Open Map Options, Game Configurations windows: a warning is now shown when a map resource doesn't exist.
Some minor fixes to Resource List Editor's context menu.
Updated ZDoom_DECORATE.cfg.
2014-12-16 09:01:52 +00:00
MaxED
12830020f9 Resource List Editor: fixed potential crash on pasting/replacing resources when there are duplicate resources in the list.
Resource List Editor: duplicate resources are no longer added when adding resources using drag and drop.
2014-12-12 14:14:52 +00:00
MaxED
1648f1628b Several items can now be selected at once in Resource List Editor.
Resource List Editor now has a context menu.
Fixed misleading warning asking user to install DirectX when unable to detect SlimDX.
2014-12-12 13:21:52 +00:00
MaxED
716d9d26f4 Rendering: MODELDEF "offset" property is now supported.
Rendering: mode fixes to MODELDEF and UDMF properties-related model rendering logic.
2014-12-11 12:55:35 +00:00
MaxED
4d9c551790 Fixed, Rendering: MODELDEF RollOffset, AngleOffset, Scale and ZOffset properties were applied incorrectly.
Fixed, Rendering: VOXELDEF Scale property was applied incorrectly.
2014-12-10 22:50:16 +00:00
MaxED
33a35e2148 Import Wavefront .obj as Terrain mode now works in all map formats.
Import Wavefront .obj as Terrain mode: floor height of each created sector is now set to the average height of an .obj polygon it was created from.
Import Wavefront .obj as Terrain Settings window: added "Use slopes" checkbox. When enabled, the mode will create slopes using vertex height offsets (UDMF) or Floor Vertex Height things (1504).
Fixed, Visual Mode: things were rendered at wrong height after using "Lower/Raise Height" actions in sectors with sloped floor (or ceiling for ceiling-aligned things) 
Fixed: info panel was not updated after switching to another Edit Mode.
2014-12-10 21:11:56 +00:00
MaxED
979244a163 A couple of fixes to ScriptDocumentTab.FindPrevious() logic. 2014-12-10 14:22:54 +00:00
MaxED
2f981476e0 Script Editor: added Quick Search panel.
Find and Replace window: added "Find Previous" button.
2014-12-10 13:15:23 +00:00
MaxED
e6e74478db Script Editor: expanding snippet by pressing the Tab key now works only when the text cursor is at the end of a keyword.
Updated ZDoom ACC.
Updated ZDoom_things.cfg.
Updated documentation.
2014-12-10 08:21:15 +00:00
MaxED
f9b5399a39 Added AngleByteHandler (type 22).
Bit Flags form now changes width to show flags with long names without scrolling.
Bit Flags form: flag numbers are now shown as well as names.
Game configurations: updated Hexen and ZDoom linedef definitions. Now they (hopefully) fully match ZDoom ones. 
Action Selector Control: fixed a crash when trying to increase action above maximum value using mouse wheel.
Sector/Linedef/Thing tag lists are now handled by corresponding TypeHandlers (and not by dirty hacks as before).
Linedef info panel: line peggedness labels were obscured by effect label in Doom/Hexen map formats.
2014-12-08 21:06:08 +00:00
MaxED
868d1f50eb Woops... 2014-12-05 21:43:12 +00:00
MaxED
357f055478 Thing Edit Form: default action arguments were not applied.
Thing\Linedef Edit Form: added some tooltips.
Some cosmetic layout changes in LinedefEditForm.
2014-12-05 21:34:16 +00:00
MaxED
3f7392b5ef Game configurations: moved Zandronum linedef definitions to Zandronum_linedefs.cfg.
Game configurations: removed some irrelevant info.
2014-12-05 19:42:31 +00:00
MaxED
a0898c4e95 Thing/Linedef/Sector Edit forms: added help button to action special selector.
Cosmetic changes in Sector Info Panel and Thing Browser Control.
ArgumentInfo: fixed a crash when enum specified in a game configuration doesn't exist.
Updated Hexen and ZDoom linedef configs.
Updated ZDoom_DECORATE.cfg
2014-12-05 14:33:31 +00:00
MaxED
2667f9b5cb Thing, Sector, Linedef edit forms, UDMF: fixed more cases when missing game configuration blocks crashed the forms.
Thing and Sector edit forms, UDMF: fixed some minor layout issues.
2014-12-04 10:06:44 +00:00
MaxED
1e421bda7e Fixed, Texture Browser form: we should not save "Long texture names" value when Map.Config.UseLongTextureNames is disabled.
Fixed, Linedef Edit form (UDMF): fixed a crash on opening the form when "linedefrenderstyles" block was missing from game configuration.
2014-12-04 07:50:01 +00:00
MaxED
0ab9f07087 Some cosmetic changes in ThingInfoPanel. 2014-12-03 23:52:36 +00:00
MaxED
b129e9b111 Texture Browser Control: "Long texture names" and "Show image size" values are now stored in program configuration. 2014-12-03 23:30:58 +00:00
MaxED
15b2adfe30 Texture Browser Form: swapped foreground and background colors of texture size labels.
Fixed, Texture Browser Form: well, I broke "Tab" key functionality again (in previous commit)...
Maintenance: changed curly braces style to match DB2 one (hopefully not breaking anything in the process...).
Maintenance: changed private method names casing to match DB2 one.
2014-12-03 23:15:26 +00:00
MaxED
99f3ba2844 Changed long texture names handling. Texture names conversion is no longer required.
Texture browser form: added "Long texture names" check-box. It can be used to toggle between displaying long and short texture names.
Texture browser form: added "Show image size" check-box.
Texture browser form: image size is now shown differently.
Image Selector: added a button to toggle between long and short texture name.
Linedef info panel: long texture names are now displayed properly.
Sector info panel: long texture names are now displayed properly.
Fixed: "Save Screenshot" and "Save Edit Area Screenshot" actions were triggered multiple times when a child window was open.
Fixed: used textures should be always updated after using "Change map in current WAD" action.
Fixed, "Change map in current WAD": fixed a crash when trying to switch from a map with missing game configuration path.
Updated ZDoom_ACS.cfg.
2014-12-03 09:06:05 +00:00
MaxED
6b765f5a27 Added long texture names support (enabled when "longtexturenames" game configuration property is set to true and "Use long texture names" check box is checked in Map Options).
Open Map in Current WAD: resources are now reloaded when current and target map's resources don't match.
Added some boilerplate to UniversalParser and PK3FileImage.
Internal: ImageSelectorControl now has "UsePreviews" property.
Internal: added ConfigurablePictureBox.
Updated ZDoom_DECORATE.cfg.
2014-11-25 11:52:01 +00:00
MaxED
ecc4cd9281 Game configurations: fixed "Door Generic (202)" movement speed, type and delay, fixed "Door Close Wait Open (249)" movement speed and delay. 2014-11-22 20:56:48 +00:00
MaxED
f3bd56f3cd Fixed: GZDB was not shown in alt-tab list when "Errors and Warnings" window was open. 2014-11-17 01:41:15 +00:00
MaxED
18e52226fd Linedef Edit Form, UDMF: "Lock number" now has a drop-down with supported key types (no LOCKDEFS support (yet?)). You can still type lock number manually. 2014-11-15 20:25:16 +00:00
MaxED
66f75ec7c4 Internal: added a debug console. 2014-11-13 09:43:39 +00:00
MaxED
2b7eee8d1a Draw modes: linedef length labels no longer overlap linedefs. 2014-11-12 11:22:14 +00:00
MaxED
613e51ce41 Internal: removed GameConfiguration.MapLumpNames, instead GameConfiguration.MapLumps is now used.
Internal: removed some unrelated stuff from NodesViewer.csproj.
2014-11-11 11:47:10 +00:00
MaxED
91f06ad957 Thing Edit form: "Mixed Things" icon is now displayed when several thing types are selected.
Thing Edit form: when selection contains more than one thing, thing types form selected category are now randomly applied to it.  
Fixed, Thing Edit form: selection change was not processed in some cases.
2014-11-10 11:27:37 +00:00
MaxED
42fc2d8c2e Changed: reorganized controls in Thing Edit forms.
Changed: thing sprite is now displayed in ThingBrowserControl.
2014-11-06 12:56:47 +00:00
MaxED
ec1cf802d1 Updated ZDoom_DECORATE.cfg. Now it hopefully has nearly all DECORATE functions and flags.
Updated documentation.
2014-11-05 14:31:00 +00:00