Commit Graph

27 Commits

Author SHA1 Message Date
PabstMirror
aeb0614e7e Cleanup map gesture sync / color mapping (#4486)
* Cleanup map gesture sync / color mapping

- Adds ace_common_fnc_setPlayerOwner which syncs player's owner var
- Redo publicVarClient with CBA's ownerEvent
- Remove old ace_settings
- Make color module run globaly
- Ad public ace_map_gestures_fnc_addGroupColorMapping

* fix return
2016-10-27 19:54:58 +02:00
commy2
05d30c5573 convert log macros to cba versions (#4282)
* convert log macros to cba versions

* Add changes to AB

* remove obsolete macro
2016-10-02 12:55:31 +02:00
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
commy2
46adfe1150 convert map-gestures to cba hashes (#4187) 2016-07-30 17:17:52 +02:00
PabstMirror
7970979a18 Fix removed var in Map Gestures 2016-06-02 15:04:03 -05:00
jonpas
7ede53bbdd QGVAR and Fix laser, map, map_gestures, maptools, modules, nightvision, optics 2016-05-25 02:09:11 +02: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
jonpas
7f022eda00 Replace Purista with Roboto - everywhere, close #3401 2016-02-24 15:06:27 +01:00
PabstMirror
5850f78c1f Merge branch 'master' into isEqualTypeRepalcement 2015-11-27 21:08:21 -06:00
PabstMirror
69b53af1d3 1.54 - Replace typeName with isEqualType 2015-11-20 11:40:31 -06:00
PabstMirror
5cbfe4f2a5 local -> private 2015-11-17 14:02:20 -06:00
PabstMirror
af80635a3f ST Map Gesture Force Color Settings 2015-10-18 23:59:40 -05:00
Michael Braun
431bd309a8 Fixed variable privatization 2015-08-24 23:26:03 +02:00
Michael Braun
93acdbcb4d Replaced custom mapping implementation with ACE Hash 2015-08-24 22:45:59 +02:00
Michael Braun
3cbe6a3ebc Fixed multiple group settings not applying properly.
Added client configuration options for default colors.
2015-08-24 22:03:47 +02:00
Michael Braun
0ff5e86b52 Another missing semi-colon 2015-08-24 21:00:24 +02:00
Michael Braun
ee2cc22801 Added missing semicolon 2015-08-24 17:28:08 +02:00
Michael Braun
7217d5ec10 Various code cleanups and switch to player UIDs instead of sanitized names 2015-08-24 17:03:47 +02:00
Michael Braun
c3c39150a3 Improved handling of accessing dynamic variable names 2015-08-15 12:12:41 +02:00
Michael Braun
a315596c5a Fixed isValidColorArray returning true when array had the right size, but wrong datatypes/value ranges 2015-08-10 20:32:26 +02:00
Michael Braun
3e82391a36 Added validation and various fixes 2015-08-10 19:04:49 +02:00
Michael Braun
5287455c0b Fixed aborting data transmission on no owner id encounter 2015-08-10 17:07:01 +02:00
Michael Braun
5e4316d0e2 Fixed missing semi-colon 2015-08-10 16:43:33 +02:00
Michael Braun
5788705821 Fixed code style issues and added missing variable initialization in map_gestures 2015-08-10 15:24:57 +02:00
Michael Braun
b1d3654a97 Fixed owner id not getting assigned in map gestures 2015-08-10 14:54:28 +02:00
Michael Braun
90e4d005ee Give credit where credit is due 2015-08-10 08:45:43 +02:00
Michael Braun
a38cdda8e3 First iteration on implementing Dslyecxi's ST Map Gestures 2015-08-10 04:40:30 +02:00