mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-04 15:04:31 +00:00
GameInfo
-> RegEditor
(#1354)
* -> `RegsContext* gRegsContext` * Name regs-related functions * Revert naming `GameState_UpdateRegs` * -> `gRegEditor` * `Regs_InitContext` -> `Regs_Init` * remove mistakenly added file
This commit is contained in:
parent
d624733bf9
commit
d1d946a197
11 changed files with 60 additions and 65 deletions
|
@ -160,15 +160,15 @@ on the address from the `D_address` containing the cutscene data.
|
|||
|
||||
## regconvert
|
||||
|
||||
This converts the direct memory references, of the form `gGameInfo->data[index]` or `gGameInfo + 0x<offset>`, into the corresponding REG macros defined in [regs.h](../include/regs.h). Run
|
||||
This converts the direct memory references, of the form `gRegEditor->data[index]` or `gRegEditor + 0x<offset>`, into the corresponding REG macros defined in [regs.h](../include/regs.h). Run
|
||||
```sh
|
||||
./tools/regconvert.py <index>
|
||||
```
|
||||
if you have it in the form `gGameInfo->data[index]`, or
|
||||
if you have it in the form `gRegEditor->data[index]`, or
|
||||
```sh
|
||||
./tools/regconvert.py --offset <offset>
|
||||
```
|
||||
if you have it in the form `gGameInfo + 0x<offset>`. You can also run it on a whole file using `--file <path/to/file>`.
|
||||
if you have it in the form `gRegEditor + 0x<offset>`. You can also run it on a whole file using `--file <path/to/file>`.
|
||||
|
||||
## assist
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue