* Add inheritance & exclusion support
* Update documentation in wiki
* additional check for parent class in findIf
* forEach instead of count
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
* condition for children of excluded classes
* touch everything but the params check
* apply configName in same line
* fix param data type for _excludedClasses
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
* Update addons/interact_menu/functions/fnc_removeActionFromClass.sqf
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
* Fix & formatting
* Fix missing _x & headers, remove invalid classes
---------
Co-authored-by: Salluci <69561145+Salluci@users.noreply.github.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
* Split interaction menu settings between interaction and self interaction
* consistent spacing
not sure which way is wanted here, but I might as well be consistent in
my own PR
* remove useless code, fix use of backgroundMenu
* clean up from Dystopian
* use existing stringtable
* remove redundent localize
* Use LLSTRING, split UseListMenu
* style fixes
* style fixes
* add movedToSQF to old settings
* condense ifs
* Don't use cursorKeepCentered as default
* fix a crash when loading savegames
* fix a variable name
* optimize
* Put CAManBase actions into seperate bucket
* Apply suggestions from code review
Co-Authored-By: commy2 <commy-2@gmx.de>
* Fast exit for All
* CaManBase
* can't skip mans
Instead of reanalizing every frame which actions points should be rendered based on distance, that job is now done only 5 times per second.
The rest of the frames the action points from the last frame are rerendered..
Close#434
- Children positions are calculated directly on screen space
- Saves a lot of worldToScreen, ATLtoASL, etc calls
- Selector is now a control instead of a 3D icon
- Reordering of action members
- Removed full path from actions, so they can be mounted under different paths if needed
- Added api for creating actions
- Api for adding actions for objects or classes
- Submenu scale as a function of the number of children
- Added menu expansion animation to better communicate where the options come from
- Unused action point are faded as soon as the user hovers a certain action point
- The action tree of each interaction point is parsed before drawing, pruning inactive actions
- Parent actions without statements or active children are not drawn, in order to reduce clutter
- Store only one compiled menu per class
- Actions added through apis for invidual objects stored on the object separately
- Replaced the concept of uids by paths. This allows adding/removing actions inside other actions loaded from config seamlessly.
- Temporarily removed caching of nearby actions (probe). We may go back to that if needed pretty easily. This allows the player to move freely with the interaction menu opened.