Re: [CODE] [QUESTION] Virtual Map

From: Angus Mezick (angus@EDGIL.CCMAIL.COMPUSERVE.COM)
Date: 05/20/98


I would check my array.  Make SURE there are 28 rows of 45 numbers.  and REALLY!
sure that you did not forget any braces or commas.  I have no line numbers in
what you supplied but I am guessing that int vmap1[28][45] = { is line 872.
Start there, and also check line 889.  that should be somewhere within your
array, because 889-872=17.  Is there a period and not a comma there?
--Angus

______________________________ Reply Separator _________________________________
Subject:  [CODE] [QUESTION]  Virtual Map
Author:  INTERNET:CIRCLE@POST.QUEENSU.CA at CSERVE
Date:    5/20/98 2:55 PM

Ok, I've gotten myself into some action here, and is developing
a Virtual Map. But when I compile, the following problem shows:

act.informative.c: In function `look_at_vmap_room':
act.informative.c:872: storage size of `vmap1' isn't
constant
act.informative.c:889: array subscript is not an integer



The vmap1 stuff is just a normal   int vmap1[28][45] = {
Then, I've written up a grid of numbers...

example.     {0,0,0,0,0,1,1,0,0,0,2,2,2,2,2

and so on......

I have no idea what can be wrong. The look_at_vmap_room is the following:

void look_at_vmap_room(struct char_data * ch)


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



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