[Gridflow-cvs] [svn] commit: r3439 - in /trunk/base: grid.h source_filter.rb

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Thu Apr 3 22:45:12 EDT 2008


Author: matju
Date: Thu Apr  3 22:45:12 2008
New Revision: 3439

Log:
remove 7th numbertype completely

Modified:
    trunk/base/grid.h
    trunk/base/source_filter.rb

Modified: trunk/base/grid.h
==============================================================================
--- trunk/base/grid.h (original)
+++ trunk/base/grid.h Thu Apr  3 22:45:12 2008
@@ -745,9 +745,9 @@
 //****************************************************************
 // for use by source_filter.rb ONLY (for \grin)
 #ifndef HAVE_LITE
-#define GRIN(TB,TS,TI,TL,TF,TD,TR) {TB,TS,TI,TL,TF,TD}
+#define GRIN(TB,TS,TI,TL,TF,TD) {TB,TS,TI,TL,TF,TD}
 #else
-#define GRIN(TB,TS,TI,TL,TF,TD,TR) {TB,TS,TI,TF}
+#define GRIN(TB,TS,TI,TL,TF,TD) {TB,TS,TI,TF}
 #endif // HAVE_LITE
 struct FClass {
 	void *(*allocator)(); // returns a new C++ object

Modified: trunk/base/source_filter.rb
==============================================================================
--- trunk/base/source_filter.rb (original)
+++ trunk/base/source_filter.rb Thu Apr  3 22:45:12 2008
@@ -265,10 +265,10 @@
 	frame.grins.each {|i,v|
 		cli = "#{cl}::grinw_#{i}"
 		k = case v[1]
-		when     nil; [1,1,1,1,1,1,1]
-		when 'int32'; [0,0,1,0,0,0,0]
-		when   'int'; [1,1,1,1,0,0,0]
-		when 'float'; [0,0,0,0,1,1,0]
+		when     nil; [1,1,1,1,1,1]
+		when 'int32'; [0,0,1,0,0,0]
+		when   'int'; [1,1,1,1,0,0]
+		when 'float'; [0,0,0,0,1,1]
 		else raise 'BORK BORK BORK' end
 		ks = k.map{|ke| if ke==0 then 0 else cli end}.join(",")
 		Out.print "static GridHandler #{cl}_grid_#{i}_hand = GRIN(#{ks});"



More information about the Gridflow-cvs mailing list