SW: Add PanelSpriteFunc values to saveables

This commit is contained in:
Evan Ramos 2020-02-18 20:55:05 -06:00 committed by Christoph Oelckers
parent 024d4e7297
commit 9eefd3d892
2 changed files with 13 additions and 2 deletions

View file

@ -7923,6 +7923,15 @@ PANEL_STATE ps_PanelKeyYellow[] =
#include "saveable.h" #include "saveable.h"
static saveable_code saveable_panel_code[] =
{
SAVE_CODE(pSuicide),
SAVE_CODE(SwordBlur),
SAVE_CODE(SpecialUziRetractFunc),
SAVE_CODE(FistBlur),
SAVE_CODE(StringTimer),
};
static saveable_data saveable_panel_data[] = static saveable_data saveable_panel_data[] =
{ {
SAVE_DATA(ps_PresentSword), SAVE_DATA(ps_PresentSword),
@ -8065,8 +8074,8 @@ static saveable_data saveable_panel_data[] =
saveable_module saveable_panel = saveable_module saveable_panel =
{ {
// code // code
NULL, saveable_panel_code,
0, SIZ(saveable_panel_code),
// data // data
saveable_panel_data, saveable_panel_data,

View file

@ -44,4 +44,6 @@ void PutStringInfoLine(PLAYERp pp, const char *string);
void PutStringInfoLine2(PLAYERp pp, const char *string); void PutStringInfoLine2(PLAYERp pp, const char *string);
void pClearTextLine(PLAYERp pp,int y); void pClearTextLine(PLAYERp pp,int y);
void pMenuClearTextLine(PLAYERp pp); void pMenuClearTextLine(PLAYERp pp);
void StringTimer(PANEL_SPRITEp psp);
END_SW_NS END_SW_NS