Re: [CODE] [QUESTION] Virtual Map

From: Christoffer Lundberg (avatar@ORION.BODEN.SE)
Date: 05/20/98


There are 28 rows....
...i.e like:

row_1
row_2
row_3
row_x

And there are 45 columns, like:

col_1,col_2,col_3,col_x

So that can't be the problem...

> 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 |
>      +------------------------------------------------------------+
>


     +------------------------------------------------------------+
     | 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