Commit graph

1546 commits

Author SHA1 Message Date
ZZYZX
554ccc442f Fixed plotting from plugins, fixed transformed grid 2019-12-15 01:58:11 +02:00
ZZYZX
24c28e921f Fixed untransformed grid being Y-inverted 2019-12-15 01:16:04 +02:00
ZZYZX
714bb84204 Implemented alternate fix for Linux paths (2) 2019-12-14 23:52:12 +02:00
ZZYZX
f0aee1e174 Merge branch 'master' into slimgl_merge 2019-12-14 23:50:40 +02:00
ZZYZX
5295f7f590 Implemented alternate fix for Linux paths (to-do: add case-insensitive hack later) 2019-12-14 23:43:20 +02:00
ZZYZX
2c3013f74c Make everything build with VS2015 again 2019-12-14 23:42:44 +02:00
biwa
31eaf98cbe Using --- and +++ now also works correctly for the height offset in the edit sector properties dialog 2019-12-14 11:52:46 +01:00
biwa
c9e7551ca3 Added ZScript mixin class support 2019-12-08 01:14:21 +01:00
biwa
2699f5793b Fixed an issue where the ZScript parser aborted with a cryptic error message when encountering a number that was too small or big. It now clamps the value to min/max for the data type and prints a warning 2019-12-03 15:23:49 +01:00
biwa
8824a2bb94 Fixed a bug where the wrong texture/flat with the same name would be displayed in the texture browser when they were loaded from a PK3 or directory 2019-11-30 17:49:21 +01:00
biwa
cbaa0c030c Long names can now used for flats (again) 2019-11-30 17:05:00 +01:00
biwa
b94dd31fdb - Fixed a bug where the wrong sectors and linedefs were highlighted in UDMF under certain conditions. Fixes #307. 2019-10-31 21:16:59 +01:00
biwa
4b86f5458f - Increased max view distance from 9000 to 64000 map units. Step size increased from 200 to 500 map units
@ Improved performance of VisualBlockMap.GetFrustumRange so that high view distances is actually usable. This does not do anything to the rendering speed, so that's still slow
2019-10-19 16:52:02 +02:00
biwa
ba6dc546ba - (Hopefully) addressed a problem where images failed to load when opening another map in the 64 bit version
@ This is a workaround for #295.
2019-10-13 13:47:29 +02:00
biwa
67a6818632 - UDMF vertex heights are now preserved in a more sensible way when joining vertices. Fixes #299. 2019-09-20 23:14:53 +02:00
Kevin Caccamo
b5bd90c0ce Attempt to fix grid being vertically inverted
I don't know exactly where the root cause of the problem lies, but this solution works for me, even if it is a bit of a hack.

Fixes #1
2019-09-10 19:28:43 -04:00
Kevin Caccamo
6e4298660f Fix crash when adding a new sector with the same number of vertices as another
I think it happened because set.buffers[bufferindex] was null.

Fixes #2
2019-09-10 00:17:53 -04:00
Xabis
399e527b5c Support for RenderRadius (PR#297 by Xabis) 2019-09-05 13:37:31 +03:00
Kevin Caccamo
7d3379c6ce Fix textures in 2D mode being clamped
I have no idea why the textures in 2D more ended up being clamped to begin with, but this should fix that.
2019-09-03 22:55:54 -04:00
Kevin Caccamo
b5ad511671 Enable DevIL on Linux
Remove NO_DEVIL defines, and add devil.dll -> libIL.so.1 DLL mapping to app.config
2019-09-03 22:47:59 -04:00
Magnus Norddahl
03e9da365e Misc fixes for mono P/Invoke of BuilderNative 2019-08-30 10:30:28 +02:00
Magnus Norddahl
3cd96fc788 Fix linux compile errors and build the BuilderNative.so library 2019-08-30 08:45:14 +02:00
Magnus Norddahl
51fabae1e7 Turn off updater with mono as it won't work without additional work 2019-08-29 21:45:58 +02:00
Magnus Norddahl
4cfe80f33a GZDB can now boot using mono 2019-08-29 21:04:50 +02:00
Magnus Norddahl
159a2e6d38 Build using msbuild on mono to fix issues with resources and such 2019-08-29 20:24:22 +02:00
Magnus Norddahl
9b300126e9 Disable DEVIL and create build solution specifically for mono 2019-08-29 17:56:12 +02:00
Magnus Norddahl
9f2c9e00d7 Add mono makefile 2019-08-29 16:30:49 +02:00
biwa
64c04f4246 - Fixed a bug where lights defined in GLDEFS wouldn't show up in visual mode. Fixes #294. 2019-08-24 12:45:55 +02:00
Magnus Norddahl
c2157ee24e - fix field of view 2019-08-22 23:28:26 +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
808d644c0b - fix visual mode movement not working 2019-08-22 16:26:22 +02:00
Magnus Norddahl
7abcb2a328 - remove unsafe keyword from functions no longer needing it 2019-08-22 15:52:17 +02:00
Magnus Norddahl
0562dac685 - fix screenverts math and some line drawing bugs 2019-08-20 12:45:23 +02:00
Magnus Norddahl
4c0e6e8fcc - implement plotter as a shader 2019-08-20 11:00:24 +02:00
Magnus Norddahl
e5500f7190 - don't update the texture unless something was drawn 2019-08-18 08:14:14 +02:00
Magnus Norddahl
9b0b6d2687 - clear command list once drawn 2019-08-18 08:11:09 +02:00
Magnus Norddahl
b51270fdfa - Delay plotter drawing until DrawContents is called 2019-08-18 08:07:28 +02:00
Magnus Norddahl
3142437444 - move plotter texture into plotter 2019-08-18 07:43:46 +02:00
Magnus Norddahl
5ccc225fa8 - fix light pass 2019-08-17 05:21:28 +02:00
Magnus Norddahl
6c9f9b9247 - remove unused code 2019-08-17 03:58:07 +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
cea032e025 - remove unused code 2019-08-16 14:06:03 +02:00
Magnus Norddahl
0542bd25ec - convert texturefactor to uniform 2019-08-16 14:01:27 +02:00
Magnus Norddahl
3968206199 - Sending data to Direct3D 9 just to retrieve it is stupid 2019-08-16 13:38:53 +02:00
Magnus Norddahl
149012e8b3 - simplify buffer indexing 2019-08-16 13:23:25 +02:00
Magnus Norddahl
9b53939f0c - simplify vertex buffer and vertex format 2019-08-16 13:07:57 +02:00
Magnus Norddahl
d701987fb4 - don't pass sizes into VertexBuffer and IndexBuffer constructors
- CopyTexture bug fixes
2019-08-16 11:24:22 +02:00
Magnus Norddahl
fb137d46db - draw streamed vertices 2019-08-16 07:45:34 +02:00