From 8b42d65a7e922a9b9241ebe509968331fe958fb6 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Wed, 15 Oct 2003 06:40:31 +0000 Subject: Dumped most of the remaining "driver" code into a new "Display" class. This touches a lot of the code, of course, and adds yet another global variable (temporarily, I hope), but everything still seems to work. Knock on wood. svn-id: r10806 --- sword2/logic.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sword2/logic.cpp') diff --git a/sword2/logic.cpp b/sword2/logic.cpp index 4dc4123f77..d173767a37 100644 --- a/sword2/logic.cpp +++ b/sword2/logic.cpp @@ -18,6 +18,7 @@ */ #include "stdafx.h" +#include "bs2/sword2.h" #include "bs2/build_display.h" #include "bs2/console.h" #include "bs2/debug.h" @@ -347,8 +348,8 @@ uint32 logic::examineRunList(void) { Build_display(); do { - ServiceWindows(); - } while(!KeyWaiting()); + g_display->updateDisplay(); + } while (!KeyWaiting()); // kill the key we just pressed ReadKey(&ke); -- cgit v1.2.3