From: Eric S. Raymond Date: Fri, 15 Sep 2006 01:55:24 +0000 (+0000) Subject: Temporarily make this standalone. X-Git-Tag: 2.0~263 X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=commitdiff_plain;h=1b01681fc8d3e0bf286ae496cb08a36cb1d66ed5 Temporarily make this standalone. --- diff --git a/src/xio.c b/src/xio.c index 1ac0e23..f95790d 100644 --- a/src/xio.c +++ b/src/xio.c @@ -13,9 +13,14 @@ * 1. Button pushes should be able to insert commands at the buffer's * current insertion point. * 2. When a user finishes a command with Return, a callback should - * receive the line of input types. + * receive the line of input typed. + * + * All the input passed to the game in back of this will be lines full + * of commands generated either by typing into the text buffer directly + * or by button presses that generate text unto the buffer. */ #include +#include #include #include #include @@ -23,7 +28,9 @@ #include #include #include -#include "sst.h" +//#include "sst.h" +#define OPTION_PLANETS 1 +#define OPTION_PROBE 2 static XtAppContext app_context; static Widget toplevel, text, form;