Commit graph

3819 commits

Author SHA1 Message Date
biwa
ca6769b715 Visual Mode: fixed a problem where flood selection did not work correctly when sidedefs were previously marked by other actions 2023-10-14 22:30:29 +02:00
biwa
1f21b797cf UDMF type handler: fixed a problem where default values provided as integers for floating point fields failed to convert properly 2023-10-14 15:16:29 +02:00
biwa
e97aa905eb Visual Mode: fixed a problem where flood selection would operate from all selected surfaces and not just the clicked on one. This behavior can be reverted by enabling the "Use buggy flood select in Visual Mode" option in Preferences -> Editing 2023-10-14 14:24:09 +02:00
spherallic
867d5f3e0e Include SOC-related files in BuilderMono project 2023-10-12 14:45:16 +02:00
spherallic
f26492fa65 Do not clear all custom objects if one or more SOC/Lua scripts throws an error
Fix SOC errors being displayed as Lua errors
2023-10-11 00:17:29 +02:00
spherallic
9948645e77 Add support for flags alongside enum for argument info 2023-10-10 21:10:43 +02:00
spherallic
e5cbadda91 Post-UDB-merge fixes 2023-10-10 15:53:11 +02:00
spherallic
f4506b22dc Merge remote-tracking branch 'udb/master' 2023-10-10 14:23:59 +02:00
spherallic
24939e7de8 Add SOC parser for level headers, plus some cleanup 2023-10-10 14:05:59 +02:00
biwa
1f1f9937ae ZScript parser: added support for #region and #endregion. Fixes #958 2023-10-07 17:51:07 +02:00
biwa
432be2a061 Text file parser: fixed a problem where parsing could fail if the file ended with a comment without an trailing newline 2023-10-07 15:31:21 +02:00
biwa
6e7eaf0359 Game Configurations: fixed a crash when no default values for UDMF integer or floating point fields are set 2023-10-07 09:24:29 +02:00
biwa
682c4b92bf Game Configurations: UDMF integer and floating point fields can now have default values other than 0 2023-10-06 21:05:57 +02:00
spherallic
e2e7afa733 Add SOC parser for custom objects 2023-10-06 19:23:48 +02:00
biwa
9d8ddfad35 OBJ Exporter: fixed a problem where the wrong textures were used on 3D floors when they have the "use upper/lower texture" flag set 2023-10-03 19:23:03 +02:00
biwa
7834bd1f15 OBJ Exporter: fixed a problem where 3D floor sides were not exported correctly. Fixes #963 2023-10-03 19:18:33 +02:00
biwa
10c7594c63 Game configurations: renamed lightmap things from static to lightmap. Added pulsing, flickering, and random flickering lightmap things 2023-09-29 21:19:18 +02:00
biwa
2b40a08f13 Visual Mode: fixed a problem where floors/ceilings could not be changed in size if the user tried to change their texture offset in a non-UDMF map 2023-09-29 20:44:04 +02:00
spherallic
cca2949f6d Fix Lua scripts not being read from WAD files 2023-09-27 19:59:30 +02:00
spherallic
86422d7498 Retain argument values if new thing/line action has the same argument(s) 2023-09-26 15:13:22 +02:00
biwa
0a9837050a Game Configurations: fixed a problem where the enum list of enum bits handlers was not set for UDMF fields 2023-09-23 20:21:19 +02:00
spherallic
82ef2ab3de Display mobjscale for things in Visual Mode 2023-09-23 00:29:33 +02:00
spherallic
fe4aef43b7 Allow editing thing info through Lua 2023-09-21 01:36:59 +02:00
spherallic
9046f6a4f7 Merge remote-tracking branch 'udb/master' 2023-09-20 21:04:54 +02:00
spherallic
aaa469e838 Fixed some issues with 3D circle rendering, plus UDMF config changes:
- Added unique sprite sprites for custom rows/circles of items
- Set default values for hoops and custom rows/circles of items
2023-09-20 02:18:22 +02:00
spherallic
4aa373aba8 Allow changing string argument properties via Lua 2023-09-19 19:06:32 +02:00
spherallic
76f6483829 Visual Mode: changing brightness now affects sector brightness, holding Alt will change local brightness 2023-09-19 17:53:27 +02:00
biwa
efcce48953 Visual Mode: fixed a problem where sloped 3D floors with an alpha value of less than 128 were not shown at all instead of fully opaque. Fixes #954 2023-09-17 17:23:27 +02:00
biwa
59197fdfe0 Visual Mode: fixed a problem where scaled sprites were shown with the wrong offset 2023-09-17 17:03:58 +02:00
wisselstem
63010d871a
Draw Curve Mode, Draw Ellipse Mode, Draw Rectangle Mode: added option to place things at the designated vertex positions instead of drawing geometry (#956) 2023-09-17 15:39:19 +02:00
wisselstem
01bcdc01b2
Point Thing at Cursor: check for a thing's fixedrotation rather than its category's arrow setting (#957) 2023-09-17 13:06:57 +02:00
biwa
ed93c4d69b Visual Mode: looking through selection now applies the thing's pitch to the camera 2023-09-17 13:05:50 +02:00
biwa
1d6c2a1c13 Visual Mode: when applying camera rotation and pitch to things a status message will now be displayed. Fixes #955 2023-09-17 12:40:28 +02:00
spherallic
20e1445515 Merge branch 'master' of git.do.srb2.org:STJr/UltimateZoneBuilder 2023-09-16 14:02:10 +02:00
spherallic
a2324f5d98 Lua parsing tweaks:
- All files in a PK3's Lua folder are now checked, instead of just LUA_ and .lua files
- Slightly improve radius/height handling
- Simplify wallsprite/flatsprite/spawnceiling settings
2023-09-16 14:01:40 +02:00
SteelT
8003061534 Fix building the mono version
diff --git a/Source/Core/BuilderMono.csproj b/Source/Core/BuilderMono.csproj
index 980fed4b..2419a7b0 100644
--- a/Source/Core/BuilderMono.csproj
+++ b/Source/Core/BuilderMono.csproj
@@ -304,6 +304,8 @@
     <Compile Include="Rendering\Vector4.cs" />
     <Compile Include="Rendering\VertexBuffer.cs" />
     <Compile Include="Rendering\VisualSlopeHandle.cs" />
+    <Compile Include="SRB2\LuaMobjStructure.cs" />
+    <Compile Include="SRB2\LuaParser.cs" />
     <Compile Include="VisualModes\VisualSlope.cs" />
     <Compile Include="Windows\ILinedefEditForm.cs" />
     <Compile Include="Windows\ISectorEditForm.cs" />
2023-09-15 16:10:23 -04:00
spherallic
87069be13b Update version number to 0.6 2023-09-15 21:48:26 +02:00
spherallic
7214e1b8b2 Curve Linedefs: increment angle by 5 instead of 8 when using rotate actions 2023-09-15 21:35:57 +02:00
spherallic
f8e7bd3739 Add Lua parser for custom objects 2023-09-15 21:28:20 +02:00
spherallic
89f781bdc4 Make $(Not)Angled property set fixedrotation 2023-09-15 16:55:51 +02:00
spherallic
22e0154c19 Fix unknown thing sprite offsets 2023-09-15 16:51:58 +02:00
spherallic
fb5d404e0c Change one more instance of code assuming 5 arguments instead of 10 2023-09-15 16:44:56 +02:00
spherallic
e8eb7ec1f0 Fix string argument handling, fix tooltip on item row/circle argument 2023-09-15 14:17:35 +02:00
spherallic
7964875710 Expand 3D floor checks to encompass SRB2's multiple actions 2023-09-14 22:17:57 +02:00
spherallic
181df8bb15 Info panel: fix executor delay being shown incorrectly above 100% GUI scale 2023-09-11 15:06:03 +02:00
spherallic
388e206d03 v0.5: Update version number and revision 2023-09-11 03:09:30 +02:00
spherallic
2abdfaf3e4 Display floating things via temporary method 2023-09-11 03:04:07 +02:00
spherallic
705f618eb5 Specify that executor delay is in tics 2023-09-11 02:42:03 +02:00
spherallic
a51366131c Fix string arguments not being copied/pasted as a property 2023-09-11 02:13:14 +02:00
spherallic
8b161a78a6 Draw Modes: Don't draw preview lines when "Place things" is enabled 2023-09-11 02:05:46 +02:00
spherallic
0c2532e160 Merge remote-tracking branch 'udb/master' 2023-09-11 01:55:11 +02:00
spherallic
570040f011 Display sky on horizon lines 2023-09-11 00:37:20 +02:00
spherallic
6bedba39ad Fix argument 6-10 not being handled properly 2023-09-11 00:23:09 +02:00
biwa
5ce1b3a799 Fixed an issue where the "exclude from testing" option was not read from the .dbs file. Fixes #947 2023-09-09 13:49:38 +02:00
spherallic
56ad6997aa Allow a specified starting value for +++/--- 2023-09-09 11:18:23 +02:00
spherallic
27a268ae89 Iterate over things before lines in Visual Mode 2023-09-08 23:04:00 +02:00
spherallic
464a6eba9f Update BuilderMono to use UZB icon 2023-09-08 19:35:42 +02:00
wisselstem
32cfe294e2
Things Mode: update things filter when clone-dragging things (#951) 2023-09-08 19:19:57 +02:00
spherallic
0f1c06d44b v0.4: Update version number and installer script 2023-09-08 13:35:37 +02:00
spherallic
845cbe2c3a Fixed "Place Things" not working for Draw Curve mode 2023-09-08 13:35:26 +02:00
spherallic
f50b138424 Update things filter when clone-dragging things 2023-09-08 12:22:50 +02:00
spherallic
50aa71245c Re-disable texture scale fields, fix wall brightness label not being greyed out 2023-09-08 12:16:26 +02:00
spherallic
5f408e2c6e Add "Place Things" option to curve, ellipse and rectangle drawing modes 2023-09-08 02:57:22 +02:00
spherallic
925c50bfd3 Clean up map element loops when rebuilding Visual Mode data 2023-09-07 14:27:53 +02:00
spherallic
92418d40a6 Merge remote-tracking branch 'udb/master' 2023-09-06 22:42:33 +02:00
biwa
809bb24ae0 Visual Mode: fixed an issue where trying to apply a rotation to things that were not seen yet would cause a crash 2023-09-06 19:20:12 +02:00
spherallic
c891cad6fc Increase amount of sides for rendered circles 2023-09-06 00:11:20 +02:00
spherallic
d2b4c05aa6 Don't cancel pointing thing at cursor if category info doesn't have arrow 2023-09-06 00:10:56 +02:00
spherallic
ab830ea159 Disable Visual Mode features that don't apply to SRB2 2023-09-04 18:36:03 +02:00
spherallic
758f480faf Render additive FOFs as such in Visual Mode 2023-09-04 15:25:22 +02:00
biwa
3a7d926704 Image Exporter: added support for transparency 2023-09-03 15:39:34 +02:00
wisselstem
edc4c2bd16
Visual Mode: prevent crash if no potential slope handles are found (#949) 2023-09-02 14:21:40 +02:00
spherallic
3e13b6ccdf Fix sidedef part brightness fields for SRB2 2023-09-01 00:30:57 +02:00
spherallic
395243df3e Prevent possible slope handle crash 2023-09-01 00:30:19 +02:00
biwa
5c76efb8c0 Fixed a problem where not selected geometry and things could not be dragged when the "don't move selection if any part of it is outside of map boundary" option was enabled 2023-08-26 13:49:00 +02:00
sphere
16b1027d7b Merge branch 'offsets-and-scaling' into 'master'
Re-enable texture scaling

See merge request STJr/UltimateZoneBuilder!11
2023-08-26 07:06:28 +00:00
spherallic
b56ca5e018 Merge remote-tracking branch 'udb/master' 2023-08-21 20:41:15 +02:00
biwa
1fca52ef08 3D Floor Mode: fixed a problem where creating 3D floors failed. Fixes #945 2023-08-15 20:45:30 +02:00
biwa
fbfd4dc0af Fixed line endings of ControlSectorArea.cs 2023-08-15 20:01:06 +02:00
biwa
7e29ba3099 3D Floor Mode: fixed an issue where new control sectors could not be created if any sector's bounding box completely encompassed the Control Sector Area 2023-08-14 23:00:42 +02:00
biwa
882744593d Sound Propagation Mode: added missing hints file 2023-08-13 21:24:03 +02:00
biwa
4389870162
Sound Propagation Mode: added sound leak finder (#944)
In Sound Propagation Mode you can set the start (default: Shift+S) and end (default: Shift+E) sectors between which a path the sound can travel will be found and displayed.
2023-08-13 21:19:25 +02:00
biwa
1d0430d48e Visual Mode: fixed a problem where the selection order was not kept when synchronized selection between visual and classic modes was enabled. Fixes #938 2023-08-12 16:43:07 +02:00
biwa
1a116574b9 Visual Mode: fixed a problem where things directly touching the top of 3D floors were rendered with the incorrect brightness. Fixes #940 2023-08-12 11:15:13 +02:00
samwiddowson
19b8bd1e6c
Edit Selection Mode: Fix Ceiling/Floor transforms when pinned (#943) 2023-08-11 18:25:49 +02:00
biwa
8f1d645e81 Fixed an issue where hires replacement sprites did not have the correct offset. Fixes #939. 2023-08-05 13:14:04 +02:00
biwa
f56ae2e0c9 Visual Mode: Fixed problem where UDB-internal sprites were shown with a wrong offset 2023-08-02 20:39:28 +02:00
biwa
085df399f5 Fixed an issue where sprite offsets defined in TEXTURES were not used 2023-07-29 13:32:42 +02:00
spherallic
a92cd89ff0 Sector info panel: replace effect with damage type, add trigger info 2023-07-17 17:42:51 +02:00
biwa
f34ab6a606 Visual Mode: changes to Eternity Engine's upper/lower texture skewing definitions are now shown in Visual Mode 2023-07-15 18:45:58 +02:00
spherallic
a6d0531c95 Fix another error in SRB2 linedef edit form 2023-07-14 01:07:06 +02:00
spherallic
f0b42710a4 Fix errors in SRB2 linedef edit form 2023-07-14 00:19:19 +02:00
spherallic
778cf4be7c Merge remote-tracking branch 'udb/master' 2023-07-14 00:19:00 +02:00
spherallic
dffb3c15bb Add some more exception messages 2023-07-14 00:06:17 +02:00
biwa
58480f5b31 Visual Mode: fixed a crash when toggling visual vertex slope picking and the map contains double-sided linedefs without a front sidedef. Fixes #928 2023-07-09 14:18:24 +02:00
biwa
f3ac4c39a4 Edit Linedef Dialog:
- fixed an issue where undo snapshots were not created correctly when editing a sidedef's custom UDMF fields. Fixes #920
- fixed an issue where closing the back sidedef's custom UDMF field editing dialog would close the linedef dialog
2023-07-09 12:59:29 +02:00
biwa
4dba3a9234 Texture skewing:
- fixed a rare condition where skewed mid textures were not clipped correctly
- fixed a problem where translucent mid textures were not skewed correctly
- fixed a problem where sprites were skewed unintentionally
2023-07-09 11:45:47 +02:00
biwa
9c35a8f65d
Eternity Engine: added support for texture skewing in Visual Mode (#930) 2023-07-08 22:39:50 +02:00
spherallic
675078ac83 Tweak SRB2 linedef editing form 2023-07-06 12:04:39 +02:00
spherallic
694e43e809 Update SRB2 linedef edit form 2023-07-06 12:04:39 +02:00
spherallic
ca0cdf6c0c Restore config-based toggle for parity 2023-07-06 12:04:39 +02:00
spherallic
f6b284a204 Re-enable per-texture offsets and scaling 2023-07-06 12:04:39 +02:00
spherallic
730449c986 Copy/paste properties: Forgot to disable floor portal render style 2023-07-05 22:58:32 +02:00
spherallic
6fff1e5784 Double-hijack linedef info panel to show executor delay 2023-07-05 13:47:52 +02:00
spherallic
841b2e9658 Show arguments 6 to 10 in linedef & thing info panels 2023-07-05 13:29:06 +02:00
spherallic
9d659ad797 Add SRB2-specific properties to copy/paste, disable unused properties 2023-07-04 23:19:17 +02:00
biwa
abaf08e32f Linedef Edit Form: fixed a crash when using 402 as the linedef action 2023-06-30 19:40:42 +02:00
Magnus Norddahl
192b69c8af
Added support for models in IQM format 2023-06-29 20:37:47 +02:00
spherallic
cf8fbd2260 Update version number to v0.3 2023-06-29 17:39:00 +02:00
spherallic
13bb889b18 Manually disable model rendering/dynamic light menu options for SRB2 2023-06-28 16:56:33 +02:00
spherallic
97b7fdbd29 Don't render always intangible & invisible FOFs, fix half light blocks 2023-06-28 15:30:40 +02:00
spherallic
31bb3ebac0 Update revision number to match latest UDB merge 2023-06-27 21:08:06 +02:00
spherallic
74d71b1acf Merge remote-tracking branch 'udb/master' 2023-06-27 21:05:32 +02:00
wisselstem
55e2d5a902
Add toasts to Visual Mode's "Show Things" action (#922) 2023-06-27 20:40:22 +02:00
biwa
822c9971c5 ZScript: fixed a problem where state goto expressions were not parsed correctly. Fixes #913 2023-06-24 11:19:09 +02:00
spherallic
6ca071a6cc Update revision number to match latest UDB merge 2023-06-20 09:59:25 +02:00
spherallic
202a8294ba Merge remote-tracking branch 'udb/master' 2023-06-20 09:58:08 +02:00
biwa
6f047e4347 Draw Grid Mode: fixed a problem where "continuous drawing" would redraw all previously drawn shapes each time a drawing was finished. Fixes #912 2023-06-19 20:27:26 +02:00
biwa
e802bb364a UDBScript: fixed a problem where hot reloading would not scroll the the previously selected script 2023-06-18 16:31:27 +02:00
biwa
55b8e24bd8 UDBScript: fixed an issue where the Thing's class getSector method did not return null when the thing was not in a sector. Fixes #897 2023-06-18 16:26:01 +02:00
spherallic
ba67a87c75 Optimize SRB2 NiGHTS/zoom tube/polyobject rendering
(Text labels are removed because of performance issues)
2023-06-15 12:25:46 +02:00
spherallic
2e2ad2688d Fix multi-mare NiGHTS path rendering 2023-06-14 22:57:49 +02:00
spherallic
1c0649883f Disable light/sound radii toggles if unsupported 2023-06-12 12:35:34 +02:00
spherallic
8f7da9ac1c Add config parameters for disabling certain Doom-related modes (that don't make sense for SRB2) 2023-06-12 11:06:13 +02:00
spherallic
ac9b6137b2 Implement FOF texture alignment 2023-06-11 01:03:17 +02:00
spherallic
ba064bae3e Update revision number to match latest UDB merge 2023-06-11 00:59:51 +02:00
spherallic
c32f677c44 Merge remote-tracking branch 'udb/master' 2023-06-10 19:31:53 +02:00
spherallic
b5cfc3da4b Update thing Z whenever "Absolute Z Height" flag is (un)checked 2023-06-10 17:40:24 +02:00
spherallic
606f323cac Support Flip flag, add properties for flip & absolutez flags 2023-06-10 16:08:38 +02:00
spherallic
073798166a Implement absolutez flag for things 2023-06-10 03:00:20 +02:00
spherallic
ba4fca0861 Add centerhitbox thing property 2023-06-10 01:13:54 +02:00
biwa
bc98a5391f
Added action to change the index of linedefs, things, sectors, and vertices. Can be accessed through a shortcut (not bound by default) or the menu of the respective mode (#903) 2023-06-09 11:17:01 +02:00
Max Waine (Nightdive Studios)
00406336e8
Add explicit PKE resource support (#901). Fixes #575 2023-06-09 11:16:21 +02:00
wisselstem
0d4cecc134
Edit Selection Mode: added support for (counter)clockwise rotation actions (#900) 2023-06-09 09:54:23 +02:00
spherallic
d0da4fcd6e Increase minimum thing render size 2023-06-08 16:41:09 +02:00
spherallic
cf4c54f8d3 Correct polyobject spawnpoint labels 2023-06-07 22:21:49 +02:00
spherallic
53c44285ba Make polyobject previews look for linedef arg0 instead of linedef tag 2023-06-05 12:04:07 +02:00
spherallic
069d143e06 Update version number to v0.2, update installer and rename default config 2023-06-04 22:41:53 +02:00
spherallic
68261ec89a Fix NiGHTS and zoom tube menu items 2023-06-04 22:09:46 +02:00
sphere
53086d6c22 Merge branch 'srb2-extras-rendering' into 'master'
Draw NiGHTS track, zoom tubes and polyobjects in classic modes

See merge request STJr/UltimateZoneBuilder!8
2023-06-04 20:03:41 +00:00
spherallic
b6779c4c8d Add menu & toolbar toggles for NiGHTS, zoom tube and polyobject rendering 2023-06-04 02:11:51 +02:00
spherallic
79f66f1b9b Add actions to toggle NiGHTS, zoom tube and polyobject rendering 2023-06-03 12:03:12 +02:00
spherallic
5548fd1aba Pass folder resources to SRB2 properly, using new launcher parameters 2023-06-03 00:09:26 +02:00
spherallic
4ef3ba204b Draw polyobject previews in classic modes 2023-06-02 14:57:12 +02:00
spherallic
32e450e089 Draw waypoint sequences in classic modes 2023-06-02 13:58:08 +02:00
spherallic
aeff9996c7 Draw NiGHTS axis circles/lines in classic modes 2023-06-01 17:18:27 +02:00
spherallic
d63c3c23bc Change version number text in log and crash report 2023-05-30 12:14:57 +02:00
spherallic
86b0d431d8 Rename some UDB files that were missed before to UZB 2023-05-30 11:34:21 +02:00
spherallic
55158443ca Change some default settings:
- Disable Visual Mode view stretching
- Disable increased texture brightness in classic modes
- Increased default Visual Mode FOV from 80 to 90
2023-05-30 11:16:42 +02:00
spherallic
a962eed418 Update revision number to reflect latest UDB merge 2023-05-29 11:06:02 +02:00