/[enigma]/enigma/src/objects.cc
ViewVC logotype

Diff of /enigma/src/objects.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.114 by reallysoft, Mon Jul 21 08:21:13 2003 UTC revision 1.115 by reallysoft, Sun Sep 7 09:53:19 2003 UTC
# Line 415  namespace Line 415  namespace
415          DummyFloor() : Floor("fl-dummy", 4.0, 2.5) {}          DummyFloor() : Floor("fl-dummy", 4.0, 2.5) {}
416      private:      private:
417          void actor_enter(Actor *) {          void actor_enter(Actor *) {
418              int code = int_attrib("code");              static int lastCode = -1;
419              fprintf(stderr, "Entering floor 0x%x\n", code);              int        code     = int_attrib("code");
420                if (lastCode != code) {
421                    fprintf(stderr, "Entering floor 0x%x\n", code);
422                    lastCode = code;
423                }
424          }          }
425      };      };
426  }  }

Legend:
Removed from v.1.114  
changed lines
  Added in v.1.115

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26