* (windows) Version # is now shown in title bar
* (bugfix) Fixed some issues with how default offsets are calculated, it fixed some problems where sprites would be in the wrong place in certain DMODs - Added info to programmer_readme.txt about how to set the Windows version to build git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1476 353e56fe-9613-0410-8469-b96ad8e6f29c
This commit is contained in:
parent
e3ad75909f
commit
0fe6c06c7d
5 changed files with 217 additions and 41 deletions
|
@ -144,7 +144,24 @@ App * GetApp()
|
|||
return g_pApp;
|
||||
}
|
||||
|
||||
const char * GetAppName() {return "Dink Smallwood HD";};
|
||||
const char * GetAppName()
|
||||
{
|
||||
|
||||
#ifdef WINAPI
|
||||
|
||||
if (GetApp())
|
||||
{
|
||||
static char name[64];
|
||||
sprintf(name, "Dink Smallwood HD %s", GetApp()->GetVersionString().c_str());
|
||||
return name;
|
||||
}
|
||||
#endif
|
||||
|
||||
return "Dink Smallwood HD";
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
App::App()
|
||||
|
@ -706,10 +723,10 @@ void App::OnScreenSizeChange()
|
|||
}
|
||||
|
||||
#ifdef WINAPI
|
||||
GetApp()->GetVar("fullscreen")->Set(uint32(g_bIsFullScreen));
|
||||
GetApp()->GetVar("videox")->Set(uint32(GetPrimaryGLX()));
|
||||
GetApp()->GetVar("videoy")->Set(uint32(GetPrimaryGLY()));
|
||||
#endif
|
||||
GetApp()->GetVar("fullscreen")->Set(uint32(g_bIsFullScreen));
|
||||
GetApp()->GetVar("videox")->Set(uint32(GetPrimaryGLX()));
|
||||
GetApp()->GetVar("videoy")->Set(uint32(GetPrimaryGLY()));
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue