From ea3b0d11003dbf297b99d22905363df0b24c2f85 Mon Sep 17 00:00:00 2001 From: Andrew Kurushin Date: Tue, 21 Dec 2004 06:49:07 +0000 Subject: - rewritten actors speech engine : 1) there are three types of speech: one acor, multiple actor, non actor 2) slow speech implemented 3) uses native engine flags (async,noanimate...) instead of semaphores - proper timings implemented svn-id: r16237 --- saga/console.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'saga/console.cpp') diff --git a/saga/console.cpp b/saga/console.cpp index a70fb77108..b5ada851e1 100644 --- a/saga/console.cpp +++ b/saga/console.cpp @@ -86,6 +86,21 @@ Console::Console(SagaEngine *vm) : Common::Debugger() { Console::~Console() { } +int Console::DebugPrintf(const char *format, ...) { + int count; + va_list argptr; + + va_start(argptr, format); + + debug(1, format, argptr); + count = Common::Debugger::DebugPrintf(format); + + va_end (argptr); + + return count; +} + + void Console::preEnter() { } -- cgit v1.2.3