1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-05 07:24:34 +00:00

PlayState Rename (#1231)

* global context -> play

* fix PlayState* PlayState
This commit is contained in:
fig02 2022-05-21 14:23:43 -04:00 committed by GitHub
parent 154f44b6da
commit 2e6279bc8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
912 changed files with 40489 additions and 41078 deletions

View file

@ -114,13 +114,13 @@ def bootstrap(ovl_path, ovl_text):
",\n" + indent + init_func_name + ",\n};\n*/"
decs = "u32 " + init_func_name + \
"(GlobalContext* globalCtx, u32 index, EffectSs* this, void* initParamsx);\n"
"(PlayState* play, u32 index, EffectSs* this, void* initParamsx);\n"
decs += "void " + \
init_func_name[:-4] + \
"Draw(GlobalContext* globalCtx, u32 index, EffectSs* this);\n"
"Draw(PlayState* play, u32 index, EffectSs* this);\n"
decs += "void " + \
init_func_name[:-4] + \
"Update(GlobalContext* globalCtx, u32 index, EffectSs* this);\n"
"Update(PlayState* play, u32 index, EffectSs* this);\n"
insert_pos = ovl_text.find("global.h>\n")