Commit Graph

204 Commits

Author SHA1 Message Date
lambdatiger
4ebbc28948 Makes sure spall power square root is positive and also we don't produce fragments when for some reason the round accelerates. 2024-01-18 02:59:08 -06:00
lambdatiger
85df838aab variable names weren't verbose enough 2024-01-17 21:39:54 -06:00
lambdatiger
13834d7f17 Switched debug clear traces from addAction to ACE self interact 2024-01-17 21:28:53 -06:00
lambdatiger
63d67df7bf removed spurious commas 2024-01-17 21:11:38 -06:00
lambdatiger
35592fa0af removed 2 argument option and removed some defaults 2024-01-17 20:52:25 -06:00
lambdatiger
9bcf2b7650 white space and define placement changes 2024-01-17 20:51:59 -06:00
lambdatiger
8b45d0aa17 Updated function headers 2024-01-17 20:51:34 -06:00
lambdatiger
df884dc4bc changed default arguments, check isKindOf to "CAManBase" 2024-01-17 20:50:20 -06:00
lambdatiger
183d9f0ac6 capitization from cfg to Cfg in config lookups 2024-01-17 20:48:27 -06:00
lambdatiger
da1d184009 changed params statement, function header, and propigated doFrag argument changes 2024-01-17 20:46:15 -06:00
lambdatiger
3f84a45dee https://github.com/acemod/ACE3/pull/9728#discussion_r1454832701 2024-01-17 20:44:28 -06:00
lambdatiger
1f294f52f9 Merge branch 'master' of https://github.com/lambdatiger/ace_frag-overhaul 2024-01-17 19:48:33 -06:00
lambdatiger
a1c498d338 clarified function description and removed unneeded comments 2024-01-17 19:40:12 -06:00
lambdatiger
ea15eeaee9
Removed superfulous parenthese
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-17 19:03:19 -06:00
lambdatiger
73d0064607 Removed white space from removing an if statement in a previous commit 2024-01-17 18:54:13 -06:00
lambdatiger
51603619e6 optimized around checking if systems are active and moved debug arguments to an ifdef 2024-01-17 18:53:45 -06:00
lambdatiger
c0c423bb83 Declared _ammoInfo twice 2024-01-17 18:52:55 -06:00
lambdatiger
e5f62c71d2
unneeded parens
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-17 18:34:08 -06:00
lambdatiger
b6891b729d
formatting changes
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-17 18:24:54 -06:00
lambdatiger
3cc300a04d
another great isNotEqualTo opportunity
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-17 18:23:12 -06:00
lambdatiger
16128721e0
Function header changes
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-17 18:20:47 -06:00
lambdatiger
0958d6a33b
Update addons/frag/functions/fnc_dev_addRound.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-17 18:07:11 -06:00
lambdatiger
1b03ef7d52
getposATL to getPosATL
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-17 18:05:26 -06:00
lambdatiger
cdf1b4d6eb
Clarified arguments
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-17 18:04:38 -06:00
lambdatiger
16e699e387
unneeded parens
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-17 18:03:44 -06:00
lambdatiger
63cba6b006 clarified a hold off variable 2024-01-16 15:49:20 -06:00
lambdatiger
769bb29342 Changed how spall hold off is calculated to avoid repeated unneeded computations 2024-01-16 15:43:14 -06:00
lambdatiger
9178611a16 Debug updated to be easier to control 2024-01-16 15:41:10 -06:00
lambdatiger
6dacd38101 Few quick optimizations of == to isEqualTo 2024-01-16 15:40:51 -06:00
lambdatiger
8dd76d1ba6 Changes as discussed here https://github.com/acemod/ACE3/pull/9728#discussion_r1453104308 2024-01-16 15:39:16 -06:00
lambdatiger
572f9093f7 formatting whitespace 2024-01-15 19:57:52 -06:00
lambdatiger
67ede76494 compacted text a bit 2024-01-15 19:57:31 -06:00
lambdatiger
85b566a176 removed old parameter changed in f28d5d2372 2024-01-15 19:06:32 -06:00
lambdatiger
67e125cc43 Merge branch 'master' of https://github.com/lambdatiger/ace_frag-overhaul 2024-01-15 18:50:40 -06:00
lambdatiger
b7807044bf white space/formatting changes 2024-01-15 18:47:21 -06:00
lambdatiger
b2666fceec Config lookup optimization mentioned by johnb432 here: https://github.com/acemod/ACE3/pull/9728#discussion_r1452726505 2024-01-15 18:47:06 -06:00
lambdatiger
c4a93c775d Implemented changes discussed here https://github.com/acemod/ACE3/pull/9728#discussion_r1452726904 2024-01-15 18:44:15 -06:00
lambdatiger
a8e268cdff
Optimized approach to classifying blacklist type
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-15 18:40:03 -06:00
lambdatiger
f713791602 fixed a loop that got caught in the merge crossfire 2024-01-15 18:35:26 -06:00
lambdatiger
e3c8e8d6ab Merge branch 'master' of https://github.com/lambdatiger/ace_frag-overhaul 2024-01-15 18:18:58 -06:00
lambdatiger
bd33ab0e91 removed return of sphere object, not required or useful. 2024-01-15 18:16:40 -06:00
lambdatiger
902af64d7e
avoid mismatch sides when debugging frags with unconcious or captive shooters
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-15 18:16:06 -06:00
lambdatiger
4ef116643d
Small optimization to optimize config lookup
quick testing shows a whole 600ns increase in

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-15 18:10:30 -06:00
lambdatiger
d683be853f Merge branch 'master' of https://github.com/lambdatiger/ace_frag-overhaul 2024-01-15 17:55:37 -06:00
lambdatiger
6e209ba4f0
slight performance increase using forEach loops
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-15 17:54:22 -06:00
lambdatiger
6fc950a5f1 Comments fixed 2024-01-15 17:53:12 -06:00
lambdatiger
dd7fc86295 fixed comment to properly state variable purpose 2024-01-15 17:40:31 -06:00
lambdatiger
133f0b1da4 Updated type checks in line with recommendation from johnb432 2024-01-15 17:36:02 -06:00
lambdatiger
3874146b23 formatting 2024-01-15 16:32:43 -06:00
lambdatiger
c05be02530 formatting 2024-01-15 16:27:29 -06:00