Commit Graph

520 Commits

Author SHA1 Message Date
lambdatiger
7e54280ee9 Merge branch 'master' of https://github.com/lambdatiger/ace_frag-overhaul 2024-02-15 15:56:49 -06:00
lambdatiger
bc2a6bb9d9
small Should spall optimization
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-02-14 20:15:38 -06:00
lambdatiger
4ef23df3b3 white space, function headers and variable names 2024-02-14 20:07:19 -06:00
lambdatiger
a976b28c69 magic number clean up and white space 2024-02-14 19:57:49 -06:00
lambdatiger
ae116e2577 variable name changes 2024-02-14 19:55:26 -06:00
lambdatiger
4d9f61eeaf
Update addons/frag/functions/fnc_dev_drawTrace.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-02-14 18:50:01 -06:00
lambdatiger
61029ba723
Update addons/frag/functions/fnc_dev_addRound.sqf
If the round isn't in the hashmap anymore, we have to stop the PFH.
Brought code up to same standard as used in FUNC(dev_trackObj). - johnb432

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-02-14 17:56:05 -06:00
lambdatiger
fa241cacb5
Removed doublespace
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-02-14 17:14:43 -06:00
lambdatiger
1da1c68803
Apply suggestions from code review
Small formatting changes and small errors

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-02-14 16:50:09 -06:00
lambdatiger
665707bbda a Brett (HEMTT) suggested change I miss 2024-02-08 17:29:03 -06:00
lambdatiger
a4c88ec713 removd unneeded define 2024-02-08 17:23:33 -06:00
lambdatiger
2ad2564a1e removed all spaces from macros 2024-02-08 17:12:11 -06:00
lambdatiger
60543a5f59 added print incomplete only option to fnc_debugAmmo 2024-02-08 17:11:57 -06:00
lambdatiger
f63b4088eb Added commented 2.18 commands and updated script component 2024-02-08 17:11:36 -06:00
lambdatiger
07f055e16d updated some round types 2024-02-08 17:10:04 -06:00
PabstMirror
a3aef6a066
General - Cleanup spaces in macros (#9769)
Co-authored-by: LinkIsGrim <salluci.lovi@gmail.com>
2024-02-05 14:04:24 -03:00
lambdatiger
fd6b9bcee1 Removed double space 2024-01-21 17:08:59 -06:00
lambdatiger
35400620c7 Increased relative chance to hit torso/pelvis when fragemnt should hit. 2024-01-21 17:08:48 -06:00
lambdatiger
33afd8ab33 Merge branch 'ACE_advancedThrowing-shotParent-issue' 2024-01-20 18:57:56 -06:00
lambdatiger
2e6186c09b Changed case output to match config 2024-01-19 13:32:22 -06:00
lambdatiger
40b9cd3c41 Merge branch 'master' of https://github.com/lambdatiger/ace_frag-overhaul 2024-01-18 19:38:54 -06:00
lambdatiger
2d9828de91 removed unneeded toLower 2024-01-18 19:16:39 -06:00
lambdatiger
00dc4193ad changed SPG-9 Fragments 2024-01-18 18:22:17 -06:00
lambdatiger
863692625d optimization, see https://github.com/acemod/ACE3/pull/9728#discussion_r1458112339 2024-01-18 18:21:39 -06:00
lambdatiger
a3efede64f Fixe bad search function 2024-01-18 16:01:11 -06:00
lambdatiger
f3788afc89 Since the functions always exist, I guess these variables should too 2024-01-18 16:00:42 -06:00
lambdatiger
5f1cf0b4b6 saving people from their own bad testing setup 2024-01-18 16:00:15 -06:00
lambdatiger
78a15b1d5c
Optimize dev_hitbox deleting
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-18 15:13:36 -06:00
lambdatiger
8b3826a78c
white space for clarity
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-18 15:10:31 -06:00
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
722e86a200 Removed extra text from CfgAmmoFragParameters 2024-01-18 02:54:19 -06:00
lambdatiger
59bf6e3b91 Shot parent possible fix #1 2024-01-17 23:13:31 -06:00
lambdatiger
a4f2ad45d8 Updated debug settings 2024-01-17 21:53:20 -06:00
lambdatiger
f7417377e5 Mactched format https://github.com/acemod/ACE3/pull/9728#discussion_r1454926681 2024-01-17 21:52:47 -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
c921b1f9b4 removed unused debug GVAR 2024-01-17 21:28:07 -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
0321b78385 Moved "isServer" check to initRound function 2024-01-17 19:41:07 -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
4727386c07
Git rid of superfulous stringtable entries
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-17 17:47:07 -06:00
lambdatiger
4be8c821cb Better approach to ACE_FRAG_RM_EH macro 2024-01-16 22:47:42 -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
7aa17aa91b Grammatical erros 2024-01-16 15:38:47 -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
3957a0751f Fixed debug mode init, a few things pointed out by johnb432 that I was dumb not to do 2024-01-15 16:30:50 -06:00
lambdatiger
c05be02530 formatting 2024-01-15 16:27:29 -06:00
lambdatiger
054b9cda23 fixed more spacing issues 2024-01-15 16:13:48 -06:00
lambdatiger
96dc215f09 Merge branch 'master' of https://github.com/lambdatiger/ace_frag-overhaul 2024-01-15 16:10:55 -06:00
lambdatiger
fa4de59a25 renamed files to fit proper format 2024-01-15 16:10:48 -06:00
lambdatiger
8683e0aa56 Fixed array of double spaced format errors 2024-01-15 16:10:01 -06:00
lambdatiger
c7a2769bdd
Really obvious isNull instead of isEqualTo
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-15 16:05:58 -06:00
lambdatiger
29d3d4c19f alphabetized PREP instead of categorizing it 2024-01-15 15:39:27 -06:00
lambdatiger
81d477e911 fixed call syntax 2024-01-15 15:37:32 -06:00
lambdatiger
4dee712d70 fixed example syntax 2024-01-15 15:37:18 -06:00
lambdatiger
ea654c8e56 Capitalized config entries 2024-01-15 15:36:58 -06:00
lambdatiger
2f1c7d9bf7 Merge branch 'master' of https://github.com/lambdatiger/ace_frag-overhaul 2024-01-15 15:29:26 -06:00
lambdatiger
7581a480eb
Optimized isNull check
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-15 15:24:47 -06:00
lambdatiger
ced7aeb50c
Deleted whitespace in doFrag
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-15 15:24:11 -06:00
lambdatiger
22e26ee452 change of switch statements as referenced here https://github.com/acemod/ACE3/pull/9728#discussion_r1452728046 2024-01-15 15:23:12 -06:00
lambdatiger
54c4f45cf9 possilbe "magic number" cleanup and formatting 2024-01-15 15:18:42 -06:00
lambdatiger
ff462333cb Comment & documentation spelling and grammar improved 2024-01-15 14:39:41 -06:00
lambdatiger
a0812371c9 missed a trailing space 2024-01-15 14:27:29 -06:00
lambdatiger
e073d36a2f trailing spaces 2024-01-15 14:09:20 -06:00
lambdatiger
0f82f59955 typos from last commit 2024-01-15 14:08:27 -06:00
lambdatiger
3f45f7735b Convereted toLower to toLowerANSI 2024-01-15 13:55:15 -06:00
lambdatiger
4bd866b97d Merged commits 2024-01-15 13:55:01 -06:00
lambdatiger
eeb08c3f05 Made variable names more verbose and added trailing newlines 2024-01-15 13:42:45 -06:00
lambdatiger
b2c0f5720d skip prepping dev functions that aren't used when not dev compiled 2024-01-15 13:41:07 -06:00
lambdatiger
62a82ec71d added trailing newlines 2024-01-15 13:39:19 -06:00
lambdatiger
0e1bd6ab0e Got a little overzealous pruning & expanding variable names in the dev functions 2024-01-15 13:37:12 -06:00
lambdatiger
f28d5d2372 Reswept dev functions to match ACE code guidelines 2024-01-15 13:13:59 -06:00
lambdatiger
63cd1ed06a Last commit had debug staements uncommented 2024-01-15 01:33:25 -06:00
lambdatiger
5273b002f9 Replaced a magic number 2024-01-15 01:18:47 -06:00
lambdatiger
97547700d2 Added spall info caching and made variable name changes for clarity 2024-01-14 23:10:15 -06:00
lambdatiger
d51a9543b9 updated settings defaults 2024-01-14 23:09:08 -06:00
lambdatiger
eb61f5f7c0 Updated debugging, by default tracking spheres sync properly and messages are a bit clearer 2024-01-14 23:08:37 -06:00
lambdatiger
3da173e0a9 spall debug sphere improvements 2024-01-14 18:56:57 -06:00
lambdatiger
e1578188c9 Made debug mode semi-MP compliant 2024-01-14 18:47:18 -06:00
lambdatiger
fe1850a34a Fixed issue with spalling happening on thin surfaces instead of thicker surfaces hit afterwards 2024-01-14 18:46:52 -06:00
lambdatiger
6ae6b55e65 Added trailing empty braces for classes that aren't actually changed 2024-01-13 00:47:32 -06:00
lambdatiger
fbcf196402 Attempt to clean up formatting onall files 2024-01-13 00:35:22 -06:00
lambdatiger
a589f904cf Made configs easier to follow and hopefully fixed inheritance issue 2024-01-13 00:11:37 -06:00
lambdatiger
ef8a73df0c Changed an attempt to break inheritance and just did it the normal way. 2024-01-12 22:31:51 -06:00
lambdatiger
735d04e248 Fixed all inhertance issues 2024-01-12 22:21:56 -06:00
lambdatiger
6257dd3ee2 We love config inheritance 2024-01-12 21:19:39 -06:00
lambdatiger
12c5a69d23 missed inheritance check 2024-01-12 20:36:02 -06:00
lambdatiger
b836708237 Updated all vanilla classes with ace_frag parameter entries 2024-01-12 20:28:45 -06:00
lambdatiger
fb8f010332 made default frag info (when not defined) perform more middle of the road for munitions 2024-01-12 20:27:07 -06:00
lambdatiger
21c72313f4 Adding useful TRACE statement 2024-01-12 02:08:41 -06:00
lambdatiger
ad1916f513 Blacklisting error 2024-01-12 01:54:58 -06:00
lambdatiger
b62bec11f2 Missed part of a config 2024-01-12 01:52:01 -06:00
lambdatiger
2805699c0c Working updating all previously unused/undefined vanilla round definitions 2024-01-12 01:50:01 -06:00
lambdatiger
3d3fb434a7 Someday I will not accidentally hit a key an break things 2024-01-12 01:49:25 -06:00
lambdatiger
40810f282f Updated debug dump functions for ease of use 2024-01-11 17:58:47 -06:00
lambdatiger
1cf901703a Fixed a few issues script errors that went under the radar until now 2024-01-11 16:13:02 -06:00
lambdatiger
fbc710ce47 Removed tabs 2024-01-11 15:47:48 -06:00
lambdatiger
e290fd7c04 Fixed MP compat issue 2024-01-11 15:44:15 -06:00
lambdatiger
d7f2f673f3 fixed a few more script_comps 2024-01-11 15:44:01 -06:00
lambdatiger
231359ec4e Over zealous fixing script_component.hpp paths 2024-01-11 14:39:43 -06:00
lambdatiger
b1d54a1907 Fixed names and updated formatting 2024-01-11 14:01:50 -06:00
lambdatiger
9e67e31118 fixed formatting 2024-01-10 22:12:37 -06:00
lambdatiger
55d973153f Fine toothed comb time 2024-01-10 21:26:02 -06:00
lambdatiger
312da1a6c3 Deleted a semicolon 2024-01-10 20:39:10 -06:00
lambdatiger
8ec812b97d Fixed config spacing and multiple defines of classes 2024-01-10 20:32:07 -06:00
lambdatiger
5e46c8d1ef fixing PBO project gripe 2024-01-10 20:19:05 -06:00
lambdatiger
3e3ed12503 Final submunition code cull 2024-01-10 19:47:05 -06:00
lambdatiger
a64fff960a Fixed more comments 2024-01-10 19:02:07 -06:00