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: Memory Management Question

Subject: Memory Management Question

2005-09-20       - By mud@(protected)

 Back
Reply:     1     2  



Hello!

I want to add some linked lists to my characters for Role Play notes.

I have a question about this:

When I make my nodes that will be put on the characters, I have to use malloc,
calloc, etc, to allocate my own memory. Then I have to do all of the freeing
myself since I am not using a "free_list" (Such as the room_index_free list for
room indicies)?

I think I am right because I was reading memory.txt in fastrom and it said that
instead of using free, it keeps track of a list of old zeroed out instances of
whatever is on the list (ie: areas, rooms, mobs, etc).

My final question is: for anything that does not use the "free_list" I have to
do it the way I described above (assuming if I am right!)

THANKS!



-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
This message was sent using IMP, the Internet Messaging Program.
--
ROM mailing list
ROM@(protected)
Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom