Browse Source

style changes

Alison Watson 3 months ago
parent
commit
c88d002505
70 changed files with 1729 additions and 1719 deletions
  1. 47
    50
      api/actor/State.md
  2. 41
    41
      api/base/Array.md
  3. 33
    36
      api/base/CVar.md
  4. 2
    2
      api/base/FixedArray.md
  5. 17
    17
      api/base/Object.md
  6. 40
    42
      api/base/String.md
  7. 5
    6
      api/base/StringTable.md
  8. 16
    16
      api/base/Thinker.md
  9. 4
    4
      api/base/Vector.md
  10. 6
    6
      api/drawing/BrokenLines.md
  11. 10
    11
      api/drawing/Console.md
  12. 20
    20
      api/drawing/Font.md
  13. 4
    4
      api/drawing/GIFont.md
  14. 103
    104
      api/drawing/Screen.md
  15. 13
    13
      api/drawing/Shape2D.md
  16. 63
    64
      api/drawing/TexMan.md
  17. 15
    15
      api/drawing/TextureID.md
  18. 13
    13
      api/events/ConsoleEvent.md
  19. 7
    7
      api/events/EventHandler.md
  20. 15
    15
      api/events/RenderEvent.md
  21. 9
    9
      api/events/ReplaceEvent.md
  22. 115
    116
      api/events/StaticEventHandler.md
  23. 28
    28
      api/files/Wads.md
  24. 58
    58
      api/global/data/Client.md
  25. 13
    13
      api/global/data/Constants.md
  26. 48
    48
      api/global/data/Game.md
  27. 22
    23
      api/global/data/Information.md
  28. 10
    10
      api/global/data/Player.md
  29. 8
    9
      api/global/func/Classes.md
  30. 45
    45
      api/global/func/Game.md
  31. 49
    49
      api/global/func/Math.md
  32. 14
    14
      api/global/func/Random.md
  33. 57
    57
      api/global/func/Sound.md
  34. 5
    4
      api/global/func/System.md
  35. 18
    18
      api/global/type/DehInfo.md
  36. 16
    16
      api/global/type/FOptionMenuSettings.md
  37. 6
    6
      api/global/type/LevelLocals.md
  38. 8
    8
      api/inter/InterBackground.md
  39. 11
    11
      api/inter/PatchInfo.md
  40. 174
    176
      api/inter/StatusScreen.md
  41. 13
    13
      api/inter/WBPlayerStruct.md
  42. 32
    32
      api/inter/WBStartStruct.md
  43. 9
    9
      api/level/FColorMap.md
  44. 80
    80
      api/level/Line.md
  45. 5
    5
      api/level/LineIdIterator.md
  46. 24
    24
      api/level/SecPlane.md
  47. 12
    12
      api/level/SecSpecial.md
  48. 4
    4
      api/level/SectorEffect.md
  49. 10
    10
      api/level/SectorTagIterator.md
  50. 41
    41
      api/level/Side.md
  51. 4
    4
      api/level/Vertex.md
  52. 13
    13
      api/player/PlayerClass.md
  53. 29
    29
      api/player/PlayerSkin.md
  54. 6
    6
      api/player/Team.md
  55. 12
    12
      api/sound/SeqNode.md
  56. 45
    45
      api/weapon/PSprite.md
  57. 10
    10
      entry.md
  58. 25
    25
      glossary/Concepts.md
  59. 15
    14
      glossary/Style.md
  60. 28
    27
      glossary/Versions.md
  61. 6
    6
      language.md
  62. 13
    12
      language/Classes.md
  63. 4
    3
      language/Constants.md
  64. 4
    4
      language/Enumerations.md
  65. 25
    22
      language/Expressions.md
  66. 4
    3
      language/Members.md
  67. 5
    4
      language/Methods.md
  68. 8
    7
      language/Statements.md
  69. 8
    7
      language/Structures.md
  70. 47
    32
      language/Types.md

+ 47
- 50
api/actor/State.md View File

@@ -33,90 +33,87 @@ struct State
33 33
 }
34 34
 ```
35 35
 
36
-- `Frame`
36
+### `Frame`
37 37
 
38
-   The sprite frame of this state.
38
+The sprite frame of this state.
39 39
 
40
-- `NextState`
40
+### `NextState`
41 41
 
42
-   A pointer to the next state in the global state table.
42
+A pointer to the next state in the global state table.
43 43
 
44
-- `Sprite`
44
+### `Sprite`
45 45
 
46
-   The sprite ID of this state.
46
+The sprite ID of this state.
47 47
 
48
-- `Tics`
48
+### `Tics`
49 49
 
50
-   The number of game ticks this state lasts.
50
+The number of game ticks this state lasts.
51 51
 
52
-- `Misc1`
53
-- `Misc2`
52
+### `Misc1`, `Misc2`
54 53
 
55
-   Primarily used in DeHackEd compatibility. Don't use this.
54
+Primarily used in DeHackEd compatibility. Don't use this.
56 55
 
57
-- `TicRange`
56
+### `TicRange`
58 57
 
59
-   The maximum amount of tics to add for random tic durations, or `0` if the
60
-   duration is not random. For example, `TNT1 A random(5, 7)` would have a
61
-   `Tics` value of `5` and a `TicRange` of `2`.
58
+The maximum amount of tics to add for random tic durations, or `0` if the
59
+duration is not random. For example, `TNT1 A random(5, 7)` would have a `Tics`
60
+value of `5` and a `TicRange` of `2`.
62 61
 
63
-- `UseFlags`
62
+### `UseFlags`
64 63
 
65
-   The scope of this state. See *Action Scoping*. Can have any of the
66
-   `DefaultStateUsage` flags.
64
+The scope of this state. See *Action Scoping*. Can have any of the
65
+`DefaultStateUsage` flags.
67 66
 
68
-- `bCanRaise`
67
+### `bCanRaise`
69 68
 
70
-   State has the `CanRaise` flag, allowing `A_VileChase` to target this actor
71
-   for healing without entering an infinitely long state.
69
+State has the `CanRaise` flag, allowing `A_VileChase` to target this actor for
70
+healing without entering an infinitely long state.
72 71
 
73
-- `bDeHackEd`
72
+### `bDeHackEd`
74 73
 
75
-   `true` if the state has been modified by DeHackEd.
74
+`true` if the state has been modified by DeHackEd.
76 75
 
77
-- `bFast`
76
+### `bFast`
78 77
 
79
-   State has the `Fast` flag, halving the duration when fast monsters is
80
-   enabled.
78
+State has the `Fast` flag, halving the duration when fast monsters is enabled.
81 79
 
82
-- `bFullBright`
80
+### `bFullBright`
83 81
 
84
-   State has the `Bright` flag, making it fully bright regardless of other
85
-   lighting conditions.
82
+State has the `Bright` flag, making it fully bright regardless of other
83
+lighting conditions.
86 84
 
87
-- `bNoDelay`
85
+### `bNoDelay`
88 86
 
89
-   State has the `NoDelay` flag, forcing the associated action function to be
90
-   run if the actor is in its first tic.
87
+State has the `NoDelay` flag, forcing the associated action function to be run
88
+if the actor is in its first tic.
91 89
 
92
-- `bSameFrame`
90
+### `bSameFrame`
93 91
 
94
-   `true` if the state's frame is to be kept from the last frame used, i.e., is
95
-   `#`.
92
+`true` if the state's frame is to be kept from the last frame used, i.e., is
93
+`#`.
96 94
 
97
-- `bSlow`
95
+### `bSlow`
98 96
 
99
-   State has the `Slow` flag, doubling the duration when slow monsters is
100
-   enabled.
97
+State has the `Slow` flag, doubling the duration when slow monsters is enabled.
101 98
 
102
-- `DistanceTo`
99
+### `DistanceTo`
103 100
 
104
-   Returns the offset between this state and `other` in the global frame table.
105
-   Only works if both states are owned by the same actor.
101
+Returns the offset between this state and `other` in the global frame table.
102
+Only works if both states are owned by the same actor.
106 103
 
107
-- `InStateSequence`
104
+### `InStateSequence`
108 105
 
109
-   Returns `true` if this state is within a contiguous state sequence beginning
110
-   with `base`.
106
+Returns `true` if this state is within a contiguous state sequence beginning
107
+with `base`.
111 108
 
112
-- `ValidateSpriteFrame`
109
+### `ValidateSpriteFrame`
113 110
 
114
-   Returns `true` if the sprite frame actually exists.
111
+Returns `true` if the sprite frame actually exists.
115 112
 
116
-- `GetSpriteTexture`
113
+### `GetSpriteTexture`
117 114
 
118
-   Returns the texture, if the texture should be flipped horizontally, and
119
-   scaling of this state's sprite. Scaling will return `scale` unless `skin` is
120
-   nonzero. `skin` determines the player skin used.
115
+Returns the texture, if the texture should be flipped horizontally, and scaling
116
+of this state's sprite. Scaling will return `scale` unless `skin` is nonzero.
117
+`skin` determines the player skin used.
121 118
 
122 119
 <!-- EOF -->

+ 41
- 41
api/base/Array.md View File

@@ -30,75 +30,75 @@ struct Array<Type>
30 30
 }
31 31
 ```
32 32
 
33
-- `Max`
33
+### `Max`
34 34
 
35
-   Returns the amount of allocated objects in the array.
35
+Returns the amount of allocated objects in the array.
36 36
 
37
-- `Size`
37
+### `Size`
38 38
 
39
-   Returns the amount of constructed objects in the array.
39
+Returns the amount of constructed objects in the array.
40 40
 
41
-- `Clear`
41
+### `Clear`
42 42
 
43
-   Clears out the entire array, possibly destroying all objects in it.
43
+Clears out the entire array, possibly destroying all objects in it.
44 44
 
45
-- `Delete`
45
+### `Delete`
46 46
 
47
-   Removes `count` objects starting at `index`, possibly destroying them. Moves
48
-   objects after `index + count` to the left.
47
+Removes `count` objects starting at `index`, possibly destroying them. Moves
48
+objects after `index + count` to the left.
49 49
 
50
-- `Pop`
50
+### `Pop`
51 51
 
52
-   Removes the last item in the array, possibly destroying it. Returns `false`
53
-   if there are no items in the array to begin with.
52
+Removes the last item in the array, possibly destroying it. Returns `false` if
53
+there are no items in the array to begin with.
54 54
 
55
-- `Append`
55
+### `Append`
56 56
 
57
-   Value-copies another array's contents and places them into this array at the
58
-   end.
57
+Value-copies another array's contents and places them into this array at the
58
+end.
59 59
 
60
-- `Copy`
60
+### `Copy`
61 61
 
62
-   Value-copies another array's contents into this array. The contents of
63
-   `other` are preserved. This operation can be extremely taxing in some cases.
62
+Value-copies another array's contents into this array. The contents of `other`
63
+are preserved. This operation can be extremely taxing in some cases.
64 64
 
65
-- `Move`
65
+### `Move`
66 66
 
67
-   Moves another array's contents into this array. The contents of `other` are
68
-   left indeterminate and shall not be used. This operation is extremely fast
69
-   as it only copies pointers but must be used carefully to avoid error.
67
+Moves another array's contents into this array. The contents of `other` are
68
+left indeterminate and shall not be used. This operation is extremely fast
69
+as it only copies pointers but must be used carefully to avoid error.
70 70
 
71
-- `Find`
71
+### `Find`
72 72
 
73
-   Finds the index of `item` in the array, or `Size` if it couldn't be found.
73
+Finds the index of `item` in the array, or `Size` if it couldn't be found.
74 74
 
75
-- `Grow`
75
+### `Grow`
76 76
 
77
-   Ensures the array can hold at least `amount` new members, growing the
78
-   allocated object amount if necessary.
77
+Ensures the array can hold at least `amount` new members, growing the allocated
78
+object amount if necessary.
79 79
 
80
-- `Insert`
80
+### `Insert`
81 81
 
82
-   Inserts `item` at `index`. Moves objects after `index` to the right.
82
+Inserts `item` at `index`. Moves objects after `index` to the right.
83 83
 
84
-- `Push`
84
+### `Push`
85 85
 
86
-   Places `item` at the end of the array, calling `Grow` if necessary.
86
+Places `item` at the end of the array, calling `Grow` if necessary.
87 87
 
88
-- `Reserve`
88
+### `Reserve`
89 89
 
90
-   Adds `amount` new empty-constructed objects at the end of the array,
91
-   increasing `Size` and calling `Grow` if necessary. Value types are
92
-   initialized to zero and reference types to `null`.
90
+Adds `amount` new empty-constructed objects at the end of the array, increasing
91
+`Size` and calling `Grow` if necessary. Value types are initialized to zero and
92
+reference types to `null`.
93 93
 
94
-- `Resize`
94
+### `Resize`
95 95
 
96
-   Adds or removes objects based on `amount`. If it is less than `Size` then
97
-   objects are destroyed, if it is more then objects are empty-constructed. New
98
-   objects follow the same initialization rules as `Reserve`.
96
+Adds or removes objects based on `amount`. If it is less than `Size` then
97
+objects are destroyed, if it is more then objects are empty-constructed. New
98
+objects follow the same initialization rules as `Reserve`.
99 99
 
100
-- `ShrinkToFit`
100
+### `ShrinkToFit`
101 101
 
102
-   Shrinks `Max` to `Size`. Does not mutate any objects in the array.
102
+Shrinks `Max` to `Size`. Does not mutate any objects in the array.
103 103
 
104 104
 <!-- EOF -->

+ 33
- 36
api/base/CVar.md View File

@@ -27,59 +27,56 @@ struct CVar
27 27
 }
28 28
 ```
29 29
 
30
-- `FindCVar`
30
+### `FindCVar`
31 31
 
32
-   Returns a server CVar by name, or `null` if none is found.
32
+Returns a server CVar by name, or `null` if none is found.
33 33
 
34
-- `GetCVar`
34
+### `GetCVar`
35 35
 
36
-   Returns a user or server CVar by name, with `player` as the user if
37
-   applicable, or `null` if none is found.
36
+Returns a user or server CVar by name, with `player` as the user if applicable,
37
+or `null` if none is found.
38 38
 
39
-- `GetBool`
39
+### `GetBool`
40 40
 
41
-   Returns a boolean representing the value of the CVar, or `false` if it
42
-   cannot be represented.
41
+Returns a boolean representing the value of the CVar, or `false` if it
42
+cannot be represented.
43 43
 
44
-- `GetFloat`
44
+### `GetFloat`
45 45
 
46
-   Returns a float representing the value of the CVar, or `0.0` if it cannot be
47
-   represented.
46
+Returns a float representing the value of the CVar, or `0.0` if it cannot be
47
+represented.
48 48
 
49
-- `GetInt`
49
+### `GetInt`
50 50
 
51
-   Returns an integer representing the value of the CVar, or `0` if it cannot
52
-   be represented.
51
+Returns an integer representing the value of the CVar, or `0` if it cannot be
52
+represented.
53 53
 
54
-- `GetString`
54
+### `GetString`
55 55
 
56
-   Returns a string representing the value of the CVar. CVars can always be
57
-   represented as strings.
56
+Returns a string representing the value of the CVar. CVars can always be
57
+represented as strings.
58 58
 
59
-- `SetBool`
60
-- `SetFloat`
61
-- `SetInt`
62
-- `SetString`
59
+### `SetBool`, `SetFloat`, `SetInt`, `SetString`
63 60
 
64
-   Sets the representation of the CVar to `v`. May only be used on mod-defined
65
-   CVars.
61
+Sets the representation of the CVar to `v`. May only be used on mod-defined
62
+CVars.
66 63
 
67
-- `GetRealType`
64
+### `GetRealType`
68 65
 
69
-   Returns the type of the CVar as it was defined, which may be one of the
70
-   following:
66
+Returns the type of the CVar as it was defined, which may be one of the
67
+following:
71 68
 
72
-   | Name               |
73
-   | ----               |
74
-   | `CVar.CVAR_BOOL`   |
75
-   | `CVar.CVAR_COLOR  |
76
-   | `CVar.CVAR_FLOAT`  |
77
-   | `CVar.CVAR_INT`    |
78
-   | `CVar.CVAR_STRING` |
69
+| Name               |
70
+| ----               |
71
+| `CVar.CVAR_BOOL`   |
72
+| `CVar.CVAR_COLOR`  |
73
+| `CVar.CVAR_FLOAT`  |
74
+| `CVar.CVAR_INT`    |
75
+| `CVar.CVAR_STRING` |
79 76
 
80
-- `ResetToDefault`
77
+### `ResetToDefault`
81 78
 
82
-   Resets the CVar to its default value and returns 0. The purpose of the
83
-   return is unknown. May only be used on mod-defined CVars.
79
+Resets the CVar to its default value and returns 0. The purpose of the
80
+return is unknown. May only be used on mod-defined CVars.
84 81
 
85 82
 <!-- EOF -->

+ 2
- 2
api/base/FixedArray.md View File

@@ -9,8 +9,8 @@ struct Type[N]
9 9
 }
10 10
 ```
11 11
 
12
-- `Size`
12
+### `Size`
13 13
 
14
-   Returns the size of the array. This is a compile-time constant.
14
+Returns the size of the array. This is a compile-time constant.
15 15
 
16 16
 <!-- EOF -->

+ 17
- 17
api/base/Object.md View File

@@ -17,33 +17,33 @@ class Object
17 17
 }
18 18
 ```
19 19
 
20
-- `bDestroyed`
20
+### `bDestroyed`
21 21
 
22
-   This object wants to be destroyed but has not yet been garbage collected.
22
+This object wants to be destroyed but has not yet been garbage collected.
23 23
 
24
-- `GetClass`
24
+### `GetClass`
25 25
 
26
-   Returns the class type of this object.
26
+Returns the class type of this object.
27 27
 
28
-- `GetClassName`
28
+### `GetClassName`
29 29
 
30
-   Returns a string representation of the class type of this object.
30
+Returns a string representation of the class type of this object.
31 31
 
32
-- `GetParentClass`
32
+### `GetParentClass`
33 33
 
34
-   Returns the class type of this object's parent class.
34
+Returns the class type of this object's parent class.
35 35
 
36
-- `Destroy`
36
+### `Destroy`
37 37
 
38
-   Destroys this object. Do not use the object after calling this. References
39
-   to it will be invalidated.
38
+Destroys this object. Do not use the object after calling this. References to
39
+it will be invalidated.
40 40
 
41
-- `OnDestroy`
41
+### `OnDestroy`
42 42
 
43
-   Called just before the object is collected by the garbage collector. **Not
44
-   deterministic** unless the object is linked into the thinker list, in which
45
-   case it is destroyed earlier in a deterministic setting. Not all `Thinker`s
46
-   are linked into this list, so be careful when overriding this. Any `Actor`
47
-   will generally be safe.
43
+Called just before the object is collected by the garbage collector. **Not
44
+deterministic** unless the object is linked into the thinker list, in which
45
+case it is destroyed earlier in a deterministic setting. Not all `Thinker`s are
46
+linked into this list, so be careful when overriding this. Any `Actor` will
47
+generally be safe.
48 48
 
49 49
 <!-- EOF -->

+ 40
- 42
api/base/String.md View File

@@ -30,84 +30,82 @@ struct String
30 30
 }
31 31
 ```
32 32
 
33
-- `Format`
33
+### `Format`
34 34
 
35
-   Creates a string using a format string and any amount of arguments.
35
+Creates a string using a format string and any amount of arguments.
36 36
 
37
-- `AppendFormat`
37
+### `AppendFormat`
38 38
 
39
-   Works like `Format`, but appends the result to the string.
39
+Works like `Format`, but appends the result to the string.
40 40
 
41
-- `CharAt`
41
+### `CharAt`
42 42
 
43
-   Returns the character at `pos` as a new string.
43
+Returns the character at `pos` as a new string.
44 44
 
45
-- `CharCodeAt`
45
+### `CharCodeAt`
46 46
 
47
-   Returns the character at `pos` as an integer.
47
+Returns the character at `pos` as an integer.
48 48
 
49
-- `Filter`
49
+### `Filter`
50 50
 
51
-   Replaces escape sequences in a string with escaped characters as a new
52
-   string.
51
+Replaces escape sequences in a string with escaped characters as a new string.
53 52
 
54
-- `IndexOf`
53
+### `IndexOf`
55 54
 
56
-   Returns the first index of `substr` starting from the left at `start`.
55
+Returns the first index of `substr` starting from the left at `start`.
57 56
 
58
-- `Left`
57
+### `Left`
59 58
 
60
-   Returns the first `len` characters as a new string.
59
+Returns the first `len` characters as a new string.
61 60
 
62
-- `Length`
61
+### `Length`
63 62
 
64
-   Returns the number of characters in this string.
63
+Returns the number of characters in this string.
65 64
 
66
-- `Mid`
65
+### `Mid`
67 66
 
68
-   Returns `len` characters starting at `pos` as a new string.
67
+Returns `len` characters starting at `pos` as a new string.
69 68
 
70
-- `Remove`
69
+### `Remove`
71 70
 
72
-   Removes `amount` characters starting at `index` in place.
71
+Removes `amount` characters starting at `index` in place.
73 72
 
74
-- `Replace`
73
+### `Replace`
75 74
 
76
-   Replaces all instances of `pattern` with `replacement` in place.
75
+Replaces all instances of `pattern` with `replacement` in place.
77 76
 
78
-- `RightIndexOf`
77
+### `RightIndexOf`
79 78
 
80
-   Returns the first index of `substr` starting from the right at `end`.
79
+Returns the first index of `substr` starting from the right at `end`.
81 80
 
82
-- `Split`
81
+### `Split`
83 82
 
84
-   Splits the string by each `delimiter` into `tokens`. `keepEmpty` may be
85
-   either `TOK_SKIPEMPTY` (the default) or `TOK_KEEPEMPTY`, which will keep or
86
-   discard empty strings found while splitting.
83
+Splits the string by each `delimiter` into `tokens`. `keepEmpty` may be either
84
+`TOK_SKIPEMPTY` (the default) or `TOK_KEEPEMPTY`, which will keep or discard
85
+empty strings found while splitting.
87 86
 
88
-- `ToDouble`
87
+### `ToDouble`
89 88
 
90
-   Interprets the string as a double precision floating point number.
89
+Interprets the string as a double precision floating point number.
91 90
 
92
-- `ToInt`
91
+### `ToInt`
93 92
 
94
-   Interprets the string as a base `base` integer, guessing the base if it is
95
-   `0`.
93
+Interprets the string as a base `base` integer, guessing the base if it is `0`.
96 94
 
97
-- `ToLower`
95
+### `ToLower`
98 96
 
99
-   Converts all characters in the string to lowercase in place.
97
+Converts all characters in the string to lowercase in place.
100 98
 
101
-- `ToUpper`
99
+### `ToUpper`
102 100
 
103
-   Converts all characters in the string to uppercase in place.
101
+Converts all characters in the string to uppercase in place.
104 102
 
105
-- `Truncate`
103
+### `Truncate`
106 104
 
107
-   Truncates the string to `len` characters in place.
105
+Truncates the string to `len` characters in place.
108 106
 
109
-- `LastIndexOf`
107
+### `LastIndexOf`
110 108
 
111
-   Broken. Use `RightIndexOf` instead.
109
+Broken. Use `RightIndexOf` instead.
112 110
 
113 111
 <!-- EOF -->

+ 5
- 6
api/base/StringTable.md View File

@@ -9,12 +9,11 @@ struct StringTable
9 9
 }
10 10
 ```
11 11
 
12
-- `Localize`
12
+### `Localize`
13 13
 
14
-   Returns the localized variant of `val`. If `prefixed` is `true`, the string
15
-   is returned as-is unless it is prefixed with `$` where the `$` character
16
-   itself is ignored. **Not deterministic** unless there is only one variant of
17
-   `val`. This is generally fine because this should only be used for visual
18
-   strings anyway.
14
+Returns the localized variant of `val`. If `prefixed` is `true`, the string is
15
+returned as-is unless it is prefixed with `$` where the `$` character itself is
16
+ignored. **Not deterministic** unless there is only one variant of `val`. This
17
+is generally fine because this should only be used for visual strings anyway.
19 18
 
20 19
 <!-- EOF -->

+ 16
- 16
api/base/Thinker.md View File

@@ -13,8 +13,8 @@ The user-defined stat numbers begin at `Thinker.STAT_USER` and end at
13 13
 except as relative to these two.
14 14
 
15 15
 <!--
16
-   NOTE: These tables are not alphabetically organized as their ordering is
17
-         meaningful.
16
+	NOTE: These tables are not alphabetically organized as their ordering is
17
+	      meaningful.
18 18
 -->
19 19
 
20 20
 Thinkers which do not think and are elided from many checks:
@@ -65,30 +65,30 @@ class Thinker : Object play
65 65
 }
66 66
 ```
67 67
 
68
-- `TICRATE`
68
+### `TICRATE`
69 69
 
70
-   The number of game ticks in a second. This value is always `int(35)`.
70
+The number of game ticks in a second. This value is always `int(35)`.
71 71
 
72
-- `Level`
72
+### `Level`
73 73
 
74
-   The level this `Thinker` is in, which may differ from another one's.
74
+The level this `Thinker` is in, which may differ from another one's.
75 75
 
76
-- `ChangeStatNum`
76
+### `ChangeStatNum`
77 77
 
78
-   Changes the statnum of this `Thinker`.
78
+Changes the statnum of this `Thinker`.
79 79
 
80
-- `PostBeginPlay`
80
+### `PostBeginPlay`
81 81
 
82
-   Called at the very end of this Thinker's initialization.
82
+Called at the very end of this Thinker's initialization.
83 83
 
84
-- `Tick`
84
+### `Tick`
85 85
 
86
-   Called every game tick. The order between this thinker's `Tick` and every
87
-   other thinker in the same statnum is unspecified.
86
+Called every game tick. The order between this thinker's `Tick` and every other
87
+thinker in the same statnum is unspecified.
88 88
 
89
-- `Tics2Seconds`
89
+### `Tics2Seconds`
90 90
 
91
-   Roughly converts a number of tics to an integral amount of seconds.
92
-   Equivalent to `tics / TICRATE`.
91
+Roughly converts a number of tics to an integral amount of seconds. Equivalent
92
+to `tics / TICRATE`.
93 93
 
94 94
 <!-- EOF -->

+ 4
- 4
api/base/Vector.md View File

@@ -22,12 +22,12 @@ struct Vector3
22 22
 }
23 23
 ```
24 24
 
25
-- `Length`
25
+### `Length`
26 26
 
27
-   Returns the length (magnitude) of the vector.
27
+Returns the length (magnitude) of the vector.
28 28
 
29
-- `Unit`
29
+### `Unit`
30 30
 
31
-   Returns a normalized vector. Equivalent to `vec / vec.Length()`.
31
+Returns a normalized vector. Equivalent to `vec / vec.Length()`.
32 32
 
33 33
 <!-- EOF -->

+ 6
- 6
api/drawing/BrokenLines.md View File

@@ -12,16 +12,16 @@ class BrokenLines : Object
12 12
 }
13 13
 ```
14 14
 
15
-- `Count`
15
+### `Count`
16 16
 
17
-   Returns the amount of lines in this container.
17
+Returns the amount of lines in this container.
18 18
 
19
-- `StringAt`
19
+### `StringAt`
20 20
 
21
-   Returns the text of line `line`.
21
+Returns the text of line `line`.
22 22
 
23
-- `StringWidth`
23
+### `StringWidth`
24 24
 
25
-   Returns the width (in pixels) of line `line`.
25
+Returns the width (in pixels) of line `line`.
26 26
 
27 27
 <!-- EOF -->

+ 10
- 11
api/drawing/Console.md View File

@@ -11,22 +11,21 @@ struct Console
11 11
 }
12 12
 ```
13 13
 
14
-- `HideConsole`
14
+### `HideConsole`
15 15
 
16
-   Hides the console if it is open and `GameState` is not `GS_FULLCONSOLE`.
16
+Hides the console if it is open and `GameState` is not `GS_FULLCONSOLE`.
17 17
 
18
-- `MidPrint`
18
+### `MidPrint`
19 19
 
20
-   Prints `text` (possibly a `LANGUAGE` string if prefixed with `$`) in `font`
21
-   to the middle of the screen for 1½ seconds. Will print even if the player is
22
-   a spectator if `bold` is `true`. Uses the `msgmidcolor` CVar for non-bold
23
-   messages and `msgmidcolor2` for bold messages.
20
+Prints `text` (possibly a `LANGUAGE` string if prefixed with `$`) in `font` to
21
+the middle of the screen for 1½ seconds. Will print even if the player is a
22
+spectator if `bold` is `true`. Uses the `msgmidcolor` CVar for non-bold
23
+messages and `msgmidcolor2` for bold messages.
24 24
 
25
-   This is the function used internally by ACS' `Print` and `PrintBold`
26
-   functions.
25
+This is the function used internally by ACS' `Print` and `PrintBold` functions.
27 26
 
28
-- `PrintF`
27
+### `PrintF`
29 28
 
30
-   Prints a formatted string to the console.
29
+Prints a formatted string to the console.
31 30
 
32 31
 <!-- EOF -->

+ 20
- 20
api/drawing/Font.md View File

@@ -20,42 +20,42 @@ struct Font
20 20
 }
21 21
 ```
22 22
 
23
-- `FindFont`
23
+### `FindFont`
24 24
 
25
-   Gets a font as defined in `FONTDEFS`.
25
+Gets a font as defined in `FONTDEFS`.
26 26
 
27
-- `FindFontColor`
27
+### `FindFontColor`
28 28
 
29
-   Returns the color range enumeration for a named color.
29
+Returns the color range enumeration for a named color.
30 30
 
31
-- `GetFont`
31
+### `GetFont`
32 32
 
33
-   Gets a font either as defined in `FONTDEFS` or a ZDoom/bitmap font.
33
+Gets a font either as defined in `FONTDEFS` or a ZDoom/bitmap font.
34 34
 
35
-- `GetBottomAlignOffset`
35
+### `GetBottomAlignOffset`
36 36
 
37
-   Returns the baseline for the character `code`.
37
+Returns the baseline for the character `code`.
38 38
 
39
-- `GetCharWidth`
39
+### `GetCharWidth`
40 40
 
41
-   Returns the width in pixels of a character code.
41
+Returns the width in pixels of a character code.
42 42
 
43
-- `GetCursor`
43
+### `GetCursor`
44 44
 
45
-   Returns the string used as a blinking cursor graphic for this font.
45
+Returns the string used as a blinking cursor graphic for this font.
46 46
 
47
-- `GetHeight`
47
+### `GetHeight`
48 48
 
49
-   Returns the line height of the font.
49
+Returns the line height of the font.
50 50
 
51
-- `StringWidth`
51
+### `StringWidth`
52 52
 
53
-   Returns the width in pixels of the string.
53
+Returns the width in pixels of the string.
54 54
 
55
-- `BreakLines`
55
+### `BreakLines`
56 56
 
57
-   Breaks `text` up into a `BrokenLines` structure according to the screen and
58
-   clip region, as well as appropriately accounting for a maximum width in
59
-   pixels of `maxlen`.
57
+Breaks `text` up into a `BrokenLines` structure according to the screen and
58
+clip region, as well as appropriately accounting for a maximum width in pixels
59
+of `maxlen`.
60 60
 
61 61
 <!-- EOF -->

+ 4
- 4
api/drawing/GIFont.md View File

@@ -10,12 +10,12 @@ struct GIFont
10 10
 }
11 11
 ```
12 12
 
13
-- `Color`
13
+### `Color`
14 14
 
15
-   The color of the font.
15
+The color of the font.
16 16
 
17
-- `FontName`
17
+### `FontName`
18 18
 
19
-   The name of the font.
19
+The name of the font.
20 20
 
21 21
 <!-- EOF -->

+ 103
- 104
api/drawing/Screen.md View File

@@ -32,145 +32,144 @@ struct Screen
32 32
 }
33 33
 ```
34 34
 
35
-- `DrawChar`
36
-
37
-   The same as `DrawTexture`, but draws the texture of character code
38
-   `character` from `font`. The output color may be modified by the font color
39
-   `cr`.
40
-
41
-- `DrawShape`
42
-
43
-   TODO
35
+### `DrawChar`
36
+
37
+The same as `DrawTexture`, but draws the texture of character code `character`
38
+from `font`. The output color may be modified by the font color `cr`.
39
+
40
+### `DrawShape`
44 41
 
45
-- `DrawText`
42
+TODO
46 43
 
47
-   TODO
44
+### `DrawText`
48 45
 
49
-- `DrawTexture`
46
+TODO
50 47
 
51
-   Draws texture `tex`, possibly animated by the animation ticker if `animate`
52
-   is `true`, at horizontal position `x` and vertical position `y`.
48
+### `DrawTexture`
53 49
 
54
-   Various properties of this drawing process can be changed by passing extra
55
-   arguments to this function. After all arguments are parsed, the
56
-   "`CleanMode`" internal variable is used along with the specified virtual
57
-   width/height to determine how to finally transform positions. `CleanMode`
58
-   may be one of the following:
50
+Draws texture `tex`, possibly animated by the animation ticker if `animate` is
51
+`true`, at horizontal position `x` and vertical position `y`.
59 52
 
60
-   | Name                | Description                                                                                          |
61
-   | ----                | -----------                                                                                          |
62
-   | `DTA_BASE`          | No position scaling is performed.                                                                    |
63
-   | `DTA_CLEAN`         | Scales all positions by `Clean*Fac`. See the documentation for those variables for more information. |
64
-   | `DTA_CLEANNOMOVE`   | Scales the destination width and height by `Clean*Fac`.                                              |
65
-   | `DTA_CLEANNOMOVE_1` | Scales the destination width and height by `Clean*Fac_1`.                                            |
66
-   | `DTA_FULLSCREEN`    | Sets the X and Y positions to `0`. (Yes, really, this is all it does.)                               |
67
-   | `DTA_HUDRULES`      | Scales all positions by the current status bar's scaling rules.                                      |
68
-   | `DTA_HUDRULESC`     | Scales all positions by the current status bar's scaling rules and centers the X position.           |
53
+Various properties of this drawing process can be changed by passing extra
54
+arguments to this function. After all arguments are parsed, the "`CleanMode`"
55
+internal variable is used along with the specified virtual width/height to
56
+determine how to finally transform positions. `CleanMode` may be one of the
57
+following:
69 58
 
70
-   Here is a list of tags and their respective arguments which may be used:
59
+| Name                | Description                                                                                          |
60
+| ----                | -----------                                                                                          |
61
+| `DTA_BASE`          | No position scaling is performed.                                                                    |
62
+| `DTA_CLEAN`         | Scales all positions by `Clean*Fac`. See the documentation for those variables for more information. |
63
+| `DTA_CLEANNOMOVE`   | Scales the destination width and height by `Clean*Fac`.                                              |
64
+| `DTA_CLEANNOMOVE_1` | Scales the destination width and height by `Clean*Fac_1`.                                            |
65
+| `DTA_FULLSCREEN`    | Sets the X and Y positions to `0`. (Yes, really, this is all it does.)                               |
66
+| `DTA_HUDRULES`      | Scales all positions by the current status bar's scaling rules.                                      |
67
+| `DTA_HUDRULESC`     | Scales all positions by the current status bar's scaling rules and centers the X position.           |
71 68
 
72
-   | Name                                      | Arguments      | Description |
73
-   | ----                                      | ---------      | ----------- |
74
-   | `DTA_320X200`                             | `bool use`     | Sets `CleanMode` to `DTA_BASE` and the virtual width/height to `320`/`200` if `use` is `true`. Note that 320x200 does not scale properly to the screen as it must be 320x240 to do so. |
75
-   | `DTA_ALPHACHANNEL`                        | `bool use`     | Does nothing unless `DTA_FILLCOLOR` is used and the render style is unspecified, in which case it will set the render style to "shaded" if `use` is `true`. |
76
-   | `DTA_ALPHA`                               | `double alpha` | Sets the alpha of the drawn texture to `alpha`. |
77
-   | `DTA_BOTTOM320X200`                       | `bool use`     | Same as `DTA_320X200`, but also enables position transformation as if a call to `VirtualToRealCoords` with `vbottom` to `true`. Note that this is the only way to actually set this, but it may be overridden by following arguments to effectively toggle only this flag. |
78
-   | `DTA_CENTERBOTTOMOFFSET`                  | `bool use`     | Same as `DTA_CENTERBOTTOMOFFSET`, but the Y offset is aligned to the bottom instead of the center. |
79
-   | `DTA_CENTEROFFSET`                        | `bool use`     | Overrides the texture's X and Y offsets, centering them between the texture's height and width if `use` is `true`. |
80
-   | `DTA_CLEANNOMOVE1`                        | `bool use`     | Sets `CleanMode` to `DTA_CLEANNOMOVE1` if `use` is `true`. |
81
-   | `DTA_CLEANNOMOVE`                         | `bool use`     | Sets `CleanMode` to `DTA_CLEANNOMOVE` if `use` is `true`. |
82
-   | `DTA_CLEAN`                               | `bool use`     | Sets `CleanMode` to `DTA_CLEAN` if `use` is `true`. |
83
-   | `DTA_CLIPBOTTOM`, `DTA_CLIPTOP`           | `int length`   | Sets the vertical clipping for the texture. |
84
-   | `DTA_CLIPLEFT`, `DTA_CLIPRIGHT`           | `int length`   | Sets the horizontal clipping for the texture. |
85
-   | `DTA_COLOROVERLAY`                        | `color cr`     | Multiplies `cr` with the texture. Alpha determines the intensity of this overlay. Applied before render styles. |
86
-   | `DTA_COLOR`                               | `color cr`     | Multiplies `cr` with the texture. Applied after render styles change the color. |
87
-   | `DTA_DESATURATE`                          | `int amount`   | Desaturates the texture by `amount` (range 0-255.) |
88
-   | `DTA_DESTHEIGHTF`, `DTA_DESTWIDTHF`       | `double size`  | Same as `DTA_DESTHEIGHT`/`DTA_DESTWIDTH`, but with decimal arguments. |
89
-   | `DTA_DESTHEIGHT`, `DTA_DESTWIDTH`         | `int size`     | Sets the resulting width or height on screen of the texture and sets `CleanMode` to `DTA_BASE`. |
90
-   | `DTA_FILLCOLOR`                           | `color cr`     | Sets the render style to "stencil" if one is not specified and the fill color to `cr`. |
91
-   | `DTA_FLIPX`, `DTA_FLIPY`                  | `bool use`     | Flips the X or Y position if `use` is `true`.
92
-   | `DTA_FULLSCREEN`                          | `bool use`     | Sets `CleanMode` to `DTA_FULLSCREEN` and the virtual width and height to the display size of the texture. |
93
-   | `DTA_HUDRULES`                            | `int type`     | Sets `CleanMode` to `DTA_HUDRULESC` if `type` is `BaseStatusBar.HUD_HORIZCENTER`, or `DTA_HUDRULES` if it is `BaseStatusBar.HUD_NORMAL`. |
94
-   | `DTA_KEEPRATIO`                           | `bool on`      | Enables aspect ratio correction if `on` is `true`. |
95
-   | `DTA_LEFTOFFSETF`, `DTA_TOPOFFSETF`       | `double ofs`   | Same as `DTA_LEFTOFFSET`/`DTA_TOPOFFSETF`, but with decimal arguments. |
96
-   | `DTA_LEFTOFFSET`, `DTA_TOPOFFSET`         | `int ofs`      | Overrides the texture's X or Y offset. |
97
-   | `DTA_LEGACYRENDERSTYLE`                   | `int style`    | Overrides the render style. Note that there is also a `DTA_RENDERSTYLE` which cannot be used because the engine does not expose `FRenderStyle` yet. |
98
-   | `DTA_MASKED`                              | `bool on`      | Turns the texture fully opaque (no alpha mask) if `on` is `false`. Default value is on. |
99
-   | `DTA_SRCHEIGHT`, `DTA_SRCWIDTH`           | `int size`     | Sets the width or height of the source image. Will cut the texture if lower than the original size. If the size is larger than the original, it will cause UV clamping, repeating the pixels at the image borders. |
100
-   | `DTA_SRCX`, `DTA_SRCY`                    | `int pos`      | Sets the X or Y on the source image to start the texture at. Texture wrapping will cause a UV clamping effect, repeating the pixels at the image borders. |
101
-   | `DTA_TRANSLATIONINDEX`                    | `int index`    | Remaps colors in the destination texture with translation table `index`. |
102
-   | `DTA_VIRTUALHEIGHTF`, `DTA_VIRTUALWIDTHF` | `double size`  | Same as `DTA_VIRTUALHEIGHT`/`DTA_VIRTUALWIDTH`, but with decimal arguments. |
103
-   | `DTA_VIRTUALHEIGHT`, `DTA_VIRTUALWIDTH`   | `int size`     | Sets the virtual width or height to `size`. |
104
-   | `DTA_WINDOWLEFTF`, `DTA_WINDOWRIGHTF`     | `double size`  | Same as `DTA_WINDOWLEFT`/`DTA_WINDOWRIGHT`, but with decimal arguments. |
105
-   | `DTA_WINDOWLEFT`, `DTA_WINDOWRIGHT`       | `int size`     | Crops `size` pixels from the left or right. |
69
+Here is a list of tags and their respective arguments which may be used:
106 70
 
107
-- `Clear`
71
+| Name                                      | Arguments      | Description |
72
+| ----                                      | ---------      | ----------- |
73
+| `DTA_320X200`                             | `bool use`     | Sets `CleanMode` to `DTA_BASE` and the virtual width/height to `320`/`200` if `use` is `true`. Note that 320x200 does not scale properly to the screen as it must be 320x240 to do so. |
74
+| `DTA_ALPHACHANNEL`                        | `bool use`     | Does nothing unless `DTA_FILLCOLOR` is used and the render style is unspecified, in which case it will set the render style to "shaded" if `use` is `true`. |
75
+| `DTA_ALPHA`                               | `double alpha` | Sets the alpha of the drawn texture to `alpha`. |
76
+| `DTA_BOTTOM320X200`                       | `bool use`     | Same as `DTA_320X200`, but also enables position transformation as if a call to `VirtualToRealCoords` with `vbottom` to `true`. Note that this is the only way to actually set this, but it may be overridden by following arguments to effectively toggle only this flag. |
77
+| `DTA_CENTERBOTTOMOFFSET`                  | `bool use`     | Same as `DTA_CENTERBOTTOMOFFSET`, but the Y offset is aligned to the bottom instead of the center. |
78
+| `DTA_CENTEROFFSET`                        | `bool use`     | Overrides the texture's X and Y offsets, centering them between the texture's height and width if `use` is `true`. |
79
+| `DTA_CLEANNOMOVE1`                        | `bool use`     | Sets `CleanMode` to `DTA_CLEANNOMOVE1` if `use` is `true`. |
80
+| `DTA_CLEANNOMOVE`                         | `bool use`     | Sets `CleanMode` to `DTA_CLEANNOMOVE` if `use` is `true`. |
81
+| `DTA_CLEAN`                               | `bool use`     | Sets `CleanMode` to `DTA_CLEAN` if `use` is `true`. |
82
+| `DTA_CLIPBOTTOM`, `DTA_CLIPTOP`           | `int length`   | Sets the vertical clipping for the texture. |
83
+| `DTA_CLIPLEFT`, `DTA_CLIPRIGHT`           | `int length`   | Sets the horizontal clipping for the texture. |
84
+| `DTA_COLOROVERLAY`                        | `color cr`     | Multiplies `cr` with the texture. Alpha determines the intensity of this overlay. Applied before render styles. |
85
+| `DTA_COLOR`                               | `color cr`     | Multiplies `cr` with the texture. Applied after render styles change the color. |
86
+| `DTA_DESATURATE`                          | `int amount`   | Desaturates the texture by `amount` (range 0-255.) |
87
+| `DTA_DESTHEIGHTF`, `DTA_DESTWIDTHF`       | `double size`  | Same as `DTA_DESTHEIGHT`/`DTA_DESTWIDTH`, but with decimal arguments. |
88
+| `DTA_DESTHEIGHT`, `DTA_DESTWIDTH`         | `int size`     | Sets the resulting width or height on screen of the texture and sets `CleanMode` to `DTA_BASE`. |
89
+| `DTA_FILLCOLOR`                           | `color cr`     | Sets the render style to "stencil" if one is not specified and the fill color to `cr`. |
90
+| `DTA_FLIPX`, `DTA_FLIPY`                  | `bool use`     | Flips the X or Y position if `use` is `true`.
91
+| `DTA_FULLSCREEN`                          | `bool use`     | Sets `CleanMode` to `DTA_FULLSCREEN` and the virtual width and height to the display size of the texture. |
92
+| `DTA_HUDRULES`                            | `int type`     | Sets `CleanMode` to `DTA_HUDRULESC` if `type` is `BaseStatusBar.HUD_HORIZCENTER`, or `DTA_HUDRULES` if it is `BaseStatusBar.HUD_NORMAL`. |
93
+| `DTA_KEEPRATIO`                           | `bool on`      | Enables aspect ratio correction if `on` is `true`. |
94
+| `DTA_LEFTOFFSETF`, `DTA_TOPOFFSETF`       | `double ofs`   | Same as `DTA_LEFTOFFSET`/`DTA_TOPOFFSETF`, but with decimal arguments. |
95
+| `DTA_LEFTOFFSET`, `DTA_TOPOFFSET`         | `int ofs`      | Overrides the texture's X or Y offset. |
96
+| `DTA_LEGACYRENDERSTYLE`                   | `int style`    | Overrides the render style. Note that there is also a `DTA_RENDERSTYLE` which cannot be used because the engine does not expose `FRenderStyle` yet. |
97
+| `DTA_MASKED`                              | `bool on`      | Turns the texture fully opaque (no alpha mask) if `on` is `false`. Default value is on. |
98
+| `DTA_SRCHEIGHT`, `DTA_SRCWIDTH`           | `int size`     | Sets the width or height of the source image. Will cut the texture if lower than the original size. If the size is larger than the original, it will cause UV clamping, repeating the pixels at the image borders. |
99
+| `DTA_SRCX`, `DTA_SRCY`                    | `int pos`      | Sets the X or Y on the source image to start the texture at. Texture wrapping will cause a UV clamping effect, repeating the pixels at the image borders. |
100
+| `DTA_TRANSLATIONINDEX`                    | `int index`    | Remaps colors in the destination texture with translation table `index`. |
101
+| `DTA_VIRTUALHEIGHTF`, `DTA_VIRTUALWIDTHF` | `double size`  | Same as `DTA_VIRTUALHEIGHT`/`DTA_VIRTUALWIDTH`, but with decimal arguments. |
102
+| `DTA_VIRTUALHEIGHT`, `DTA_VIRTUALWIDTH`   | `int size`     | Sets the virtual width or height to `size`. |
103
+| `DTA_WINDOWLEFTF`, `DTA_WINDOWRIGHTF`     | `double size`  | Same as `DTA_WINDOWLEFT`/`DTA_WINDOWRIGHT`, but with decimal arguments. |
104
+| `DTA_WINDOWLEFT`, `DTA_WINDOWRIGHT`       | `int size`     | Crops `size` pixels from the left or right. |
108 105
 
109
-   Draws a rectangle from `top left` to `bottom right` in screen coordinates of
110
-   `cr` color. Does not support translucent colors. `palcolor` is a palette
111
-   index to use as a color in paletted renderers or `-1` for automatic
112
-   conversion from the given RGB color.
106
+### `Clear`
113 107
 
114
-- `Dim`
108
+Draws a rectangle from `top left` to `bottom right` in screen coordinates of
109
+`cr` color. Does not support translucent colors. `palcolor` is a palette index
110
+to use as a color in paletted renderers or `-1` for automatic conversion from
111
+the given RGB color.
115 112
 
116
-   Draws a rectangle at `x y` of `w h` size in screen coordinates of `cr`
117
-   color. Does not support translucent colors, but `amount` may be used to
118
-   specify the translucency in a range of 0-1 inclusive.
113
+### `Dim`
119 114
 
120
-- `DrawFrame`
115
+Draws a rectangle at `x y` of `w h` size in screen coordinates of `cr` color.
116
+Does not support translucent colors, but `amount` may be used to specify the
117
+translucency in a range of 0-1 inclusive.
121 118
 
122
-   Draws a frame around a rectangle at `x y` of `w h` size in screen
123
-   coordinates, using the border graphics as defined in `MAPINFO`/GameInfo.
119
+### `DrawFrame`
124 120
 
125
-- `DrawLine`
121
+Draws a frame around a rectangle at `x y` of `w h` size in screen coordinates,
122
+using the border graphics as defined in `MAPINFO`/GameInfo.
126 123
 
127
-   Draws a one pixel wide line from `x0 y0` to `x1 y1` in screen coordinates of
128
-   color `cr` with alpha `alpha` (range 0-255.)
124
+### `DrawLine`
129 125
 
130
-- `DrawThickLine`
126
+Draws a one pixel wide line from `x0 y0` to `x1 y1` in screen coordinates of
127
+color `cr` with alpha `alpha` (range 0-255.)
131 128
 
132
-   Draws a `thickness` pixel wide line from `x0 y0` to `x1 y1` in screen
133
-   coordinates of color `cr` with alpha `alpha` (range 0-255.)
129
+### `DrawThickLine`
134 130
 
135
-- `GetAspectRatio`
131
+Draws a `thickness` pixel wide line from `x0 y0` to `x1 y1` in screen
132
+coordinates of color `cr` with alpha `alpha` (range 0-255.)
136 133
 
137
-   Returns the aspect ratio of the screen.
134
+### `GetAspectRatio`
138 135
 
139
-- `GetHeight`
136
+Returns the aspect ratio of the screen.
140 137
 
141
-   Returns the height of the screen.
138
+### `GetHeight`
142 139
 
143
-- `GetWidth`
140
+Returns the height of the screen.
144 141
 
145
-   Returns the width of the screen.
142
+### `GetWidth`
146 143
 
147
-- `PaletteColor`
144
+Returns the width of the screen.
148 145
 
149
-   Returns a `color` for a given palette index.
146
+### `PaletteColor`
150 147
 
151
-- `VirtualToRealCoords`
148
+Returns a `color` for a given palette index.
152 149
 
153
-   Converts virtual coordinates `pos` from virtual coordinate space `vsize` to
154
-   screen coordinate space `size`, possibly accounting for aspect ratio
155
-   differences if `handleaspect` is true. If the ratio is 5:4, `vbottom` will
156
-   account for the higher-than-wide conversion by repositioning vertically.
150
+### `VirtualToRealCoords`
157 151
 
158
-- `ClearClipRect`
152
+Converts virtual coordinates `pos` from virtual coordinate space `vsize` to
153
+screen coordinate space `size`, possibly accounting for aspect ratio
154
+differences if `handleaspect` is true. If the ratio is 5:4, `vbottom` will
155
+account for the higher-than-wide conversion by repositioning vertically.
159 156
 
160
-   Clears the clipping rectangle if there is one.
157
+### `ClearClipRect`
161 158
 
162
-- `GetClipRect`
159
+Clears the clipping rectangle if there is one.
163 160
 
164
-   Returns the clipping rectangle's `x`/`y`/`w`/`h`.
161
+### `GetClipRect`
165 162
 
166
-- `GetViewWindow`
163
+Returns the clipping rectangle's `x`/`y`/`w`/`h`.
167 164
 
168
-   Returns the 3D viewing window, which may be smaller than the screen size
169
-   with any given `screenblocks` setting.
165
+### `GetViewWindow`
170 166
 
171
-- `SetClipRect`
167
+Returns the 3D viewing window, which may be smaller than the screen size with
168
+any given `screenblocks` setting.
172 169
 
173
-   Sets the clipping rectangle to restrict further drawing to the region
174
-   starting at `x y` of size `w h` in screen coordinates.
170
+### `SetClipRect`
171
+
172
+Sets the clipping rectangle to restrict further drawing to the region starting
173
+at `x y` of size `w h` in screen coordinates.
175 174
 
176 175
 <!-- EOF -->

+ 13
- 13
api/drawing/Shape2D.md View File

@@ -12,26 +12,26 @@ class Shape2D : Object
12 12
 }
13 13
 ```
14 14
 
15
-- `Clear`
15
+### `Clear`
16 16
 
17
-   Clears data out of a shape. Uses these as a bit flag:
17
+Clears data out of a shape. Uses these as a bit flag:
18 18
 
19
-   | Name                | Description                 |
20
-   | ----                | -----------                 |
21
-   | `Shape2D.C_Coords`  | Clears texture coordinates. |
22
-   | `Shape2D.C_Indices` | Clears vertex indices.      |
23
-   | `Shape2D.C_Verts`   | Clears vertices.            |
19
+| Name                | Description                 |
20
+| ----                | -----------                 |
21
+| `Shape2D.C_Coords`  | Clears texture coordinates. |
22
+| `Shape2D.C_Indices` | Clears vertex indices.      |
23
+| `Shape2D.C_Verts`   | Clears vertices.            |
24 24
 
25
-- `PushCoord`
25
+### `PushCoord`
26 26
 
27
-   Pushes a texture coordinate into the shape buffer.
27
+Pushes a texture coordinate into the shape buffer.
28 28
 
29
-- `PushTriangle`
29
+### `PushTriangle`
30 30
 
31
-   Pushes the indices of a triangle into the shape buffer.
31
+Pushes the indices of a triangle into the shape buffer.
32 32
 
33
-- `PushVertex`
33
+### `PushVertex`
34 34
 
35
-   Pushes a vertex into the shape buffer.
35
+Pushes a vertex into the shape buffer.
36 36
 
37 37
 <!-- EOF -->

+ 63
- 64
api/drawing/TexMan.md View File

@@ -19,91 +19,90 @@ struct TexMan
19 19
 }
20 20
 ```
21 21
 
22
-- `CheckForTexture`
22
+### `CheckForTexture`
23 23
 
24
-   Returns a `textureid` for the texture named `name`. `usetype` may be one of
25
-   the following, which selects what kind of texture to find:
24
+Returns a `textureid` for the texture named `name`. `usetype` may be one of the
25
+following, which selects what kind of texture to find:
26 26
 
27
-   | Name                       | Description                                                                                       |
28
-   | ----                       | -----------                                                                                       |
29
-   | `TexMan.TYPE_ANY`          | Any kind of texture.                                                                              |
30
-   | `TexMan.TYPE_AUTOPAGE`     | Unused.                                                                                           |
31
-   | `TexMan.TYPE_BUILD`        | Unused.                                                                                           |
32
-   | `TexMan.TYPE_DECAL`        | A decal pic defined in `DECALDEF`.                                                                |
33
-   | `TexMan.TYPE_FIRSTDEFINED` | The first composite texture defined by the IWad.                                                  |
34
-   | `TexMan.TYPE_FLAT`         | A flat (ceiling/floor texture,) i.e. `FLOOR0_1`.                                                  |
35
-   | `TexMan.TYPE_FONTCHAR`     | Unused.                                                                                           |
36
-   | `TexMan.TYPE_MISCPATCH`    | A loose graphic, i.e. `M_DOOM`.                                                                   |
37
-   | `TexMan.TYPE_NULL`         | Reserved for the null graphic. Ignores `name`.                                                    |
38
-   | `TexMan.TYPE_OVERRIDE`     | Overridable generalized textures, for instance textures defined in `TX_START` or BUILD ART tiles. |
39
-   | `TexMan.TYPE_SKINGRAPHIC`  | Any loose graphic defined in `S_SKIN` i.e. statusbar faces.                                       |
40
-   | `TexMan.TYPE_SKINSPRITE`   | Any sprite defined in `S_SKIN`.                                                                   |
41
-   | `TexMan.TYPE_SPRITE`       | A sprite in `S_START`, i.e. `MEDIA0`.                                                             |
42
-   | `TexMan.TYPE_WALLPATCH`    | An uncomposited patch, i.e. `DOOR2_1`.                                                            |
43
-   | `TexMan.TYPE_WALL`         | Any composited wall texture, i.e. `STARTAN2`.                                                     |
27
+| Name                       | Description                                                                                       |
28
+| ----                       | -----------                                                                                       |
29
+| `TexMan.TYPE_ANY`          | Any kind of texture.                                                                              |
30
+| `TexMan.TYPE_AUTOPAGE`     | Unused.                                                                                           |
31
+| `TexMan.TYPE_BUILD`        | Unused.                                                                                           |
32
+| `TexMan.TYPE_DECAL`        | A decal pic defined in `DECALDEF`.                                                                |
33
+| `TexMan.TYPE_FIRSTDEFINED` | The first composite texture defined by the IWad.                                                  |
34
+| `TexMan.TYPE_FLAT`         | A flat (ceiling/floor texture,) i.e. `FLOOR0_1`.                                                  |
35
+| `TexMan.TYPE_FONTCHAR`     | Unused.                                                                                           |
36
+| `TexMan.TYPE_MISCPATCH`    | A loose graphic, i.e. `M_DOOM`.                                                                   |
37
+| `TexMan.TYPE_NULL`         | Reserved for the null graphic. Ignores `name`.                                                    |
38
+| `TexMan.TYPE_OVERRIDE`     | Overridable generalized textures, for instance textures defined in `TX_START` or BUILD ART tiles. |
39
+| `TexMan.TYPE_SKINGRAPHIC`  | Any loose graphic defined in `S_SKIN` i.e. statusbar faces.                                       |
40
+| `TexMan.TYPE_SKINSPRITE`   | Any sprite defined in `S_SKIN`.                                                                   |
41
+| `TexMan.TYPE_SPRITE`       | A sprite in `S_START`, i.e. `MEDIA0`.                                                             |
42
+| `TexMan.TYPE_WALLPATCH`    | An uncomposited patch, i.e. `DOOR2_1`.                                                            |
43
+| `TexMan.TYPE_WALL`         | Any composited wall texture, i.e. `STARTAN2`.                                                     |
44 44
 
45
-   `flags` may be any of the following combined (with the bitwise OR operator
46
-   `|`:)
45
+`flags` may be any of the following combined (with the bitwise OR operator
46
+`|`:)
47 47
 
48
-   | Name                   | Description                                                                               |
49
-   | ----                   | -----------                                                                               |
50
-   | `TexMan.ALLOWSKINS`    | Allows `SkinGraphic`s to be returned under normal circumstances.                          |
51
-   | `TexMan.DONTCREATE`    | Will never create a new texture when searching.                                           |
52
-   | `TexMan.LOCALIZE`      | TODO                                          .                                           |
53
-   | `TexMan.OVERRIDABLE`   | Allows overriding of this texture by for instance `TEXTURES`.                             |
54
-   | `TexMan.RETURNFIRST`   | Allows returning the `FirstDefined` "null" texture under normal circumstances.            |
55
-   | `TexMan.SHORTNAMEONLY` | Will force use of a short name when searching.                                            |
56
-   | `TexMan.TRYANY`        | Returns any other type of texture if one is not found in the specified use type. Default. |
48
+| Name                   | Description                                                                               |
49
+| ----                   | -----------                                                                               |
50
+| `TexMan.ALLOWSKINS`    | Allows `SkinGraphic`s to be returned under normal circumstances.                          |
51
+| `TexMan.DONTCREATE`    | Will never create a new texture when searching.                                           |
52
+| `TexMan.LOCALIZE`      | TODO                                          .                                           |
53
+| `TexMan.OVERRIDABLE`   | Allows overriding of this texture by for instance `TEXTURES`.                             |
54
+| `TexMan.RETURNFIRST`   | Allows returning the `FirstDefined` "null" texture under normal circumstances.            |
55
+| `TexMan.SHORTNAMEONLY` | Will force use of a short name when searching.                                            |
56
+| `TexMan.TRYANY`        | Returns any other type of texture if one is not found in the specified use type. Default. |
57 57
 
58
-- `CheckRealHeight`
58
+### `CheckRealHeight`
59 59
 
60
-   Returns the height in pixels of the texture down to the last scanline which
61
-   has actual pixel data. Note that this operation is extremely slow and should
62
-   be used sparingly.
60
+Returns the height in pixels of the texture down to the last scanline which has
61
+actual pixel data. Note that this operation is extremely slow and should be
62
+used sparingly.
63 63
 
64
-- `GetName`
64
+### `GetName`
65 65
 
66
-   Returns the original name of a `textureid`.
66
+Returns the original name of a `textureid`.
67 67
 
68
-- `GetScaledOffset`
68
+### `GetScaledOffset`
69 69
 
70
-   Returns the offsets for this texture used to display it (rather than the
71
-   original offsets.)
70
+Returns the offsets for this texture used to display it (rather than the
71
+original offsets.)
72 72
 
73
-- `GetScaledSize`
73
+### `GetScaledSize`
74 74
 
75
-   Returns the size used to display this texture (rather than the physical
76
-   size.)
75
+Returns the size used to display this texture (rather than the physical size.)
77 76
 
78
-- `GetSize`
77
+### `GetSize`
79 78
 
80
-   Returns the width and height of a `textureid`.
79
+Returns the width and height of a `textureid`.
81 80
 
82
-- `SetCameraToTexture`
81
+### `SetCameraToTexture`
83 82
 
84
-   Sets the camera texture (as defined in `ANIMDEFS`) `texture` to the
85
-   viewpoint of `viewpoint` with a fov of `fov`.
83
+Sets the camera texture (as defined in `ANIMDEFS`) `texture` to the viewpoint
84
+of `viewpoint` with a fov of `fov`.
86 85
 
87
-- `OkForLocalization`
86
+### `OkForLocalization`
88 87
 
89
-   TODO
88
+TODO
90 89
 
91
-- `ReplaceTextures`
90
+### `ReplaceTextures`
92 91
 
93
-   Note: This function is deprecated and `LevelLocals::ReplaceTextures` should
94
-   be used instead.
92
+Note: This function is deprecated and `LevelLocals::ReplaceTextures` should be
93
+used instead.
95 94
 
96
-   Replaces textures named `from` with `to` within the map. `flags` may be used
97
-   to filter out certain textures from being replaced:
95
+Replaces textures named `from` with `to` within the map. `flags` may be used to
96
+filter out certain textures from being replaced:
98 97
 
99
-   | Name                 | Description                          |
100
-   | ----                 | -----------                          |
101
-   | `TexMan.NOT_BOTTOM`  | Filters out linedef bottom textures. |
102
-   | `TexMan.NOT_CEILING` | Filters out ceiling flats.           |
103
-   | `TexMan.NOT_FLAT`    | Filters out any flat texture.        |
104
-   | `TexMan.NOT_FLOOR`   | Filters out floor flats.             |
105
-   | `TexMan.NOT_MIDDLE`  | Filters out linedef middle textures. |
106
-   | `TexMan.NOT_TOP`     | Filters out linedef upper textures.  |
107
-   | `TexMan.NOT_WALL`    | Filters out any linedef texture.     |
98
+| Name                 | Description                          |
99
+| ----                 | -----------                          |
100
+| `TexMan.NOT_BOTTOM`  | Filters out linedef bottom textures. |
101
+| `TexMan.NOT_CEILING` | Filters out ceiling flats.           |
102
+| `TexMan.NOT_FLAT`    | Filters out any flat texture.        |
103
+| `TexMan.NOT_FLOOR`   | Filters out floor flats.             |
104
+| `TexMan.NOT_MIDDLE`  | Filters out linedef middle textures. |
105
+| `TexMan.NOT_TOP`     | Filters out linedef upper textures.  |
106
+| `TexMan.NOT_WALL`    | Filters out any linedef texture.     |
108 107
 
109 108
 <!-- EOF -->

+ 15
- 15
api/drawing/TextureID.md View File

@@ -15,31 +15,31 @@ struct TextureID
15 15
 }
16 16
 ```
17 17
 
18
-- `Exists`
18
+### `Exists`
19 19
 
20
-   Checks if the texture exists within the texture manager at all.
20
+Checks if the texture exists within the texture manager at all.
21 21
 
22
-- `IsNull`
22
+### `IsNull`
23 23
 
24
-   Checks if the texture is the null index (`0`.)
24
+Checks if the texture is the null index (`0`.)
25 25
 
26
-- `IsValid`
26
+### `IsValid`
27 27
 
28
-   Checks if the texture index is not the invalid index (`-1`.)
28
+Checks if the texture index is not the invalid index (`-1`.)
29 29
 
30
-- `SetInvalid`
30
+### `SetInvalid`
31 31
 
32
-   Sets the texture index to `-1`.
32
+Sets the texture index to `-1`.
33 33
 
34
-- `SetNull`
34
+### `SetNull`
35 35
 
36
-   Sets the texture index to `0`.
36
+Sets the texture index to `0`.
37 37
 
38
-   The proper way to zero-initialize a `textureid` is:
38
+The proper way to zero-initialize a `textureid` is:
39 39
 
40
-   ```
41
-   textureid tex;
42
-   tex.SetNull();
43
-   ```
40
+```
41
+textureid tex;
42
+tex.SetNull();
43
+```
44 44
 
45 45
 <!-- EOF -->

+ 13
- 13
api/events/ConsoleEvent.md View File

@@ -12,25 +12,25 @@ struct ConsoleEvent
12 12
 }
13 13
 ```
14 14
 
15
-- `Player`
15
+### `Player`
16 16
 
17
-   The player who created this event, or `-1` if there was no activator. This
18
-   will always be positive for `NetworkProcess` events and always `-1` for
19
-   `ConsoleProcess` events.
17
+The player who created this event, or `-1` if there was no activator. This will
18
+always be positive for `NetworkProcess` events and always `-1` for
19
+`ConsoleProcess` events.
20 20
 
21
-- `Name`
21
+### `Name`
22 22
 
23
-   The name as provided to `SendNetworkEvent`. Use this to distinguish between
24
-   event types. It is favorable to prefix names with the name of your mod or
25
-   game so that it will not potentially conflict with other mods.
23
+The name as provided to `SendNetworkEvent`. Use this to distinguish between
24
+event types. It is favorable to prefix names with the name of your mod or game
25
+so that it will not potentially conflict with other mods.
26 26
 
27
-- `Args`
27
+### `Args`
28 28
 
29
-   The arguments as provided to `SendNetworkEvent`.
29
+The arguments as provided to `SendNetworkEvent`.
30 30
 
31
-- `IsManual`
31
+### `IsManual`
32 32
 
33
-   `true` if this event was created manually, for instance through a console
34
-   command.
33
+`true` if this event was created manually, for instance through a console
34
+command.
35 35
 
36 36
 <!-- EOF -->

+ 7
- 7
api/events/EventHandler.md View File

@@ -20,15 +20,15 @@ class EventHandler : StaticEventHandler
20 20
 }
21 21
 ```
22 22
 
23
-- `Find`
23
+### `Find`
24 24
 
25
-   Finds and returns the `StaticEventHandler` type `type` if it is registered,
26
-   or `null` if it does not exist. It should be noted that this is exactly the
27
-   same as `StaticEventHandler`'s, and does not actually check for
28
-   `EventHandlers`, although due to inheritance will return them correctly.
25
+Finds and returns the `StaticEventHandler` type `type` if it is registered, or
26
+`null` if it does not exist. It should be noted that this is exactly the same
27
+as `StaticEventHandler`'s, and does not actually check for `EventHandlers`,
28
+although due to inheritance will return them correctly.
29 29
 
30
-- `SendNetworkEvent`
30
+### `SendNetworkEvent`
31 31
 
32
-   Sends a network event with no activator.
32
+Sends a network event with no activator.
33 33
 
34 34
 <!-- EOF -->

+ 15
- 15
api/events/RenderEvent.md View File

@@ -14,31 +14,31 @@ struct RenderEvent
14 14
 }
15 15
 ```
16 16
 
17
-- `ViewPos`
17
+### `ViewPos`
18 18
 
19
-   The position at which the camera is at.
19
+The position at which the camera is at.
20 20
 
21
-- `ViewAngle`
21
+### `ViewAngle`
22 22
 
23
-   The yaw angle of the camera.
23
+The yaw angle of the camera.
24 24
 
25
-- `ViewPitch`
25
+### `ViewPitch`
26 26
 
27
-   The pitch angle of the camera.
27
+The pitch angle of the camera.
28 28
 
29
-- `ViewRoll`
29
+### `ViewRoll`
30 30
 
31
-   The roll angle of the camera.
31
+The roll angle of the camera.
32 32
 
33
-- `FracTic`
33
+### `FracTic`
34 34
 
35
-   A value between 0 and 1 (exclusive) representing the time between the last
36
-   game tick and the next game tick. This is most useful for interpolation, and
37
-   you can add it to the current game tick to get the real time at which this
38
-   event has been called. Precision is not specified.
35
+A value between 0 and 1 (exclusive) representing the time between the last game
36
+tick and the next game tick. This is most useful for interpolation, and you can
37
+add it to the current game tick to get the real time at which this event has
38
+been called. Precision is not specified.
39 39
 
40
-- `Camera`
40
+### `Camera`
41 41
 
42
-   The actor which is acting as the camera for the player's view.
42
+The actor which is acting as the camera for the player's view.
43 43
 
44 44
 <!-- EOF -->

+ 9
- 9
api/events/ReplaceEvent.md View File

@@ -12,19 +12,19 @@ struct ReplaceEvent
12 12
 }
13 13
 ```
14 14
 
15
-- `Replacee`
15
+### `Replacee`
16 16
 
17
-   The actor class which is being replaced.
17
+The actor class which is being replaced.
18 18
 
19
-- `Replacement`
19
+### `Replacement`
20 20
 
21
-   What to replace it with. This class type is already effected by skill and
22
-   actor definition replacements, so it may be useful to read it. Modify this
23
-   to change what the resulting replacement class ends up being.
21
+What to replace it with. This class type is already effected by skill and actor
22
+definition replacements, so it may be useful to read it. Modify this to change
23
+what the resulting replacement class ends up being.
24 24
 
25
-- `IsFinal`
25
+### `IsFinal`
26 26
 
27
-   If `true`, the engine will not attempt to continue going down the
28
-   replacement chain, and will directly replace the actor with `Replacement`.
27
+If `true`, the engine will not attempt to continue going down the replacement
28
+chain, and will directly replace the actor with `Replacement`.
29 29
 
30 30
 <!-- EOF -->

+ 115
- 116
api/events/StaticEventHandler.md View File

@@ -64,186 +64,185 @@ class StaticEventHandler : Object play
64 64
 }
65 65
 ```
66 66
 
67
-- `Find`
67
+### `Find`
68 68
 
69
-   Finds and returns the `StaticEventHandler` type `type` if it is registered,
70
-   or `null` if it does not exist.
69
+Finds and returns the `StaticEventHandler` type `type` if it is registered, or
70
+`null` if it does not exist.
71 71
 
72
-- `OnRegister`
72
+### `OnRegister`
73 73
 
74
-   Called when this type is registered. This is where you should set `Order`,
75
-   `IsUiProcessor` and `RequireMouse`.
74
+Called when this type is registered. This is where you should set `Order`,
75
+`IsUiProcessor` and `RequireMouse`.
76 76
 
77
-- `OnUnregister`
77
+### `OnUnregister`
78 78
 
79
-   Called when this type is un-registered. With `StaticEventHandler`s this is
80
-   called when the engine shuts down, so it isn't particularly useful.
79
+Called when this type is un-registered. With `StaticEventHandler`s this is
80
+called when the engine shuts down, so it isn't particularly useful.
81 81
 
82
-- `WorldLoaded`
82
+### `WorldLoaded`
83 83
 
84
-   Called directly after the status bar is attached to the player and after
85
-   `REOPEN` ACS scripts are called, just before the display is flushed and
86
-   auto-save is done.
84
+Called directly after the status bar is attached to the player and after
85
+`REOPEN` ACS scripts are called, just before the display is flushed and
86
+auto-save is done.
87 87
 
88
-- `WorldUnloaded`
88
+### `WorldUnloaded`
89 89
 
90
-   Called directly after `UNLOADING` ACS scripts, just before the level is
91
-   changed.
90
+Called directly after `UNLOADING` ACS scripts, just before the level is
91
+changed.
92 92
 
93
-- `WorldThingSpawned`
93
+### `WorldThingSpawned`
94 94
 
95
-   Called directly after an actor's `PostBeginPlay` function.
95
+Called directly after an actor's `PostBeginPlay` function.
96 96
 
97
-- `WorldThingDied`
97
+### `WorldThingDied`
98 98
 
99
-   Called after `MorphedDeath`, inventory items have called `OwnerDied`, and
100
-   the target is set to the damage source, just before `KILL` ACS scripts are
101
-   called and the rest of the death handling is done.
99
+Called after `MorphedDeath`, inventory items have called `OwnerDied`, and the
100
+target is set to the damage source, just before `KILL` ACS scripts are called
101
+and the rest of the death handling is done.
102 102
 
103
-- `WorldThingRevived`
103
+### `WorldThingRevived`
104 104
 
105
-   Called when an actor is revived, after everything is finished.
105
+Called when an actor is revived, after everything is finished.
106 106
 
107
-- `WorldThingDamaged`
107
+### `WorldThingDamaged`
108 108
 
109
-   Called directly before `Die`, or directly after after `DamageMobj` finishes.
109
+Called directly before `Die`, or directly after after `DamageMobj` finishes.
110 110
 
111
-- `WorldThingDestroyed`
111
+### `WorldThingDestroyed`
112 112
 
113
-   Called at the beginning of an actor's `OnDestroy` function.
113
+Called at the beginning of an actor's `OnDestroy` function.
114 114
 
115
-- `WorldLinePreActivated`
115
+### `WorldLinePreActivated`
116 116
 
117
-   Called directly after a line is tested for activation, before any other
118
-   activation specials are called (such as checking for keys, executing the
119
-   line special, etc.)
117
+Called directly after a line is tested for activation, before any other
118
+activation specials are called (such as checking for keys, executing the line
119
+special, etc.)
120 120
 
121
-- `WorldLineActivated`
121
+### `WorldLineActivated`
122 122
 
123
-   Called directly after a line's special is executed, if it succeeded, before
124
-   any other handling (such as changing a switch's texture) is completed.
123
+Called directly after a line's special is executed, if it succeeded, before any
124
+other handling (such as changing a switch's texture) is completed.
125 125
 
126
-- `WorldSectorDamaged`
126
+### `WorldSectorDamaged`
127 127
 
128
-   Called when a sector is damaged if it has any health groups, before any
129
-   other handling is done.
128
+Called when a sector is damaged if it has any health groups, before any other
129
+handling is done.
130 130
 
131
-- `WorldLineDamaged`
131
+### `WorldLineDamaged`
132 132
 
133
-   Called when a line is damaged if it has any health groups, before any other
134
-   handling is done.
133
+Called when a line is damaged if it has any health groups, before any other
134
+handling is done.
135 135
 
136
-- `WorldLightning`
136
+### `WorldLightning`
137 137
 
138
-   Called when lightning strikes, directly after the sound is played, just
139
-   before `LIGHTNING` ACS scripts are called.
138
+Called when lightning strikes, directly after the sound is played, just before
139
+`LIGHTNING` ACS scripts are called.
140 140
 
141
-- `WorldTick`
141
+### `WorldTick`
142 142
 
143
-   Called on every world tick, after interpolators are updated, world freeze is
144
-   updated, sight counters are reset, particles have run their thinkers, and
145
-   players have run their thinkers, just before the status bar is ticked, the
146
-   level ticks, thinkers are ticked, and the level time is updated. This is not
147
-   called when the game is paused, and its execution is entirely deterministic
148
-   regardless of how this event handler is applied.
143
+Called on every world tick, after interpolators are updated, world freeze is
144
+updated, sight counters are reset, particles have run their thinkers, and
145
+players have run their thinkers, just before the status bar is ticked, the
146
+level ticks, thinkers are ticked, and the level time is updated. This is not
147
+called when the game is paused, and its execution is entirely deterministic
148
+regardless of how this event handler is applied.
149 149
 
150
-- `RenderOverlay`
150
+### `RenderOverlay`
151 151
 
152
-   Despite the name, this is actually run on the status bar, specifically in
153
-   `BaseStatusBar::DrawTopStuff`. It is run after `HudMessage`s are drawn and
154
-   power-ups are drawn, just before ゴゴゴ「The Log」ゴゴゴ is drawn. You may
155
-   use `Screen` functions in this function.
152
+Despite the name, this is actually run on the status bar, specifically in
153
+`BaseStatusBar::DrawTopStuff`. It is run after `HudMessage`s are drawn and
154
+power-ups are drawn, just before ゴゴゴ「The Log」ゴゴゴ is drawn. You may use
155
+`Screen` functions in this function.
156 156
 
157
-- `PlayerEntered`
157
+### `PlayerEntered`
158 158
 
159
-   Called during level load when each player enters the game, after the camera
160
-   is set but just before `RETURN` ACS scripts are called.
159
+Called during level load when each player enters the game, after the camera is
160
+set but just before `RETURN` ACS scripts are called.
161 161
 
162
-- `PlayerRespawned`
162
+### `PlayerRespawned`
163 163
 
164
-   Called when a player spawns, directly after the teleport fog is spanwed and
165
-   just before `RESPAWN` ACS scripts are called. Also called similarly at the
166
-   end of the `Respawn` function, for example when the `resurrect` cheat is
167
-   used.
164
+Called when a player spawns, directly after the teleport fog is spanwed and
165
+just before `RESPAWN` ACS scripts are called. Also called similarly at the end
166
+of the `Respawn` function, for example when the `resurrect` cheat is used.
168 167
 
169
-- `PlayerDied`
168
+### `PlayerDied`
170 169
 
171
-   Called after `WorldThingDied` and `GetDeathHeight`, and after the actor's
172
-   thing special is activated, when the obituary has been displayed, just
173
-   before `DEATH` ACS scripts have been called.
170
+Called after `WorldThingDied` and `GetDeathHeight`, and after the actor's thing
171
+special is activated, when the obituary has been displayed, just before `DEATH`
172
+ACS scripts have been called.
174 173
 
175
-- `PlayerDisconnected`
174
+### `PlayerDisconnected`
176 175
 
177
-   Called when a bot is removed and when a player disconnects from the game,
178
-   just before `DISCONNECT` ACS scripts are called.
176
+Called when a bot is removed and when a player disconnects from the game, just
177
+before `DISCONNECT` ACS scripts are called.
179 178
 
180
-- `UiProcess`
179
+### `UiProcess`
181 180
 
182
-   Called only if `IsUiProcessor` is `true`. Called when a GUI event is
183
-   dispatched by the engine, for example when the UI is active and the player
184
-   has pressed a key or moved the mouse. Mouse movements will only be captured
185
-   if `RequireMouse` is `true`. Because this interacts directly with the OS it
186
-   is not part of the game simulation, therefore has `ui` scope and must
187
-   dispatch commands to the game as networked events. If the return value is
188
-   `true`, the function will block any further handlers from processing this
189
-   event, essentially "eating" it. If the return value is `false`, other
190
-   handlers will continue to be called as normal.
181
+Called only if `IsUiProcessor` is `true`. Called when a GUI event is dispatched
182
+by the engine, for example when the UI is active and the player has pressed a
183
+key or moved the mouse. Mouse movements will only be captured if `RequireMouse`
184
+is `true`. Because this interacts directly with the OS it is not part of the
185
+game simulation, therefore has `ui` scope and must dispatch commands to the
186
+game as networked events. If the return value is `true`, the function will
187
+block any further handlers from processing this event, essentially "eating"
188
+it. If the return value is `false`, other handlers will continue to be called
189
+as normal.
191 190
 
192
-- `UiTick`
191
+### `UiTick`
193 192
 
194
-   Despite what it may seem, this function is actually called deterministically
195
-   within the game loop, just before the level is ticked and after the player's
196
-   network commands are created. Albeit this, it is `ui` scope, so it should
197
-   be used to process UI code.
193
+Despite what it may seem, this function is actually called deterministically
194
+within the game loop, just before the level is ticked and after the player's
195
+network commands are created. Albeit this, it is `ui` scope, so it should be
196
+used to process UI code.
198 197
 
199
-- `PostUiTick`
198
+### `PostUiTick`
200 199
 
201
-   Similar to `UiTick`, this is also deterministic, but called after all other
202
-   tickers.
200
+Similar to `UiTick`, this is also deterministic, but called after all other
201
+tickers.
203 202
 
204
-- `InputProcess`
203
+### `InputProcess`
205 204
 
206
-   The same as `UiProcess`, but this is only called when inputs are being
207
-   directed to the game, rather than to the GUI. All of the same restrictions
208
-   apply to this as they do to `UiProcess`, and the return value acts the same.
205
+The same as `UiProcess`, but this is only called when inputs are being directed
206
+to the game, rather than to the GUI. All of the same restrictions apply to this
207
+as they do to `UiProcess`, and the return value acts the same.
209 208
 
210
-- `ConsoleProcess`
209
+### `ConsoleProcess`
211 210
 
212
-   Called when network events which have no player activator are received.
211
+Called when network events which have no player activator are received.
213 212
 
214
-- `NetworkProcess`
213
+### `NetworkProcess`
215 214
 
216
-   Called when network events which have a player activator are received.
215
+Called when network events which have a player activator are received.
217 216
 
218
-- `CheckReplacement`
217
+### `CheckReplacement`
219 218
 
220
-   Called during actor replacement, after skill replacement is done, but before
221
-   any other replacement (such as actor replacements done in ZScript actor
222
-   definitions.)
219
+Called during actor replacement, after skill replacement is done, but before
220
+any other replacement (such as actor replacements done in ZScript actor
221
+definitions.)
223 222
 
224
-- `NewGame`
223
+### `NewGame`
225 224
 
226
-   Called on a new game, directly after level data is reset and right before
227
-   the level is set up.
225
+Called on a new game, directly after level data is reset and right before the
226
+level is set up.
228 227
 
229
-- `SetOrder`
228
+### `SetOrder`
230 229
 
231
-   Sets the ordering of this event handler, which can be read from `Order`.
230
+Sets the ordering of this event handler, which can be read from `Order`.
232 231
 
233
-- `Order`
232
+### `Order`
234 233
 
235
-   The arbitrary ordering of this event handler relative to other ones. Event
236
-   handlers with lower ordering numbers have their functions executed first.
237
-   You can set this variable with `SetOrder`.
234
+The arbitrary ordering of this event handler relative to other ones. Event
235
+handlers with lower ordering numbers have their functions executed first. You
236
+can set this variable with `SetOrder`.
238 237
 
239
-- `IsUiProcessor`
238
+### `IsUiProcessor`
240 239
 
241
-   If `true`, GUI events will be sent to this event handler through
242
-   `UiProcess`. This is mainly for optimization purposes.
240
+If `true`, GUI events will be sent to this event handler through `UiProcess`.
241
+This is mainly for optimization purposes.
243 242
 
244
-- `RequireMouse`
243
+### `RequireMouse`
245 244
 
246
-   If `true`, mouse events will be sent to this event handler through
247
-   `InputProcess` and/or `UiProcess`. This is mainly for optimization purposes.
245
+If `true`, mouse events will be sent to this event handler through
246
+`InputProcess` and/or `UiProcess`. This is mainly for optimization purposes.
248 247
 
249 248
 <!-- EOF -->

+ 28
- 28
api/files/Wads.md View File

@@ -22,11 +22,11 @@ Single files can also be loaded as archives, containing only themselves.
22 22
 
23 23
 In short:
24 24
 
25
-- *Lump* refers to an object from any archive type with an 8 character filename (extension removed.)
26
-- *File* refers to fully qualified object from a resource archive, which can also be used as a lump through its truncated name.
27
-- *Archives* are real files or folders which hold *lumps*.
28
-- *Resource archives* are archives with a folder structure for determining lump namespaces, and also store fully qualified paths for files.
29
-- *Wad files* are archives which hold only lumps, and use markers for determining lump namespaces.
25
+* *Lump* refers to an object from any archive type with an 8 character filename (extension removed.)
26
+* *File* refers to fully qualified object from a resource archive, which can also be used as a lump through its truncated name.
27
+* *Archives* are real files or folders which hold *lumps*.
28
+* *Resource archives* are archives with a folder structure for determining lump namespaces, and also store fully qualified paths for files.
29
+* *Wad files* are archives which hold only lumps, and use markers for determining lump namespaces.
30 30
 
31 31
 | Name              | Description                                             | Resource path | Wad file marker                          |
32 32
 | ----              | -----------                                             | ------------- | ---------------                          |
@@ -61,37 +61,37 @@ struct Wads
61 61
 }
62 62
 ```
63 63
 
64
-- `CheckNumForFullName`
64
+### `CheckNumForFullName`
65 65
 
66
-   Returns the handle of the first file named `name`, matching only the full
67
-   path to it, including the extension, or `-1` if the file was not found. Only
68
-   works with files defined in resource archives.
66
+Returns the handle of the first file named `name`, matching only the full path
67
+to it, including the extension, or `-1` if the file was not found. Only works
68
+with files defined in resource archives.
69 69
 
70
-- `CheckNumForName`
70
+### `CheckNumForName`
71 71
 
72
-   Returns the handle of the first lump named `name` within namespace `ns`. If
73
-   `wadnum` is not `-1`, then it signifies, if `exact` is false, the number of
74
-   the last archive to search in, or the only archive to search in if `exact`
75
-   is `true`.
72
+Returns the handle of the first lump named `name` within namespace `ns`. If
73
+`wadnum` is not `-1`, then it signifies, if `exact` is false, the number of the
74
+last archive to search in, or the only archive to search in if `exact` is
75
+`true`.
76 76
 
77
-   Note there is currently no way to actually *get* the number of an archive,
78
-   even the current one. The only guarantee is that archive `0` will be the
79
-   base archive (`gzdoom.pk3`.)
77
+Note there is currently no way to actually *get* the number of an archive, even
78
+the current one. The only guarantee is that archive `0` will be the base
79
+archive (`gzdoom.pk3`.)
80 80
 
81
-- `FindLump`
81
+### `FindLump`
82 82
 
83
-   Returns the handle of the first lump named `name` starting at `startlump`
84
-   (zero indicates the first lump) in either the global namespace or any
85
-   namespace. `ns` can be either `Wads.GLOBALNAMESPACE` or `Wads.ANYNAMESPACE`
86
-   to specify this. Returns `-1` if there are no lumps with that name left.
83
+Returns the handle of the first lump named `name` starting at `startlump` (zero
84
+indicates the first lump) in either the global namespace or any namespace. `ns`
85
+can be either `Wads.GLOBALNAMESPACE` or `Wads.ANYNAMESPACE` to specify this.
86
+Returns `-1` if there are no lumps with that name left.
87 87
 
88
-   This function can be used in a loop to find all lumps with a specified name.
88
+This function can be used in a loop to find all lumps with a specified name.
89 89
 
90
-- `ReadLump`
90
+### `ReadLump`
91 91
 
92
-   Reads the whole contents of `lump` into a string and returns the result. If
93
-   `lump` is not valid, returns an empty string. Note that binary lumps can be
94
-   loaded this way and the string's length will be correct according to the
95
-   lump's size even if null characters are present in the lump.
92
+Reads the whole contents of `lump` into a string and returns the result. If
93
+`lump` is not valid, returns an empty string. Note that binary lumps can be
94
+loaded this way and the string's length will be correct according to the lump's
95
+size even if null characters are present in the lump.
96 96
 
97 97
 <!-- EOF -->

+ 58
- 58
api/global/data/Client.md View File

@@ -32,109 +32,109 @@ readonly ui bool NetGame;
32 32
 int LocalViewPitch;
33 33
 ```
34 34
 
35
-- `AutomapBindings`
35
+### `AutomapBindings`
36 36
 
37
-   TODO
37
+TODO
38 38
 
39
-- `Bindings`
39
+### `Bindings`
40 40
 
41
-   TODO
41
+TODO
42 42
 
43
-- `BigFont`
43
+### `BigFont`
44 44
 
45
-   The `bigfont` for the current game.
45
+The `bigfont` for the current game.
46 46
 
47
-- `CleanHeight`
47
+### `CleanHeight`
48 48
 
49
-   The current screen height divided by `CleanYFac`. **Not deterministic.**
49
+The current screen height divided by `CleanYFac`. **Not deterministic.**
50 50
 
51
-- `CleanHeight_1`
51
+### `CleanHeight_1`
52 52
 
53
-   The current screen height divided by `CleanYFac_1`. **Not deterministic.**
53
+The current screen height divided by `CleanYFac_1`. **Not deterministic.**
54 54
 
55
-- `CleanWidth`
55
+### `CleanWidth`
56 56
 
57
-   The current screen width divided by `CleanXFac`. **Not deterministic.**
57
+The current screen width divided by `CleanXFac`. **Not deterministic.**
58 58
 
59
-- `CleanWidth_1`
59
+### `CleanWidth_1`
60 60
 
61
-   The current screen width divided by `CleanYFac_1`. **Not deterministic.**
61
+The current screen width divided by `CleanYFac_1`. **Not deterministic.**
62 62
 
63
-- `CleanXFac`
63
+### `CleanXFac`
64 64
 
65
-   Integral scaling factor for horizontal positions to scale from 320x200 to
66
-   the current virtual resolution. **Not deterministic.**
65
+Integral scaling factor for horizontal positions to scale from 320x200 to the
66
+current virtual resolution. **Not deterministic.**
67 67
 
68
-- `CleanXFac_1`
68
+### `CleanXFac_1`
69 69
 
70
-   Integral scaling factor for horizontal positions to scale from 320x200 to
71
-   the current virtual resolution, accounting for aspect ratio differences.
72
-   **Not deterministic.**
70
+Integral scaling factor for horizontal positions to scale from 320x200 to the
71
+current virtual resolution, accounting for aspect ratio differences. **Not
72
+deterministic.**
73 73
 
74
-- `CleanYFac`
74
+### `CleanYFac`
75 75
 
76
-   Integral scaling factor for vertical positions to scale from 320x200 to the
77
-   current virtual resolution. **Not deterministic.**
76
+Integral scaling factor for vertical positions to scale from 320x200 to the
77
+current virtual resolution. **Not deterministic.**
78 78
 
79
-- `CleanYFac_1`
79
+### `CleanYFac_1`
80 80
 
81
-   Integral scaling factor for vertical positions to scale from 320x200 to the
82
-   current virtual resolution, accounting for aspect ratio differences. **Not
83
-   deterministic.**
81
+Integral scaling factor for vertical positions to scale from 320x200 to the
82
+current virtual resolution, accounting for aspect ratio differences. **Not
83
+deterministic.**
84 84
 
85
-- `ConFont`
85
+### `ConFont`
86 86
 
87
-   The console font.
87
+The console font.
88 88
 
89
-- `IntermissionFont`
89
+### `IntermissionFont`
90 90
 
91
-   The font used in intermission screens.
91
+The font used in intermission screens.
92 92
 
93
-- `SmallFont`
93
+### `SmallFont`
94 94
 
95
-   The `smallfnt` for the current game.
95
+The `smallfnt` for the current game.
96 96
 
97
-- `SmallFont2`
97
+### `SmallFont2`
98 98
 
99
-   The alternate `smallfnt`.
99
+The alternate `smallfnt`.
100 100
 
101
-- `NewConsoleFont`
101
+### `NewConsoleFont`
102 102
 
103
-   TODO
103
+TODO
104 104
 
105
-- `NewSmallFont`
105
+### `NewSmallFont`
106 106
 
107
-   TODO
107
+TODO
108 108
 
109
-- `BackbuttonAlpha`
109
+### `BackbuttonAlpha`
110 110
 
111
-   Alpha of the back button in menus.
111
+Alpha of the back button in menus.
112 112
 
113
-- `BackbuttonTime`
113
+### `BackbuttonTime`
114 114
 
115
-   The time until the back button starts fading out in menus.
115
+The time until the back button starts fading out in menus.
116 116
 
117
-- `MenuActive`
117
+### `MenuActive`
118 118
 
119
-   The current active menu state. One of:
119
+The current active menu state. One of:
120 120
 
121
-   | Name             | Description                                                    |
122
-   | ----             | -----------                                                    |
123
-   | `Menu.Off`       | No active menu.                                                |
124
-   | `Menu.OnNoPause` | Menu is opened, but the game is not paused.                    |
125
-   | `Menu.On`        | Menu is open, game is paused.                                  |
126
-   | `Menu.WaitKey`   | Menu is opened, waiting for a key for a controls menu binding. |
121
+| Name             | Description                                                    |
122
+| ----             | -----------                                                    |
123
+| `Menu.Off`       | No active menu.                                                |
124
+| `Menu.OnNoPause` | Menu is opened, but the game is not paused.                    |
125
+| `Menu.On`        | Menu is open, game is paused.                                  |
126
+| `Menu.WaitKey`   | Menu is opened, waiting for a key for a controls menu binding. |
127 127
 
128
-- `StatusBar`
128
+### `StatusBar`
129 129
 
130
-   TODO
130
+TODO
131 131
 
132
-- `NetGame`
132
+### `NetGame`
133 133
 
134
-   Whether this is a networked game or not.
134
+Whether this is a networked game or not.
135 135
 
136
-- `LocalViewPitch`
136
+### `LocalViewPitch`
137 137
 
138
-   The pitch angle (in degrees) of `ConsolePlayer`'s view. **Not deterministic.**
138
+The pitch angle (in degrees) of `ConsolePlayer`'s view. **Not deterministic.**
139 139
 
140 140
 <!-- EOF -->

+ 13
- 13
api/global/data/Constants.md View File

@@ -12,29 +12,29 @@ const PLAYERMISSILERANGE;
12 12
 const SAWRANGE;
13 13
 ```
14 14
 
15
-- `MAXPLAYERNAME`
15
+### `MAXPLAYERNAME`
16 16
 
17
-   The maximum length of a player name.
17
+The maximum length of a player name.
18 18
 
19
-- `MAXPLAYERS`
19
+### `MAXPLAYERS`
20 20
 
21
-   The maximum amount of players in game.
21
+The maximum amount of players in game.
22 22
 
23
-- `DEFMELEERANGE`
23
+### `DEFMELEERANGE`
24 24
 
25
-   The range where melee will be used for monsters, and the range for the
26
-   player's melee attacks.
25
+The range where melee will be used for monsters, and the range for the player's
26
+melee attacks.
27 27
 
28
-- `MISSILERANGE`
28
+### `MISSILERANGE`
29 29
 
30
-   The maximum range for monster missile/hit-scan attacks.
30
+The maximum range for monster missile/hit-scan attacks.
31 31
 
32
-- `PLAYERMISSILERANGE`
32
+### `PLAYERMISSILERANGE`
33 33
 
34
-   The maximum range for player missile/hit-scan attacks.
34
+The maximum range for player missile/hit-scan attacks.
35 35
 
36
-- `SAWRANGE`
36
+### `SAWRANGE`
37 37
 
38
-   The range of Doom's Chainsaw weapon.
38
+The range of Doom's Chainsaw weapon.
39 39
 
40 40
 <!-- EOF -->

+ 48
- 48
api/global/data/Game.md View File

@@ -15,72 +15,72 @@ deprecated("3.8") readonly bool GlobalFreeze;
15 15
 int ValidCount;
16 16
 ```
17 17
 
18
-- `AutomapActive`
18
+### `AutomapActive`
19 19
 
20
-   `true` if the auto-map is currently open on the client. **Not deterministic.**
20
+`true` if the auto-map is currently open on the client. **Not deterministic.**
21 21
 
22
-- `DemoPlayback`
22
+### `DemoPlayback`
23 23
 
24
-   User is watching a demo.
24
+User is watching a demo.
25 25
 
26
-- `GameAction`
26
+### `GameAction`
27 27
 
28
-   Current global game action. May be one of:
28
+Current global game action. May be one of:
29 29
 
30
-   | Name                  | Description           |
31
-   | ----                  | -----------           |
32
-   | `ga_autoloadgame`     | Don't use this.       |
33
-   | `ga_autosave`         | Creates an autosave.  |
34
-   | `ga_completed`        | Don't use this.       |
35
-   | `ga_fullconsole`      | Don't use this.       |
36
-   | `ga_loadgamehideicon` | Don't use this.       |
37
-   | `ga_loadgameplaydemo` | Don't use this.       |
38
-   | `ga_loadgame`         | Don't use this.       |
39
-   | `ga_loadlevel`        | Don't use this.       |
40
-   | `ga_newgame2`         | Don't use this.       |
41
-   | `ga_newgame`          | Don't use this.       |
42
-   | `ga_nothing`          | Does nothing.         |
43
-   | `ga_playdemo`         | Don't use this.       |
44
-   | `ga_recordgame`       | Don't use this.       |
45
-   | `ga_savegame`         | Don't use this.       |
46
-   | `ga_screenshot`       | Takes a screenshot.   |
47
-   | `ga_slideshow`        | Don't use this.       |
48
-   | `ga_togglemap`        | Toggles the auto-map. |
49
-   | `ga_worlddone`        | Don't use this.       |
30
+| Name                  | Description           |
31
+| ----                  | -----------           |
32
+| `ga_autoloadgame`     | Don't use this.       |
33
+| `ga_autosave`         | Creates an autosave.  |
34
+| `ga_completed`        | Don't use this.       |
35
+| `ga_fullconsole`      | Don't use this.       |
36
+| `ga_loadgamehideicon` | Don't use this.       |
37
+| `ga_loadgameplaydemo` | Don't use this.       |
38
+| `ga_loadgame`         | Don't use this.       |
39
+| `ga_loadlevel`        | Don't use this.       |
40
+| `ga_newgame2`         | Don't use this.       |
41
+| `ga_newgame`          | Don't use this.       |
42
+| `ga_nothing`          | Does nothing.         |
43
+| `ga_playdemo`         | Don't use this.       |
44
+| `ga_recordgame`       | Don't use this.       |
45
+| `ga_savegame`         | Don't use this.       |
46
+| `ga_screenshot`       | Takes a screenshot.   |
47
+| `ga_slideshow`        | Don't use this.       |
48
+| `ga_togglemap`        | Toggles the auto-map. |
49
+| `ga_worlddone`        | Don't use this.       |
50 50
 
51
-- `GameState`
51
+### `GameState`
52 52
 
53
-   Current global game state. May be one of:
53
+Current global game state. May be one of:
54 54
 
55
-   | Name              | Description                                          |
56
-   | ----              | -----------                                          |
57
-   | `GS_DEMOSCREEN`   | Inside a level but watching a demo in the main menu. |
58
-   | `GS_FINALE`       | Reading a cluster end text or at the end sequence.   |
59
-   | `GS_FULLCONSOLE`  | Outside of a level, console only.                    |
60
-   | `GS_HIDECONSOLE`  | Outside of a level, console hidden (i.e. main menu.) |
61
-   | `GS_INTERMISSION` | In between levels.                                   |
62
-   | `GS_LEVEL`        | Inside a level.                                      |
63
-   | `GS_STARTUP`      | Game not yet initialized.                            |
64
-   | `GS_TITLELEVEL`   | Watching a `TITLEMAP` in the main menu.              |
55
+| Name              | Description                                          |
56
+| ----              | -----------                                          |
57
+| `GS_DEMOSCREEN`   | Inside a level but watching a demo in the main menu. |
58
+| `GS_FINALE`       | Reading a cluster end text or at the end sequence.   |
59
+| `GS_FULLCONSOLE`  | Outside of a level, console only.                    |
60
+| `GS_HIDECONSOLE`  | Outside of a level, console hidden (i.e. main menu.) |
61
+| `GS_INTERMISSION` | In between levels.                                   |
62
+| `GS_LEVEL`        | Inside a level.                                      |
63
+| `GS_STARTUP`      | Game not yet initialized.                            |
64
+| `GS_TITLELEVEL`   | Watching a `TITLEMAP` in the main menu.              |
65 65
 
66
-- `GameTic`
66
+### `GameTic`
67 67
 
68
-   Number of game tics passed since engine initialization. **Not deterministic.**
68
+Number of game tics passed since engine initialization. **Not deterministic.**
69 69
 
70
-- `Level`
70
+### `Level`
71 71
 
72
-   All level info as defined in `LevelLocals`.
72
+All level info as defined in `LevelLocals`.
73 73
 
74
-- `MusPlaying`
74
+### `MusPlaying`
75 75
 
76
-   TODO
76
+TODO
77 77
 
78
-- `GlobalFreeze`
78
+### `GlobalFreeze`
79 79
 
80
-   Deprecated. Don't use.
80
+Deprecated. Don't use.
81 81
 
82
-- `ValidCount`
82
+### `ValidCount`
83 83
 
84
-   Don't use this.
84
+Don't use this.
85 85
 
86 86
 <!-- EOF -->

+ 22
- 23
api/global/data/Information.md View File

@@ -16,47 +16,46 @@ readonly textureid           SkyFlatNum;
16 16
 readonly Weapon              WP_NOCHANGE;
17 17
 ```
18 18
 
19
-- `AllActorClasses`
19
+### `AllActorClasses`
20 20
 
21
-   An array of every actor class type reference.
21
+An array of every actor class type reference.
22 22
 
23
-- `AllClasses`
23
+### `AllClasses`
24 24
 
25
-   An array of every class type reference.
25
+An array of every class type reference.
26 26
 
27
-- `PlayerClasses`
27
+### `PlayerClasses`
28 28
 
29
-   An array of all player classes as defined in `MAPINFO`/GameInfo and
30
-   `KEYCONF`.
29
+An array of all player classes as defined in `MAPINFO`/GameInfo and `KEYCONF`.
31 30
 
32
-- `PlayerSkins`
31
+### `PlayerSkins`
33 32
 
34
-   An array of all player skins as defined in `SKININFO` and `S_SKIN`.
33
+An array of all player skins as defined in `SKININFO` and `S_SKIN`.
35 34
 
36
-- `Teams`
35
+### `Teams`
37 36
 
38
-   An array of all teams. Maximum index is `Team.Max`.
37
+An array of all teams. Maximum index is `Team.Max`.
39 38
 
40
-- `Deh`
39
+### `Deh`
41 40
 
42
-   Static DeHackEd information.
41
+Static DeHackEd information.
43 42
 
44
-- `GameInfo`
43
+### `GameInfo`
45 44
 
46
-   Static information from `MAPINFO`/GameInfo.
45
+Static information from `MAPINFO`/GameInfo.
47 46
 
48
-- `OptionMenuSettings`
47
+### `OptionMenuSettings`
49 48
 
50
-   Defaults for `OptionMenu`s as defined in `MENUDEF`'s `OptionMenuSettings`
51
-   block and `MAPINFO`/GameInfo.
49
+Defaults for `OptionMenu`s as defined in `MENUDEF`'s `OptionMenuSettings` block
50
+and `MAPINFO`/GameInfo.
52 51
 
53
-- `SkyFlatNum`
52
+### `SkyFlatNum`
54 53
 
55
-   The texture ID for sky flats. `F_SKY1` by default in Doom.
54
+The texture ID for sky flats. `F_SKY1` by default in Doom.
56 55
 
57
-- `WP_NOCHANGE`
56
+### `WP_NOCHANGE`
58 57
 
59
-   A constant denoting that the weapon the player is currently holding
60
-   shouldn't be switched from.
58
+A constant denoting that the weapon the player is currently holding shouldn't
59
+be switched from.
61 60
 
62 61
 <!-- EOF -->

+ 10
- 10
api/global/data/Player.md View File

@@ -10,24 +10,24 @@ readonly bool       PlayerInGame[MAXPLAYERS];
10 10
 play     PlayerInfo Players[MAXPLAYERS];
11 11
 ```
12 12
 
13
-- `ConsolePlayer`
13
+### `ConsolePlayer`
14 14
 
15
-   Number of the player running the client. **Not deterministic.**
15
+Number of the player running the client. **Not deterministic.**
16 16
 
17
-- `Multiplayer`
17
+### `Multiplayer`
18 18
 
19
-   Game is networked.
19
+Game is networked.
20 20
 
21
-- `Net_Arbitrator`
21
+### `Net_Arbitrator`
22 22
 
23
-   Number of the player who initiated or currently hosts the game.
23
+Number of the player who initiated or currently hosts the game.
24 24
 
25
-- `PlayerInGame`
25
+### `PlayerInGame`
26 26
 
27
-   `true` if the player is currently in-game.
27
+`true` if the player is currently in-game.
28 28
 
29
-- `Players`
29
+### `Players`
30 30
 
31
-   `PlayerInfo` structures for each player.
31
+`PlayerInfo` structures for each player.
32 32
 
33 33
 <!-- EOF -->

+ 8
- 9
api/global/func/Classes.md View File

@@ -7,17 +7,16 @@ Type GetDefaultByType(class<Actor> type);
7 7
 Type New(class typename = ThisClass);
8 8
 ```
9 9
 
10
-- `GetDefaultByType`
10
+### `GetDefaultByType`
11 11
 
12
-   Returns an object containing the default values for each member of the
13
-   `Actor` type provided as they would be set in `BeginPlay`. **Note that the
14
-   return value cannot be serialized and if stored must be marked as
15
-   `transient`.** The returned object is a pseudo-object which is stored only
16
-   in-memory.
12
+Returns an object containing the default values for each member of the `Actor`
13
+type provided as they would be set in `BeginPlay`. **Note that the return value
14
+cannot be serialized and if stored must be marked as `transient`.** The
15
+returned object is a pseudo-object which is stored only in-memory.
17 16
 
18
-- `New`
17
+### `New`
19 18
 
20
-   Typically spelled lowercase (`new`), creates an object with type `typename`.
21
-   Defaults to using the class of the calling object.
19
+Typically spelled lowercase (`new`), creates an object with type `typename`.
20
+Defaults to using the class of the calling object.
22 21
 
23 22
 <!-- EOF -->

+ 45
- 45
api/global/func/Game.md View File

@@ -11,64 +11,64 @@ deprecated("3.8") vector3, int G_PickDeathmatchStart();
11 11
 deprecated("3.8") vector3, int G_PickPlayerStart(int pnum, int flags = 0);
12 12
 ```
13 13
 
14
-- `G_SkillName`
14
+### `G_SkillName`
15 15
 
16
-   The name of the skill in play.
16
+The name of the skill in play.
17 17
 
18
-- `G_SkillPropertyInt`
18
+### `G_SkillPropertyInt`
19 19
 
20
-   Returns a skill property. `p` may be:
20
+Returns a skill property. `p` may be:
21 21
 
22
-   | Name                   |
23
-   | ----                   |
24
-   | `SKILLP_ACSRETURN`     |
25
-   | `SKILLP_AUTOUSEHEALTH` |
26
-   | `SKILLP_DISABLECHEATS` |
27
-   | `SKILLP_EASYBOSSBRAIN` |
28
-   | `SKILLP_EASYKEY`       |
29
-   | `SKILLP_FASTMONSTERS`  |
30
-   | `SKILLP_INFIGHT`       |
31
-   | `SKILLP_NOPAIN`        |
32
-   | `SKILLP_PLAYERRESPAWN` |
33
-   | `SKILLP_RESPAWNLIMIT`  |
34
-   | `SKILLP_RESPAWN`       |
35
-   | `SKILLP_SLOWMONSTERS`  |
36
-   | `SKILLP_SPAWNFILTER`   |
22
+| Name                   |
23
+| ----                   |
24
+| `SKILLP_ACSRETURN`     |
25
+| `SKILLP_AUTOUSEHEALTH` |
26
+| `SKILLP_DISABLECHEATS` |
27
+| `SKILLP_EASYBOSSBRAIN` |
28
+| `SKILLP_EASYKEY`       |
29
+| `SKILLP_FASTMONSTERS`  |
30
+| `SKILLP_INFIGHT`       |
31
+| `SKILLP_NOPAIN`        |
32
+| `SKILLP_PLAYERRESPAWN` |
33
+| `SKILLP_RESPAWNLIMIT`  |
34
+| `SKILLP_RESPAWN`       |
35
+| `SKILLP_SLOWMONSTERS`  |
36
+| `SKILLP_SPAWNFILTER`   |
37 37
 
38
-- `G_SkillPropertyFloat`
38
+### `G_SkillPropertyFloat`
39 39
 
40
-   Returns a skill property. `p` may be:
40
+Returns a skill property. `p` may be:
41 41
 
42
-   | Name                    |
43
-   | ----                    |
44
-   | `SKILLP_AGGRESSIVENESS` |
45
-   | `SKILLP_AMMOFACTOR`     |
46
-   | `SKILLP_ARMORFACTOR`    |
47
-   | `SKILLP_DAMAGEFACTOR`   |
48
-   | `SKILLP_DROPAMMOFACTOR` |
49
-   | `SKILLP_FRIENDLYHEALTH` |
50
-   | `SKILLP_HEALTHFACTOR`   |
51
-   | `SKILLP_MONSTERHEALTH`  |
52
-   | `SKILLP_KICKBACKFACTOR` |
42
+| Name                    |
43
+| ----                    |
44
+| `SKILLP_AGGRESSIVENESS` |
45