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
SilentSpike
90ebf9638b
Update common event names to meet new standard
2016-06-04 11:12:56 +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
PabstMirror
4f6b11c2a6
Clarify repair while engine is running
...
#3348
- Show action, but exit and show warning when selected
- Optional (default off) setting to auto shut off engine to keep
compatibility with missions
2016-04-12 20:04:12 -05:00
PabstMirror
fb0738bd30
Merge branch 'master' into release
2015-12-31 20:27:26 -06:00
PabstMirror
e964b2c135
Fix PostRepairDamage and toolkit consumtion setting
...
Fix #2982
2015-12-08 20:31:40 -06:00
commy2
411a8d58f3
fix more setVariable and getVariable capitalization
2015-11-30 17:53:57 +01:00
PabstMirror
f676e6d9c9
Add some more typeNames replacements
2015-11-27 21:23:27 -06:00
PabstMirror
5850f78c1f
Merge branch 'master' into isEqualTypeRepalcement
2015-11-27 21:08:21 -06:00
PabstMirror
ab769757d9
Skip Depends Hitpoints - Use HitPoints selPos for wheels
...
Stuff
Normalize Depends - Skip Glass Repair
Fix spawned wheel/track not having correct damage
getHitpointString robustness, hatchback fuelHitpoint, fix count errors
-
Formatting
local -> private
Fix Stuff
2015-11-20 21:11:50 -06:00
PabstMirror
4e93b9c72d
2307 - Repair sub-turrets
...
Privates
Cleanup debug
Add repair actions for sub turrets
Cleanup
Fix Header
Error Handling
Cleanup setHitpointDamage
Fix common ACE_isEngineer to handle scalar or bool
Claim and release repair objects (wheel/track)
Repair sub-turrets
2015-11-20 21:11:05 -06:00
PabstMirror
69b53af1d3
1.54 - Replace typeName with isEqualType
2015-11-20 11:40:31 -06:00
PabstMirror
9cd470b849
Add Setting for toolkit requirement for wheel repair
2015-09-15 09:54:55 -05:00
commy2
37aec2b3c3
enable repairing while on ladder
2015-08-31 21:22:22 +02:00
jonpas
9718883599
Consolidated into 1 function
2015-08-24 20:58:54 +02:00
jonpas
7f175bad5f
Added support for display messages
2015-08-24 05:24:25 +02:00
Glowbal
4d10f2a72d
Merge pull request #2182 from jonpas/repairClean
...
Repair Cleanup
2015-08-17 11:31:57 +02:00
PabstMirror
359ee1d23b
#2180 - Fix QGVAR(fullRepairLocation) switch statement
2015-08-16 15:31:20 -05:00
jonpas
701c98e0da
Cleaned up repair function headers and some code
2015-08-16 20:14:54 +02:00
jonpas
b7282e476c
Used macros, getVariable capitalization, removed start of file newlines, separated CfgActions
2015-08-16 16:45:46 +02:00
PabstMirror
2be74dfdca
Privates
2015-08-14 15:14:36 -05:00
Glowbal
83f46be990
Fixes and improvements for the repair module
...
1. Added full repair,
2. Added missing settings to modules and settings framework,
3. added assign engineer module.
4. Fixed animation bug
2015-08-14 20:49:51 +02:00
Glowbal
ed6a53a402
Attempt at repairing tracks. Improved repair wheel actions
2015-08-09 18:08:53 +02:00
Glowbal
9adbb07367
Moved replace and repair wheel actions into the repair action framework
2015-08-09 15:53:52 +02:00
PabstMirror
4b603ff46f
Localization, params
2015-08-09 01:54:44 -05:00
Glowbal
071a673f28
Implemented repair action framework
...
copied across treatment framework from medical and adjusted it to suit the repair actions
2015-07-03 23:14:23 +02:00
commy2
d07e74b118
add function to return wheel hitpoints and their selection positions
2015-03-11 09:37:11 +01:00
commy2
c52c8234f1
repair action config
2015-03-10 23:29:45 +01:00