about summary refs log tree commit diff stats
path: root/012transform.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-10-29 11:56:10 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-10-29 11:56:10 -0700
commitdd2e01e43e971c9325b343fa3e554097e829c508 (patch)
tree6c101a638967fc7120b9e421cf63837f1c9b6c86 /012transform.cc
parentb2ec0969e9f7ef7c3267545efbed907c15084695 (diff)
downloadmu-dd2e01e43e971c9325b343fa3e554097e829c508.tar.gz
2311
Diffstat (limited to '012transform.cc')
-rw-r--r--012transform.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/012transform.cc b/012transform.cc
index 59af0e22..72f0cb0b 100644
--- a/012transform.cc
+++ b/012transform.cc
@@ -15,11 +15,14 @@ vector<transform_fn> Transform;
 
 :(code)
 void transform_all() {
+  trace(9990, "transform") << "=== transform_all()" << end();
   for (long long int t = 0; t < SIZE(Transform); ++t) {
+//?     cerr << "transform " << t << '\n';
     for (map<recipe_ordinal, recipe>::iterator p = Recipe.begin(); p != Recipe.end(); ++p) {
       recipe& r = p->second;
       if (r.steps.empty()) continue;
       if (r.transformed_until != t-1) continue;
+//?       cerr << "  recipe " << r.name << '\n';
       (*Transform.at(t))(/*recipe_ordinal*/p->first);
       r.transformed_until = t;
     }
@@ -29,6 +32,7 @@ void transform_all() {
 }
 
 void parse_int_reagents() {
+  trace(9991, "transform") << "--- parsing any uninitialized reagents as integers" << end();
   for (map<recipe_ordinal, recipe>::iterator p = Recipe.begin(); p != Recipe.end(); ++p) {
     recipe& r = p->second;
     if (r.steps.empty()) continue;