http://www.dianneandpaul.net/CSBwin/doc ... tions.html
Code: Select all
Extended Wall Decorations
The author of ConfluxIII demanded that we make it possible to define additional wall decorations. In order to provide the necessary variety in his dungeon, he had been forced to produce additional wallsets for his skins; an extremely tedious and wasteful process. Here is the result: the ability to display up to 262,000 different wall decorations arbitrarily on any level of the dungeon.
Specifying wall decoration locations -
Ah! The DSA becomes valuable again! Actuators commonly specify a wall decoration. For example, a pushbutton might specify that a 'Blue Button' be displayed on the wall. Normally, a DSA has no decoration. But! If the DSA is number 255, then its parameter A is used to specify a wall decoration from the CSBgraphics.dat file.
Format of Wall Decorations -
A Wall Decoration consists of three parts:
1. An array of descriptors showing where the decoration should be displayed on each of 13 walls that the player can see while touring the dungeon.
2. A bitmap of the side view of the decoration
3. A bitmap of the front view of the decoration.
A 'Wall Decoration' segment of CSBgraphic.dat consists of those three parts, one after the other, with any padding necessary to make each part start on a four-byte boundary. (2 bytes of zero are needed between parts one and two. Parts two and three are, by definition, a multiple of four bytes in length and so no padding is necessary between them.) The two bytes of zero should be set to ZERO because we may find some use for them someday.
so, ext wall decs are written in CSBgraphics.dat. Does Zyx made eight groups of rectangles for 13 decoration types? Or is there one rectangle group for the mostr common type?
What is the file type of ewd in CSBgraphics.dat? I assume it`s not the "portrait" type? Could you provide a demo showing them "real"?