tAdded .cvsignore files - vaccinewars - be a doctor and try to vaccinate the wo… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 62a5428ac6617321414c49f511328138b66258da | |
parent 4cbe6cbbdce73df996f9ecff4202108bcfda340b | |
Author: Ben Webb <[email protected]> | |
Date: Sun, 10 Sep 2000 22:00:26 +0000 | |
Added .cvsignore files | |
Diffstat: | |
A doc/.cvsignore | 1 + | |
A po/.cvsignore | 3 +++ | |
A src/.cvsignore | 5 +++++ | |
M src/gtk_client.c | 9 +++++++++ | |
4 files changed, 18 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/doc/.cvsignore b/doc/.cvsignore | |
t@@ -0,0 +1 @@ | |
+Makefile | |
diff --git a/po/.cvsignore b/po/.cvsignore | |
t@@ -0,0 +1,3 @@ | |
+Makefile | |
+Makefile.in | |
+POTFILES | |
diff --git a/src/.cvsignore b/src/.cvsignore | |
t@@ -0,0 +1,5 @@ | |
+Makefile | |
+.deps | |
+dopewars | |
+dopewars.res | |
+dopewars.exe | |
diff --git a/src/gtk_client.c b/src/gtk_client.c | |
t@@ -763,6 +763,9 @@ static void JetCallback(GtkWidget *widget,gpointer data) { | |
text,ClientData.Play); | |
g_free(text); | |
gtk_widget_destroy(JetDialog); | |
+ if (Network) { | |
+ SetSocketWriteTest(ClientData.Play,TRUE); | |
+ } | |
} | |
void JetButtonPressed(GtkWidget *widget,gpointer data) { | |
t@@ -782,6 +785,8 @@ void Jet() { | |
accel_group=gtk_accel_group_new(); | |
+ if (Network) gdk_input_remove(ClientData.GdkInputTag); | |
+ | |
dialog=gtk_window_new(GTK_WINDOW_DIALOG); | |
gtk_window_set_title(GTK_WINDOW(dialog),_("Jet to location")); | |
gtk_container_set_border_width(GTK_CONTAINER(dialog),7); | |
t@@ -1100,6 +1105,9 @@ static void QuestionCallback(GtkWidget *widget,gpointer … | |
SendClientMessage(ClientData.Play,C_NONE,C_ANSWER,To,text,ClientData.Play); | |
gtk_widget_destroy(dialog); | |
+ if (Network) { | |
+ SetSocketWriteTest(ClientData.Play,TRUE); | |
+ } | |
} | |
void QuestionDialog(char *Data,Player *From) { | |
t@@ -1121,6 +1129,7 @@ void QuestionDialog(char *Data,Player *From) { | |
Responses=split[0]; LabelText=split[1]; | |
+ if (Network) gdk_input_remove(ClientData.GdkInputTag); | |
dialog=gtk_window_new(GTK_WINDOW_DIALOG); | |
accel_group=gtk_accel_group_new(); | |
gtk_signal_connect(GTK_OBJECT(dialog),"delete_event", |