1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-04 06:54:33 +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

@ -146,13 +146,13 @@ def bootstrap(ovl_path, ovl_text):
decs = ""
if init_func != "0x00000000" and init_func != "Actor_Noop":
decs += "void " + init_func_name + "(" + struct_name + "* this, GlobalContext* globalCtx);\n"
decs += "void " + init_func_name + "(" + struct_name + "* this, PlayState* play);\n"
if destroy_func != "0x00000000" and destroy_func != "Actor_Noop":
decs += "void " + destroy_func_name + "(" + struct_name + "* this, GlobalContext* globalCtx);\n"
decs += "void " + destroy_func_name + "(" + struct_name + "* this, PlayState* play);\n"
if update_func != "0x00000000" and update_func != "Actor_Noop":
decs += "void " + update_func_name + "(" + struct_name + "* this, GlobalContext* globalCtx);\n"
decs += "void " + update_func_name + "(" + struct_name + "* this, PlayState* play);\n"
if draw_func != "0x00000000" and draw_func != "Actor_Noop":
decs += "void " + draw_func_name + "(" + struct_name + "* this, GlobalContext* globalCtx);\n"
decs += "void " + draw_func_name + "(" + struct_name + "* this, PlayState* play);\n"
init_vars = "const ActorInit " + init_vars_name + " =\n{\n"
init_vars += indent + actor_id_name + ",\n"