|
|
@@ -21,6 +21,7 @@ extern "C" { void CPSEnableForegroundOperation(ProcessSerialNumber* psn); }
|
|
|
|
|
|
#include "showBase.h"
|
|
|
|
|
|
+#include "throw_event.h"
|
|
|
#include "graphicsWindow.h"
|
|
|
#include "renderBuffer.h"
|
|
|
#include "camera.h"
|
|
|
@@ -44,6 +45,13 @@ ConfigureDef(config_showbase);
|
|
|
ConfigureFn(config_showbase) {
|
|
|
}
|
|
|
|
|
|
+// Throw the "NewFrame" event in the C++ world. Some of the lerp code depends
|
|
|
+// on receiving this.
|
|
|
+void
|
|
|
+throw_new_frame() {
|
|
|
+ throw_event("NewFrame");
|
|
|
+}
|
|
|
+
|
|
|
// Initialize the application for making a Gui-based app, such as wx. At the
|
|
|
// moment, this is a no-op except on Mac.
|
|
|
void
|