From cf676c6c981d98535e25b2cdcb2768d5f2fac67d Mon Sep 17 00:00:00 2001 From: pixel Date: Sun, 26 Dec 2004 02:45:55 +0000 Subject: Fixing the Dalos/Console split (and also a dos2unix it seems...) --- Dalos/Console.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Dalos/Console.h') diff --git a/Dalos/Console.h b/Dalos/Console.h index 8073a4d..65e8357 100644 --- a/Dalos/Console.h +++ b/Dalos/Console.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: Console.h,v 1.2 2004-11-27 21:47:23 pixel Exp $ */ +/* $Id: Console.h,v 1.3 2004-12-26 02:45:55 pixel Exp $ */ #ifndef __CONSOLE_H__ #define __CONSOLE_H__ @@ -44,6 +44,7 @@ class console : public mogltk::widget { void page_reset(); void page_up(); void page_down(); + static void create_console_thread(); protected: virtual void draw(); virtual bool process_event(int mx, int my, mogltk::event_t event); @@ -53,11 +54,14 @@ class console : public mogltk::widget { SDL_mutex * protect_add_line; } * CurrentConsole; +// We should rather have a special mechanism for these extern SDL_mutex * console_lock; extern SDL_sem * console_sem; extern Buffer console_buffer; - extern String console_prompt; +// Really extern... They have to be provided (sigh) +extern bool auto_exec, lua_started, do_lua_break; + #endif -- cgit v1.2.3