708
edits
(full class list for the sake of completness) |
(a bit better) |
||
Line 13: | Line 13: | ||
{{OBDtr| 0x000 | res_id |FF0000| 01 CE 09 00 | 1541 | 01541-dialog_mainmenu.WMDD }} | {{OBDtr| 0x000 | res_id |FF0000| 01 CE 09 00 | 1541 | 01541-dialog_mainmenu.WMDD }} | ||
{{OBDtr| 0x004 | lev_id |FFFF00| 01 00 00 00 | 0 | level 0 }} | {{OBDtr| 0x004 | lev_id |FFFF00| 01 00 00 00 | 0 | level 0 }} | ||
{{OBDtr2| 0x008| char[256]|00FF00| Main Menu | title | {{OBDtr2| 0x008| char[256]|00FF00| Main Menu | title }} | ||
{{OBDtr| 0x108 | int16 |00FFFF| 96 00 | 150 | | {{OBDtr| 0x108 | int16 |00FFFF| 96 00 | 150 | ID (looked up from code) }} | ||
{{OBDtr| 0x10A | int16 |00FFFF| 00 00 | 0 | not used; always 0 }} | {{OBDtr| 0x10A | int16 |00FFFF| 00 00 | 0 | not used; always 0 }} | ||
{{OBDtr| 0x10C | int32 |FF00FF| 01 00 00 00 | 0x01 | | {{OBDtr| 0x10C | int32 |FF00FF| 01 00 00 00 | 0x01 | state; the following values are used: | ||
:0x'''01''' 00 00 00 - visible | :0x'''01''' 00 00 00 - visible | ||
:0x'''02''' 00 00 00 - | :0x'''02''' 00 00 00 - disabled | ||
:0x'''04''' 00 00 00 - | :0x'''04''' 00 00 00 - unknown | ||
}} | }} | ||
{{OBDtr| 0x110 | int32 |FF8000| 00 00 01 00 | 0x00010000 | | {{OBDtr| 0x110 | int32 |FF8000| 00 00 01 00 | 0x00010000 | style; the following values are used: | ||
:0x'''01''' 00 00 00 - thin light blue border around the window | :0x'''01''' 00 00 00 - thin light blue border around the window | ||
:0x'''02''' 00 00 00 - thick light lila border around the window | :0x'''02''' 00 00 00 - thick light lila border around the window | ||
Line 37: | Line 37: | ||
{{OBDtr| 0x11C | int32 |408080| 06 00 00 00 | 6 | array size }} | {{OBDtr| 0x11C | int32 |408080| 06 00 00 00 | 6 | array size }} | ||
{{OBDtrBK}} | {{OBDtrBK}} | ||
{{OBDtr2| 0x000 | char[256]|FFC8C8| New Game | | {{OBDtr2| 0x000 | char[256]|FFC8C8| New Game | text (or TXMB/TXMP name if class is 11) }} | ||
{{OBDtr| 0x100 | int16 |FFFFC8| 04 00 | 4 | | {{OBDtr| 0x100 | int16 |FFFFC8| 04 00 | 4 | class; the following window classes exist in Oni (values in dec): | ||
:1 - desktop (not used in dialogs) | :1 - desktop (not used in dialogs) | ||
:3 - title | :3 - title | ||
Line 56: | Line 56: | ||
:20 - text only | :20 - text only | ||
}} | }} | ||
{{OBDtr| 0x102 | int16 |C8FFC8| 64 00 | 100 | | {{OBDtr| 0x102 | int16 |C8FFC8| 64 00 | 100 | ID (looked up from code) }} | ||
{{OBDtr| 0x104 | | {{OBDtr| 0x104 | int32 |C8FFFF| 01 00 00 00 | 0x01 | state; the following values are used: | ||
:0x'''01''' 00 00 00 - | :0x'''01''' 00 00 00 - visible | ||
:0x'''02''' 00 00 00 - | :0x'''02''' 00 00 00 - disabled | ||
:0x'''04''' 00 00 00 - | :0x'''04''' 00 00 00 - unknown | ||
}} | }} | ||
{{OBDtr| 0x108 | int32 |FFC800| 00 00 03 00 | 0x030000 | style; some used values: | |||
{{OBDtr| 0x108 | | :0x00 00 '''01''' 00 - show button/scrollbar/checkbox text | ||
:0x00 00 '''02''' 00 - show button text | |||
: | :0x00 00 '''04''' 00 - show title | ||
: | :0x00 00 '''08''' 00 - show listbox entries | ||
: | :'''NOTE''': Possible values also include the ones available for the dialog style field. Style values above 0xffff have class specific meaning so the above list is not necesarilly complete (and correct). | ||
: | |||
}} | }} | ||
{{OBDtr| 0x10C | int16 |C87C64| 5E 01 | 350 | x coordinate (relative to the top left corner of the window) }} | {{OBDtr| 0x10C | int16 |C87C64| 5E 01 | 350 | x coordinate (relative to the top left corner of the window) }} | ||
Line 81: | Line 79: | ||
:2 - ''italic'' font | :2 - ''italic'' font | ||
}} | }} | ||
{{OBDtr| 0x11C | color32 | {{OBDtr| 0x11C | color32 |64AAAA| 00 7F FF FF | 0, 127, 255; 255 | font color (blue, green, red); transparency }} | ||
{{OBDtr| 0x120 | | {{OBDtr| 0x120 | int8 |EBEBEB| 01 | 1 | unknown; appears to be unused }} | ||
{{OBDtr| 0x122 | int16 | {{OBDtr| 0x121 | int8 |EBEBEB| 00 | 0 | unknown; appears to be unused }} | ||
{{OBDtr| 0x122 | int16 |8C8CCC| 0A 00 | 10 | font size (height) }} | |||
|} | |} | ||
edits