summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2023-08-17 12:19:13 -0400
committerGitHub <noreply@github.com>2023-08-17 09:19:13 -0700
commitc65a8dbc3903af19fe0253ab8774accbc06b0cb7 (patch)
tree8c136e0ecea87503261cdd22fc5b81cf31044f50 /tools
parent1bebc761b638ad061778667e4bab4ec92fe81aa7 (diff)
Game renaming (#63)
* rename GameState to Game * Rename the structs * fix table * whoops * rename play parameter * format * undo what i messed in z64compress
Diffstat (limited to 'tools')
-rwxr-xr-xtools/actor_bootstraper.py6
1 files changed, 3 insertions, 3 deletions
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")