Commit Graph

57 Commits

Author SHA1 Message Date
Glowbal
b489750d5b Minor optimizations using private, params, and isEqualType (#4323)
* Optimizations with private, params, and isEqualType

* Fixed tab being used instead of space

* Fixed tabs inserted by notepad++

* More usage of new private syntax and params

- changed a few checks for an array being empty to `_arr isEqualTo []`
rather than `count _arr == 0`
- added more uses of `private` on the same line as the variable is
declared
- added more uses of params to assign variables passed as parameters
- removed unnecessary parentheses
- removed several unnecessary variable declarations with private array
syntax

* clean up and formatting
2016-09-04 16:44:22 +02:00
BaerMitUmlaut
88b58216ee Added beautified component names 2016-06-20 11:44:36 +02:00
commy2
c481ddedaf add 'name' to components 2016-06-19 09:38:39 +02:00
jonpas
03e923aa68 Cleanup Function Headers titles 2016-06-18 11:50:41 +02:00
SilentSpike
90ebf9638b Update common event names to meet new standard 2016-06-04 11:12:56 +01:00
PabstMirror
d7f9c52c2f Merge branch 'master' into cbaEventSystem 2016-06-02 19:29:30 -05:00
jonpas
95573ee711 Stringtable URL (#3855)
* Move url into stringtable to display it properly, Add some missing author and url entries

* Fix main

* Remove duplicate author
2016-06-01 23:45:51 +02:00
jonpas
1354826d56 Put semi-colon to the correct place 2016-06-01 14:11:32 +02:00
jonpas
1331265e65 Move url into a macro 2016-06-01 13:49:10 +02:00
jonpas
6730d016c2 Convert CfgPatches to new Eden format and CBA 2.4.1 compatibility 2016-06-01 13:27:02 +02:00
SilentSpike
207d6612da Remove duplicate ACE_newEvents entries 2016-05-24 15:06:17 +01:00
SilentSpike
c4b75160a4 Run event renaming script 2016-05-24 14:13:11 +01:00
SilentSpike
108ff4f644 Replace ACE event system calls with CBA counterparts
Regex used:

\[(.+?),(.+?),(.+?)\]\s+call\s+E?FUNC\((common,)?(target|object)Event\)
[$1,$3,$2] call CBA_fnc_targetEvent

E?FUNC\((common,)?(server|global|local)Event\)
CBA_fnc_$2Event

E?FUNC\((common,)?(add|remove)EventHandler\)
CBA_fnc_$2EventHandler
2016-05-22 16:47:39 +01:00
BaerMitUmlaut
7fcbe93b71 Cleaned up excessive whitespace 2016-05-03 02:32:44 +02:00
commy2
46a239f9f6 precompile on game start 2016-02-22 15:20:36 +01:00
esteldunedain
69dea087ca Apply the ufeh to ACE_Overpressure 2016-02-06 18:17:27 -03:00
PabstMirror
46d6e92bca Add quick debug defines to all script_components 2016-01-28 23:26:02 -06:00
PabstMirror
35e6a181b5 opps 2016-01-16 17:48:58 -06:00
PabstMirror
893c6658a5 Fix debug msg order, re-add local check on eh 2016-01-16 17:29:57 -06:00
PabstMirror
a875d6a870 Overpressure cleanup and fix distance check 2016-01-16 15:53:28 -06:00
esteldunedain
455c53a084 Nerf the amount of backblast received by the firer via reflection. Fix #2890. 2016-01-12 13:09:41 -03:00
PabstMirror
a5c45c137f Medical - addDamageToUnit Helper 2015-11-26 09:53:12 -06:00
PabstMirror
979ff8b479 Local -> private 2015-11-20 16:13:20 -06:00
PabstMirror
9b2c79e7e1 getDistance - use lineIntersectsSurfaces 2015-11-11 14:12:42 -06:00
PabstMirror
391bfc160a Overpresure - Misc fixes
- Fix passing magazine/ammo to overpressure event
- Use AGL for nearEntities
- Fix getDistance returning nil
2015-11-11 13:24:27 -06:00
SilentSpike
6e30e9e0df Fix overpressure priority evaluation
The code was checking the wrong configs for priority because of some missing variables.
2015-11-06 19:02:54 +00:00
Glowbal
1d7cbf40ca Fixed incorrect handleDamage call 2015-09-19 11:52:35 +02:00
jokoho48
1ed52e08bf fix missing default 2015-09-08 19:45:46 +02:00
jokoho48
45eb8c4822 Add Code for CBA update 2.1 2015-09-06 19:34:46 +02:00
jokoho48
228eeab1a8 fix comments 2015-08-31 00:05:55 +02:00
jokoho48
4e6f289493 fix Function Names
fix Input
2015-08-30 23:40:53 +02:00
jokoho48
317706cf46 add Trace 2015-08-30 23:10:03 +02:00
jokoho48
bda274efff fix wrong config access point 2015-08-30 22:59:27 +02:00
jokoho48
05e07f37ac Merge branch 'master' of https://github.com/acemod/ACE3 into BackBlastEnhanced 2015-08-30 07:49:55 +02:00
jokoho48
d97cb8e78f add Missing Include 2015-08-30 07:49:12 +02:00
jokoho48
6d2e25d40b change some DFUNC to FUNC 2015-08-30 07:38:17 +02:00
jokoho48
35b6e04345 rewrite Caching in overpressure
update code to params command
update Comments
2015-08-30 07:35:58 +02:00
jonpas
de033f0ff2 README.md files added to all modules 2015-08-19 04:18:33 +02:00
Joko
41edf3dd38 Rework after Comments form esteldunedain 2015-07-17 21:26:18 +02:00
Joko
83e74d848d fix that cachedOverPressureValue is called Multible per Weapon 2015-07-11 00:50:12 +02:00
Joko
9bb9df59ec Add caching for Backblast 2015-07-11 00:09:20 +02:00
Joko
8cd8504b3f Add Posibility to Change Backblast Values in Magazine Config 2015-07-10 22:30:07 +02:00
Kavinsky
8e9b35c757 Fixed Capitalized folders on include paths 2015-05-20 23:28:10 +02:00
jaynus
1bb6be5654 Cleaning up of all tabs in source code files. 2015-04-06 09:22:43 -07:00
esteldunedain
bd813d0d7a Merge branch 'master' of github.com:KoffeinFlummi/ACE3 2015-04-03 18:22:47 -03:00
esteldunedain
2b4d806925 Reduce or eliminate backblast cause by terrain depending on relative slope. Fix #294 2015-04-03 18:22:04 -03:00
Glowbal
244bac8562 Merge branch 'master' into medicalAdvanced 2015-04-03 22:42:09 +02:00
esteldunedain
d1d6252299 Nerf the backblast damage of the Titan and NLAW, adopting standard values for soft-launch launchers from the AGM_Compatibility project 2015-04-03 13:50:47 -03:00
PabstMirror
1c66cb9818 StaticWeapon classname 2015-04-02 17:25:05 -05:00
Glowbal
6f4b53ed9e Correct use of medical handleDamage calls 2015-04-02 22:56:23 +02:00