carnivores-cpe / Carn2-Menu

Carnivores 2/IA Menu implementation using left over code from Interface.cpp and referencing the Carnivores 1 menu code.
Creative Commons Zero v1.0 Universal
4 stars 3 forks source link

Menu window resizes incorrectly after launching the renderer #18

Open Rexhunter99 opened 4 years ago

Rexhunter99 commented 4 years ago

During regular play of Carnivores: Mandibles, P.Rex encountered an issue where the menu window would be resized to a little over 400x300 which makes it impossible to navigate the menu. This occurred after hunts and visiting the trophy hall. The issue occurs infrequently and has not been reproduced on my own hardware in over 83 hunts and trophy visits. Attempts to cause the crash were made with V_D3D.REN bundled with Mandibles at resolution 1280x1024 with DirectSound 3D audio.

Still waiting for P.Rex to give me the exact settings he has. Mandibles requires a Carnivores 2 menu.

Rexhunter99 commented 4 years ago

Scheduled for the Release 1.1.4, there is a potential partialfix/workaround for this issue. if (wParam == VK_F4) { HuntWindowResize(); } was added to the WindowProcedure, so users can press the Function key F4 to force the window to resize correctly.