Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!news.arc.nasa.gov!vsi1!zorch!amiga0!mykes From: mykes@amiga0.SF-Bay.ORG (Mike Schwartz) Newsgroups: comp.sys.amiga.programmer Subject: Re: ResEdit for the Amiga? It's not impossible... and it's desirable Message-ID: Date: 16 Jun 91 20:49:37 GMT References: <14224@dog.ee.lbl.gov> <837@tnc.UUCP> Organization: Amiga makes it possible Lines: 41 In article <837@tnc.UUCP> m0154@tnc.UUCP (GUY GARNETT) writes: > >Perhaps I sould clarify my idea about resource files. What I >intended was that the resources be in a separate file during program >development (to make it easier to manipulate the resources separately >from the program) and be accessed through a set of functions in a >(possible language or compiler dependent) link library. When you are >ready to release the program, link a different resource library (one >that knows how to locate resources installed in the executable), and >bind the resource file to the program executable. That way, the thing >won't get lost, and it will be in a separate, independent hunk (or >hunks) so that it will be relatively easy to modify in place. > You and I are totally on the same wavelength here. I'd suggest that a loadable .library and a linkable .lib would be in order. The ResEdit program could be built on the .library, and the applications could either use the .library or the .lib. The advantage of a .lib is that the app wouldn't require a .library to be present on the user's libs:. >One additional benefit of a resource editor like this one is that >appropriate structures can be placed in a hunk and marked for storage >in CHIP RAM (even if the compiler in question does not provide a >facility for it). This can happen "automatically" in the resource >editor (with a way to over-ride the default behavior, of course). > Not only would you want to store data structures like a NewWindow, but you could also store IFF graphics, text, and code as well. Imagine, if you will, calling GetNewWindow(), which reads the NewWindow structure from the resource, and the code and iff and text, and it does a CreateTask() for you. The code loaded would control the window... >Wildstar >"... I'll see you on the dark side of the Moon!" -- Pink Floyd -- **************************************************** * I want games that look like Shadow of the Beast * * but play like Leisure Suit Larry. * ****************************************************