benilla-re systems structs docs

RaiseDeviceFormatFloor

function · console · primitive

Address
0x63b3d0 · 99 bytes, up to 0x63b432
Signature
void __thiscall (void *this)
Meaning
Raises a small size, depth index and colour index to 800 x 600, 5 and 1 where the hardware default allows
Confidence
verified, proof one
Finding
console/display#device-creation

Finding: Device creation in console: display

The device is created from a copy of the record by 0x589ac0 with the window procedure 0x42cfe0. On failure the copy is lowered (0x63b380): the multisample count by 2, to at least 1; then, while the colour index is above 0, the depth index down to 4, then the colour index by one with the depth index back at 7 (4 at colour 0). When it cannot be lowered, the second fixed record is tried once and lowered the same way. With no device, or one with fewer than 2 texture units or no streams, the client shows an error (the locale's startup text, else English) and exits.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.