From c65a8dbc3903af19fe0253ab8774accbc06b0cb7 Mon Sep 17 00:00:00 2001 From: Anghelo Carvajal Date: Thu, 17 Aug 2023 12:19:13 -0400 Subject: Game renaming (#63) * rename GameState to Game * Rename the structs * fix table * whoops * rename play parameter * format * undo what i messed in z64compress --- tools/actor_bootstraper.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/actor_bootstraper.py b/tools/actor_bootstraper.py index a50f588..41143eb 100755 --- a/tools/actor_bootstraper.py +++ b/tools/actor_bootstraper.py @@ -32,7 +32,7 @@ with profiles_txt.open() as f: def funcToDecl(func): if func == "NULL" or func == "none_proc1": return "" - return f"void {func}(Actor* thisx, PlayState* play);\n" + return f"void {func}(Actor* thisx, Game_Play* game_play);\n" def funcToProf(func): if func == "none_proc1": @@ -751,11 +751,11 @@ for profName, (filepath, prof) in n64Profiles.items(): f.write('#include "unk.h"\n') f.write('\n') - f.write(f"struct PlayState;\n") + f.write(f"struct Game_Play;\n") f.write(f"struct {structName};\n") f.write('\n') - f.write(f"typedef void (*{structName}ActionFunc)(struct {structName}*, struct PlayState*);\n") + f.write(f"typedef void (*{structName}ActionFunc)(struct {structName}*, struct Game_Play*);\n") f.write("\n") f.write(f"typedef struct {structName} {{\n") -- cgit v1.2.3