Skip to content

Commit

Permalink
Merge pull request #219 from PabstMirror/cmds214
Browse files Browse the repository at this point in the history
Update cmds for 2.14
  • Loading branch information
X39 authored Sep 6, 2023
2 parents 210f988 + 269752b commit 4473322
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 1 deletion.
30 changes: 29 additions & 1 deletion sqf-dummy-check/ops.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -1564,6 +1564,25 @@
["u","getterrainheight"],
["u","ctrlurloverlaymode"],
["u","pose"],
["u","isremotecontrolling"],
["u","waterdamaged"],
["u","backpacks"],
["u","setcuratorselected"],
["u","vectorsidevisual"],
["u","curatorselectionpreset"],
["u","loadcuratorselectionpreset"],
["u","getpilotcameraopticsmode"],
["u","stopsound"],
["u","ctrlmapdir"],
["u","diag_testscriptsimplevm"],
["u","createhashmapobject"],
["u","markerdrawpriority"],
["u","soundparams"],
["u","vectorside"],
["u","remotecontrolled"],
["u","addcuratorselected"],
["u","weapondisassemblyenabled"],
["u","createvehiclelocal"],

["b", "lnbsetcurselrow", 4],
["b", "removemenuitem", 4],
Expand Down Expand Up @@ -2704,5 +2723,14 @@
["b","isnotequalref", 4],
["b","awake", 4],
["b","getdirvisual", 4],
["b","alldiaryrecords", 4]
["b","alldiaryrecords", 4],
["b","inareaarrayindexes",4],
["b","setmarkerdrawpriority",4],
["b","foreachreversed",4],
["b","setcuratorselectionpreset",4],
["b","setpilotcameraopticsmode",4],
["b","getslotitemname",4],
["b","enableaudiofeature",4],
["b","namedproperties",4],
["b","createvehiclecrew",4]
]
9 changes: 9 additions & 0 deletions src/operators/ops_dummy_binary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1061,4 +1061,13 @@ void sqf::operators::ops_dummy_binary(sqf::runtime::runtime& runtime)
runtime.register_sqfop(binary(4, "isnotequalref", t_any(), t_any(), "", [](sqf::runtime::runtime& runtime, value::cref l, value::cref r) -> value { runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "isnotequalref")); return {}; }));
runtime.register_sqfop(binary(4, "getdirvisual", t_any(), t_any(), "", [](sqf::runtime::runtime& runtime, value::cref l, value::cref r) -> value { runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "getdirvisual")); return {}; }));
runtime.register_sqfop(binary(4, "alldiaryrecords", t_any(), t_any(), "", [](sqf::runtime::runtime& runtime, value::cref l, value::cref r) -> value { runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "alldiaryrecords")); return {}; }));
runtime.register_sqfop(binary(4, "inareaarrayindexes", t_any(), t_any(), "",[](sqf::runtime::runtime& runtime, value::cref l, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "inareaarrayindexes")); return {}; }));
runtime.register_sqfop(binary(4, "setmarkerdrawpriority", t_any(), t_any(), "",[](sqf::runtime::runtime& runtime, value::cref l, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "setmarkerdrawpriority")); return {}; }));
runtime.register_sqfop(binary(4, "foreachreversed", t_any(), t_any(), "",[](sqf::runtime::runtime& runtime, value::cref l, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "foreachreversed")); return {}; }));
runtime.register_sqfop(binary(4, "setcuratorselectionpreset", t_any(), t_any(), "",[](sqf::runtime::runtime& runtime, value::cref l, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "setcuratorselectionpreset")); return {}; }));
runtime.register_sqfop(binary(4, "setpilotcameraopticsmode", t_any(), t_any(), "",[](sqf::runtime::runtime& runtime, value::cref l, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "setpilotcameraopticsmode")); return {}; }));
runtime.register_sqfop(binary(4, "getslotitemname", t_any(), t_any(), "",[](sqf::runtime::runtime& runtime, value::cref l, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "getslotitemname")); return {}; }));
runtime.register_sqfop(binary(4, "enableaudiofeature", t_any(), t_any(), "",[](sqf::runtime::runtime& runtime, value::cref l, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "enableaudiofeature")); return {}; }));
runtime.register_sqfop(binary(4, "namedproperties", t_any(), t_any(), "",[](sqf::runtime::runtime& runtime, value::cref l, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "namedproperties")); return {}; }));
runtime.register_sqfop(binary(4, "createvehiclecrew", t_any(), t_any(), "",[](sqf::runtime::runtime& runtime, value::cref l, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "createvehiclecrew")); return {}; }));
}
19 changes: 19 additions & 0 deletions src/operators/ops_dummy_unary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1174,4 +1174,23 @@ void sqf::operators::ops_dummy_unary(sqf::runtime::runtime& runtime)
runtime.register_sqfop(unary("displayupdate", t_any(), "", [](sqf::runtime::runtime& runtime, value::cref r) -> value { runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "displayupdate")); return {}; }));
runtime.register_sqfop(unary("getterrainheight", t_any(), "", [](sqf::runtime::runtime& runtime, value::cref r) -> value { runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "getterrainheight")); return {}; }));
runtime.register_sqfop(unary("ctrlurloverlaymode", t_any(), "", [](sqf::runtime::runtime& runtime, value::cref r) -> value { runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "ctrlurloverlaymode")); return {}; }));
runtime.register_sqfop(unary("isremotecontrolling", t_any(), "",[](sqf::runtime::runtime& runtime, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "isremotecontrolling")); return {}; }));
runtime.register_sqfop(unary("waterdamaged", t_any(), "",[](sqf::runtime::runtime& runtime, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "waterdamaged")); return {}; }));
runtime.register_sqfop(unary("backpacks", t_any(), "",[](sqf::runtime::runtime& runtime, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "backpacks")); return {}; }));
runtime.register_sqfop(unary("setcuratorselected", t_any(), "",[](sqf::runtime::runtime& runtime, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "setcuratorselected")); return {}; }));
runtime.register_sqfop(unary("vectorsidevisual", t_any(), "",[](sqf::runtime::runtime& runtime, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "vectorsidevisual")); return {}; }));
runtime.register_sqfop(unary("curatorselectionpreset", t_any(), "",[](sqf::runtime::runtime& runtime, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "curatorselectionpreset")); return {}; }));
runtime.register_sqfop(unary("loadcuratorselectionpreset", t_any(), "",[](sqf::runtime::runtime& runtime, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "loadcuratorselectionpreset")); return {}; }));
runtime.register_sqfop(unary("getpilotcameraopticsmode", t_any(), "",[](sqf::runtime::runtime& runtime, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "getpilotcameraopticsmode")); return {}; }));
runtime.register_sqfop(unary("stopsound", t_any(), "",[](sqf::runtime::runtime& runtime, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "stopsound")); return {}; }));
runtime.register_sqfop(unary("ctrlmapdir", t_any(), "",[](sqf::runtime::runtime& runtime, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "ctrlmapdir")); return {}; }));
runtime.register_sqfop(unary("diag_testscriptsimplevm", t_any(), "",[](sqf::runtime::runtime& runtime, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "diag_testscriptsimplevm")); return {}; }));
runtime.register_sqfop(unary("createhashmapobject", t_any(), "",[](sqf::runtime::runtime& runtime, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "createhashmapobject")); return {}; }));
runtime.register_sqfop(unary("markerdrawpriority", t_any(), "",[](sqf::runtime::runtime& runtime, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "markerdrawpriority")); return {}; }));
runtime.register_sqfop(unary("soundparams", t_any(), "",[](sqf::runtime::runtime& runtime, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "soundparams")); return {}; }));
runtime.register_sqfop(unary("vectorside", t_any(), "",[](sqf::runtime::runtime& runtime, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "vectorside")); return {}; }));
runtime.register_sqfop(unary("remotecontrolled", t_any(), "",[](sqf::runtime::runtime& runtime, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "remotecontrolled")); return {}; }));
runtime.register_sqfop(unary("addcuratorselected", t_any(), "",[](sqf::runtime::runtime& runtime, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "addcuratorselected")); return {}; }));
runtime.register_sqfop(unary("weapondisassemblyenabled", t_any(), "",[](sqf::runtime::runtime& runtime, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "weapondisassemblyenabled")); return {}; }));
runtime.register_sqfop(unary("createvehiclelocal", t_any(), "",[](sqf::runtime::runtime& runtime, value::cref r) -> value{ runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "createvehiclelocal")); return {}; }));
}

0 comments on commit 4473322

Please sign in to comment.