RE: [Sttr-open] obj-specs
Status: Alpha
Brought to you by:
borg
From: Chris G. <chr...@po...> - 2001-05-13 12:37:34
|
Well I agree. I remember now that Pascal actually does it better than C (in my opinion) by holding the length in the first byte. I've almost finished implementing the format. Also, I changed it so there are also "unsigned int" for no's of vtx's in a polygon. It's just easier to use the same types. It's annoying: type lengths aren't constant. I'm saying an int is 2 bytes, a float is 4 bytes and a short is one byte. Maybe more memory will be allocated, but I don't care :-) As long as the correct info is read and written to our object files then that's fine with me. > -----Original Message----- > From: stt...@li... > [mailto:stt...@li...]On Behalf Of Gideon > Wormeester > Sent: 12 May 2001 15:53 > To: stt...@li... > Subject: [Sttr-open] obj-specs > > > Hi, > > I think we've got a little problem with the new version of the > .STR-format > you made. The problem is that strings are handled differently by > Pascal en > C(++). I think the MAGIC-variable/constant should be an array of > 6 chars at > all times to ensure cross-compiler compatibility. > > Everyone (involved in engine-programming, object-editing etc..) agrees? > > Greetz, > > Gideon > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > _______________________________________________ > Sttr-open mailing list > Stt...@li... > http://lists.sourceforge.net/lists/listinfo/sttr-open > |