Skip to content

Commit 55349de

Browse files
authored
Merge pull request SQFvm#220 from SpicyBagpipes/master
Add 2.16 dev commands
2 parents 4473322 + 6e9d1c2 commit 55349de

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

sqf-dummy-check/ops.sqf

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@
213213
["n", "tasknull"],
214214
["n", "get3dencamera"],
215215
["n", "cameraon"],
216+
["n", "focuson"],
216217
["n", "allgroups"],
217218
["n", "systemtimeutc"],
218219
["n", "agents"],
@@ -595,6 +596,7 @@
595596
["u", "wfsidetext"],
596597
["u", "tvexpandall"],
597598
["u", "velocitymodelspace"],
599+
["u", "angularvelocitymodelspace"],
598600
["u", "getallownedmines"],
599601
["u", "onpreloadstarted"],
600602
["u", "modparams"],
@@ -932,6 +934,7 @@
932934
["u", "isformationleader"],
933935
["u", "numberofenginesrtd"],
934936
["u", "velocity"],
937+
["u", "angularvelocity"],
935938
["u", "setplayerrespawntime"],
936939
["u", "preloadsound"],
937940
["u", "getallsoundcontrollers"],
@@ -2173,7 +2176,7 @@
21732176
["b", "forcespeed", 4],
21742177
["b", "lbsetpicturerightcolordisabled", 4],
21752178
["b", "setmarkerbrush", 4],
2176-
["b", "setvelocitytransformation", 4],
2179+
["b", "citytransformation", 4],
21772180
["b", "enablecollisionwith", 4],
21782181
["b", "displayremoveeventhandler", 4],
21792182
["b", "addmagazines", 4],
@@ -2291,6 +2294,7 @@
22912294
["b", "closedisplay", 4],
22922295
["b", "setlightuseflare", 4],
22932296
["b", "setvelocity", 4],
2297+
["b", "setangularvelocity", 4],
22942298
["b", "breakout", 4],
22952299
["b", "isequaltypeany", 4],
22962300
["b", "setpylonspriority", 4],
@@ -2353,6 +2357,7 @@
23532357
["b", "setparticlecircle", 4],
23542358
["b", "foreachmember", 4],
23552359
["b", "setvelocitymodelspace", 4],
2360+
["b", "setangularvelocitymodelspace", 4],
23562361
["b", "findcover", 4],
23572362
["b", "vectorfromto", 4],
23582363
["b", "ctrlsetfonth1", 4],
@@ -2733,4 +2738,4 @@
27332738
["b","enableaudiofeature",4],
27342739
["b","namedproperties",4],
27352740
["b","createvehiclecrew",4]
2736-
]
2741+
]

src/operators/ops_dummy_binary.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,8 @@ void sqf::operators::ops_dummy_binary(sqf::runtime::runtime& runtime)
636636
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 {}; }));
637637
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 {}; }));
638638
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 {}; }));
639+
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 {}; }));
640+
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 {}; }));
639641
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 {}; }));
640642
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 {}; }));
641643
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 +1072,4 @@ void sqf::operators::ops_dummy_binary(sqf::runtime::runtime& runtime)
10701072
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 {}; }));
10711073
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 {}; }));
10721074
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 {}; }));
1073-
}
1075+
}

src/operators/ops_dummy_nular.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ void sqf::operators::ops_dummy_nular(sqf::runtime::runtime& runtime)
156156
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 {}; }));
157157
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 {}; }));
158158
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 {}; }));
159+
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 {}; }));
159160
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 {}; }));
160161
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 {}; }));
161162
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)
275276
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 {}; }));
276277
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 {}; }));
277278

278-
}
279+
}

src/operators/ops_dummy_unary.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ void sqf::operators::ops_dummy_unary(sqf::runtime::runtime& runtime)
254254
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 */
255255
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 */
256256
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 */
257+
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 */
258+
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 */
257259
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 */
258260
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 */
259261
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 +1195,4 @@ void sqf::operators::ops_dummy_unary(sqf::runtime::runtime& runtime)
11931195
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 {}; }));
11941196
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 {}; }));
11951197
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 {}; }));
1196-
}
1198+
}

0 commit comments

Comments
 (0)