Commit Graph

105 Commits

Author SHA1 Message Date
SilentSpike
c731d83642 Merge pull request #2848 from acemod/fixForEachDeleteAt
fix Issue with forEach Loops and deleteAt Index
2015-11-25 14:00:37 +00:00
SilentSpike
49d4f233d9 Revert commit a718c82780 2015-11-18 13:19:12 +00:00
SilentSpike
a718c82780 Implement nice index deletion iteration solution
Previously when iterating over an array and modifying the same array via deletion of the current index, incorrect means was used to account for the change in index resulting in any further deletions being applied to the wrong elements.

This solution does not require duplication of the array or the use of external variables to track the number of deleted elements. We simply lower the `_forEachIndex` by 1 whenever an element is removed.
2015-11-17 16:02:56 +00:00
jokoho48
f3c5c64390 fix Issue with forEach Loops and deleteAt Index 2015-11-17 04:31:17 +01:00
PabstMirror
9d2d5b9c7c AdvanBalls - Fix ACE_twistDirection 2015-11-11 01:58:12 -06:00
PabstMirror
f8ca3693fd #2709 - Fix AB handleFired _muzzleVelocityShift 2015-10-08 21:22:00 -05:00
PabstMirror
326d549510 #2696 - Rangecard check bounds before select 2015-10-08 20:32:14 -05:00
jokoho48
a24e5b4665 fix Performance issue in AB 2015-09-16 11:54:49 +02:00
Michael Braun
fc45d1216a Simplyfied bounding value detection 2015-08-23 22:26:31 +02:00
Michael Braun
021c835b02 Removed debug messages 2015-08-23 17:54:10 +02:00
Michael Braun
20b45e10a4 Fixed issue with selecting the wrong value, when perfect barrel length match occured. 2015-08-23 17:53:33 +02:00
Michael Braun
1c14897194 Fixed velocity limit detection and small comment fix 2015-08-23 17:39:48 +02:00
jokoho48
e41ce78dbb Code Test PFH 2015-08-16 19:49:47 +02:00
jokoho48
87b9b5019c AB Performance Optimization (Part 8) 2015-08-06 13:35:55 +02:00
jokoho48
15a1a0d535 AB Performance Optimization (Part 7) 2015-08-06 10:58:07 +02:00
jokoho48
0ab865171d AB Performance Optimization (Part 6)
Add some todo comments
2015-08-05 18:50:37 +02:00
jokoho48
c4e4f184ff AB Performance Optimization (Part 5) 2015-08-05 18:33:28 +02:00
Michael Braun
9eb560ff3d AB Performance Optimization (Part 4) 2015-08-05 10:28:02 +02:00
Michael Braun
8fbcdfec5a Fixed missing bracket and parameter list issue in AB 2015-08-05 10:04:24 +02:00
Michael Braun
eca7f83cca AB Performance Optimization (Part 3) 2015-08-05 06:01:38 +02:00
Michael Braun
b8f1fa82ae AB Performance Optimization (Part 2) 2015-08-05 05:19:08 +02:00
Michael Braun
f6bc361734 Minimal performance improvement and fixed missing semicolon 2015-08-05 05:04:34 +02:00
Michael Braun
6b58b0b3bd AB Performance Optimization and documentation cleanup 2015-08-05 05:01:30 +02:00
jokoho48
c7e104437f Update Docu Comments in AB 2015-08-05 04:38:04 +02:00
jokoho48
d95bc3c299 AB Performance Optimization (Part 1) 2015-08-05 04:13:36 +02:00
jokoho48
3a2963c252 Fixed mission semicolon 2015-08-05 02:09:51 +02:00
jokoho48
7a0a1ead6e Updated parameterization in Advanced Ballistics module. 2015-08-05 00:32:48 +02:00
PabstMirror
1d82a3c193 #1962 - Fix Changes in Wind Deflection s in AB 2015-07-31 23:39:05 -05:00
PabstMirror
c1dd2df57a Move grid funcs and map long,lat,altitude to common 2015-06-30 12:26:51 -05:00
ulteq
f0849e70ff Slightly increased the alpha value of the bullet trace effect. 2015-06-02 23:11:44 +02:00
ulteq
16f6650486 Decreased the velocity threshold for the bullet trace effect 2015-06-02 22:38:44 +02:00
ulteq
52d304e9f9 Increased the protractor size 2015-06-02 22:37:27 +02:00
ulteq
9536423f2e Merge pull request #1353 from acemod/cleanup_ATragMX_AB
Removed a deprecated function and fixed some typos.
2015-05-22 18:42:20 +02:00
ulteq
e88c570ef2 Removed a deprecated function and fixed some typos. 2015-05-22 18:42:09 +02:00
jaynus
c924baefd7 All instances of time and diagTicktime changed to ACE_time / ACE_diagTime. 2015-05-21 09:42:44 -07:00
ulteq
7d3bb526dd Merge pull request #1263 from acemod/bulletTraceTweak
Slightly increased the bullet trace effect size
2015-05-20 22:12:37 +02:00
ulteq
149e3ae8b0 Slightly decreased the visibility of the bullet trace effect. 2015-05-20 22:12:02 +02:00
ulteq
28c8aba9bd Added missing ! 2015-05-19 20:46:55 +02:00
ulteq
57c37ecb9a Reorder/Rewrite of some advanced ballistics module options:
* alwaysSimulateForSnipers -> simulateForSnipers
* alwaysSimulateForGroupMembers -> simulateForGroupMembers
* onlyActiveForLocalPlayers -> simulateForEveryone
2015-05-19 20:46:13 +02:00
ulteq
8eaf754fdd Further increased the visibility of the bullet trace effect. 2015-05-18 10:56:34 +02:00
ulteq
4513b02c10 Experiment with the bullet trace effect size 2015-05-17 12:57:55 +02:00
ulteq
96b92ac172 Added a new module option for advanced ballistics:
* alwaysSimulateForGroupMembers
2015-05-17 11:45:55 +02:00
ulteq
cf487b544e Moved all temperature calculations into the weather module. 2015-05-14 16:07:41 +02:00
ulteq
26843dad88 Merge pull request #1057 from acemod/abConfigCaching
Config caching (advanced ballistics)
2015-05-13 11:30:21 +02:00
ulteq
b03333c9e8 Moved all wind calculations into the weather module 2015-05-11 10:59:07 +02:00
ulteq
d32e1024d3 Fixed a typo 2015-05-10 11:09:14 +02:00
ulteq
0a9dbfba87 Privates cleanup 2015-05-08 18:47:17 +02:00
ulteq
03fd740f8e Config caching is now done in the uiNamespace 2015-05-08 18:43:26 +02:00
ulteq
9a0fcd4fec AB config read caching 2015-05-08 17:20:56 +02:00
ulteq
1f15e68c30 Global variable cleanup 2015-05-08 16:00:41 +02:00