dhewm3/neo
Daniel Gibson 565d3e3fc1 Make CstDoom3 anchored GUIs work with dhewm3's menu scale fix
In idWindow::Redraw(), I had to make sure the menu scale fix (which,
if enabled for a window, renders that in 4:3 with empty or black bars
on the side if needed for widescreen etc, instead of stretching it)
is disabled if a window uses CST anchors, because the CST anchor code
also adjusts for the display aspect ratio and if we do both, things get
distorted in the other way.

The biggest change is that idDeviceContext::DrawStretchPic(Rotated) now
has code to adjust the coordinates for both CST and the menu scale fix,
so idDeviceContext::AdjustCoords() is mostly obsolete - it's only still
used by idRenderWindow.
Unlike DstDoom3 now that extra adjustCoords argument to those Draw
functions indicates that any coordinate adjustment should be done, so
if it's set by a caller, it's set to true.

I removed idDeviceContext::AdjustCursorCoords() because it was only used
in one place anyway
2025-01-21 03:04:18 +01:00
..
cm Fix/work around other misc. compiler warnings 2023-01-05 09:06:34 +01:00
d3xp Changes from CstDoom3 for anchored GUIs, #324 2025-01-21 03:04:18 +01:00
framework Show some OpenGL information in Dhewm3SettingsMenu's Video tab 2025-01-21 01:17:40 +01:00
game Changes from CstDoom3 for anchored GUIs, #324 2025-01-21 03:04:18 +01:00
idlib Implement Mem_MallocA()+Mem_FreeA(): alloca() but might use Heap 2024-11-07 06:25:51 +01:00
libs/imgui Fix Dear ImGui colors on Big Endian systems 2024-10-31 03:18:33 +01:00
MayaImport s/LittleLong/LittleInt/ to match the return type 2012-06-28 13:02:47 +02:00
renderer Support nospecular and allow_nospecular in demos 2025-01-21 00:51:38 +01:00
sound Fix running timedemo if sound is disabled (s_noSound 1), fix #163 2025-01-19 02:05:50 +01:00
sys Fix ImGui assertion when starting into DOOMEdit (+editor) 2025-01-21 00:51:38 +01:00
tools Set tr.allowNoSpecular in DOOMEdit 2025-01-21 00:51:38 +01:00
TypeInfo Get rid of Sys_FPU_StackIsEmpty() 2012-07-06 01:06:53 +02:00
ui Make CstDoom3 anchored GUIs work with dhewm3's menu scale fix 2025-01-21 03:04:18 +01:00
CMakeLists.txt ImGui integration: Make sure scalingfactor is > 0, don't use X11 directly 2024-11-30 20:29:02 +01:00
config.h.in Introduce CMAKE_INSTALL_PREFIX relative paths 2012-07-04 02:18:42 +02:00
mmakefile.src # move the AROS specific folder icon and default.cfg mmakefile.src under neo/sys/aros/setup 2017-04-22 16:21:14 +02:00