Browse Source

update for 4.2.1

Alison Watson 2 months ago
parent
commit
23d09b9779
7 changed files with 1597 additions and 39 deletions
  1. 2
    2
      glossary/Classes.md
  2. 3
    3
      glossary/Structures.md
  3. 10
    0
      glossary/Versions.md
  4. 14
    14
      language/Members.md
  5. 18
    18
      language/Methods.md
  6. 2
    2
      tools/treegen.rb
  7. 1548
    0
      trees/tree_g4.2.1.txt

+ 2
- 2
glossary/Classes.md View File

@@ -1,7 +1,7 @@
1 1
 # Classes
2 2
 
3
-Here is a full tree of all classes in ZScript as of GZDoom 4.2.0. There are
4
-1471 classes total.
3
+Here is a full tree of all classes in ZScript as of GZDoom 4.2.1. There
4
+are 1471 classes total.
5 5
 
6 6
 ```
7 7
 Object

+ 3
- 3
glossary/Structures.md View File

@@ -1,8 +1,8 @@
1 1
 # Structures
2 2
 
3
-Here is a full list of all structures in ZScript as of GZDoom 4.2.0. There are
4
-76 structures total. Note that some of these are merely
5
-implementation details and should not be used in code.
3
+Here is a full list of all structures in ZScript as of GZDoom 4.2.1.
4
+There are 76 structures total. Note that some of these
5
+are merely implementation details and should not be used in code.
6 6
 
7 7
 ```
8 8
 Struct

+ 10
- 0
glossary/Versions.md View File

@@ -26,6 +26,7 @@
26 26
 	* [Version 4.1.2](#version-412)
27 27
 	* [Version 4.1.3](#version-413)
28 28
 	* [Version 4.2.0](#version-420)
29
+	* [Version 4.2.1](#version-421)
29 30
 
30 31
 <!-- vim-markdown-toc -->
31 32
 
@@ -852,4 +853,13 @@ No changes.
852 853
 - Added `sound_id` parameter to `PlayerInfo::SetSubtitleNumber`.
853 854
 - Added a warning for unknown `DropItem`s.
854 855
 
856
+## Version 4.2.1
857
+
858
+- Added `BaseStatusBar::DrawChat`.
859
+- Added `BaseStatusBar::FlushNotify`.
860
+- Added `BaseStatusBar::ProcessMidPrint`.
861
+- Added `BaseStatusBar::ProcessNotify`.
862
+- Added `EPrintLevel`.
863
+- Added the ability to specify deprecation messages.
864
+
855 865
 <!-- EOF -->

+ 14
- 14
language/Members.md View File

@@ -41,19 +41,19 @@ protected meta int m_CoolMetaInt;
41 41
 
42 42
 # Member Declaration Flags
43 43
 
44
-| Flag                   | Description                                                                                                         |
45
-| ----                   | -----------                                                                                                         |
46
-| `deprecated ( "ver" )` | If accessed, a script warning will occur on load if the archive version is greater than `ver`.                      |
47
-| `internal`             | Member is only writable from the base resource archive (`gzdoom.pk3`.) *Version 3.4.0 and newer.*                   |
48
-| `latent`               | Does nothing. Purpose unknown.                                                                                      |
49
-| `meta`                 | Member is read-only static class data. Only really useful on actors, since these can be set via properties on them. |
50
-| `native`               | Member is from the engine. Only usable internally.                                                                  |
51
-| `play`                 | Member has Play scope.                                                                                              |
52
-| `private`              | Member is not visible to any class but this one.                                                                    |
53
-| `protected`            | Member is not visible to any class but this one and any descendants of it.                                          |
54
-| `readonly`             | Member is not writable.                                                                                             |
55
-| `transient`            | Member is not saved into save games. Required for unserializable objects and recommended for UI context objects.    |
56
-| `ui`                   | Member has UI scope.                                                                                                |
57
-| `version ( "ver" )`    | Restricted to ZScript version `ver` or higher.                                                                      |
44
+| Flag                                    | Description                                                                                                                                           |
45
+| ----                                    | -----------                                                                                                                                           |
46
+| `deprecated ( "ver" $[ , "reason" ]$ )` | If accessed, a script warning will occur on load if the archive version is greater than `ver`, with the reason `reason` specified in the message. |
47
+| `internal`                              | Member is only writable from the base resource archive (`gzdoom.pk3`.) *Version 3.4.0 and newer.*                                              |
48
+| `latent`                                | Does nothing. Purpose unknown.                                                                                                                        |
49
+| `meta`                                  | Member is read-only static class data. Only really useful on actors, since these can be set via properties on them.                               |
50
+| `native`                                | Member is from the engine. Only usable internally.                                                                                                    |
51
+| `play`                                  | Member has Play scope.                                                                                                                                |
52
+| `private`                               | Member is not visible to any class but this one.                                                                                                      |
53
+| `protected`                             | Member is not visible to any class but this one and any descendants of it.                                                                            |
54
+| `readonly`                              | Member is not writable.                                                                                                                               |
55
+| `transient`                             | Member is not saved into save games. Required for unserializable objects and recommended for UI context objects.                                    |
56
+| `ui`                                    | Member has UI scope.                                                                                                                                  |
57
+| `version ( "ver" )`                     | Restricted to ZScript version `ver` or higher.                                                                                                        |
58 58
 
59 59
 <!-- EOF -->

+ 18
- 18
language/Methods.md View File

@@ -81,24 +81,24 @@ DoSomething(7, 8, 9, 10);
81 81
 
82 82
 # Method Definition Flags
83 83
 
84
-| Flag                   | Description                                                                                    |
85
-| ----                   | -----------                                                                                    |
86
-| `action ( Scope )`     | Same as `action`, but has a specified action scope. See "Action Scoping" for more information. |
87
-| `action`               | Method has implicit `invoker` and `stateinfo` parameters. See below for more info.             |
88
-| `clearscope`           | Method has Data scope.                                                                         |
89
-| `deprecated ( "ver" )` | If accessed, a script warning will occur on load if the archive version is greater than `ver`. |
90
-| `final`                | Virtual method cannot be further overridden from derived classes.                              |
91
-| `native`               | Method is from the engine. Only usable internally.                                             |
92
-| `override`             | Method is overriding a base class' virtual method.                                             |
93
-| `play`                 | Method has Play scope.                                                                         |
94
-| `private`              | Method is not visible to any class but this one.                                               |
95
-| `protected`            | Method is not visible to any class but this one and any descendants of it.                     |
96
-| `static`               | Function is not a method, but a global function without a `self` pointer.                      |
97
-| `ui`                   | Method has UI scope.                                                                           |
98
-| `vararg`               | Method doesn't type-check arguments after `...`. Only usable internally.                       |
99
-| `version ( "ver" )`    | Restricted to ZScript version `ver` or higher.                                                 |
100
-| `virtual`              | Method can be overridden in derived classes.                                                   |
101
-| `virtualscope`         | Method has scope of the type of the object it's being called on.                               |
84
+| Flag                                    | Description                                                                                                                                           |
85
+| ----                                    | -----------                                                                                                                                           |
86
+| `action ( Scope )`                      | Same as `action`, but has a specified action scope. See "Action Scoping" for more information.                                                      |
87
+| `action`                                | Method has implicit `invoker` and `stateinfo` parameters. See below for more info.                                                                  |
88
+| `clearscope`                            | Method has Data scope.                                                                                                                                |
89
+| `deprecated ( "ver" $[ , "reason" ]$ )` | If accessed, a script warning will occur on load if the archive version is greater than `ver`, with the reason `reason` specified in the message. |
90
+| `final`                                 | Virtual method cannot be further overridden from derived classes.                                                                                     |
91
+| `native`                                | Method is from the engine. Only usable internally.                                                                                                    |
92
+| `override`                              | Method is overriding a base class' virtual method.                                                                                                    |
93
+| `play`                                  | Method has Play scope.                                                                                                                                |
94
+| `private`                               | Method is not visible to any class but this one.                                                                                                      |
95
+| `protected`                             | Method is not visible to any class but this one and any descendants of it.                                                                            |
96
+| `static`                                | Function is not a method, but a global function without a `self` pointer.                                                                             |
97
+| `ui`                                    | Method has UI scope.                                                                                                                                  |
98
+| `vararg`                                | Method doesn't type-check arguments after `...`. Only usable internally.                                                                              |
99
+| `version ( "ver" )`                     | Restricted to ZScript version `ver` or higher.                                                                                                        |
100
+| `virtual`                               | Method can be overridden in derived classes.                                                                                                          |
101
+| `virtualscope`                          | Method has scope of the type of the object it's being called on.                                                                                      |
102 102
 
103 103
 ## Action functions
104 104
 

+ 2
- 2
tools/treegen.rb View File

@@ -15,7 +15,7 @@ VERSION = ARGV.shift
15 15
 
16 16
 siphon = ClassSiphon.new FILES
17 17
 
18
-file = open "glossary-Classes.md", "wb"
18
+file = open "glossary/Classes.md", "wb"
19 19
 file.puts <<_end_
20 20
 # Classes
21 21
 
@@ -34,7 +34,7 @@ file.puts <<_end_
34 34
 <!-- EOF -->
35 35
 _end_
36 36
 
37
-file = open "glossary-Structures.md", "wb"
37
+file = open "glossary/Structures.md", "wb"
38 38
 file.puts <<_end_
39 39
 # Structures
40 40
 

+ 1548
- 0
trees/tree_g4.2.1.txt
File diff suppressed because it is too large
View File


Loading…
Cancel
Save