Commit graph

187 commits

Author SHA1 Message Date
Magnus Norddahl
f6dd787f0d Present maps slightly faster to the user 2019-12-30 06:41:52 +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
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
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
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
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
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
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
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
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
ebd7fb1a57 Upgrade to VS2015 (14.0) 2017-01-15 00:35:40 +02: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
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