Weird impy thing
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > Eternity Support in XWE
 
Author
All times are GMT. The time now is 14:58. Post New Thread    Post A Reply
Csabo
Moderator


Posts: 541
Registered: 02-02


I'm adding support for Eternity to my WAD editor XWE. I looked at the TERTYPES lump, and it seems to me that the documentation here is outdated. The flatname seems to be followed by 3 bytes, not one. Is this new? Or am I missing something?

Old Post 03-06-03 20:23 #
Csabo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
SoM
azerty YAY!


Posts: 285
Registered: 03-02


I'm not 100% sure but I think that the string is NULL buffered not NULL terminated so if the flat name is only 6 letters long, it would be followed by 2 null chars to fill in the 8 character space, and if the name is 8 characters long it will not have any null chars at the end. Check it with an 8 character flat name to be sure, but I'm pretty positive that's the format.

It's really cool that you are adding Eternity support BTW. :D

Stephen

__________________
oPS I HITTED THE CAPDLOCK

Old Post 03-06-03 21:18 #
SoM is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Csabo
Moderator


Posts: 541
Registered: 02-02


You are right about the NULL buffering. The flat name is always 8 bytes. However, after that there are 3 bytes that follow, not just one, as the doc said.

About FraggleScript: do script files have to be compiled?

Is there a list of Eternity's linedefs or things that are not in the regular doom? I would need those for a configuration file.

Old Post 03-07-03 01:56 #
Csabo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 5925
Registered: 08-00


You are correct. The specification is incorrect in saying that the string is 8-byte null-extended. It should say 9-byte, or 8-byte null-extended AND null-terminated. The flat name is padded out to 9 bytes. I don't really know why I wrote it that way, I suppose I thought it was easier to read in at the time. The TerrainType number is a short in little-endian format, so it accounts for the other 2 bytes. I'll correct the online specification as soon as possible.

As for FraggleScript, support for it is being removed from the engine, so I do not recommend wasting any time to support it. Eternity now uses Small for scripting, but that system is not complete as of the beta 2 release.

The EDITREF.TXT file that comes with Eternity is a necessary must for understanding and implementing support. I don't have a simple list of extra types that are implemented in Eternity beyond what is outlined in that file. You can easily find everything new to MBF, SMMU, or Eternity by searching for the names of those ports, though. I have been careful to demarcate new features with headers like "*** New to Eternity ***"

Good luck and don't hesitate to ask more questions.

Old Post 03-08-03 01:37 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 14:58. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > Eternity Support in XWE

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.