Fix description of PS, update changelog
- Remove h2 in description of Pattern Selector - Update changelog.md - Update drawText function
This commit is contained in:
parent
a8353d1ea7
commit
aff4250ed5
3 changed files with 37 additions and 16 deletions
25
Codes.xml
25
Codes.xml
|
@ -3768,7 +3768,7 @@
|
|||
|
||||
Ⓑ is the cursor to select the pattern,
|
||||
and the three digits are the numbers representing the pattern.
|
||||
See [#Pattern](#pattern) for more information.
|
||||
See below for more information.
|
||||
|
||||
| Combination | Result |
|
||||
|---------------|-------------------------------------------------|
|
||||
|
@ -3779,7 +3779,6 @@
|
|||
|
||||
When the cursor(Ⓑ) is not shown, you can press L+D-Pad Left/Right to make it appear.
|
||||
|
||||
## Pattern {#pattern}
|
||||
### Chain Chomp (PV4)
|
||||
|
||||
Use the [1st digit]{.emph} to select the pattern. The 2nd and 3rd are ignored.
|
||||
|
@ -3808,7 +3807,7 @@
|
|||
![プレビュー](/img/PatternSelector/preview.jpg)
|
||||
|
||||
Ⓑはパターンを選択するためのカーソルであり、三つの数字はパターンの番号を表します。
|
||||
各パターンの番号は[#パターン](#pattern)を参照してください。
|
||||
各パターンの番号は下記を参照してください。
|
||||
|
||||
| ボタン | 動作 |
|
||||
|--------------|------------------------------|
|
||||
|
@ -3819,7 +3818,6 @@
|
|||
|
||||
カーソル(Ⓑ)が表示されない時、L+十字キー左/右を押せば出てきます。
|
||||
|
||||
## パターン {#pattern}
|
||||
### ワンワン(PV4)
|
||||
|
||||
[1桁目]{.emph}でパターンを選択します。2桁目と3桁目は無視されます。
|
||||
|
@ -3997,15 +3995,15 @@
|
|||
<category>lib</category>
|
||||
<title lang="en-US">drawText</title>
|
||||
<author>sup39(サポミク)</author>
|
||||
<version>0.1.3</version>
|
||||
<date>Mar 04, 2022</date>
|
||||
<version>0.2.0</version>
|
||||
<date>Mar 25, 2022</date>
|
||||
<description lang="en-US">
|
||||
```c
|
||||
void drawText(int x, int y, int fontSize, uint32_t colorTop, uint32_t colorBot, const char *fmt, ...);
|
||||
```
|
||||
</description>
|
||||
<source version="GMSJ01">
|
||||
077F0238 00000114
|
||||
077F0238 00000110
|
||||
9421FED8 7C0802A6
|
||||
BF810118 7C7F1B78
|
||||
9001012C 7C9E2378
|
||||
|
@ -4026,21 +4024,20 @@
|
|||
4A826AF5 3D204330
|
||||
91210108 3D40817F
|
||||
93C1010C 6FFF8000
|
||||
C00A0348 38610070
|
||||
C00A0344 38610070
|
||||
C9810108 91210110
|
||||
3D20817F 93E10114
|
||||
FC4C0028 C0690344
|
||||
FC4C0028 C0690340
|
||||
C9810110 93A10064
|
||||
FC2C0028 93A10060
|
||||
4A8A43E9 38800000
|
||||
38610070 4A8BD419
|
||||
38C100A0 7F85E378
|
||||
388000FF 38610008
|
||||
4A826951 38610008
|
||||
38210128 BB81FFF0
|
||||
80010004 7C0803A6
|
||||
4A826AEC 00000000
|
||||
59800004 00000000
|
||||
4A826951 BB810118
|
||||
38210128 80010004
|
||||
7C0803A6 4E800020
|
||||
00000000 59800004
|
||||
</source>
|
||||
</code>
|
||||
</codes>
|
||||
|
|
|
@ -50,8 +50,8 @@ Some codes store some states in the games memory starting from address 0x817F000
|
|||
| ![](./docs/reserved.svg) | `0x10C` | `0x10C` | Ingame Timer: Stop Stopwatch Flag |
|
||||
| ![](./docs/buffer.svg) | `0x10D` | `0x10F` | Buffer (Ingame Timer) |
|
||||
| ![](./docs/reserved.svg) | `0x110` | `0x237` | QF Timer: Timer Textbox |
|
||||
| ![](./docs/reserved.svg) | `0x238` | `0x34B` | General Function (`drawText`) |
|
||||
| ![](./docs/unallocated.svg) | `0x34C` | `0xFFF` | Not Allocated |
|
||||
| ![](./docs/reserved.svg) | `0x238` | `0x347` | General Function (`drawText`) |
|
||||
| ![](./docs/unallocated.svg) | `0x348` | `0xFFF` | Not Allocated |
|
||||
|
||||
### Adding translations
|
||||
|
||||
|
|
24
changelog.md
24
changelog.md
|
@ -1,4 +1,28 @@
|
|||
# Changelog
|
||||
## Mar 25, 2022
|
||||
### Implemented dependencies system
|
||||
Add `<dependencies>` tag in `<code>` (e.g. `<dependencies>dep1,dep2,dep3</dependencies>`)
|
||||
to specify dependencies (separated by `,` if multiple).
|
||||
The system will find code with id specified with `<id>` tag in `<code>` (e.g. `<id>dep1</id>`)
|
||||
|
||||
In addition, to specify dependencies for specific version, add the `version` attribute. e.g.
|
||||
`<dependencies version="GMSJ01">dep1,dep4</dependencies>`
|
||||
|
||||
To prevent internal library being shown on code list,
|
||||
specify the category as `lib` (i.e. `<category>lib</category>`).
|
||||
|
||||
### Added 'drawText' internal library
|
||||
```c
|
||||
void drawText(int x, int y, int fontSize, uint32_t colorTop, uint32_t colorBot, const char *fmt, ...);
|
||||
```
|
||||
Reserve `817F0238` to `817F0347` (0x110 bytes) for this function.
|
||||
|
||||
### Added 'Pattern Selector' (GMSJ01 only)
|
||||
Select pattern of Chain Chomp (PV4) and Chain Chomplets (PV1).
|
||||
This code use `drawText` as dependencies.
|
||||
|
||||
### Update 'Position/angle/speed display' and 'Speed display' (GMSJ01 only)
|
||||
Use `drawText` function to simplify the code.
|
||||
|
||||
## Mar 13, 2022
|
||||
|
||||
|
|
Loading…
Reference in a new issue