mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
UpdateF, dx reinit
This commit is contained in:
parent
fa2cb7ba56
commit
e87bf5b029
24 changed files with 1029 additions and 415 deletions
|
@ -210,9 +210,10 @@ BF_EXPORT const char* BF_CALLTYPE BFApp_GetDataDir()
|
|||
return gBFApp->mDataDir.c_str();
|
||||
}
|
||||
|
||||
BF_EXPORT void BF_CALLTYPE BFApp_SetCallbacks(BFApp_UpdateFunc updateFunc, BFApp_DrawFunc drawFunc)
|
||||
BF_EXPORT void BF_CALLTYPE BFApp_SetCallbacks(BFApp_UpdateFunc updateFunc, BFApp_UpdateFFunc updateFFunc, BFApp_DrawFunc drawFunc)
|
||||
{
|
||||
gBFApp->mUpdateFunc = updateFunc;
|
||||
gBFApp->mUpdateFFunc = updateFFunc;
|
||||
gBFApp->mDrawFunc = drawFunc;
|
||||
//public delegate void UpdateProc();
|
||||
}
|
||||
|
@ -276,6 +277,11 @@ BF_EXPORT BFSoundManager* BF_CALLTYPE BFApp_GetSoundManager()
|
|||
return gBFApp->GetSoundManager();
|
||||
}
|
||||
|
||||
BF_EXPORT intptr BF_CALLTYPE BFApp_GetCriticalThreadId(int idx)
|
||||
{
|
||||
return gBFApp->GetCriticalThreadId(idx);
|
||||
}
|
||||
|
||||
///
|
||||
|
||||
BF_EXPORT void BF_CALLTYPE BFWindow_SetCallbacks(BFWindow* window, BFWindow_MovedFunc movedFunc, BFWindow_CloseQueryFunc closeQueryFunc, BFWindow_ClosedFunc closedFunc,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue