MAP problems (the mapsnip)

From: Emil Nilimaa (kyos_overlord@hotmail.com)
Date: 09/22/99


Trying to put in the "overland" map,
from the ftp site. (mapsnip)

Ok this is what i get when compiling:

in comm.c the code is: (from the mapsnip at circle ftp)
-----------------------------------------------------
log("Loading Surface Map. ");

  //Load the map vnums from a file into an array

  mapfile = fopen("c:\\surface.map", "r");

  //fscanf(mapfile, "%d %d", &MAP_ROWS, &MAP_COLS);

  for (rowcounter = 0; rowcounter <= MAP_ROWS; rowcounter++) {
          for (colcounter = 0; colcounter <= MAP_COLS; colcounter++) {
                  fscanf(mapfile, "%d", &vnum_read);
                  mapnums[rowcounter][colcounter] = real_room(vnum_read);
          }
  }
---------------------------------------------------------------------

and these error msg occur:

comm.c:357: `mapfile` undeclared (first use in this function)
comm.c:361: `rowcounter` undeclared (first use in this function)
comm.c:362: `colcounder` undeclared (first use in this function)
comm.c:363: `vnum_read` undeclared (first use in this function)

---------------------------------------------------------------------

ok, now im using RedHat linux 6.0 (circle bpl15), and i have
to give the mapfile another path. But that dosent seem to be the current
problem.

Anyone know what might be wrong, or is using this map?

/kyos

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST