mirror of
https://github.com/Nexoniarz/Fry3DX.git
synced 2026-11-03 04:24:26 +00:00
app.cpp split: the App class declared in app.h, what it does in app.cpp (document, files, keys, main), app_model, app_paint, app_print, app_view, app_panels, app_scripts (done by a script: the bodies moved as they were); the print check's wall thickness kept while moving; two clang warnings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
1cda87b19a
commit
830876a18e
10 changed files with 9477 additions and 8697 deletions
|
|
@ -379,7 +379,8 @@ int runClient(Game& game) {
|
|||
}
|
||||
const bool focused = SDL_GetWindowFlags(window.handle()) & SDL_WINDOW_INPUT_FOCUS;
|
||||
audio::setFocused(focused);
|
||||
if (vid_mode.consumeModified() | vid_width.consumeModified() | vid_height.consumeModified())
|
||||
const bool mode = vid_mode.consumeModified(), width = vid_width.consumeModified(), height = vid_height.consumeModified(); // (each taken, none skipped)
|
||||
if (mode || width || height)
|
||||
window.setMode(vid_mode.i(), std::max(vid_width.i(), 640), std::max(vid_height.i(), 480));
|
||||
// Menus need no more than fps_max_menu (like Source's): high frame rates there only heat
|
||||
// the GPU and make coil whine (often heard in headphones on the onboard jack).
|
||||
|
|
|
|||
Loading…
Reference in a new issue