Skip to content

Commit 0734224

Browse files
committed
Add a new picture type "canvas" for pictures that were drawn on.
Not really needed as the image_data chunk can be checked but helps when analyzing savegames
1 parent c09ec75 commit 0734224

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

generator/csv/enums_easyrpg.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,6 @@ SavePicture,EasyRpgFlip,y,2
5555
SavePicture,EasyRpgFlip,both,3
5656
SavePicture,EasyRpgType,default,0
5757
SavePicture,EasyRpgType,window,1
58+
SavePicture,EasyRpgType,canvas,2
5859
Skill,HpType,cost,0
5960
Skill,HpType,percent,1

src/generated/lcf/rpg/savepicture.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,13 @@ namespace rpg {
9797
);
9898
enum EasyRpgType {
9999
EasyRpgType_default = 0,
100-
EasyRpgType_window = 1
100+
EasyRpgType_window = 1,
101+
EasyRpgType_canvas = 2
101102
};
102103
static constexpr auto kEasyRpgTypeTags = lcf::makeEnumTags<EasyRpgType>(
103104
"default",
104-
"window"
105+
"window",
106+
"canvas"
105107
);
106108

107109
int ID = 0;

0 commit comments

Comments
 (0)