summaryrefslogtreecommitdiff
path: root/docs/scene_template.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/scene_template.md')
-rw-r--r--docs/scene_template.md85
1 files changed, 20 insertions, 65 deletions
diff --git a/docs/scene_template.md b/docs/scene_template.md
index 4df3ac0..be18336 100644
--- a/docs/scene_template.md
+++ b/docs/scene_template.md
@@ -8,62 +8,17 @@ This table is used to store necessary data for scenes to run, e.g. ScriptPackage
**Structure**
-<table>
-<tbody>
-<tr class="odd">
-<td><p><strong>Field</strong></p></td>
-<td><p><strong>Type</strong></p></td>
-<td><p><strong>Attributes</strong></p></td>
-<td><p><strong>Key</strong></p></td>
-<td><p><strong>Null</strong></p></td>
-<td><p><strong>Default</strong></p></td>
-<td><p><strong>Extra</strong></p></td>
-<td><p><strong>Comment</strong></p></td>
-</tr>
-<tr class="even">
-<td><p>SceneId</p></td>
-<td><p>in(10)</p></td>
-<td><p>unsigned</p></td>
-<td><p>PRI</p></td>
-<td><p>NO</p></td>
-<td><p>NONE</p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-</tr>
-<tr class="odd">
-<td><p>Flags</p></td>
-<td><p>int(10)</p></td>
-<td><p>unsigned</p></td>
-<td><p><br />
-</p></td>
-<td><p>NO</p></td>
-<td><p>16</p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-</tr>
-<tr class="even">
-<td><p>ScriptPackageId</p></td>
-<td><p>int(10)</p></td>
-<td><p>unsigned</p></td>
-<td><p><br />
-</p></td>
-<td><p>NO</p></td>
-<td><p>NONE</p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-</tr>
-<tr class="odd">
-<td><p>ScriptName</p></td>
-<td><p>char(64)</p></td>
-<td><p>unsigned</p></td>
-<td><p> </p></td>
-<td><p>NO</p></td>
-<td><p>' '</p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-</tr>
-</tbody>
-</table>
+| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
+|----------------------|----------|------------|-----|------|---------|-------|---------|
+| [SceneId][1] | in(10) | unsigned | PRI | NO | NONE | | |
+| [Flags][2] | int(10) | unsigned | | NO | 16 | | |
+| [ScriptPackageId][3] | int(10) | unsigned | | NO | NONE | | |
+| [ScriptName][4] | char(64) | unsigned | | NO | ' ' | | |
+
+[1]: #sceneid
+[2]: #flags
+[3]: #scriptpackageid
+[4]: #scriptname
**Description of the fields**
@@ -80,15 +35,15 @@ Use C++ hook to start them, e.g.:
This flags handle behavior of scene.
-| Flag | Int Value | **Bit value** | **Comment** |
-|------------------------------------------------|-----------|---------------|-------------------------------------------------|
-| SCENEFLAG\_NONE | 0 | 0x00000000 |   |
-| SCENEFLAG\_UNK1 | 1 | 0x00000001 | NYI |
-| SCENEFLAG\_UNK2 | (SCENEFLAG\_CANCLE\_AT\_END) | 2 | 0x00000002 | Scene is being canceled at SceneComplete // NYI |
-| SCENEFLAG\_NOT\_CANCELABLE | 4 | 0x00000004 | Player can't cancle scene (cinematic scenes) |
-| SCENEFLAG\_UNK8 | 8 | 0x00000008 | NYI |
-| SCENEFLAG\_UNK16 | 16 | 0x00000010 | NYI |
-| SCENEFLAG\_UNK32 | 32 | 0x00000020 | NYI |
+| Flag | Int Value | Bit value | Comment |
+|-------------------------------------------------|-----------|------------|-------------------------------------------------|
+| SCENEFLAG\_NONE | 0 | 0x00000000 | |
+| SCENEFLAG\_UNK1 | 1 | 0x00000001 | NYI |
+| SCENEFLAG\_UNK2 \| (SCENEFLAG\_CANCLE\_AT\_END) | 2 | 0x00000002 | Scene is being canceled at SceneComplete // NYI |
+| SCENEFLAG\_NOT\_CANCELABLE | 4 | 0x00000004 | Player can't cancle scene (cinematic scenes) |
+| SCENEFLAG\_UNK8 | 8 | 0x00000008 | NYI |
+| SCENEFLAG\_UNK16 | 16 | 0x00000010 | NYI |
+| SCENEFLAG\_UNK32 | 32 | 0x00000020 | NYI |
### ScriptPackageId