projects
/
super-star-trek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7a96c33
)
Temporarily make this standalone.
author
Eric S. Raymond
<esr@thyrsus.com>
Fri, 15 Sep 2006 01:55:24 +0000
(
01:55
+0000)
committer
Eric S. Raymond
<esr@thyrsus.com>
Fri, 15 Sep 2006 01:55:24 +0000
(
01:55
+0000)
src/xio.c
patch
|
blob
|
history
diff --git
a/src/xio.c
b/src/xio.c
index 1ac0e2362295a0cb2b5a69fc83cc53a6aab59dd9..f95790d534c73d6d855fb67c9ab1e0cfdda5c08f 100644
(file)
--- 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
* 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 <stdlib.h>
*/
#include <stdlib.h>
+#include <stdio.h>
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/Shell.h>
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <X11/Shell.h>
@@
-23,7
+28,9
@@
#include <X11/Xaw/Form.h>
#include <X11/Xaw/Command.h>
#include <X11/Xaw/AsciiText.h>
#include <X11/Xaw/Form.h>
#include <X11/Xaw/Command.h>
#include <X11/Xaw/AsciiText.h>
-#include "sst.h"
+//#include "sst.h"
+#define OPTION_PLANETS 1
+#define OPTION_PROBE 2
static XtAppContext app_context;
static Widget toplevel, text, form;
static XtAppContext app_context;
static Widget toplevel, text, form;