git » fp-git.git » commit eb0fc3e

second argument not verified anymore

author ecalot
2004-10-24 07:03:03 UTC
committer ecalot
2004-10-24 07:03:03 UTC
parent a9da9c16f04e635b3ceb83de9b565b1f2602aa1e

second argument not verified anymore

FP/src/conf/awk/states_conf_static.awk +13 -13

diff --git a/FP/src/conf/awk/states_conf_static.awk b/FP/src/conf/awk/states_conf_static.awk
index 4119445..4c72dba 100644
--- a/FP/src/conf/awk/states_conf_static.awk
+++ b/FP/src/conf/awk/states_conf_static.awk
@@ -35,17 +35,17 @@ BEGIN {
 	printf("#define STATES_MOVETYPES_ABSOLUTEFORWARD 1\n\n")
 	printf("#define STATES_MOVETYPES_RELATIVETURN 2\n\n")
 	printf("#define STATES_CONDITIONS {\\\n")
-	tmp="conf/statesproperties.conf"
-	while ((getline line < tmp) > 0) {
-		gsub(/[	 ]+/, "-",line)
-		m=index(line,"-")
-		if (m) {
-			word=substr(line,0,m)
-			number=substr(line,m+1)
-			defines[word]=number
-		}
-	}
-	close(tmp)
+#	tmp="conf/statesproperties.conf"
+#	while ((getline line < tmp) > 0) {
+#		gsub(/[	 ]+/, "-",line)
+#		m=index(line,"-")
+#		if (m) {
+#			word=substr(line,0,m)
+#			number=substr(line,m+1)
+#			defines[word]=number
+#		}
+#	}
+#	close(tmp)
 	currentAnimation=0
 	greatestLevel=-1
 	first=0
@@ -74,8 +74,8 @@ BEGIN {
 		}
 		currentCondition++
 		if ($2!=sprintf("%d",$2)) {
-			if (defines[$2]) {
-				result=sprintf("STATES_COND_%s /* %d */",$2,defines[$2])
+			if (1) {      #defines[$2]) {
+				result=sprintf("STATES_COND_%s /* %d */",$2,0) #defines[$2])
 			} else {
 				if ($2) {
 					printf("Parsing error in states.conf: Condition modifier '%s' not recognized on uncommented line %d.\n",$2,NR)>"/dev/stderr"