From: tiennou <tie...@gm...> - 2007-03-23 13:02:54
|
Le 23 mars 07 à 13:28, Tito Dal Canton a écrit : > I've been contacted by an (italian!) shapefusion user who told me > about > Damage Inc, an old game based on a modified, closed source marathon > engine. I didn't know it before. Funny, I gave it a try a (long) time ago, it was good ;-) Graphics were not quite Marathon quality, but it was fun having a squad to control... > An interesting fact is that this > scenario uses an "extended" shapes format with more than 32 > collections. > I've tried to open such file with our editor and it works fine, though > it clearly ignores additional collections. > > So... > > Why not design an algorithm which tries to determine the number of > collections dynamically? It should be basically a variation of our > current way to detect shapes files. I'll experiment with that. I > see you > really had a good idea when switching to a std::vector for > collections ;-) I guess this can be done, I don't know how we handle the fact that there is additional collections to load. It seems strange to me that the shapes file format doesn't have it's own header indicating number of collection/version/tag as a sound file has... tiennou |