Commit graph

1580 commits

Author SHA1 Message Date
Magnus Norddahl
407cc703b8 - implement enough of BuilderNative for GZDB to successfully run without crashing 2019-08-09 23:15:48 +02:00
Magnus Norddahl
37876f6d8a - add BuilderNative library that does the actual rendering 2019-08-09 06:18:08 +02:00
Magnus Norddahl
690a4d2e83 - remove DataStream class 2019-08-08 20:06:35 +02:00
Magnus Norddahl
c665bfca86 - remove SlimDX namespace 2019-08-08 18:24:33 +02:00
biwa
c00a8995aa - Fixed a crash when loading OBJ models with faces without normals 2019-08-08 12:17:49 +02:00
Magnus Norddahl
8f15e8d5e7 - Simplify code 2019-08-08 07:10:35 +02:00
Magnus Norddahl
e4b257a89a - remove SlimDX.DirectInput namespace 2019-08-08 04:21:57 +02:00
Magnus Norddahl
21b46010c1 Merge remote-tracking branch 'origin/master' into slimgl 2019-08-08 04:07:00 +02:00
Magnus Norddahl
c8845ae559 - remove SlimDX Stopwatch 2019-08-08 04:02:00 +02:00
Magnus Norddahl
3cff90d716 - remove SlimDX.Direct3D9 namespace 2019-08-08 03:51:21 +02:00
Magnus Norddahl
1be047d316 - Simplify D3DDevice 2019-08-08 03:19:11 +02:00
Magnus Norddahl
90b5c41517 - update solution to .net framework 4.7.2 and add build output files to .gitignore 2019-08-08 00:18:44 +02:00
Magnus Norddahl
4cec56b5d6 - remove SlimDX dependency 2019-08-08 00:05:21 +02:00
biwa
363a07c609 - Fixed a bug where a thread unsafe string length measuring method could cause a crash. Fixes #275. 2019-07-16 20:37:18 +02:00
biwa
34f2c308bd - More model texture loading weirdness is now regarded 2019-06-16 19:31:44 +02:00
biwa
c2b18a913e - Fixed a bug where textures for internal model skin names did not load when "Path" was specified in MODELDEF 2019-06-16 18:40:10 +02:00
biwa
70b2be5e73 - Fixed a crash that happened when there were OBJ elements without parameters 2019-06-16 12:05:03 +02:00
biwa
dc74617820 - Fixed a problem with OBJ models being flipped 2019-06-16 00:03:37 +02:00
biwa
97d4fdd78a @Fixed some compiler warnings 2019-06-15 21:26:43 +02:00
biwa
dde8742ff2 - Added support for Wavefront OBJ models
- Fixed a problem where model textures were not loaded from the textures directory or from TEXTUREx definitions. Fixes #173 and #226
2019-06-15 17:44:02 +02:00
biwa
44745bdbc8 - More speed improvements to the texture browser 2019-05-31 23:11:17 +02:00
biwa
48af52afcf - Improved performance of the texture browser. This should significantly reduce the times it takes to open the texture browser when using large texture sets 2019-05-31 00:20:12 +02:00
biwa
36361de889 - Fixed a bug where script compile errors were not shown under certain circumstances. Fixes #161. 2019-04-19 19:58:41 +02:00
biwa
b5e950df89 - Fixed an issue where the current editing mode was not re-initialized properly when opening a map from current WAD 2019-04-19 16:14:30 +02:00
biwa
aafe42c88d - Test map from current mouse position now works properly in Hexen/UDMF maps with multiple player starts. Also works in maps without a valid player start now. Fixes #263. 2019-04-16 18:05:21 +02:00
biwa
03cb5249af Merge branch 'master' of https://github.com/jewalky/GZDoom-Builder-Bugfix 2019-04-14 18:27:34 +02:00
biwa
f2a343e118 - Added support for the ForceWorldPanning MAPINFO option. Fixes #258
- Improved support for auto aligning scaled textures
2019-04-14 18:24:37 +02:00
ZZYZX
95a9d28798 Specify git.exe instead of just 'git' for compatibility with my environment with Cygwin git... 2019-03-29 20:41:01 +02:00
volte
821016760b Fix for rotated grid algorithm causing a freeze in some circumstances (PR#255 by Volte) 2019-01-28 01:27:14 +02:00
ZZYZX
5c42035731 Fixed unused variable warnings; fixed compilation error in Renderer2D 2019-01-19 10:02:54 +02:00
volte
5157dafd6a Various fixes for rotated grid functionality (PR#253 by Volte) 2019-01-16 08:44:38 +02:00
volte
a1d28e1e56 Grid rotation and alignment functionality (PR#252 by Volte) 2019-01-14 20:07:08 +02:00
ZZYZX
e1b9f31525 Updated ZDoom ACS definitions; Updated ZScript parser for compatibility with latest GZDoom 2018-12-02 17:51:54 +02:00
ZZYZX
a705dc1e03 Maintenance: added missing FolderSelectDialog.cs 2018-10-08 01:26:51 +03:00
ZZYZX
6fc15a179f Fixed crash while trying to reference nonexistent vertices in Unreal models 2018-07-25 16:03:41 +03:00
ZZYZX
80b7d86cd8 Added: color user variable, //$UserReinterpret for color control on integer user variable 2018-07-24 11:35:52 +03:00
ZZYZX
04dc210db5 Added: string/float user variables, //$UserDefaultValue <value> for specifying default user variable value 2018-07-24 10:27:29 +03:00
ZZYZX
74e31b658b Fixed Builder.exe.config, only this time properly 2018-07-16 21:33:22 +03:00
ZZYZX
a196457f83 Fixed: GZDB wouldn't load plugins on certain paranoid systems due to plugin DLL's being "remote" and unsigned (reported by Lorenzo) 2018-07-16 17:06:49 +03:00
ZZYZX
20f96cd115 Added .iwad, .ipk3, .ipk7 extensions to recognized list (reported by someone somewhere some time ago...) 2018-07-13 08:20:45 +03:00
ZZYZX
1933b0b6de Changed Resource directory browser to use Win7 folder dialog, not Win9x one (reported by dpJudas) 2018-07-13 07:56:13 +03:00
Marisa Kirisame
afd710801f Update .3d support to match coelckers/gzdoom#506 (PR#221 by Marisa_Kirisame) 2018-07-05 12:50:03 +03:00
ZZYZX
50d458f764 Fixed null reference in visual mode when trying to render a thing without a sector (reported by Ozymandias81) 2018-06-23 19:20:39 +03:00
ZZYZX
b026e58a89 Added: MODELDEF #include support 2018-06-09 17:26:03 +03:00
ZZYZX
3c433cfcb8 Fixed scalar in UE1 model reader (was 127, should be 128) 2018-06-07 11:59:52 +03:00
JakeSmokie
6768bc7f37 Added sector raise/lower by 128mp (PR #215 by JakeSmokie) 2018-06-07 11:32:36 +03:00
ZZYZX
0f469e90ad Updated Unreal model loading to the fixed behavior (only this time really fixed) 2018-05-28 11:12:04 +03:00
ZZYZX
320b5f017f Updated Unreal model loading to the fixed behavior in GZDoom - axes were remapped incorrectly (I blame Marisa_Kirisame) 2018-05-28 11:00:57 +03:00
ZZYZX
8af4a46c5b Actually fixed vertex axes in Unreal models. Fixed the order of rotations in MODELDEF Offsets (this was not releavent to Unreal issues) 2018-05-28 04:06:21 +03:00
ZZYZX
260ffbe57b Fixed skin remapping method 2018-05-27 23:25:17 +03:00
ZZYZX
85f00ab9d7 Added multiple texture support for Unreal models 2018-05-27 21:05:57 +03:00
ZZYZX
4213be1c7a Added simple Unreal model support; Fixed numerous issues with normal handling; Fixed outright invalid handling of AngleOffset/PitchOffset/RollOffset in MODELDEF 2018-05-27 08:53:54 +03:00
ZZYZX
d6e1b815c3 Added platform information to application log 2018-05-27 04:25:16 +03:00
ZZYZX
db36293462 Added platform information to the saved error report 2018-04-16 03:22:24 +03:00
ZZYZX
e9c83d0646 Fixed: GZDB was built against wrong SlimDX version (including 64-bit which was built against 32-bit SlimDX) - (reported by StrikerMan780, leodoom85, Rockstar Racoon) 2018-04-16 01:51:57 +03:00
ZZYZX
a2a6004a61 Fixed (?): The new .NET 4.6.x JIT method inlining was fucking with GetCallingAssembly-based plugin detection 2018-04-15 01:59:58 +03:00
ZZYZX
000ecfbab0 Made GZDB output 64-bit in the title 2018-04-14 18:15:11 +03:00
ZZYZX
d9dfab64a0 Made some edits to the build scripts and auto-update routine to support 64-bit updating 2018-04-14 18:11:40 +03:00
jewalky
0b14bdeec1
GZDB native 64-bit binary support (PR#197 by StrikerMan780) 2018-04-14 16:55:21 +03:00
ZZYZX
0a5a2e81e0 Updated ZDoom ACC to the latest dev build (reported by printz) 2018-04-10 21:07:55 +03:00
ZZYZX
5344700f77 Added UDMF desaturation preview in classic modes 2018-04-10 20:54:57 +03:00
ZZYZX
9742a9f7bb Added UDMF desaturation preview in visual modes 2018-04-10 19:41:44 +03:00
ZZYZX
88d98acd49 Fixed: zero-radius point lights would crash upon entering things mode (reported by blood) 2018-03-31 14:13:35 +03:00
ZZYZX
10167038ae Fixed: on a second thought, let's just make FileImageReader fall back to guessed image if possible... 2018-03-31 14:01:36 +03:00
ZZYZX
f7c2a577e4 Fixed: made more correct checking for legal file formats; now it should actually validate the format upon loading 2018-03-31 13:38:30 +03:00
ZZYZX
abdacb32df Fixed: flats are now unconditionally detected as Doom Flat if they are exactly 4096 bytes long and inside F_ markers or flats directory. (reported by Chickenlegz) 2018-03-31 13:07:41 +03:00
ZZYZX
995e23f290 Enabled parsing of NaN in UDMF so that the existing buggy maps load; made it throw exceptions when a NaN vertex is added to the map 2018-03-25 01:40:31 +02:00
ZZYZX
efd2ded0b3 Made 2D spotlight projection even more accurate (reported by Gutawer) 2018-02-04 13:20:11 +02:00
ZZYZX
a0ef5209b7 Fixed light color picker to work with spotlights 2018-02-04 09:18:02 +02:00
ZZYZX
f97b0b2ee8 Made 2D spotlight projection more accurate 2018-02-04 07:28:41 +02:00
ZZYZX
4462224aaa Oops quickfix: inherited generic lights did not work 2018-02-04 06:30:50 +02:00
ZZYZX
5791171851 Added proper spotlight preview in 2D mode 2018-02-04 06:16:46 +02:00
ZZYZX
e91fe94794 Added string support for spotlight colors 2018-02-04 05:16:52 +02:00
ZZYZX
184982dc67 Added spotlight preview in visual mode 2018-02-04 04:18:59 +02:00
ZZYZX
089906bac0 Removed leftovers of default string value implementation 2018-02-04 02:50:46 +02:00
ZZYZX
d8bee559dc Did some maxcode refactoring about dynamic lights; added initial spotlight support (at least they are recognized as lights now) 2018-02-03 22:31:43 +02:00
ZZYZX
8375ece252 Fixed collection modification inside foreach. (reported by Lud) 2018-01-22 13:20:12 +02:00
ZZYZX
1d36d3fe6e Updated ZScript parser for const array definition support (reported by SanyaWaffles) 2017-12-25 02:45:21 +02:00
ZZYZX
f0364c15a5 Fixed one-line issue in model lighting pipeline (reported by everyone) 2017-10-25 07:58:48 +03:00
ZZYZX
3f35731914 Fixed: allow dotted identifier in array dimensions 2017-09-06 18:57:25 +03:00
ZZYZX
e7328e4caa Added support for non-1.2 pixel ratios if view stretching is enabled (reported by Nash); Fixed: map names in quotes were not recognized properly. 2017-08-27 08:10:22 +03:00
Mistranger
7168ad2095 Add "Mouse selection threshold" option (#141 by Mistranger)
* Mouse selection threshold

* Cleanup

* Fix selection bug
2017-08-24 16:24:03 +03:00
ZZYZX
c9162c6f26 Fixed: builtin dynamic lights were rendered at wrong height (reported by +Ku6EPyXOBEPTKA+) 2017-08-10 16:01:22 +03:00
ZZYZX
c0b3f983b9 Fixed minor translucent rendering issue 2017-07-26 19:34:01 +03:00
ZZYZX
a122dacf1d Added lights on models 2017-07-26 18:35:22 +03:00
ZZYZX
f14a4bd64a Added new flags for internal dynamic lights (reported by Nash) 2017-06-20 21:30:00 +03:00
ZZYZX
7603e5fa30 Fixed: INHERITACTORPITCH was actually changed along with USEACTORPITCH...doesn't really make sense compatibility-wise but there it is. (reported by alekv) 2017-05-29 06:38:11 +03:00
ZZYZX
d9d8c352a0 Fixed: pitch formula was duplicated and not changed in one of the places. (reported by Ozymandias81) 2017-05-10 22:53:30 +03:00
ZZYZX
0e43985f65 Fixed: flipped +USEACTORPITCH direction for recent GZDoom versions; this can be reverted by putting "buggymodeldefpitch = true;" in the game configuration for your specific projects if they are using old GZDoom versions. Note: already added for Zandronum. 2017-05-10 06:13:33 +03:00
ZZYZX
04324cd140 Fixed (?) cross-thread bitmap usage. (reported by Xane123) 2017-05-09 06:06:21 +03:00
Sean Baggaley
021bcf6981 Fix texture filtering not disabling properly (resolves #106) (#107 by csnxs) 2017-04-29 09:52:12 -04:00
ZZYZX
ad6ae1112e Fixed: render sorting issues with multiple translucent 3D floors next to each other on different heights 2017-04-29 13:56:17 +03:00
ZZYZX
de7445b786 Fixed nested template types handling in ZScript parser 2017-04-17 12:40:58 +03:00
ZZYZX
594dab97c8 Fixed: regression in texture selection window caused by previous fixes (reported by simc2) 2017-04-11 04:48:01 +03:00
ZZYZX
0c4051a5a0 Fixed 0.5/1.0 second sector light blinking specials (reported by printz) 2017-04-11 04:45:04 +03:00
ZZYZX
3d943f12bc Fixed: Internal: added off-grid vertices check to BuilderModes project 2017-04-11 04:33:41 +03:00
ZZYZX
983dea1b8a Fixed: all the old magic in SafeDistanceToSq is now only working for non-UDMF maps 2017-04-04 14:06:08 +03:00
ZZYZX
8dbe5f7a7b Fixed: Visplane Explorer depended on the old behavior of SafeDistanceToSq. (reported by riderr3) 2017-04-04 14:04:29 +03:00
ZZYZX
356eac34e2 Internal: Oops: removed debug leftovers (x2) 2017-04-03 20:45:51 +03:00
ZZYZX
b80c8febff Internal: Oops: removed debug leftovers 2017-04-03 20:42:34 +03:00
ZZYZX
a2c9de393e Fixed: changing flat names around is wrong... (reported by Lud) 2017-04-03 20:40:51 +03:00
ZZYZX
153c63b5d2 Fixed: the model should be Z-scaled to 0.83 even in unstretched view to ensure that models fit the geometry right (reported by Ozymandias81) 2017-03-29 04:11:05 +03:00
ZZYZX
bb650fa679 Updated ZScript parser to support abstract on classes 2017-03-28 15:07:12 +03:00
ZZYZX
10aa7e9493 Fixed translucent sprites. Added visual stencil color preview. (reported by Lud) 2017-03-25 05:19:42 +02:00
ZZYZX
aff6998dbd Fixed: reduced magic in Linedef.SafeDistanceToSq - fixes line/sector selection with 0.125mp grid (reported by camaxide) 2017-03-25 04:15:50 +02:00
ZZYZX
816e61d110 Added: binding actions to horizontal mouse wheel 2017-03-25 03:47:18 +02:00
ZZYZX
e9030bd5d8 Readme: devbuilds link should point to the right page. 2017-03-18 19:33:12 +02:00
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