From 154d25c5dfb787b4fc6070483b4a12c7609a7d8b Mon Sep 17 00:00:00 2001 From: Will/KJW <100206101+SpicyBagpipes@users.noreply.github.com> Date: Thu, 21 Sep 2023 20:36:15 +0100 Subject: [PATCH 1/6] Add 2.16 dev commands --- sqf-dummy-check/ops.sqf | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sqf-dummy-check/ops.sqf b/sqf-dummy-check/ops.sqf index 982762e5..fe946cc2 100644 --- a/sqf-dummy-check/ops.sqf +++ b/sqf-dummy-check/ops.sqf @@ -213,6 +213,7 @@ ["n", "tasknull"], ["n", "get3dencamera"], ["n", "cameraon"], +["n", "focuson"], ["n", "allgroups"], ["n", "systemtimeutc"], ["n", "agents"], @@ -595,6 +596,7 @@ ["u", "wfsidetext"], ["u", "tvexpandall"], ["u", "velocitymodelspace"], +["u", "angularvelocitymodelspace"], ["u", "getallownedmines"], ["u", "onpreloadstarted"], ["u", "modparams"], @@ -932,6 +934,7 @@ ["u", "isformationleader"], ["u", "numberofenginesrtd"], ["u", "velocity"], +["u", "angularvelocity"], ["u", "setplayerrespawntime"], ["u", "preloadsound"], ["u", "getallsoundcontrollers"], @@ -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], @@ -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], @@ -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], @@ -2733,4 +2738,4 @@ ["b","enableaudiofeature",4], ["b","namedproperties",4], ["b","createvehiclecrew",4] -] \ No newline at end of file +] From 2d371f2579597721039bafe3c4a67990c5d210f9 Mon Sep 17 00:00:00 2001 From: Will/KJW <100206101+SpicyBagpipes@users.noreply.github.com> Date: Thu, 21 Sep 2023 20:48:16 +0100 Subject: [PATCH 2/6] Update ops_dummy_binary.cpp --- src/operators/ops_dummy_binary.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/operators/ops_dummy_binary.cpp b/src/operators/ops_dummy_binary.cpp index e5e767ac..94e2388a 100644 --- a/src/operators/ops_dummy_binary.cpp +++ b/src/operators/ops_dummy_binary.cpp @@ -636,6 +636,7 @@ 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, "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 {}; })); @@ -1070,4 +1071,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 {}; })); -} \ No newline at end of file +} From eb7fa7840ebc0244c92cdc9d134eb98422ea2d95 Mon Sep 17 00:00:00 2001 From: Will/KJW <100206101+SpicyBagpipes@users.noreply.github.com> Date: Thu, 21 Sep 2023 20:49:13 +0100 Subject: [PATCH 3/6] Update ops_dummy_unary.cpp --- src/operators/ops_dummy_unary.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/operators/ops_dummy_unary.cpp b/src/operators/ops_dummy_unary.cpp index 07847ce7..5c8da254 100644 --- a/src/operators/ops_dummy_unary.cpp +++ b/src/operators/ops_dummy_unary.cpp @@ -254,6 +254,7 @@ 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("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 */ @@ -1193,4 +1194,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 {}; })); -} \ No newline at end of file +} From dbe4dbe5b921102146d7e42b828708cb7090d630 Mon Sep 17 00:00:00 2001 From: Will/KJW <100206101+SpicyBagpipes@users.noreply.github.com> Date: Thu, 21 Sep 2023 20:49:49 +0100 Subject: [PATCH 4/6] Update ops_dummy_nular.cpp --- src/operators/ops_dummy_nular.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/operators/ops_dummy_nular.cpp b/src/operators/ops_dummy_nular.cpp index 57b49de3..92b86e16 100644 --- a/src/operators/ops_dummy_nular.cpp +++ b/src/operators/ops_dummy_nular.cpp @@ -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 {}; })); @@ -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 {}; })); -} \ No newline at end of file +} From b4ca0c3a1ec9117d8461fb68cb44f4f10994a74f Mon Sep 17 00:00:00 2001 From: Will/KJW <100206101+SpicyBagpipes@users.noreply.github.com> Date: Thu, 21 Sep 2023 22:06:45 +0100 Subject: [PATCH 5/6] Update ops_dummy_binary.cpp --- src/operators/ops_dummy_binary.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/operators/ops_dummy_binary.cpp b/src/operators/ops_dummy_binary.cpp index 94e2388a..aaa31b3a 100644 --- a/src/operators/ops_dummy_binary.cpp +++ b/src/operators/ops_dummy_binary.cpp @@ -637,6 +637,7 @@ void sqf::operators::ops_dummy_binary(sqf::runtime::runtime& runtime) 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 {}; })); From 6e9d1c27c2f679909b50a0095f22061df8b6110f Mon Sep 17 00:00:00 2001 From: Will/KJW <100206101+SpicyBagpipes@users.noreply.github.com> Date: Thu, 21 Sep 2023 22:07:19 +0100 Subject: [PATCH 6/6] Update ops_dummy_unary.cpp --- src/operators/ops_dummy_unary.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/operators/ops_dummy_unary.cpp b/src/operators/ops_dummy_unary.cpp index 5c8da254..e2372803 100644 --- a/src/operators/ops_dummy_unary.cpp +++ b/src/operators/ops_dummy_unary.cpp @@ -255,6 +255,7 @@ void sqf::operators::ops_dummy_unary(sqf::runtime::runtime& runtime) 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 */