1,051
edits
m (oops etc ^^)  | 
				 (will finish it tomorrow)  | 
				||
| Line 2: | Line 2: | ||
The image below shows the beginning of the file with the settings of the main window.  | The image below shows the beginning of the file with the settings of the main window.  | ||
[[image:wmdd_all.gif]]  | |||
| Line 13: | Line 12: | ||
{{OBD_Table_Header}}  | {{OBD_Table_Header}}  | ||
|- ALIGN=CENTER VALIGN=TOP  | |- ALIGN=CENTER VALIGN=TOP  | ||
|0x00  | {{OBDtr| 0x00 | res_id   |FF0000| 01 CE 09 00 | 1541 | 01541-dialog_mainmenu.WMDD }}  | ||
| 1541  | {{OBDtr| 0x04 | lev_id   |FFFF00| 01 00 00 00 | 0    | level 0 }}  | ||
{{OBDtr2| 0x08| char[256]|00FF00| Main Menu          | title of the dialog }}  | |||
|-   | {{OBDtr| 0x00 | int32    |00FFFF| 96 00 00 00 | 150  | dialog ID (looked up by engine) }}  | ||
|0x04  | {{OBDtr| 0x00 | int32    |FF00FF| 01 00 00 00 | 1    | window status flag; the following flags are possible (values in dec):  | ||
| 0  | :  | ||
{| border="0"  | |||
|-  | |||
|0x08  | | 0 -  || hide the window (if you use that, you'll get a black screen and the orange mouse cursor; that means you can't quit Oni, so you have to reset your computer)  | ||
|-  | |||
|  | | 1 -            || show the window  | ||
|  | |-  | ||
| 150  | | 2 -            || grey title (normaly it's black) + window fixed (you can't move the window)  | ||
|-  | |||
|  | | 4 -            || window fixed (you can't move the window)  | ||
|  | |} }}  | ||
| 1  | {{OBDtr| 0x00 | int32    |FF8000| 00 00       | 0    |  }}  | ||
{{OBDtr| 0x00 | int32    |FF0080| 01 00       | 1    |  }}  | |||
{{OBDtr| 0x00 | int32    |804080| 00 00 00 00 | 0    |  }}  | |||
|  | {{OBDtr| 0x00 | int32    |804040| 80 02       | 640  |  }}  | ||
|   | {{OBDtr| 0x00 | int32    |804040| E0 01       | 480  | height of the window }}  | ||
|   | {{OBDtr| 0x00 | int32    |408080| 06 00 00 00 | 6    | array size }}  | ||
{{OBDtrBK}}  | |||
{{OBDtr| 0x00 | int32    ||  |  |  }}  | |||
|   | {{OBDtr| 0x00 | int32    ||  |  |  }}  | ||
{{OBDtr| 0x00 | int32    ||  |  |  }}  | |||
|-   | {{OBDtr| 0x00 | int32    ||  |  |  }}  | ||
|   | {{OBDtr| 0x00 | int32    ||  |  |  }}  | ||
|   | |||
|-   | |||
|   | |||
|   | |||
|-   | |||
|-   | |||
|   | |||
|  | |||
|   | |||
|   | |||
|  | |||
|   | |||
|   | |||
|  | |||
|   | |||
|   | |||
|}  | |||
|  | |||
|  | |||
| 0  | |||
|   | |||
|  | |||
|  | |||
|   | |||
|   | |||
|  | |||
|  | |||
|   | |||
|   | |||
|  | |||
|  | |||
|   | |||
|   | |||
|  | |||
|  | |||
|   | |||
|   | |||
|}  | |}  | ||
:  | :  | ||
{{Table}}  | {{Table}}  | ||
edits