aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver/rdwin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/driver/rdwin.cpp')
-rw-r--r--sword2/driver/rdwin.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/sword2/driver/rdwin.cpp b/sword2/driver/rdwin.cpp
index 743c68201d..5a053d8ebe 100644
--- a/sword2/driver/rdwin.cpp
+++ b/sword2/driver/rdwin.cpp
@@ -73,6 +73,10 @@ void Sword2State::parseEvents() {
}
}
+/**
+ * Quit the game.
+ */
+
int32 CloseAppWindow(void) {
warning("stub CloseAppWindow");
/*
@@ -89,6 +93,11 @@ void SetNeedRedraw() {
_needRedraw = true;
}
+/**
+ * This function should be called at a high rate (> 20 per second) to service
+ * windows and the interface it provides.
+ */
+
int32 ServiceWindows(void) {
g_sword2->parseEvents();
FadeServer();
@@ -107,6 +116,11 @@ int32 ServiceWindows(void) {
return RD_OK;
}
+/**
+ * Set the window name to windowName and stores this name in gameName for
+ * future use.
+ */
+
void SetWindowName(const char *windowName) {
warning("stub SetWindowName( %s )", windowName);
// SetWindowText(hwnd, windowName);