OBD:WMDD: Difference between revisions

630 bytes removed ,  2 September 2007
will finish it tomorrow
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.




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/wmdd_all.gif
[[image:wmdd_all.gif]]




Line 13: Line 12:
{{OBD_Table_Header}}
{{OBD_Table_Header}}
|- ALIGN=CENTER VALIGN=TOP
|- ALIGN=CENTER VALIGN=TOP
|0x00|| res_id ||BGCOLOR="#FF0000" | 01 '''05 06''' 00
{{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 }}
| ALIGN=LEFT | resource ID
{{OBDtr2| 0x08| char[256]|00FF00| Main Menu         | title of the dialog }}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr| 0x00 | int32    |00FFFF| 96 00 00 00 | 150 | dialog ID (looked up by engine) }}
|0x04|| lev_id || BGCOLOR="#FFFF00" | 01 00 00 '''00'''
{{OBDtr| 0x00 | int32    |FF00FF| 01 00 00 00 | 1   | window status flag; the following flags are possible (values in dec):
| 0
:
| ALIGN=LEFT | level ID
{| border="0"
|- ALIGN=CENTER VALIGN=TOP
|-
|0x08|| char[256]||BGCOLOR="#00FF00" COLSPAN=2 | <TT>Main Menu</TT>
| 0&nbsp;-&nbsp; || 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)
| ALIGN=LEFT | title of the dialog
|-
|- ALIGN=CENTER VALIGN=TOP
| 1 -            || show the window
|0x108||int16|| BGCOLOR="#00FFFF" | '''96 00''' 00 00
|-
| 150
| 2 -            || grey title (normaly it's black) + window fixed (you can't move the window)
| ALIGN=LEFT | dialog ID (looked up by engine)
|-
|- ALIGN=CENTER VALIGN=TOP
| 4 -           || window fixed (you can't move the window)
|0x10C||bool32|| BGCOLOR="#FF00FF" | 01 00 00 00
|} }}
| 1
{{OBDtr| 0x00 | int32    |FF8000| 00 00      | 0    | }}
| ALIGN=LEFT | window status flags: 1 - visible
{{OBDtr| 0x00 | int32    |FF0080| 01 00      | 1    | }}
|- ALIGN=CENTER VALIGN=TOP
{{OBDtr| 0x00 | int32    |804080| 00 00 00 00 | 0   |  }}
|0x110||bool32|| BGCOLOR="#FFC8C8" | 00 00 00 00
{{OBDtr| 0x00 | int32    |804040| 80 02      | 640  | }}
| 0x00000000
{{OBDtr| 0x00 | int32    |804040| E0 01      | 480  | height of the window }}
| ALIGN=LEFT | window style flags:
{{OBDtr| 0x00 | int32    |408080| 06 00 00 00 | 6    | array size }}
{| BORDER=0 WIDTH=100%
{{OBDtrBK}}
|- VALIGN=TOP
{{OBDtr| 0x00 | int32    || | | }}
| ALIGN=RIGHT | 0x00000001 -
{{OBDtr| 0x00 | int32    || | | }}
| thin light blue coloured border around the window (background)
{{OBDtr| 0x00 | int32    || | | }}
|- VALIGN=TOP
{{OBDtr| 0x00 | int32    || | | }}
| ALIGN=RIGHT | 0x00000002 -
{{OBDtr| 0x00 | int32    ||  | | }}
| thick light lila coloured border around the window (foreground)
|- VALIGN=TOP
| ALIGN=RIGHT | 0x00000004 -
| light lila coloured title bar
|- VALIGN=TOP
| ALIGN=RIGHT | 0x00000008 -
| title
|- VALIGN=TOP
| ALIGN=RIGHT | 0x00000010 -
| disabled "close the window" box
|- VALIGN=TOP
| ALIGN=RIGHT | 0x00000020 -
| disabled "restore the window" box
|- VALIGN=TOP
| ALIGN=RIGHT | 0x00000040 -
| disabled "minimize the window" box
|- VALIGN=TOP
| ALIGN=RIGHT | 0x00010000 -
| window is centered (ignoring the coordinates)
|}
|- ALIGN=CENTER VALIGN=TOP
|0x114||int16|| BGCOLOR="#FFFFC8" | 00 00
| 0
| ALIGN=LEFT | x-position of the top left corner
|- ALIGN=CENTER VALIGN=TOP
|0x116||int16|| BGCOLOR="#FFFFC8" | 00 00
| 0
| ALIGN=LEFT | y-position of the top left corner
|- ALIGN=CENTER VALIGN=TOP
|0x118||int16|| BGCOLOR="#C8FFC8" | 80 02
| 640
| ALIGN=LEFT | x-size (width) of the window
|- ALIGN=CENTER VALIGN=TOP
|0x11A||int16|| BGCOLOR="#C8FFC8" | E0 01
| 480
| ALIGN=LEFT | y-size (height) of the window
|- ALIGN=CENTER VALIGN=TOP
|0x11C||int32|| BGCOLOR="#C8FFFF" | 06 00 00 00
| 6
| ALIGN=LEFT | 6 items follow
|}
|}
:
:
{{Table}}
{{Table}}
1,051

edits