diff options
Diffstat (limited to 'Dalos/Console.h')
-rw-r--r-- | Dalos/Console.h | 8 |
1 files changed, 6 insertions, 2 deletions
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 |