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
 
adding a list to a list(runters infinite bits)

adding a list to a list(runters infinite bits)

2005-05-29       - By omar miisa

 Back
well, my problem first started when i changed over my aff's to runters
code(it works great tho, at least, for loading mobs, but for players im
getting some problems because of race i think).

so theres lines in the code like this:

ch->affected_by = ch->affected_by|race_table[race].aff;

and runters code didnt seem to like the '|', so i made this function to add
all the bits from one list to another list, it was a lot uglier and messier
but the code didnt seem to work at all, probably because i dont fully
understand what this code does i think. so anyway, heres my code i have now,
its simple but my mind says it should work...anybody have any suggestions?

void set_bit_list(BITMASK *mask, BITMASK *mask2)
{
               BMlist *pBlist;
  bool found = FALSE;


  for(pBlist = mask2->int_list;pBlist;pBlist = pBlist->next)
  {
    set_bit(mask,pBlist->tar_mask);
  }
  return;
}

__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
Take charge with a pop-up guard built on patented Microsoft? SmartScreen
Technology  
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http:/
/hotmail.com/enca&HL=Market_MSNIS_Taglines
 Start enjoying all the benefits of MSN? Premium right now and get the
first two months FREE*.

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