diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-03 13:39:15 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-03 13:39:15 -0400 |
commit | a68704403ab88657d4abaad25f673bf40267931a (patch) | |
tree | c4cd8708ed841a112a8a643c78842c5eb3ab2bd9 /include/pso/TObject.h | |
parent | 06623f2b33fc9975e52d431eaa45526899ff1b3c (diff) |
TObject, TMainTask: Make object names extern, and declare them in
`TObject.cpp`
This is to make it match the order in the original binary.
Diffstat (limited to 'include/pso/TObject.h')
-rw-r--r-- | include/pso/TObject.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/pso/TObject.h b/include/pso/TObject.h index bf23b56..1594d33 100644 --- a/include/pso/TObject.h +++ b/include/pso/TObject.h @@ -5,8 +5,9 @@ #include "pso/macros.h" #include <global_types.h> - -OBJECT_NAME(TObject) +#define o(name) extern const char *name##_name; +OBJECT_NAMES +#undef o extern TMainTask main_task; extern TObject global_obj1; |