Skip to content

Commit a9a4b8a

Browse files
committed
Rebased & commented out some proposed functionality (In favor of another feature branch 'LcfInspection' that has a more general approach for lcf data lookup)
1 parent 753efaa commit a9a4b8a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/game_interpreter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ bool Game_Interpreter::ExecuteCommand(lcf::rpg::EventCommand const& com) {
598598
case Cmd::ControlSwitches:
599599
return CmdSetup<&Game_Interpreter::CommandControlSwitches, 4>(com);
600600
case Cmd::ControlVars:
601-
return CmdSetup<&Game_Interpreter::CommandControlVariables, 7>(com);
601+
return CmdSetup<&Game_Interpreter::CommandControlVariables<false>, 7>(com);
602602
case Cmd::TimerOperation:
603603
return CmdSetup<&Game_Interpreter::CommandTimerOperation, 5>(com);
604604
case Cmd::ChangeGold:

src/game_interpreter_control_variables.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@ bool ControlVariables::EasyRpgExCommand(lcf::rpg::EventCommand const& com, int&
512512
*/
513513
value = DateTime(static_cast<DateTimeOp>(com.parameters[5]));
514514
break;
515+
/*
515516
case 211: // eVarOperand_EasyRpg_ActiveMapInfo
516517
value = ActiveMapInfo(static_cast<ActiveMapInfoOp>(com.parameters[5]));
517518
break;
@@ -530,6 +531,7 @@ bool ControlVariables::EasyRpgExCommand(lcf::rpg::EventCommand const& com, int&
530531
value = InspectMapTreeInfo(static_cast<InspectMapTreeInfoOp>(com.parameters[5]), map_id, arg1);
531532
break;
532533
}
534+
*/
533535
case 213: //eVarOperand_EasyRpg_MessageSystemState
534536
value = MessageSystemState(static_cast<MessageSystemStateOp>(com.parameters[5]));
535537
break;
@@ -576,6 +578,7 @@ int ControlVariables::DateTime(DateTimeOp op) {
576578
return 0;
577579
}
578580

581+
/*
579582
int ControlVariables::ActiveMapInfo(ActiveMapInfoOp op) {
580583
switch (op)
581584
{
@@ -672,6 +675,7 @@ int ControlVariables::InspectMapTreeInfo(InspectMapTreeInfoOp op, int map_id, in
672675
Output::Warning("ControlVariables::InspectMapTreeInfo: Unknown op {}", static_cast<int>(op));
673676
return 0;
674677
}
678+
*/
675679

676680
int ControlVariables::MessageSystemState(MessageSystemStateOp op) {
677681
switch (op)

0 commit comments

Comments
 (0)