mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-21 13:53:49 -07:00
Use PlayState instead of GlobalContext (#1927)
* Use PlayState instead of GlobalContext - GlobalContext -> PlayState - globalCtx -> play - GlobalCtx -> PlayState - globalContext -> playState * Find and replace Gameplay_ with Play_ * Correct some misnamed argument cases
This commit is contained in:
parent
710a768d76
commit
99260acaf1
926 changed files with 41210 additions and 41210 deletions
|
@ -4,7 +4,7 @@
|
|||
#include <libultraship/color.h>
|
||||
|
||||
struct GraphicsContext;
|
||||
struct GlobalContext;
|
||||
struct PlayState;
|
||||
|
||||
/* Effects */
|
||||
|
||||
|
@ -163,7 +163,7 @@ typedef struct {
|
|||
} EffectShieldParticle; // size = 0x1C8
|
||||
|
||||
typedef struct {
|
||||
/* 0x0000 */ struct GlobalContext* globalCtx;
|
||||
/* 0x0000 */ struct PlayState* play;
|
||||
struct {
|
||||
EffectStatus status;
|
||||
EffectSpark effect;
|
||||
|
@ -197,9 +197,9 @@ typedef enum {
|
|||
|
||||
struct EffectSs;
|
||||
|
||||
typedef u32 (*EffectSsInitFunc)(struct GlobalContext* globalCtx, u32 index, struct EffectSs* effectSs, void* initParams);
|
||||
typedef void (*EffectSsUpdateFunc)(struct GlobalContext* globalCtx, u32 index, struct EffectSs* effectSs);
|
||||
typedef void (*EffectSsDrawFunc)(struct GlobalContext* globalCtx, u32 index, struct EffectSs* effectSs);
|
||||
typedef u32 (*EffectSsInitFunc)(struct PlayState* play, u32 index, struct EffectSs* effectSs, void* initParams);
|
||||
typedef void (*EffectSsUpdateFunc)(struct PlayState* play, u32 index, struct EffectSs* effectSs);
|
||||
typedef void (*EffectSsDrawFunc)(struct PlayState* play, u32 index, struct EffectSs* effectSs);
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ u32 type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue