Commit graph

3761 commits

Author SHA1 Message Date
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