Added GUI, some menus dont work yet.

Fixed uniform scaling.
Removed splash screen.
This commit is contained in:
Muzychenko Andrey committed 2021-09-05 10:47:05 +03:00
1 parent 9a10d72e1f
commit e0638c598d
29 files changed
+50267 -1242

No files matched your search

+3 -2
View File
@@ -95,6 +95,7 @@ void options::init(HMENU menuHandle)
Options.RightTableBumpKey = Options.RightTableBumpKeyDft;
Options.Players = 1;
Options.BottomTableBumpKey = Options.BottomTableBumpKeyDft;
Options.UniformScaling = true;
/*Options.Sounds = get_int(nullptr, "Sounds", Options.Sounds);
Options.Music = get_int(nullptr, "Music", Options.Music);
Options.Average = get_int(nullptr, "Average", Options.Average);
@@ -341,7 +342,7 @@ void options::toggle(UINT uIDCheckItem)
Options.UniformScaling ^= true;
menu_check(Menu1_WindowUniformScale, Options.UniformScaling);
fullscrn::window_size_changed();
fullscrn::paint();
pb::paint();
break;
default:
break;
@@ -387,7 +388,7 @@ void options::init_resolution()
void options::keyboard()
{
DialogBoxParamA(nullptr, "KEYMAPPER", nullptr, KeyMapDlgProc, 0);
//DialogBoxParamA(nullptr, "KEYMAPPER", nullptr, KeyMapDlgProc, 0);
}
INT_PTR _stdcall options::KeyMapDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)