From the ZDuke thread:
Now i get the "DirectDraw returned no display modes" error on Win10 too and i know i can use an emulator (DXGL) but there are some problems.randi wrote:I am rather sad that it now spits out an error that DirectDraw returned no display modes
First i wanted to fix 2.0.98 but it didn't compile with modern VS, something about using friend with templates (looks really bad) and an internal compiler error. So wall of errors and even if it did compile i know there would be other problems (reported no gravity and graphics corruption with gcc...).
Since ZDoom classic was not very good i've recreated it and done a 2.1.8 pirated version without my junk. For the 2.1.8 branch i've merged the preliminary D3D backend and works well, i applied some minor fixes and got rid of the Bison dependency too. I use NASM 0.9. With TDM-GCC the release build crashes on exit after adding D3D no surprise here.
BUT with VS 2017 there's some misoptimization causing serious issues. I've tried IA32, using strict FP model and disabling intrinsics but they didn't help. You can't hit monsters with hitscan weapons nor damage them with melee and they can see you though walls. May be even it's a compiler bug but i don't know where to look at.
I've asked Blzut3 may be he can help.
https://github.com/drfrag666/zdoom-old/ ... 1.8-cl.zip