- Code: Select all
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22//Configure framework
ERESULT ClassMain::OnFrameworkConfig(EFRAMEWORKCONFIG *config)
{
config->maxfps = 60; //Limit the maximum frames per second by 60
config->flags = 0; //No extra flag options
config->smartfps = true; //Enable smart fps lock managing
return(E_OK);
}
//Configure display
ERESULT ClassMain::OnDisplayConfig(EDISPLAYCONFIG *config)
{
ClassEStd::StrCpy(config->caption, "View 3D");
config->icon = IDI_MAIN;
config->width = GetSystemMetrics(SM_CXSCREEN);
config->height = GetSystemMetrics(SM_CYSCREEN);
config->orientation = DOR_AUTO;
config->engineconsole = false;
config->fullscreen = true;
config->fullscreenmouse = true;
return(E_OK);
}22 lines; 6 keywds; 2 nums; 72 ops; 1 strs; 5 coms Syntactic Coloring v0.4 - Dan East
I saw a reference to ERS_REQUIREHIGHRES in this forum, but I believe it has been depricated.
Can someone help me??
