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

Diff of /enigma/src/oxyd.cc

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

revision 1.7 by dheck, Sun Mar 23 21:58:07 2003 UTC revision 1.8 by mhawlisch, Thu Mar 27 12:05:56 2003 UTC
# Line 468  LevelPack_Oxyd::load_floor (const Level Line 468  LevelPack_Oxyd::load_floor (const Level
468      for (unsigned y=0; y<grid.getHeight(); ++y) {      for (unsigned y=0; y<grid.getHeight(); ++y) {
469          for (unsigned x=0; x<grid.getWidth(); ++x) {          for (unsigned x=0; x<grid.getWidth(); ++x) {
470              const char *name = floor_map[grid.get(x,y)];              const char *name = floor_map[grid.get(x,y)];
471              Floor *fl = MakeFloor(name ? name : "fl-hay");              Floor *fl = MakeFloor(name ? name : "fl-dummy");
472              SetFloor (GridPos(x, y), fl);              SetFloor (GridPos(x, y), fl);
473          }          }
474      }      }
# Line 485  LevelPack_Oxyd::load_items (const Level Line 485  LevelPack_Oxyd::load_items (const Level
485              int val = grid.get(x,y);              int val = grid.get(x,y);
486              if (!val) continue;              if (!val) continue;
487              const char *name = item_map[val];              const char *name = item_map[val];
488              Item *it = MakeItem (name ? name : "it-magicwand");              Item *it = MakeItem (name ? name : "it-dummy");
489              SetItem (GridPos(x, y), it);              SetItem (GridPos(x, y), it);
490          }          }
491      }      }
# Line 502  LevelPack_Oxyd::load_stones (const Level Line 502  LevelPack_Oxyd::load_stones (const Level
502              int val = grid.get(x,y);              int val = grid.get(x,y);
503              if (!val) continue;              if (!val) continue;
504              const char *name = stone_map[val];              const char *name = stone_map[val];
505              Stone *st = MakeStone(name ? name : "st-brownie");              Stone *st = MakeStone(name ? name : "st-dummy");
506              SetStone (GridPos(x, y), st);              SetStone (GridPos(x, y), st);
507          }          }
508      }      }

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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