Mailing List
Home
Forum Home
Mac Game - Mac game development
Rivers of MUD - a Diku and Merc based multiuser dungeon
SMAUG
Subjects
Getting UDP through NAT/firewalls/whatever for a game
Getting UDP through NAT/firewalls/whatever for a game
QuickTime errors
Python script as stand alone MUD server
Subject: Various sound problems
Fragment Shaders & GL TEXTURE RECTANGLE EXT
Subject: Timers and global variables
Re: Language and platform for Text MUD server
Apparent acquisition of Yantis (mysupersales) by IDE
HID keyboard
Getting UDP through NAT/firewalls/whatever for a game
Microsoft Sparkle
Subject: Director MX
Congratulations Horizons
Yet more problems fullscreen mode
Apple Dev Kitchen Them 's tasty vittles, Maw!
NSOpenGLContext, Pbuffers, and drawables
More DCR "theft " naughtiness
dynamic sprite creation and imaging lingo
Re: Find stuff in Flash array?
Effects of skill imbalances?
QuickTime errors
Rom 2 4/Quickmud Enhancement/Bug fix
Subject: Working with XML files/CFURL
smooth scrolling/subpixel tweening
RE: (Ron help me?) Flash text
Subject: Flash Racing
Subject: MudDev FAQ 2
Browser based games
Installing GLUT
Special character in Flash XML
 
Subject: problem with linked lists

Subject: problem with linked lists

2005-09-28       - By Tristan M

 Back
Reply:     1     2     3  

i think these are linked lists...
what i'm trying to do is create a linked list, like the mprog one but i keep
getting errors when compiling, heres the code:

403        STEP_DATA *list;

453        list->next = pRoom->step.list;
454        pRoom->step[step].list = list;

in merc.h

     typedef struct step_data STEP_DATA;

struct step_data
{
       int vnum;
       int current;
       int step_type;
       STEP_DATA *next;
};



so i try and compile that and i get this:
olc_step.c: In function `stedit_addprog':
olc_step.c:453: array subscript is not an integer
olc_step.c:454: array subscript is not an integer


i thought i basically copied how progs worked...can anyone point me in the
right direction?


--
ROM mailing list
ROM@(protected)
Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom