summaryrefslogtreecommitdiff
path: root/Dalos/Console.h
diff options
context:
space:
mode:
authorpixel <pixel>2004-12-26 02:45:55 +0000
committerpixel <pixel>2004-12-26 02:45:55 +0000
commitcf676c6c981d98535e25b2cdcb2768d5f2fac67d (patch)
tree5d3708a62f7bcf0c06d42aabc410d23072e6a1f9 /Dalos/Console.h
parent58297e1342fe5ff3446597e9ce6eef494f3a4b2f (diff)
Fixing the Dalos/Console split (and also a dos2unix it seems...)
Diffstat (limited to 'Dalos/Console.h')
-rw-r--r--Dalos/Console.h8
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