* Some stuff with changing the Dink HD menu key to F1 from Shift-Escape
* Added Dan's .png loading patch (untested) git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1522 353e56fe-9613-0410-8469-b96ad8e6f29c
This commit is contained in:
parent
20f8a6a856
commit
e0b2d2e5f0
17 changed files with 353 additions and 36 deletions
|
@ -403,6 +403,14 @@ Entity * PauseMenuCreate(Entity *pParentEnt)
|
|||
pKeys->GetVar("disabled")->Set(uint32(1));
|
||||
GetMessageManager()->SetComponentVariable(pKeys, 500, "disabled", uint32(0)); //enable it again
|
||||
|
||||
if (IsDesktop())
|
||||
{
|
||||
EntityComponent *pKeys = AddHotKeyToButton(pButtonEntity, VIRTUAL_KEY_F1);
|
||||
//work around problem of it instantly closing
|
||||
pKeys->GetVar("disabled")->Set(uint32(1));
|
||||
GetMessageManager()->SetComponentVariable(pKeys, 500, "disabled", uint32(0)); //enable it again
|
||||
}
|
||||
|
||||
/*
|
||||
pKeys = AddHotKeyToButton(pButtonEntity, VIRTUAL_KEY_PROPERTIES);
|
||||
//work around problem of it instantly closing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue