Commit graph

725 commits

Author SHA1 Message Date
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
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
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
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
6c1dbc0bf3 Find and Replace mode:
"Find Any Texture or Flat", "Find Sector Flat" and "Find Sidedef Texture" options now support "*" (match any number of characters) and "?" (match any single character) wildcards.
"Find Any Texture or Flat" is now available any game configuration (previously it was disabled when "MixTexturesFlats" game configuration option was disabled, now only "Replace" functionality is disabled).
"Find Thing Flags" and "Find Linedef Flags" can now replace flags.
Added "Find Sidedef Flags" and "Find Sector Flags" search options.
2014-11-05 12:32:48 +00:00
MaxED
7a790f2d56 Hmm... 2014-11-03 23:06:02 +00:00
MaxED
580eb49283 Err... 2014-11-03 23:03:13 +00:00
MaxED
27d021887e A slightly better implementation of previous commit... 2014-11-03 14:03:47 +00:00
MaxED
720b4e01ec Fixed, "OpenMapInCurrentWad" action: we should not switch to already opened map.
Fixed, Open Map form: a warning is now displayed when no map is selected when accepting the form.
2014-11-03 13:58:19 +00:00
MaxED
f986f5c98d Fixed, game configurations: Boom game configurations used incorrect "thingflagscompare" block.
Fixed, Thing edit form: implemented overcomplicated required flags check (which should work as expected this time. probably.).
2014-11-03 13:02:59 +00:00
MaxED
06163d4611 Fixed, Change Map form: keyboard focus was not properly updated after selecting current map in the maps list. 2014-11-02 19:32:08 +00:00
MaxED
840cdf66bc Fixed: when switching to a different map format, all nodes with "nodebuild" property set to true in the "maplumpnames" block of current game configuration are now removed. 2014-11-02 19:02:01 +00:00
MaxED
77ba424fdd Fixed: it's now impossible to set grid size smaller than 1. 2014-11-02 17:15:04 +00:00
MaxED
cefb66ca16 A warning is now displayed when an unclosed marker range is found in a WAD (e.g. when there's a S_START, but no S_END after it). 2014-10-31 13:53:43 +00:00
MaxED
ecaf9331d9 Fixed: SaveScreenshots method was called several times when child windows were open.
Fixed incorrect screenshot size when a window was maximized.
Fixed: more than one screenshot per second can now be saved.
Changed screenshot filename date format to yyyy.mm.dd.
2014-10-31 09:52:07 +00:00
MaxED
8defbb42e3 Fixed: in some cases incorrect window bounds were used when saving active window screenshot when several child windows were open. 2014-10-31 07:42:53 +00:00