Allow the archhooks to update if needed once per cycle through game loop. This is done after inputs have been handled

This commit is contained in:
Steve Checkoway
2003-08-04 11:18:55 +00:00
parent 1735ddb47c
commit 427bed263d
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -811,6 +811,8 @@ static void GameLoop()
/* Important: Process input AFTER updating game logic, or input will be acting on song beat from last frame */
HandleInputEvents( fDeltaTime );
HOOKS->Update( fDeltaTime );
/*
* Render
*/
+2
View File
@@ -40,6 +40,8 @@ public:
virtual MessageBoxResult MessageBoxAbortRetryIgnore( CString sMessage, CString ID = "" ) { return ignore; }
virtual ~ArchHooks() { }
/* This is called once each time through the game loop */
virtual void Update(float delta) { }
};
#endif