biwa
2813a392e7
Force HiRes replacements to always use worldpanning. Fixes #432
2020-07-05 09:20:08 +02:00
biwa
91cbcde1eb
It's compiling!
2020-05-21 14:20:02 +02:00
biwa
9cadd378bc
Changed the ambient sound drop down menu of ambient sound things to natural sort order. Resolves #406 .
2020-04-28 22:48:00 +02:00
Magnus Norddahl
db44d411c7
Fix black output from visplane explorer
2020-04-19 14:19:18 +02:00
biwa
e07a3170ac
Made drop down items for ambient sounds more descriptive
2020-03-29 16:29:53 +02:00
Magnus Norddahl
44d972c876
Fix crash when tga image loader succeeds in loading a 0x0 image
...
Copy resource bitmaps before using them on a worker thread
2020-03-19 15:46:04 +01:00
Magnus Norddahl
c943b07bd0
Fix broken patch loading
2020-02-16 18:57:19 +01:00
Magnus Norddahl
c1130b4c62
Merge remote-tracking branch 'origin/master' into nodevil
2020-02-16 16:48:49 +01:00
Magnus Norddahl
6e4a02fb2b
Add texture format to the Texture class so that render target textures do not have to be in the bgra8 format
2020-01-15 23:28:17 +01:00
Magnus Norddahl
e908ec72e9
Add missing try/catch
2020-01-14 17:29:13 +01:00
Magnus Norddahl
3bbe76b225
Remove DevIL dependency
...
Remove IImageLoader code duplication
2020-01-14 17:25:35 +01:00
Magnus Norddahl
7ea64f910b
Fatal crash (Texture name input) #367
2020-01-13 19:11:10 +01:00
Magnus Norddahl
a2b18f1893
Fix load bug where exactly one image per thread would not get loaded
2020-01-12 23:35:20 +01:00
Magnus Norddahl
fc7093b959
Load images when they accessed
...
Load previews when they are accessed
2020-01-12 23:10:57 +01:00
Magnus Norddahl
acfd4f5283
LoadImage should not be virtual
2020-01-12 21:12:56 +01:00
Magnus Norddahl
db747d022b
Dispose the bitmap as soon as it has been uploaded to a texture. Use a 1 bit alphatest bitmap for those that have transparency in them.
2020-01-12 20:17:18 +01:00
Magnus Norddahl
21d19e2804
Only use GetBitmap for the alpha test
2020-01-12 19:53:50 +01:00
Magnus Norddahl
0abaeaf758
Replace GetBitmap with more descriptive functions and move the alpha test inside ImageData
2020-01-12 19:37:27 +01:00
ZZYZX
044dbbcfd0
Rewrote dynamic light support. Resolves #319 . Resolves #318 . Resolves #233 .
2020-01-03 03:22:33 +02:00
ZZYZX
961b5fdb33
Actually fixed PK3 synchronization
2019-12-31 13:46:30 +02:00
ZZYZX
fa053bc097
Prevent closing the PK3 stream before read operation has completed
2019-12-31 13:35:43 +02:00
Magnus Norddahl
f6dd787f0d
Present maps slightly faster to the user
2019-12-30 06:41:52 +01:00
Magnus Norddahl
c95e5af46d
Reduce memory usage during preview image loading
2019-12-30 06:22:32 +01:00
Magnus Norddahl
65fdafafd8
Fix TransformPatch using bitmap from the main thread
2019-12-29 23:24:08 +01:00
Magnus Norddahl
03e50615f6
Remove explicit image unloading and fix previews
2019-12-29 22:59:57 +01:00
Magnus Norddahl
f97f2d36b1
Remove preview manager and remove CreateTexture
2019-12-29 20:48:11 +01:00
ZZYZX
5dc2ab7b28
Supposedly fixed sprites not loading if reloaded resources from visual mode
2019-12-29 19:59:52 +02:00
ZZYZX
12fd006c61
Removed dynamic resource reloading for resource writing
2019-12-29 16:38:53 +02:00
ZZYZX
58d2d67e77
Do not try to continuously reload failed textures
2019-12-29 14:25:53 +02:00
Magnus Norddahl
d46c72b04a
Refactor the ImageData load code so that the UI thread requires no locks
2019-12-29 03:54:12 +01:00
ZZYZX
78fe6c306e
Fixed UI thread becoming unresponsible in case of missing textures
2019-12-28 20:12:22 +02:00
Magnus Norddahl
af3d74d186
Fix DevIL crash by protecting it with a mutex lock
...
Use the .net framework image loaders if they work. They do for the sane formats (PNG and JPEG) and they are faster, too.
Enable usage of multiple threads for resource loading now that it no longer crashes
2019-12-27 07:45:44 +01:00
Magnus Norddahl
11b5cb4e8f
Fix crash if entering 3D mode early
...
Remove thread priority settings (this is not the right way to do it)
Stop brain dead busy looping and use Monitor.Wait + Monitor.Pulse
Only call Control.Invoke if its a worker thread calling RunOnUIThread
Add the code for running multiple background threads (unfortunately blocked by DevIL apparently not being thread safe, gg!)
2019-12-27 07:21:43 +01:00
Magnus Norddahl
7e0ea54254
Don't use SendMessage when the built-in Invoke function does the same
2019-12-27 04:37:10 +01:00
ZZYZX
19718cd464
Fixed: skybox generated from Doom texture was misplaced
2019-12-16 04:18:19 +02:00
ZZYZX
f0aee1e174
Merge branch 'master' into slimgl_merge
2019-12-14 23:50:40 +02:00
biwa
cbaa0c030c
Long names can now used for flats (again)
2019-11-30 17:05:00 +01:00
Magnus Norddahl
9f2c9e00d7
Add mono makefile
2019-08-29 16:30:49 +02:00
Magnus Norddahl
9d02676f8f
- fix wrong uniform state
2019-08-22 22:59:27 +02:00
Magnus Norddahl
64cc7d2bc2
- implement the fixed function fog
2019-08-22 18:43:54 +02:00
Magnus Norddahl
c914aadcaa
- simplify texture binding
2019-08-17 03:21:11 +02:00
Magnus Norddahl
c88b94e1c9
- render to texture bug fixes
2019-08-17 03:08:34 +02:00
Magnus Norddahl
9b53939f0c
- simplify vertex buffer and vertex format
2019-08-16 13:07:57 +02:00
Magnus Norddahl
8ea439a5c2
- fix some rendering problems in visual mode
2019-08-15 14:49:49 +02:00
Magnus Norddahl
a542385cd7
- force texture and buffer updating to go through RenderDevice
2019-08-15 02:52:21 +02:00
Magnus Norddahl
b41cb07eaa
- Hook up texture creation and binding
2019-08-14 13:51:05 +02:00
Magnus Norddahl
1d09a0f86a
- implement ApplyUniforms
2019-08-14 12:36:33 +02:00
Magnus Norddahl
14fd3c96e1
- remove Things2DShader, World3DShader, Effect and EffectShader
2019-08-13 04:12:04 +02:00
Magnus Norddahl
3fae1e9ef3
- add RenderDevice bindings
2019-08-10 00:46:51 +02:00
Magnus Norddahl
e3740033fc
- rename classes with D3D in them
2019-08-09 23:22:16 +02:00
Magnus Norddahl
407cc703b8
- implement enough of BuilderNative for GZDB to successfully run without crashing
2019-08-09 23:15:48 +02:00
Magnus Norddahl
c665bfca86
- remove SlimDX namespace
2019-08-08 18:24:33 +02:00
Magnus Norddahl
8f15e8d5e7
- Simplify code
2019-08-08 07:10:35 +02:00
Magnus Norddahl
21b46010c1
Merge remote-tracking branch 'origin/master' into slimgl
2019-08-08 04:07: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
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
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
ZZYZX
b026e58a89
Added: MODELDEF #include support
2018-06-09 17:26:03 +03:00
jewalky
0b14bdeec1
GZDB native 64-bit binary support (PR#197 by StrikerMan780)
2018-04-14 16:55:21 +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
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
ZZYZX
04324cd140
Fixed (?) cross-thread bitmap usage. (reported by Xane123)
2017-05-09 06:06:21 +03:00
ZZYZX
a2c9de393e
Fixed: changing flat names around is wrong... (reported by Lud)
2017-04-03 20:40:51 +03: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
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
125844b308
Fixed: sprite replacements with different rotation count weren't handled correctly. (reported by DOOMGABR)
2017-03-01 18:35:15 +02:00
ZZYZX
02d5ce4c3b
Internal: Oops: missing files
2017-02-10 12:32:35 +02:00
ZZYZX
1fb1167e5d
Fixed: Internal: resumed resource would lose readonly attribute
2017-02-09 02:39:32 +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
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
819ef6490e
Fixed: wild exception while replacing ZScript actor from DECORATE
2017-01-19 09:16:55 +02:00
ZZYZX
a85a7a40f0
Renamed default category Decorate to User-defined
2017-01-17 10:39:30 +02:00
ZZYZX
0787f96042
GLDEFS, MODELDEF: Included ZScript actors in missing class check
2017-01-17 06:53:20 +02:00
ZZYZX
8afd01f6bd
Internal: Disconnected ZDoom actor state data from DECORATE parsing code
2017-01-16 10:20:47 +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
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
5e11072970
Added IOException handling to image loading from disk (fixes GZDB Git issue #8 )
2017-01-15 05:12:19 +02:00
ZZYZX
ebd7fb1a57
Upgrade to VS2015 (14.0)
2017-01-15 00:35:40 +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
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
b37bc84fff
Fixed, Script Editor: fixed incorrect function calltip position when the cursor was positioned in a wrapped part of a wrapped line.
...
Updated ZDoom_DECORATE.cfg.
2016-12-25 21:00:41 +00:00
MaxED
26687a2ee3
Added, Textures Browser: "[All]" folder is now added to each map resource. It holds all textures found in that resource.
...
Fixed, Textures Browser: only name filtering is now applied to folder-type image items, filtering is never applied to "go to parent folder" image items.
Fixed, Textures Browser: in some cases "Backspace" key was ignored by the Filter textbox.
Fixed, Textures Browser: "Ctrl-Backspace" key combo now clears Filter textbox instead of adding an unknown char to it.
2016-12-24 21:52:42 +00:00
MaxED
447851e457
Added, Textures Browser: redesigned textures list. Textures preview size can now be changed from the Textures Browser window. Folders are now shown in the textures list.
...
Fixed, Script Editor: Find and Replace window now sets keyboard focus to the input textbox when opening the window/switching between tabs.
Fixed, Nodes Viewer mode: SEGS overflows were not handled, causing a crash. Also extended SEGS limit is now used.
Updated ZDoom_DECORATE.cfg (A_SetSize).
2016-12-22 15:04:40 +00:00
MaxED
d73ea867a4
Fixed, Script Editor: MD5 hash of text files stored in PK3 was calculated incorrectly, resulting in false warning messages when saving.
2016-12-22 00:03:58 +00:00
MaxED
45c3cbaae3
Added, Script Editor: added script configurations / auto-detection support for GAMEINFO, FONTDEFS and KEYCONF text lumps.
...
Fixed, "Open Map Options" and "Change Map" windows: fixed incorrect size of the items in the maps list when using high-DPI scaling.
Updated ZDoom_DECORATE.cfg and ZDoom_MAPINFO.cfg.
2016-12-12 12:35:18 +00:00
MaxED
b283fab795
Fixed, action arguments control: in some cases named script name was not displayed.
...
Fixed, Script Editor: Delete key was not working in the text editor (because it was hijacked by context menu action, which requires a selection to be active).
2016-12-10 21:33:59 +00:00
MaxED
da02474302
Applied skybox cubemap creation performance increase patch by Xabis.
...
Added, MAPINFO parser: added support for "Skybox" map block property.
2016-12-08 13:11:11 +00:00
MaxED
88363a1a66
Added, Script Editor: added "Find usages" option (available in the "Search" menu, via text editor context menu, via Ctrl-Shift-F shortcut and in the "Find and Replace" window).
...
Added, Script Editor: double-clicking text resource tab header now shows the corresponding resource in the Resources tree.
Updated, Game configurations, UDMF: added several missing Thing renderstyles.
2016-12-08 12:10:43 +00:00
MaxED
5dd45ffdca
Updated, Script Editor: redesigned "Find and Replace" window. It can now search/replace in all opened tabs and all detected text resources.
...
Fixed, Script Editor: resources list control was incorrectly positioned when using DPI scaling.
2016-12-02 13:45:03 +00:00
MaxED
1523d06ee3
Updated, Visual mode: some cases when the sky hack must be applied were not handled.
...
Updated, Script editor: script editor was unable to show error location after double-clicking on it in the Warnings and Errors window when said location was inside of a WAD located in a PK3 file.
Updated, text lumps tracking: already parsed DECORATE/GLDEFS lumps are now added to the text lumps list even when DECORATE/GLDEFS parsing fails, allowing you to fix errors without the need to use external tools.
Fixed: in some cases the editor could stuck in an infinite loop when searching for wad lumps.
2016-11-28 20:01:47 +00:00
MaxED
aecd017b19
Added, Errors and Warnings window: most of warnings/errors related to (G)ZDoom text lump parsing can now be double-clicked to show warning/error source in the Script Editor.
...
Fixed: some map format conversion errors were never displayed, because errors list was cleared after performing map conversion.
Fixed: 3d floor indicators in 2D modes were not updated after leaving Visual mode.
Fixed: some UDMF-only interface buttons were never removed after converting map format from UDMF.
2016-11-26 00:02:56 +00:00
MaxED
9553042c84
Added, Script Editor: unreferenced ACS files are now shown in the Resources list.
...
Added, Script Editor: MENUDEF and SBARINFO files/lumps are now shown in the Resources list.
Fixed, ACS handling: fixed a crash when trying to parse an #include file, when specified path was absolute.
2016-11-24 21:09:24 +00:00
MaxED
894279b4ba
Added, Script Editor: added "Script Navigator" tab. It shows and allows to open text resources loaded by the editor.
...
WARNING: because of the large amount of added/modified code, bugs are possible, so backup your resources, save often and report bugs.
2016-11-24 11:55:11 +00:00
MaxED
4306e277e6
Fixed map lumps duplication when saving the map several times after converting the map from/to UDMF map format by changing it in the Map Options window.
...
Fixed, cosmetic: in some cases incorrect resource loading time was displayed after saving the map.
2016-11-10 19:18:06 +00:00