Skip to content

Commit

Permalink
Merge pull request #220 from SpicyBagpipes/master
Browse files Browse the repository at this point in the history
Add 2.16 dev commands
  • Loading branch information
X39 authored Sep 27, 2023
2 parents 4473322 + 6e9d1c2 commit 55349de
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
9 changes: 7 additions & 2 deletions sqf-dummy-check/ops.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@
["n", "tasknull"],
["n", "get3dencamera"],
["n", "cameraon"],
["n", "focuson"],
["n", "allgroups"],
["n", "systemtimeutc"],
["n", "agents"],
Expand Down Expand Up @@ -595,6 +596,7 @@
["u", "wfsidetext"],
["u", "tvexpandall"],
["u", "velocitymodelspace"],
["u", "angularvelocitymodelspace"],
["u", "getallownedmines"],
["u", "onpreloadstarted"],
["u", "modparams"],
Expand Down Expand Up @@ -932,6 +934,7 @@
["u", "isformationleader"],
["u", "numberofenginesrtd"],
["u", "velocity"],
["u", "angularvelocity"],
["u", "setplayerrespawntime"],
["u", "preloadsound"],
["u", "getallsoundcontrollers"],
Expand Down Expand Up @@ -2173,7 +2176,7 @@
["b", "forcespeed", 4],
["b", "lbsetpicturerightcolordisabled", 4],
["b", "setmarkerbrush", 4],
["b", "setvelocitytransformation", 4],
["b", "citytransformation", 4],
["b", "enablecollisionwith", 4],
["b", "displayremoveeventhandler", 4],
["b", "addmagazines", 4],
Expand Down Expand Up @@ -2291,6 +2294,7 @@
["b", "closedisplay", 4],
["b", "setlightuseflare", 4],
["b", "setvelocity", 4],
["b", "setangularvelocity", 4],
["b", "breakout", 4],
["b", "isequaltypeany", 4],
["b", "setpylonspriority", 4],
Expand Down Expand Up @@ -2353,6 +2357,7 @@
["b", "setparticlecircle", 4],
["b", "foreachmember", 4],
["b", "setvelocitymodelspace", 4],
["b", "setangularvelocitymodelspace", 4],
["b", "findcover", 4],
["b", "vectorfromto", 4],
["b", "ctrlsetfonth1", 4],
Expand Down Expand Up @@ -2733,4 +2738,4 @@
["b","enableaudiofeature",4],
["b","namedproperties",4],
["b","createvehiclecrew",4]
]
]
4 changes: 3 additions & 1 deletion src/operators/ops_dummy_binary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,8 @@ void sqf::operators::ops_dummy_binary(sqf::runtime::runtime& runtime)
runtime.register_sqfop(binary(4, "setparticlecircle", 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", "setparticlecircle")); return {}; }));
runtime.register_sqfop(binary(4, "foreachmember", 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", "foreachmember")); return {}; }));
runtime.register_sqfop(binary(4, "setvelocitymodelspace", 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", "setvelocitymodelspace")); return {}; }));
runtime.register_sqfop(binary(4, "setangularvelocitymodelspace", 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", "setangularvelocitymodelspace")); return {}; }));
runtime.register_sqfop(binary(4, "setangularvelocity", 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", "setangularvelocity")); return {}; }));
runtime.register_sqfop(binary(4, "animatebay", 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", "animatebay")); return {}; }));
runtime.register_sqfop(binary(4, "findcover", 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", "findcover")); return {}; }));
runtime.register_sqfop(binary(4, "vectorfromto", 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", "vectorfromto")); return {}; }));
Expand Down Expand Up @@ -1070,4 +1072,4 @@ void sqf::operators::ops_dummy_binary(sqf::runtime::runtime& runtime)
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 {}; }));
}
}
3 changes: 2 additions & 1 deletion src/operators/ops_dummy_nular.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ void sqf::operators::ops_dummy_nular(sqf::runtime::runtime& runtime)
runtime.register_sqfop(nular("get3dencamera", "", [](sqf::runtime::runtime& runtime) -> value { runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "get3dencamera")); return {}; }));
runtime.register_sqfop(nular("cadetmode", "", [](sqf::runtime::runtime& runtime) -> value { runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "cadetmode")); return {}; }));
runtime.register_sqfop(nular("cameraon", "", [](sqf::runtime::runtime& runtime) -> value { runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "cameraon")); return {}; }));
runtime.register_sqfop(nular("focuson", "", [](sqf::runtime::runtime& runtime) -> value { runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "focuson")); return {}; }));
runtime.register_sqfop(nular("allgroups", "", [](sqf::runtime::runtime& runtime) -> value { runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "allgroups")); return {}; }));
runtime.register_sqfop(nular("agents", "", [](sqf::runtime::runtime& runtime) -> value { runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "agents")); return {}; }));
runtime.register_sqfop(nular("briefingname", "", [](sqf::runtime::runtime& runtime) -> value { runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "briefingname")); return {}; }));
Expand Down Expand Up @@ -275,4 +276,4 @@ void sqf::operators::ops_dummy_nular(sqf::runtime::runtime& runtime)
runtime.register_sqfop(nular("missionprofilenamespace", "", [](sqf::runtime::runtime& runtime) -> value { runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "missionprofilenamespace")); return {}; }));
runtime.register_sqfop(nular("getvideooptions", "", [](sqf::runtime::runtime& runtime) -> value { runtime.__logmsg(logmessage::runtime::ErrorMessage(runtime.context_active().current_frame().diag_info_from_position(), "NOT IMPLEMENTED", "getvideooptions")); return {}; }));

}
}
4 changes: 3 additions & 1 deletion src/operators/ops_dummy_unary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ void sqf::operators::ops_dummy_unary(sqf::runtime::runtime& runtime)
runtime.register_sqfop(unary("wfsidetext", 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", "wfsidetext")); return {}; })); /* SIDE, OBJECT, GROUP */
runtime.register_sqfop(unary("tvexpandall", 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", "tvexpandall")); return {}; })); /* SCALAR, CONTROL */
runtime.register_sqfop(unary("velocitymodelspace", 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", "velocitymodelspace")); return {}; })); /* OBJECT */
runtime.register_sqfop(unary("angularvelocitymodelspace", 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", "angularvelocitymodelspace")); return {}; })); /* OBJECT */
runtime.register_sqfop(unary("angularvelocity", 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", "angularvelocity")); return {}; })); /* OBJECT */
runtime.register_sqfop(unary("getallownedmines", 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", "getallownedmines")); return {}; })); /* OBJECT */
runtime.register_sqfop(unary("onpreloadstarted", 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", "onpreloadstarted")); return {}; })); /* STRING,CODE */
runtime.register_sqfop(unary("modparams", 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", "modparams")); return {}; })); /* ARRAY */
Expand Down Expand Up @@ -1193,4 +1195,4 @@ void sqf::operators::ops_dummy_unary(sqf::runtime::runtime& runtime)
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 55349de

Please sign in to comment.