Commit graph

1473 commits

Author SHA1 Message Date
ZZYZX
814fdd9027 Fixed: texture copy/paste in the visual mode was detected as failed pasting and caused a beep. (reported by DOOMGABR, abbuw, Turret_Master) 2017-03-17 17:48:14 +02:00
ZZYZX
53ce14fc43 Internal: fixed compiler warnings 2017-03-15 08:52:53 +02:00
ZZYZX
579b90a13c Fixed: the old way of checking for GZDB's directory writability would not work in certain versions of WINE/Mono 2017-03-14 20:31:04 +02:00
ZZYZX
36af342423 Internal: removed debug code from Renderer3D. 2017-03-13 03:12:24 +02:00
ZZYZX
35f8c5e10e Fixed: cutting a thing in visual mode would leave disposed BaseVisualThings in the selection. (reported by DOOMGABR) 2017-03-13 03:10:07 +02:00
ZZYZX
9bd51a0186 Updated ZDoom ACS compiler 2017-03-12 13:26:28 +02:00
ZZYZX
ee28f1d094 Made Skulltag item sprites optional to support default Skulltag+Zandronum config without producing 100 errors 2017-03-09 19:09:08 +02:00
ZZYZX
ce6074fd9f Internal: Oops: removed useless leftover file 2017-03-09 18:01:08 +02:00
ZZYZX
509fb55e62 Fixed field caption for floor glow color. 2017-03-09 01:32:20 +02:00
ZZYZX
957314a9ac Fixed: field name for things is called color_sprites. 2017-03-09 01:24:31 +02:00
ZZYZX
d8701b7a3a Added: proper GUI tab for color-related sector properties. The tab now hosts Doom64 lighting as well as old color-related things (floor/ceiling glow, light color, fade color and desaturation). 2017-03-09 01:00:20 +02:00
ZZYZX
87a2a14d7c Fixed: FAIL medal sprite in zandronum.pk3 was not parsed correctly 2017-03-08 23:34:21 +02:00
ZZYZX
4611aa1bc8 Added more specific debug logging to random NullPointerException crash place 2017-03-08 05:35:56 +02:00
ZZYZX
717e48edbb Fixed: for scaled walls, texture offsets should not be scaled (reported by Tormentor667) 2017-03-07 03:06:15 +02:00
ZZYZX
bbe651d366 Camera texture can be longer than 8 characters 2017-03-06 06:08:30 +02:00
ZZYZX
92825a0870 Updated ZScript parser to the latest syntax 2017-03-06 06:07:19 +02:00
ZZYZX
8c36eafbff Fixed state lookup logic for sprite guessing; it should always prefer SPRITE_CHECK_STATES to using the random first frame. 2017-03-04 16:50:46 +02:00
ZZYZX
522c1e3ff9 Fixed: never pick up POL5 frame definition from Actor::GenericCrush. Ew, blood. 2017-03-04 02:25:10 +02:00
ZZYZX
4b1a31c3ca Fixed: duration 0 frames should be skipped if there are nonzero frames after them (reported by Tormentor667, Ozymandias81). Fixed crash if some actor had a modeldef entry but doesn't anymore. 2017-03-04 02:13:39 +02:00
ZZYZX
f97c15ae95 Fixed: Internal: made most 'get' calls in WADReader use synchronized MemoryStream duplicate as opposed to operating on WAD stream directly. Hopefully fixes multithreading issues with sprite loading. (reported by Mysterious Haruko, camaxide) 2017-03-03 20:33:40 +02:00
ZZYZX
59c1320971 Fixed: flats and textures with the same name were not cached correctly in the texture browser. (reported by DOOMGABR) 2017-03-02 20:14:24 +02:00
ZZYZX
52e771fe1d Internal: Fixed: builtin light alteration by actor flags logic in GetGZLightTypeByClass 2017-03-02 00:57:29 +02:00
ZZYZX
61085027c2 Fixed: actor flags with inheritance from GZDoom dynamic lights (i.e. PointLight) 2017-03-02 00:36:33 +02:00
ZZYZX
748fe9e2e5 Fixed: inheritance from game configuration for dynamic lights; Fixed: visual representation of inherited lights (reported by Nash); Fixed: inherited thing arguments from game configuration; Added: //$ClearArgs for clearing inherited arguments. 2017-03-02 00:21:08 +02:00
ZZYZX
125844b308 Fixed: sprite replacements with different rotation count weren't handled correctly. (reported by DOOMGABR) 2017-03-01 18:35:15 +02:00
ZZYZX
6661ed44e3 Fixed: saving a script would reset scrolling to the top 2017-02-26 12:03:39 +02:00
ZZYZX
39889a94d1 Fixed: arg0str TextBox wasn't aligned to the right on Windows 10 (reported by SanyaWaffles) 2017-02-25 16:30:19 +02:00
ZZYZX
72352792c9 Changed: just use //$ArgNStr to check if arg0str is supported. If the argument is present, arg0str will be shown. 2017-02-25 11:08:27 +02:00
ZZYZX
2bb2c92aaa Fixed: don't use script control for non-script arg0str. That breaks things. 2017-02-25 11:04:00 +02:00
ZZYZX
6d1717336b Added: custom arg0str things with //$ArgNAllowStr and //$ArgNStr (title for string version) 2017-02-25 10:41:03 +02:00
ZZYZX
1a8b9d404f Added: search&replace support for non-script arg0str 2017-02-25 10:31:25 +02:00
ZZYZX
3748ea6398 Fixed: handling of arg0str in non-script specials in info panel; default arg0str. 2017-02-23 15:01:36 +02:00
ZZYZX
5ff54ab319 Added: arg0str in non-script specials. Kinda. 2017-02-23 14:19:07 +02:00
ZZYZX
3ac39598db Fixed: forgot to add ZDaemon_common.cfg; Fixed: Internal: removed hardcoded arg0str only for scripts 2017-02-23 13:54:42 +02:00
ZZYZX
1cb3682c6b Updated ZDaemon configuration and related files (13.02.2017 by Krawa) 2017-02-20 13:42:12 +02:00
ZZYZX
0ec1824253 Fixed: SplitLinesByVertices could leave disposed lines for iteration, which resulted in crashes on certain geometry while using 'Replace with Dragged Geometry'. 2017-02-20 09:13:35 +02:00
ZZYZX
e2fa70cd0f Internal: Oops: removed debug logging 2017-02-20 08:21:56 +02:00
ZZYZX
dba7088681 Internal: threw out a lot of unoptimized code in TraceSector. Now using Tools.FindPotentialSectorAt. 2017-02-20 08:14:07 +02:00
ZZYZX
6988bae720 Fixed: check for mathing argument lists was doing god-knows-what. Should now be ok. 2017-02-20 07:30:00 +02:00
ZZYZX
679f2eec62 Fixed: check for matching argument lists was severely broken and was resetting or not resetting almost randomly 2017-02-20 07:26:59 +02:00
ZZYZX
271df46f2a Added: script editor will now automatically trim trailing whitespace on save. 2017-02-20 07:07:44 +02:00
ZZYZX
bd00eef8de Fixed: preferences window size was off 2017-02-19 08:40:30 +02:00
Xabis
d3289d01de * Fixed a crash if setting an argument to the thing type ($Arg#Type = 14) on a decorate actor
* Added support for using the "Target Class" filter for argument thing types. Configure using the new $Arg$TargetClasses property. Note: only actors with a valid classname may be added to the filter.
2017-02-15 14:03:17 -05:00
jewalky
3540f55a25 Merge pull request #42 from Xabis/master
Direct tag-to-tag associations
2017-02-14 22:37:44 +02:00
ZZYZX
b4fbcf5d57 Fixed: 'forbidden' lumps are not supposed to count towards matching while detecting map type 2017-02-14 20:27:10 +02:00
Xabis
a886a53e75 * A direct tag-to-tag relationship can now be established between two things, which allows event lines to be properly setup between them. This is intended for interpolation and patrol specials which are linked via a shared tag, instead of an argument. A POSITIVE value represents the parent thing, where a NEGATIVE value represents the child thing.
* Added interpolation and patrol point specials to the persistent event line processing
2017-02-14 12:33:50 -05:00
ZZYZX
4a62478545 Fixed: 'Save into' would detect non-map lumps with the same name as maps and ask if you want to save over... 2017-02-14 17:48:31 +02:00
ZZYZX
d46860824d Fixed: in case there are other (non-map) lumps in the archive that have the same name as a map (e.g. MB2 patch and MB2 map in idl201x WADs) only the valid map is read. 2017-02-14 16:10:18 +02:00
ZZYZX
780482f429 Fixed: consequential duplicate maps weren't handled properly 2017-02-14 15:39:35 +02:00
ZZYZX
f8959507fb Fixed: old map format is now autodetected when saving a map over an existing one. Saving a map in different format shouldn't leave junk lumps anymore. 2017-02-14 15:25:16 +02:00
ZZYZX
d9eecbdc5e Internal: reverted mysterious MaxED edit in map saving functions 2017-02-14 12:13:53 +02:00
ZZYZX
dee1e0f417 Internal: removed now unneeded CopyAllLumpsExceptMap 2017-02-14 11:57:46 +02:00
ZZYZX
b996d8a380 Internal: not copying all lumps manually anymore on 'Save As'. The WAD is copied with File.Copy anyway. 2017-02-14 11:56:38 +02:00
ZZYZX
123145085f Fixed: Find&Replace in Script Editor would go into an infinite loop if replacement contains the searched text 2017-02-13 03:02:14 +02:00
ZZYZX
6bb79c1c8b Fixed: Internal: StairSectorBuilder wasn't marked as dependent on Builder project 2017-02-13 00:23:26 +02:00
ZZYZX
946e805138 Added: action numbers in linedef action selection dialog; Fixed: improper usages of 'Window' white color in place of 'Control' gray color in dialogs. 2017-02-12 20:58:19 +02:00
ZZYZX
bffb499ffb Fixed: removed useless rounding to 1px in Draw Curve, Draw Ellipse, Draw Rectangle, Draw Grid tools; this performed incorrectly with grid sizes less than 1px 2017-02-12 18:35:11 +02:00
ZZYZX
251c89f3e9 Supposedly fixed handling of multidimensional arrays in ZScript, as well as specifying array dimensions in the type 2017-02-11 17:47:07 +02:00
ZZYZX
02d5ce4c3b Internal: Oops: missing files 2017-02-10 12:32:35 +02:00
ZZYZX
db9bb4f4fd Info panel might work a bit faster now 2017-02-09 19:14:05 +02:00
ZZYZX
e3ebe7dcdf Fixed: additive-translucent geometry should not be lit 2017-02-09 16:49:58 +02:00
ZZYZX
d47dd9a533 Fixed: slightly incorrect texture name offsets in classic view in the texture browser 2017-02-09 15:45:50 +02:00
ZZYZX
cafd1a6f4e Fixed: lights were not applied to translucent textures 2017-02-09 15:08:31 +02:00
ZZYZX
3d69ec12d4 Fixed: lights behind the camera shouldn't count towards the max lights counter 2017-02-09 14:28:54 +02:00
ZZYZX
2b69b38e18 Added dynamic light count = 256 for high end users. Fixed: incorrect attenuated<->subtractive light ordering caused invisible subtractive lights. 2017-02-09 13:28:55 +02:00
ZZYZX
e62bbba9ff Internal: ZScript: now using StringBuilder in the internal tokenizer loops, might speed it up a bit 2017-02-09 04:07:27 +02:00
ZZYZX
1fb1167e5d Fixed: Internal: resumed resource would lose readonly attribute 2017-02-09 02:39:32 +02:00
ZZYZX
7f2f51d48d Added: primitive support for ZScript in the script editor (all classes in the current file are listed) 2017-02-09 02:26:25 +02:00
ZZYZX
1382d144fe Added: basic support for automatic user variables from ZScript classes, currently only for int variables (as supported by GZDoom). 2017-02-08 23:55:38 +02:00
ZZYZX
0d43a7be12 Fixed: 'Texture sizes below names' was handled incorrectly with 'Show texture sizes' disabled 2017-02-08 19:21:17 +02:00
ZZYZX
ed6e598519 Fixed: item selection gradient in classic views was severely off. 2017-02-08 18:58:13 +02:00
ZZYZX
46cc1df034 Merge anotak's optimizations - stage 4: Texture Browser 2017-02-08 18:36:40 +02:00
ZZYZX
4faed76b92 Merge anotak's optimizations - stage 3 2017-02-08 14:20:03 +02:00
ZZYZX
0fe77cf80b Merge anotak's optimizations - stage 2 2017-02-08 14:18:32 +02:00
ZZYZX
09b8c27dab Merge anotak's optimizations - stage 1 2017-02-08 14:18:01 +02:00
ZZYZX
34d1af9446 Reverted anotak's PR: it causes 'Cancel' button in Edit windows to automatically do undo or something similar, breaking maps completely 2017-02-07 20:02:31 +02:00
anotak
b5f7db1d50 Speedup on opening properties windows 2017-02-06 22:53:00 -06:00
anotak
52b47cd019 Revert "Revert "actionmanager change""
This reverts commit 4d9d1eda0f.
2017-02-06 00:10:10 -06:00
anotak
4d9d1eda0f Revert "actionmanager change"
This reverts commit a3ff16cacb.
2017-02-05 23:40:01 -06:00
anotak
a3ff16cacb actionmanager change
actionmanager change
2017-02-05 20:47:54 -06:00
ZZYZX
6971f6dfaf Internal: ~ConfigurationInfo destructor might be called before full construction took place 2017-02-04 22:03:32 +02:00
ZZYZX
5a5c6d0467 Internal: ZScriptTokenizer shouldn't reinitialize static stuff on every construction 2017-02-04 17:25:48 +02:00
ZZYZX
e6ca49581a Fixed: links should now open in the default browser and not what GZDB thinks to be the default browser.
Fixed: ZScript parser should no more crash on severely invalid code.
2017-02-03 09:15:54 +02:00
ZZYZX
7e502a1fa2 Fixed: color_absolute is not actually in GZDoom 2017-02-02 07:34:29 +02:00
ZZYZX
cb8473fa09 Added: 3D floor should be affected by control sector's color_floor and color_ceiling. 2017-02-01 20:16:42 +02:00
ZZYZX
76b2b1be10 Added: an option to display image sizes below names, not over texture previews 2017-02-01 19:10:22 +02:00
ZZYZX
71440fb21e Implemented more reliable dynlight-surface angle clip threshold 2017-02-01 17:29:08 +02:00
ZZYZX
fc7b9ec9a8 Removed dynlight-surface angle clip threshold - it didn't work properly anyway 2017-02-01 16:53:19 +02:00
ZZYZX
469942d263 Fixed: glow should apply before Doom64 coloring 2017-02-01 09:57:00 +02:00
ZZYZX
b80ead1202 Added custom fields for Doom64 lighting in the ZDoom configuration 2017-02-01 08:29:14 +02:00
ZZYZX
24c8b0497c fixed: First and last texture entires could never be selected using up/down controls 2017-01-30 06:20:48 +02:00
ZZYZX
f4947a20be Added: more magic to the autoalign/select neighbours logic; These functions should not anymore wrap around to the opposite side of two-sided linedefs, allowing you to select back and front sides separately using shift+click, and reducing infinite broken autoalign loops. 2017-01-26 15:33:07 +02:00
ZZYZX
dd48b5edfd Fixed: internal images were a bit broken by the previous commit 2017-01-26 12:01:11 +02:00
ZZYZX
7de5d10c0f Fixed: long texture names are no longer activated for Doom flat images (GZDoom doesn't support these) 2017-01-26 09:09:22 +02:00
ZZYZX
5ebdbd12d5 Fixed: 65:Plat_UpByValue had incorrect argument description 2017-01-25 17:31:03 +02:00
ZZYZX
ee936152cc ZScript: added #region support 2017-01-21 05:05:56 +02:00
ZZYZX
4c636a6d9a ZScript: added support for //$GZDB_SKIP special comment in the root scope. 2017-01-21 04:16:42 +02:00
ZZYZX
8c9514fba5 Fixed: broken previous gitbuild 2017-01-21 03:44:42 +02:00
ZZYZX
a5a942c798 Fixed: lump saving in script editor after editing archive with SLADE.\n Fixed: checking for concurrent modification in script editor while trying to save the lump. 2017-01-21 03:14:21 +02:00
ZZYZX
a705e47fb9 Fixed GLDEFS attenuate 1 and subtractive 1 logic 2017-01-20 00:59:04 +02:00
ZZYZX
49f55120ad Added: GLDEFS support for 'attenuate 1' keyword 2017-01-20 00:27:36 +02:00
ZZYZX
30a5edfdfe Added: attenuated dynamic light support 2017-01-20 00:17:43 +02:00
ZZYZX
819ef6490e Fixed: wild exception while replacing ZScript actor from DECORATE 2017-01-19 09:16:55 +02:00
ZZYZX
55b24eef39 Fixed: ZScript: scale property should be expanded into xscale and yscale; Fixed: if actor's Spawn state starts with TNT1, first non-TNT1 frame will be used 2017-01-18 08:35:26 +02:00
ZZYZX
87fdd67fd6 ZScript: himBHcomment arguments should be stripped of whitespace 2017-01-17 20:34:19 +02:00
ZZYZX
a1dc4bb157 Internal: Remembered various ZScript operators for the future; Script Editor: fixed script type icons 2017-01-17 20:19:45 +02:00
ZZYZX
7a70ac8c17 Internal: removed parser stuff from ActorStructure, StateStructure, StateGoto classes 2017-01-17 11:40:58 +02:00
ZZYZX
b783ea1c0f ZScript: enabled custom GZDB actor properties in Default block (//$ comments, same as DECORATE) 2017-01-17 11:21:01 +02:00
ZZYZX
a85a7a40f0 Renamed default category Decorate to User-defined 2017-01-17 10:39:30 +02:00
ZZYZX
c1387a8e7e Internal: refactored ZScriptTokenizer.ExpectToken for less redundancy 2017-01-17 10:19:48 +02:00
ZZYZX
dc72c533ca ZScript: fixed odd cases of inheritance (class SpecialShotgun : Shotgun replaces Shotgun) causing stack overflow 2017-01-17 07:29:01 +02:00
ZZYZX
05a160b533 ZScript: moved actor inheritance code to separate step; ZScript: ported game configuration inheritance code from DECORATE 2017-01-17 07:13:28 +02:00
ZZYZX
8fa63cae3d Fixed: DECORATE and ZScript parsers would ignore TNT1 when used in states 2017-01-17 06:58:52 +02:00
ZZYZX
0787f96042 GLDEFS, MODELDEF: Included ZScript actors in missing class check 2017-01-17 06:53:20 +02:00
ZZYZX
3bdfadc1d7 ZScript: implemented 'transient' and 'property' keywords 2017-01-17 06:41:33 +02:00
ZZYZX
76213ae1d6 Internal: tried to fix case sensitivity issues in X11R6RGB colors 2017-01-17 04:56:44 +02:00
ZZYZX
17fb9157df Fixed: MAPINFO parser wouldn't take quoted OutsideFogDensity 2017-01-17 04:51:12 +02:00
ZZYZX
76ce87eace Fixed null reference access while searching for superclass state; Fixed incorrect parsing of random() in frame duration; Fixed incorrect parsing of quoted sprite names 2017-01-16 14:10:11 +02:00
ZZYZX
37a3eab150 Enabled prototype ZScript support 2017-01-16 13:18:46 +02:00
ZZYZX
8afd01f6bd Internal: Disconnected ZDoom actor state data from DECORATE parsing code 2017-01-16 10:20:47 +02:00
ZZYZX
a0674f13fc Internal: finished enumeration of ZSCript actor properties and flags 2017-01-16 08:10:32 +02:00
ZZYZX
ad5b542cd0 Internal: finished enumeration of ZScript actor fields and methods 2017-01-16 07:20:49 +02:00
ZZYZX
b42de7db6c Internal: Moved ZScript class initialization logic to after querying all lumps 2017-01-16 03:49:58 +02:00
ZZYZX
db08802780 Enabled DECORATE classes to inherit ZScript ones 2017-01-16 02:08:35 +02:00
ZZYZX
6147ed2385 Internal: disconnected actor parsing from generic ZDoom actor structure 2017-01-16 01:35:27 +02:00
ZZYZX
fbf1aefef2 Internal: Fixed class extension, error reporting on invalid top-level keyword 2017-01-16 00:21:47 +02:00
ZZYZX
856cb9f860 Internal: Added ZScriptParser.cs, ZScriptTokenizer.cs 2017-01-16 00:03:44 +02:00
ZZYZX
38ffc861cb Internal: started implementing ZScript parser. Nothing works for now, aside from the actual parsing code. 2017-01-16 00:00:45 +02:00
ZZYZX
96ffb78678 Finished upgrading to VS2015 2017-01-15 18:12:49 +02:00
ZZYZX
e0fb41d37f Changed ZDoom/GitHub links so that people can report issues to the correct page 2017-01-15 06:30:53 +02:00
ZZYZX
5e11072970 Added IOException handling to image loading from disk (fixes GZDB Git issue #8) 2017-01-15 05:12:19 +02:00
ZZYZX
8277d7b63c fixed: Classic Texture Select: selected item in white background is supposed to be blue;
fixed: Texture Select: visible items were not clipped correctly;
fixed: 128x128 texture previews were too large for small window size in Texture Set editor
2017-01-15 03:40:11 +02:00
ZZYZX
fa7c536a27 Product name somehow reset AGAIN. Fixed. 2017-01-15 01:41:35 +02:00
ZZYZX
741897af76 Actually changed the product name 2017-01-15 01:40:19 +02:00
ZZYZX
668cb13794 Updated GIT build batch 2017-01-15 01:22:39 +02:00
ZZYZX
5821152368 Always show the revision number in window title, also renamed to GZDB-Bugfix 2017-01-15 01:14:15 +02:00
ZZYZX
ebd7fb1a57 Upgrade to VS2015 (14.0) 2017-01-15 00:35:40 +02:00
ZZYZX
36a5aa6cef Even with used textures on top disabled, textures should be separate from directories 2017-01-09 14:32:00 +02:00
ZZYZX
88ff83b74d Use the word 'flats' if currently browsing flats 2017-01-09 07:21:26 +02:00
ZZYZX
e43e3e12c1 Removed global 'available textures' header from classic view 2017-01-09 07:11:01 +02:00
ZZYZX
36381c51bb Should not have used textures category if not having them on top 2017-01-09 07:01:01 +02:00
ZZYZX
819d27885b Initial classic view mode in texture browser 2017-01-09 06:47:58 +02:00
m-x-d
2b24ce3c25 Updated, Textures Browser: texture name length is now taken into account when calculating the width of texture items.
Internal: moved thing helper shapes creation logic from ThingsMode to LinksCollector.
2017-01-09 01:04:55 +03:00
m-x-d
a41058bef9 Fixed, Script Editor: bottom panel was not automatically expanded after adding a script error.
Fixed, Script Editor: in some cases extra indentation was added to the duplicated line when using "Duplicate Line" command.
Added, Script Editor: some editor comments were missing from ZDoom_DECORATE.cfg.
Fixed, Game Configurations: fixed a crash when overriding an existing linedef action definition by a one from a different category (this fixes Issue #1).
2017-01-07 23:53:13 +03:00
MaxED
1c684f7213 Added, Things mode, Visual mode: added the ability to specify minimum/maximum argument range hint shapes using special DECORATE comments and Game Configuration properties (loosely based on range finder patch by Xabis).
Updated documentation ("Game Configuration - Action Argument Settings" and "DECORATE keys" pages).
2017-01-06 15:59:41 +03:00
MaxED
cd854779e8 Fixed, Classic modes, UDMF: grid size didn't go below 1 mu. when zooming in when "Dynamic grid size" option was enabled.
Internal: restored GridSetup DB2 compatibility.
Updated ZDoom_ACS.cfg (SetFogDensity, SetSectorGlow).
2017-01-06 13:01:59 +03:00
MaxED
a7d2417844 Visual mode, UDMF: added rendering support for fogdensity and floor/ceiling glow properties.
Internal, build tools: use origin/master to get commits count and current hash instead of local master.
2017-01-04 16:28:36 +03:00
MaxED
7052dbec5d Fixed, Sector Edit window, UDMF: fixed some incorrect tooltips. 2016-12-30 13:44:21 +03:00
MaxED
a9c19754ce Added, Sector Edit window, UDMF: added UI support for "floor_reflect", "ceiling_reflect", "floorglowcolor", "floorglowheight", "ceilingglowcolor", "ceilingglowheight" and "fogdensity" UDMF properties.
Updated ZDoom ACC.
2016-12-29 18:15:35 +03:00
MaxED
be1e799688 Internal: Git commit hash is how shown in the About window.
Internal: Git commit hashes are now shown in the Update window changelog.
Internal: Exception window now links to GitHub Issue Tracker instead of zdoom.org GZDB thread.
2016-12-28 15:24:58 +03:00