mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 22:34:18 +08:00
63 lines
1.9 KiB
Diff
63 lines
1.9 KiB
Diff
--- source/game.cpp 2018-05-28 14:37:45.401234128 +0200
|
|
+++ build/game.cpp 2018-05-28 14:47:42.698867243 +0200
|
|
@@ -2942,11 +2942,11 @@
|
|
//user_width = 1184;
|
|
//user_height = 720;
|
|
|
|
- if( user_width >= 4*default_width_c ) {
|
|
+ /*if( user_width >= 4*default_width_c ) {
|
|
scale_width = 4.0f;
|
|
LOG("scale width 4x\n");
|
|
}
|
|
- else if( user_width >= 3*default_width_c ) {
|
|
+ else*/ if( user_width >= 3*default_width_c ) {
|
|
scale_width = 3.0f;
|
|
LOG("scale width 3x\n");
|
|
}
|
|
@@ -2963,11 +2963,11 @@
|
|
return false;
|
|
}
|
|
|
|
- if( user_height >= 4*default_height_c ) {
|
|
+ /*if( user_height >= 4*default_height_c ) {
|
|
scale_height = 4.0f;
|
|
LOG("scale height 4x\n");
|
|
}
|
|
- else if( user_height >= 3*default_height_c ) {
|
|
+ else*/ if( user_height >= 3*default_height_c ) {
|
|
scale_height = 3.0f;
|
|
LOG("scale height 3x\n");
|
|
}
|
|
@@ -3022,11 +3022,11 @@
|
|
screen = new Gigalomania::Screen();
|
|
|
|
#if SDL_MAJOR_VERSION == 1
|
|
- if( screen->open(4*default_width_c, 4*default_height_c, fullscreen) ) {
|
|
+ /*if( screen->open(4*default_width_c, 4*default_height_c, fullscreen) ) {
|
|
scale_width = scale_height = 4.0f;
|
|
LOG("scale 4x\n");
|
|
}
|
|
- else if( screen->open(3*default_width_c, 3*default_height_c, fullscreen) ) {
|
|
+ else*/ if( screen->open(3*default_width_c, 3*default_height_c, fullscreen) ) {
|
|
scale_width = scale_height = 3.0f;
|
|
LOG("scale 3x\n");
|
|
}
|
|
@@ -3636,7 +3636,7 @@
|
|
}
|
|
|
|
//bool quit = false;
|
|
-bool debugwindow = true;
|
|
+bool debugwindow = false;
|
|
|
|
void Game::requestQuit(bool force_quit) {
|
|
if( !state_changed ) {
|
|
@@ -5243,7 +5243,7 @@
|
|
debugwindow = true;
|
|
#endif
|
|
|
|
- bool fullscreen = false;
|
|
+ bool fullscreen = true;
|
|
#if defined(__amigaos4__) || defined(AROS) || defined(__MORPHOS__)
|
|
fullscreen = false; // run in windowed mode due to reported performance problems in fullscreen mode on AmigaOS 4; also randomly hangs on AROS in fullscreen mode; also included MorphOS just to be safe
|
|
#endif
|