Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Maniac Patch Event commands #271

Merged
merged 1 commit into from
Sep 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions generator/csv/enums_easyrpg.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#Structure,Entry,Value,Index
EventCommand,Code,Maniac_GetSaveInfo,3001
EventCommand,Code,Maniac_Save,3002
EventCommand,Code,Maniac_Load,3003
EventCommand,Code,Maniac_EndLoadProcess,3004
EventCommand,Code,Maniac_GetMousePosition,3005
EventCommand,Code,Maniac_SetMousePosition,3006
EventCommand,Code,Maniac_ShowStringPicture,3007
EventCommand,Code,Maniac_GetPictureInfo,3008
EventCommand,Code,Maniac_ControlBattle,3009
EventCommand,Code,Maniac_ControlAtbGauge,3010
EventCommand,Code,Maniac_ChangeBattleCommandEx,3011
EventCommand,Code,Maniac_GetBattleInfo,3012
EventCommand,Code,Maniac_ControlVarArray,3013
EventCommand,Code,Maniac_KeyInputProcEx,3014
EventCommand,Code,Maniac_RewriteMap,3015
EventCommand,Code,Maniac_ControlGlobalSave,3016
2 changes: 1 addition & 1 deletion generator/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def main(argv):

structs = get_structs('structs.csv','structs_easyrpg.csv')
sfields = get_fields('fields.csv','fields_easyrpg.csv')
enums = get_enums('enums.csv')
enums = get_enums('enums.csv','enums_easyrpg.csv')
flags = get_flags('flags.csv')
setup = get_setup('setup.csv')
constants = get_constants()
Expand Down
18 changes: 17 additions & 1 deletion src/generated/rpg_eventcommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,23 @@ namespace RPG {
EndLoop = 22210,
Comment_2 = 22410,
ElseBranch_B = 23310,
EndBranch_B = 23311
EndBranch_B = 23311,
Maniac_GetSaveInfo = 3001,
Maniac_Save = 3002,
Maniac_Load = 3003,
Maniac_EndLoadProcess = 3004,
Maniac_GetMousePosition = 3005,
Maniac_SetMousePosition = 3006,
Maniac_ShowStringPicture = 3007,
Maniac_GetPictureInfo = 3008,
Maniac_ControlBattle = 3009,
Maniac_ControlAtbGauge = 3010,
Maniac_ChangeBattleCommandEx = 3011,
Maniac_GetBattleInfo = 3012,
Maniac_ControlVarArray = 3013,
Maniac_KeyInputProcEx = 3014,
Maniac_RewriteMap = 3015,
Maniac_ControlGlobalSave = 3016
};
};

Expand Down