terrain: doodad defs
How a placed doodad of a map object group comes to exist on the map: its def, its model and the
events that model raises, the lights of the group, and the def's lifetime. The terrain's own
doodads (the ADT's) are files#doodad-placements; the culling and drawing of defs is in scene
and their light in lights.
A doodad def has the key (doodad index, instance id + 1) at +0xb4 and +0xc8, its position
+0x24 and scale +0x30, its sphere +0x5c and +0x68, its model +0x88, its flags word +0xc,
its matrices +0xcc and +0x10c, its looping sound handle +0x168, and the node +0x16c that
links it into the scene.
Roots: 0x694e90, 0x695aa0, 0x695c00, 0x6952a0, 0x698c50, 0x6a0840
Group doodad def
0x694e90 makes the def for one doodad of a map object group, or returns the one already made
for the same key. A new def takes the record's position moved by the group matrix, its scale and
a matrix of translate, rotate (the record's quaternion) and scale, multiplied by the group matrix. The def's directional
light is the record's colour raised to a floor of 0x70 and its ambient the colour lowered to a cap
of 0x60 (0x6a77e0). It then makes the def's model and registers the def in the pending list.
Addresses: 0x694e90, 0x694f0e, 0x694f74, 0x694fb4, 0x694fcd, 0x694fd8, 0x69500d, 0x695040, 0x69506a, 0x695078, 0x695083, 0x6950be, 0x6950c6, 0x6950cf, 0x6950e9, 0x6a07f0, 0x6a77e0, 0x695100, 0x7bcc60, 0x7bdc40, 0x7bddb0, 0x7bdd00, 0x7bce30
Confidence: verified
Proof: one
Test: none
ret 0xc. The key is checked first in the table at 0xca7ddc (0x694ed8, 0x694ee3): the same
index and instance id return the def. 0x694f74 stores the key; 0x694fcd moves the position by the
matrix (0x7bcc60); 0x694fd8 copies the scale; 0x69500d sets flags to 1 and 0x695013 clears the model.
The matrix at +0xcc is identity, then translated by the record (0x69506a), rotated by its quaternion
(0x695078), scaled (0x695083) and multiplied by the group matrix (0x6950be). 0x6950c6 to
0x6950e3 call 0x6a77e0 with the floor 0x70 (0x6950cf) and the cap 0x60.
Doodad model
0x695100 makes a def's model from the path, sets its base matrix, and installs the done
callback 0x6951b0, the event callback 0x6951e0 and the lighting callback 0x672a20 with the def
as argument. It starts the model's default animation and, when asked, makes it a priority load.
0x6951b0 restarts the animation when its first argument is 0.
Addresses: 0x695100, 0x695107, 0x69510f, 0x69512c, 0x695140, 0x695153, 0x695164, 0x695180, 0x6951b0, 0x6951cc, 0x707350, 0x710620, 0x711bb0, 0x7133a0, 0x7134b0, 0x7121a0, 0x7103d0
Confidence: verified
Proof: one
Test: none
ret 4. 0x69510f creates the model in the world's scene (0xc7b298); it returns at once when
that fails (0x695120). 0x695140 sets the done callback, 0x695153 the event callback, 0x695164 the
lighting callback; 0x695180 calls the animation start with −1, 0, 1.0, 0, 1, 1; 0x695196 calls
0x7103d0 with 1 and 0 when the load flag is set. In 0x6951b0 the same animation start runs
(0x6951cc).
Doodad model events
0x6951e0 handles the sound events of a doodad model by the event code. $DSO plays the sound
at the position with volume 1.0; $DSL starts a looping sound emitter for the def, replacing the
current one if the sound differs, or moves it; $DSE ends the emitter.
Addresses: 0x6951e0, 0x6951e6, 0x6951f3, 0x6951fa, 0x695212, 0x69522d, 0x69523c, 0x69525b, 0x69526c, 0x695284, 0x458870, 0x461d80, 0x461f80, 0x462000, 0x462120
Confidence: verified
Proof: one
Test: none
ret 0x18. The codes are compared as cmp eax,0x45534424, 0x4c534424 and 0x4f534424, which are
the little-endian dwords of "$DSE", "$DSL" and "$DSO" (0x6951e6, 0x6951f3, 0x6951fa). 0x695212 is
0x458870; the loop case reads the def's +0x168 handle (0x695220), compares its sound id
0x462120 with the event's (0x695232), frees a differing one (0x69523c), adds a new emitter
0x461d80 (0x69525b) or moves the existing (0x462000); $DSE frees (0x695284).
Doodad bounds
0x6952a0 sets a def's world bounds from its model. The sphere centre is the model's bounding
centre moved by the def's matrix, the radius the model's bounding radius times the scale, and the
two boxes (the bounding and the collision box) are the model's moved by the matrix into +0x44 and
+0x14c.
Addresses: 0x6952a0, 0x695325, 0x695340, 0x695366, 0x695385, 0x69538f, 0x6953a0, 0x6953af, 0x6953c0, 0x713640, 0x713680, 0x713700, 0x6dc540, 0x7bca80
Confidence: verified
Proof: one
Test: none
0x695325 takes the bounding box (0x713640), 0x695340 the sphere (0x713680: centre then
radius), 0x695366 the collision box (0x713700); 0x695385 moves the centre by +0xcc; 0x69538f
multiplies the radius by +0x30 and 0x6953a0 stores it at +0x68; the boxes are moved at
0x6953af and 0x6953c0.
Group doodads
0x695aa0 makes the defs of a map object group. For each doodad index of the group it takes only
those in the first doodad set or in the object's current set, and none outside every set; it makes the def with 0x694e90, links it into
the group's doodad list and sets its light flags: an interior group's def gets bit 2 unless it has
bit 4; any other group's def gets bit 4, bit 2 cleared and intensity 1.0. It then sets bit 3 of the
group's flags.
Addresses: 0x695aa0, 0x695ad0, 0x695ae0, 0x695aec, 0x695b1e, 0x695b2f, 0x695b94, 0x695ba4, 0x695bb3, 0x695bc3, 0x695bea, 0x6a4fb0, 0x6a0450
Confidence: inferred
Proof: none
Test: none
ret 8. 0x6a4fb0 returns the 0-based index of the set whose range holds the doodad index, or 0xffffffff
(0x6a500d) for an index in no set; a 0 passes (0x695aea), anything else must equal the object's +0x124
(0x695aec). 0x6953e0 stores 0 there (0x6954a7), 0x695650 the record's word +0x3a (0x695753). The def is
0x694e90(index, record, path, id + 1, matrix) (0x695b1e). 0x695b94 tests the object's +0xc
bit 2; 0x695ba4 and 0x695bb3 set the flags; 0x695bea ORs bit 3 into the group's flags.
Group lights
0x695c00 makes the point lights of a map object group. For each light index it takes only type 0
entries not yet made and builds a map light at the entry's position moved by the object's matrix,
with start and end from the entry (the end raised by 0.1 when the two differ by under 0.001), the
falloff 1 / (end − start) and the colours times the entry's intensity, and links it to the group.
It then sets bit 4 of the group's flags.
Addresses: 0x695c00, 0x695c3d, 0x695c61, 0x695c8e, 0x695c99, 0x695cb1, 0x695cc1, 0x695ce2, 0x695d03, 0x695d0a, 0x695d11, 0x695d1d, 0x695d8c, 0x695e01, 0x695e08, 0x695e8a, 0x6c09b0, 0x6c0bb0, 0x6c0ae0, 0x801360
Confidence: inferred
Proof: none
Test: none
ret 8. 0x695c3d skips an entry whose type byte is nonzero; 0x695c61 makes the light and
0x695c8e moves its position. 0x695cb1 is the start/end gap test against 0.001 (0x801360),
0x695cc1 the +0.1, 0x695ce2 the reciprocal. 0x695d03 to 0x695d11 set the attenuation
fields 0, 0.7 and 0.03. 0x695d1d and 0x695d8c scale the entry's two colours by its intensity
into the light's +0x3c and +0x48. 0x695e01 places an interior group's light and 0x695e08
another's; 0x695e8a ORs bit 4 into the group's flags.
Group def creation
0x695960(root, instance) makes a def group for each group of a placed map object. Each def group is
allocated (0x6a0ca0), given a link node targeting the instance (0x6a0450) and linked into the
instance's list (+0x134, link offset +0x130). Its sphere at +0x5c (centre) and +0x68 (radius) is
the group's (0x6a44b0) with the centre moved to the world by the instance matrix +0x94; its world
box at +0x44 is the group's box moved by the same matrix. It stores the group index at +0x7c and
the instance's word +0x150 at +0x88, clears +0xc and sets its light class from the group's
flags in the root's group record: bit 4 with 0x48, else bit 2.
Addresses: 0x695960, 0x695986, 0x69598f, 0x695999, 0x6959d3, 0x6959ea, 0x6959f1, 0x695a1f, 0x695a36, 0x695a45, 0x695a54, 0x695a5c, 0x695a65, 0x695a6e, 0x695a74, 0x695a79, 0x695a7d, 0x695a83, 0x6a0ca0, 0x6a0450, 0x6a44b0, 0x6a45b0, 0x6a4640, 0x6dc540, 0x7bcc60
Confidence: verified
Proof: one
Test: none
ret 0, ecx the root and edx the instance, looping the root's group count +0x168. 0x695a1f
calls 0x6a44b0(rec+0x5c, index) and 0x695a36 0x7bcc60 with +0x94; 0x695a45 takes the box
(0x6a45b0) and 0x695a54 moves it into rec+0x44. 0x6a4640 returns the first dword of the group
record, and 0x695a79 test al,0x48 picks or [rec+0xc],4 (0x695a83) or ,2 (0x695a7d).
0x685d70 finds the def group by +0x7c (portals#group-submit), and the sphere is the query the
group draw's light gather uses (groupdraw#group-light-gather).
Map light record
A map object's MOLT record is 0x30 bytes: type +0x0, two flags +0x2 and +0x3, colour bytes
+0x4 to +0x6, position +0x8, intensity +0x14, a quaternion +0x18 that nothing reads, and the
attenuation start +0x28 and end +0x2c. Only type 0 makes a light. With flag +0x2 the light's
+0x3c triple is the bytes +0x6, +0x5, +0x4 over 255 times the intensity, and with flag +0x3
the triple at +0x48 is the same. The light's falloff in the scene grid is the constants 0, 0.7 and
0.03 (+0x54, +0x58, +0x5c) whatever the start and end say; those only set its own range triple.
Addresses: 0x695c00, 0x695c2f, 0x695c3d, 0x695c6a, 0x695c93, 0x695cb1, 0x695cc1, 0x695cdc, 0x695cfe, 0x695d03, 0x695d0a, 0x695d11, 0x695d18, 0x695d1f, 0x695d2e, 0x695d87, 0x695d8e, 0x698f50, 0x699110, 0x699120, 0x699146, 0x71b650, 0x6c3c5d, 0x801360, 0x801620, 0x8026c8
Confidence: verified
Proof: one
Test: none
0x695c00 and 0x698f50 both walk the group's references (+0xe4, count +0x140) over the root's
records (+0x148) and call 0x71b650. 0x6c3c5d stores the record pointer at the root's +0x148 and
the count at +0x180 (size over 0x30).
In 0x695c00, 0x695c3d skips a nonzero type, 0x695d18 and 0x695d87 test the two flags, and the
three colour bytes are read at 0x695d1f, 0x695d23 and 0x695d27, each times 1/255 (0x8026c8) and the intensity
(0x695d2e); the light's own range is formed from 0x28 and 0x2c (0x695c93), a gap under 0.001
getting 0.1 added to the end. 0x695d03, 0x695d0a and 0x695d11 store 0, 0x3f333333 and
0x3cf5c28f. 0x698f50 reads the same records at 0x699120 and registers them at 0x699146.
Group re-pose
0x698f50(def, position, facing) places a map object def. It stores the position at +0x24, writes a rotation about z by the facing and then a translation to the position into +0x94, and the inverse (0x7bd820, scale 1.0) into +0xd4; the facing is not stored. With the root loaded (+0x118, byte +0x1d4), the object's box +0x44 and sphere +0x5c, +0x68 are the root's moved by +0x94; otherwise the sphere is the position with radius 0 and the box is that point. For each group def whose group is loaded it moves the map lights and rebuilds the group's sphere and box, then calls 0x6a2070.
Addresses: 0x698f50, 0x6a86d0, 0x698f5e, 0x698fb6, 0x698fd8, 0x698fe7, 0x69901b, 0x69909e, 0x6990b7, 0x6990ed, 0x699120, 0x699146, 0x69914e, 0x6991a9, 0x6991db, 0x6991e4, 0x6a4310, 0x6a4420, 0x6a4a00, 0x6a44b0, 0x6a45b0, 0x6c0ae0, 0x71b650, 0x7bd820, 0x7bdc40, 0x7bdd60, 0x7bcc60, 0x6dc540
Confidence: verified
Proof: one
Test: none
0x698f5e ORs 4 into the byte +0xd. 0x698f77 to 0x698fb3 write the identity into +0x94; 0x698fb6 calls 0x7bdc40 with the position, 0x698fd8 0x7bdd60 with the facing, the axis (0, 0, 1) and the unit flag (M = R·M), and 0x698fe7 0x7bd820 into +0xd4. A zero loaded byte takes the point form (0x69901b). Else the root's sphere and box (0x6a4310, 0x6a4420) are moved by 0x7bcc60 and 0x6dc540 (0x69909e, 0x6990b7). The walk takes the head [def+0x138] and the group def [node+4]; 0x6a4a00(root, [group def+0x7c], 0) (0x6990ed) returns null for an unloaded group, which skips the node. Each reference (a u16 at [group+0xe4], count [group+0x140]) addresses a 0x30-byte record from [root+0x148] (0x699120). A nonzero entry of the light table [def+0x144] takes the record's position +8 moved by +0x94 through 0x71b650 (0x699146), and 0x6c0ae0 runs unless the group def's flags have bit 1 (0x69914e). 0x6991a9 to 0x6991db set the group def's sphere and box as for the object; 0x6991e4 calls 0x6a2070 with +0x94. It does not call 0x6a86d0.
Group doodad re-pose
0x6a2070(group def, matrix) sets bit 0 of the group def's flags +0xc, calls 0x6a81d0 with the matrix for each doodad def in its list +0xb0, then sets bit 0 of the flags word of each member of its second list +0xbc, the game object defs that 0x69ce90 walks. Its one caller is 0x698f50, which passes the object matrix +0x94. The group def's own sphere and box are set by the caller.
Addresses: 0x6a2070, 0x6a2077, 0x6a207b, 0x6a209d, 0x6a20af, 0x6a20cf, 0x6a81d0, 0x6a1cff, 0x6a1d29, 0x69ce90, 0x6991e4
Confidence: verified
Proof: one
Test: none
0x6a2077 ORs 1 into the byte +0xc. The first walk (0x6a207b to 0x6a20aa) calls 0x6a81d0 with ecx = [node+4] (0x6a209d) and steps by the link offset [this+0xa8]; the second (0x6a20af to 0x6a20de) ORs the word 1 into [member+0xc] (0x6a20cf) and steps by [this+0xb4]. The constructor sets both offsets to 0xc (0x6a1cff, 0x6a1d29). 0x69c23b passes the second list to 0x69ce90. The scan of e8 and e9 for 0x6a2070 finds 0x6991e4 only, and for 0x6a2150 0x6a2535 only. A scan for each address as a data dword finds none; its control, 0x5f49b0, finds its three push imm32.
Doodad re-pose
0x6a81d0(def, matrix) leaves a def without a model (+0x88) alone. Otherwise it sets bit 0 of +0xc, sets the position +0x24 to the local position +0x13c moved by the matrix, and +0xcc to the saved local matrix +0x10c times the matrix. A loaded model gives the sphere centre moved by +0xcc (into +0x5c), its radius times the scale +0x30 (into +0x68), and its bounding and collision boxes moved by +0xcc into +0x44 and +0x14c; an unloaded model gives zeros, so the sphere is +0xcc's translation with radius 0. A sound handle +0x168 moves to +0x24.
Addresses: 0x6a81d0, 0x6a81dc, 0x6a81ea, 0x6a81f2, 0x6a8215, 0x6a8227, 0x6a82c0, 0x6a8309, 0x6a83af, 0x6a83b4, 0x6a83ca, 0x6a83d9, 0x6a83ea, 0x6a8400, 0x7bc6a0, 0x7bcc60, 0x7bca80, 0x6dc540, 0x7103d0, 0x713640, 0x713680, 0x713700, 0x462000, 0x694e90, 0x69508e, 0x6950a2, 0x695b1e, 0x6950be, 0x6a7e6e, 0x694b62, 0x694e3d, 0x683700, 0x6838f0
Confidence: verified
Proof: one
Test: terrain::chunk_fade_scale_twin_difftest
0x6a81dc returns for a null model. 0x6a81f2 copies +0x13c to +0x24 and 0x6a8215 moves it in place with 0x7bcc60; 0x7bc6a0 multiplies +0x10c by the matrix and 0x6a8227 copies the product to +0xcc. 0x7103d0(model, 0, 0) (0x6a82c0) picks the loaded form, which reads 0x713640, 0x713700 and 0x713680 (centre, then radius); the other form zeroes all three. 0x6a83af moves the centre by +0xcc; 0x6a83b4 to 0x6a83ca multiply the radius by [+0x30]; 0x6a83d9 and 0x6a83ea move the boxes; 0x6a8400 passes +0x24 to 0x462000. The test runs 0x6a83b4 to 0x6a83cd. 0x694e90 builds the local matrix in +0xcc, and the loop 0x69508a to 0x6950b6 (add ecx,0x10c at 0x69508e, store at 0x6950a2) copies all 16 dwords to +0x10c, so +0x13c is its row 3, the record's local position, before the group matrix multiplies +0xcc (0x6950be). The stores to [reg+0x13c] that reach a group doodad are 0x6a7e6e (zero, at construction) and 0x6950a2, from the creator 0x695aa0 through 0x694e90 (0x695b1e); 0x694b62 and 0x694e3d belong to the entity and ADT creators. The reads are 0x6a81f2 and 0x7bc6a0 (0x6a821b). The sun scale +0xa4 is not written. The def cull reads +0x5c and +0x68 (0x683700, 0x6838f0).
Placement anchor snap
0x698110(entity, position, facing) moves a position in x and y so that the turned box's maximum corner sits on a grid line of 4.1666665-unit cells. It takes the entity's box (a map object def's root box, else the model's bounding box), centres it on its own middle, turns it about z by the facing and adds the turned box's maximum corner m to the position, giving v. For x and y it takes n = round((v + 4.1666665)·0.24 − 0.5) and stores position − (v − n·4.1666665). z is unchanged.
Addresses: 0x698110, 0x6981eb, 0x69821f, 0x698247, 0x698278, 0x6982d4, 0x6982fb, 0x698337, 0x810678, 0x69c64d, 0x6c0019, 0x6a4420, 0x713640, 0x7bdd60, 0x6dc540, 0x4549a0
Confidence: verified
Proof: one
Test: terrain::ground_anchor_difftest
0x6981eb test [esi+8],8 picks 0x6a4420 on the root or 0x713640 on the model. 0x69821f stores the corner sums, 0x698247 times 0.5, 0x698278 subtracts the centre from each corner, each result stored as a float. 0x7bdd60 turns an identity by the facing about (0, 0, 1) and 0x6dc540 moves the box through it. 0x6982d4 adds the position to the maximum corner. At 0x6982fb the sum plus 4.1666665 times 0.24 is stored as a float, reloaded, less 0.5 and rounded to nearest by fistp. 0x698337 computes fild n, times 4.1666665, fsubr of v (the register holds v − n·4.1666665), fsubr of the position (d8 2b), stored to the position. The test runs 0x69821f to 0x698242, 0x698247 to 0x698273, 0x698278 to 0x6982b3, 0x6982d4 to 0x6982f6 and 0x6982fb to 0x69835a.
Pending doodads
0x698c50 finishes the doodad defs whose models have loaded. For each def in the pending list
with a model it waits until the model is ready, then sets its bounds (0x6952a0), puts a def that
is not interior-lit and stands in the chunk's shadow at intensity 0.5, grows the boxes of the
objects that hold it (0x698b30) and sets bits 0 and 7 of its flags. It then takes the def off the
pending list.
Addresses: 0x698c50, 0x698c75, 0x698c8c, 0x698c97, 0x698c9c, 0x698ca5, 0x698cae, 0x698cb4, 0x698cbc, 0x698cc1, 0x698cf9, 0x7103d0, 0x6952a0, 0x69b350, 0x698b30, 0x810a64
Confidence: verified
Proof: one
Test: none
0x698c8c calls 0x7103d0 with 0 and 0 and skips the def when it returns 0 (not ready,
0x698c93). 0x698c9c tests the interior bit, 0x698ca5 the shadow, 0x698cb4 stores 0x810a64. 0x698b30 walks the def's links (+0x20) and 0x698b70 grows each owner's box to cover the def's.
0x698cc1 is or byte [ebx+0xc],0x81.
Doodad shadow point
A doodad def is tested against the chunk shadow map at one point, its position at +0x24, which is the
placement origin and no point of its box. The creator stores it as (17066.666 − f+0x10, 17066.666 − f+0x08, f+0x0c);
a repeated placement copies the translation row of the new matrix into it. A set bit means shadowed:
the shadow test (queries#shadow-test) returns 1 for it, and a def in shadow that is not interior-lit gets intensity 0.5.
Addresses: 0x694bc0, 0x694c8b, 0x694cbe, 0x698d20, 0x698d24, 0x698d3e, 0x6b00f0, 0x6b0100, 0x6b014b, 0x69b350, 0x698ca5, 0x698cb4, 0x69e280, 0x69e48d, 0x810a64
Confidence: verified
Proof: one
Test: none
0x694c8b to 0x694cbe store the negated x and y fields and the z field, then add the origin passed in
(the triple (17066.666, 17066.666, 0) that 0x6b00f0 builds at 0x6b0100 and passes at 0x6b014b). 0x698d20 sets bit 0 of +0xc (0x698d24),
and its copy of +0x30, +0x34, +0x38 into +0x24 is 0x698d28 to 0x698d3e. 0x698ca5 asks 0x69b350 with +0x24
and stores 0x810a64 (0.5) in +0xa4; 0x69e48d does the same for an entity's +0x24.
Doodad def construction
0x6a7d00 constructs a doodad def on the shared map base (0x6c3020). It gives the def its
point light list, sets its cull state +0x94 to 1, sets type bit 0x40 in +0x8, clears the
model, the sound handle, the lighting callback +0x174, the game object GUID pair +0x180, +0x184 and the lists, makes the matrices
identity, and stores the doodad def vtable 0x810a74.
Addresses: 0x6a7d00, 0x6a7d0a, 0x6a7d14, 0x6a7d21, 0x6a7d55, 0x6a7d79, 0x6a7e0e, 0x6a7eb0, 0x6a7eb9, 0x6a7ec8, 0x6a7ed4, 0x6a7eda, 0x6c3020, 0x810a74
Confidence: verified
Proof: one
Test: none
0x6a7d0a calls the base; 0x6a7d14 and 0x6a7d21 make the list at +0x7c with link offset 0x7c. 0x6a7d55 stores
the base vtable first and 0x6a7eb0 the def's 0x810a74 last. 0x6a7d79 sets +0x94 to 1, 0x6a7e0e
onward the identity entries (1.0 at +0xcc, +0xe0, +0xf4, +0x108, +0x10c, +0x120, +0x134,
+0x148), 0x6a7eb9 ORs 0x40 into +0x8, 0x6a7ec8 clears +0x174, 0x6a7ed4 and 0x6a7eda the pair.
Doodad def release
0x6a0840 frees a def: it removes its sound emitter, unlinks its list nodes (+0x10, +0xb8
and +0xc0), destroys it through the first virtual slot and returns it to the pool.
Addresses: 0x6a0840, 0x6a084e, 0x6a0853, 0x6a088c, 0x6a0896, 0x6a08d5, 0x6a0920, 0x6a0929, 0x461f80, 0x463b00
Confidence: verified
Proof: one
Test: none
0x6a084e removes the emitter handle +0x168 when set; the three list unlinks are at 0x6a0853,
0x6a088c/0x6a0896 and 0x6a08d5; 0x6a0920 calls the destructor slot with 0 and 0x6a0929
returns the block to its pool.
Vector maximum
0x6992c0 writes the per-component maximum of two vectors, each component the first vector's
when it is strictly greater than the second's and the second's otherwise, so a NaN takes the
second.
Addresses: 0x6992c0, 0x6992cd, 0x6992d1, 0x6992f7, 0x6992fb
Confidence: verified
Proof: one
Test: none
0x6992cd is fcompp of the two z values and 0x6992d1 is test ah,5; jp: it keeps the first's z when
the second is below it, else the second's. The x test (0x6992f7, 0x6992fb) is test ah,0x41; jne: the second's when the first is at or
below it.