Commit graph

3819 commits

Author SHA1 Message Date
biwa
f7deef9ca3 UDMF map element editing forms: fixed a problem where some fields were rounded to two decimal places (they are not rounded anymore). Fixes #1004 2024-01-11 16:07:02 +01:00
biwa
f63be092dc Improved error message when a CVAR used for actor distance check is not of type int. Fixes #1008 2024-01-11 12:03:18 +01:00
spherallic
b5f482e9dc Merge remote-tracking branch 'udb/master' 2024-01-09 14:06:45 +01:00
biwa
5ff0bc76db Sectors Mode: fixed a problem where dragging a single highlighted sector did not move the things in the sector when synchronized things editing was enabled 2024-01-06 15:15:39 +01:00
ZZYZX
cff1d000b7 Update Updater to work with the new URL (actually) 2023-12-30 21:59:35 +02:00
ZZYZX
5df832585b Update Updater to work with the new URL 2023-12-30 21:49:58 +02:00
spherallic
3846f15d32 Show light & fade alpha values in sector info panel 2023-12-28 15:16:34 +01:00
spherallic
5e330496ad Fix small error in light/fade alpha and fade end field handling 2023-12-22 11:42:28 +01:00
spherallic
1691b4a395 More light/fade alpha & start/end fixes:
- Prevent from showing up in Custom tab
- Make sure their sectors are updated upon value changes
2023-12-17 19:18:26 +01:00
biwa
39be7a722c Preferences dialog: made tabs multiline. Fixed some panel sizes. 2023-12-15 23:01:06 +01:00
biwa
957bec7f43
Autosave map functionality (#995)
Added autosaving of the current map. Autosaving happens in intervals when the map is changed. It will not overwrite the current map, but rather create new files, just like backups. Autosaving interval and number of files can be configured in the "Recovery" tab of the preferences. Autosaving can also be disabled there (not recommended). Autosaves will not have their nodes built for performance reason.
2023-12-15 22:49:28 +01:00
spherallic
a13329e7a0 Fix light/fade color and fade start/end not being editable 2023-12-12 01:44:34 +01:00
spherallic
63bb82a1d7 Apparently VertexDecimals affects every single numeric field, so revert its change 2023-12-09 14:23:09 +01:00
sphere
0f874f4da7 Merge branch 'gitlab-ci' into 'master'
Mingw32 support

See merge request STJr/UltimateZoneBuilder!15
2023-12-09 12:46:21 +00:00
sphere
d337096132 Merge branch 'fix-gplusplus-name-mangling' into 'master'
Fix symbol lookup error caused by GL_GetProcAddress name being mangled by g++

See merge request STJr/UltimateZoneBuilder!16
2023-12-09 12:46:15 +00:00
spherallic
2df910f915 Merge remote-tracking branch 'udb/master' 2023-12-06 14:22:37 +01:00
biwa
6d5098a075 3D Floor Mode: fixed a problem where the previous state of linedef arguments were not preserved for undo snapshots. Fixes #967 2023-12-02 22:16:12 +01:00
biwa
124d87129d Script Editor: fixed a crash when the find/replace dialog was opened and the previously selected script tabs do not exist anymore. Fixes #993 2023-12-02 16:18:41 +01:00
biwa
53c4952986 Sound Propagation Mode: fixed a problem where removed sector geometry was still shown when undoing/redoing. Fixes #992 2023-12-02 15:20:50 +01:00
Indev
1999799d65 Fix symbol lookup error caused by GL_GetProcAddress name being mangled by g++ 2023-11-26 17:15:24 +03:00
biwa
0d4778be40 Fixed a problem where portal render style could not be set for the Eternity Engine game configuration 2023-11-22 21:28:12 +01:00
biwa
6e08cc8e68 Visual Mode: more skewing fixes 2023-11-19 16:56:13 +01:00
biwa
f7373f7534 Visual Mode: fixed a problem where texture skewing didn't work correctly for textures scaled through sidedef properties. Fixes #985 2023-11-19 16:53:36 +01:00
Alam Ed Arias
34792d7047 Clang: remove unused private fields 2023-11-12 14:48:36 -05:00
Alam Ed Arias
2e15760e7f Matrix: disable SSE for non i386, x86_64, include ARM and ARM64 but not for ARM64EC 2023-11-12 14:22:07 -05:00
Alam Ed Arias
df95bdc398 Native: fix support for Linux/GNU 2023-11-12 13:18:25 -05:00
Alam Ed Arias
37f55485f8 Update fasttrig.h
FORCEINLINE is not a _WIN32 thing
It is a compiler attribute
use always_inline for GCC
__forceinline for MSVC
and plain inline for others
2023-11-08 08:44:08 -05:00
Alam Ed Arias
fd7895f880 Update OpenGLContext.cpp
also cast glGetError via void *
2023-11-08 00:05:15 -05:00
Alam Ed Arias
ae8ccaf2f0 Mingw support
clear out warnings for _WIN32 codepath
2023-11-07 23:50:29 -05:00
Alam Ed Arias
133cba1a58 Mingw32 support
Build Win32 BuilderNative.dll with Mingw-w64
2023-11-07 22:42:25 -05:00
spherallic
7fda81ac57 Rotate wallsprite objects 90 degrees to match SRB2's papersprite behavior 2023-11-07 16:38:34 +01:00
spherallic
b3b327a6c3 Merge remote-tracking branch 'udb/master' 2023-11-07 12:11:47 +01:00
sphere
3db72a81b2 Merge branch 'gitlab-ci' into 'master'
Update .gitlab-ci.yml file

See merge request STJr/UltimateZoneBuilder!14
2023-11-07 10:59:13 +00:00
Alam Ed Arias
68b2c918e0 Update .gitlab-ci.yml file 2023-11-07 10:59:13 +00:00
spherallic
e1726d8515 Disable decimal vertex positions since SRB2 doesn't support them 2023-11-06 00:46:02 +01:00
biwa
501c2f952d Script Editor: pressing enter in the search box now performs the search. Pressing enter in the search box of the replace tab performs a search. Pressing enter in the replace box of the replace tab now performs a replacement. Pressing the Escape key now closes the dialog. Fixes #972 2023-11-05 20:21:04 +01:00
biwa
28630b9777 Game Configurations: added texture skewing options to the GZDoom game configurations
Visual Mode: added support for GZDoom style texture skewing
2023-11-04 21:43:09 +01:00
spherallic
247ce2fec2 Fix string arguments not being editable 2023-10-28 00:53:21 +02:00
biwa
55725bd2bb Sound Propagation Mode: fixed a crash when things were outside the map's geometry bounding box. Fixes #975 2023-10-25 20:38:52 +02:00
spherallic
3f43145fc7 Merge remote-tracking branch 'udb/master' 2023-10-24 23:37:01 +02:00
biwa
af44086979 Edit Linedef dialog (UDMF): fixed a problem where the back sidedef's controls were not disabled correctly if their UDMF fields were not set in the game configuration 2023-10-24 20:43:15 +02:00
spherallic
a2c0c40102 Apply config-field-based controls to SRB2 editing forms 2023-10-24 18:18:41 +02:00
spherallic
aea6808cee Merge remote-tracking branch 'udb/master' 2023-10-24 16:28:55 +02:00
biwa
0a74ca24b6
Added ability to enable/disable controls in the UDMF map element editing dialogs based on UDMF fields specified in the game configurations (#953) 2023-10-24 15:51:49 +02:00
spherallic
1fc96e9ad9 Merge remote-tracking branch 'udb/master' 2023-10-23 19:59:32 +02:00
Derek MacDonald
7536ea0f9d
Fix sidedef "compresion" error message typo (#973) 2023-10-22 08:37:49 +02:00
biwa
728eea84b2 Visual Mode: the effect of slope things are now only applied if they are specified in the game configuration 2023-10-21 16:11:35 +02:00
biwa
807df65279 Game Configurations: added support for enabling or disabling support for vertex heights in UDMF game configurations 2023-10-21 14:45:42 +02:00
spherallic
946fef8fce Fix local brightness change not working properly with shadow-casting FOFs above 2023-10-17 23:44:38 +02:00
spherallic
6bb4df359c Merge remote-tracking branch 'udb/master' 2023-10-16 18:47:14 +02:00
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