ArkAngel Apps
954039bbef
Added space in block name does not exist string.
6 years ago
desktop-maesty/steve
c21a39a886
Corrected UNITY_EDITOR define usage in flowchart and block
6 years ago
desktop-maesty/steve
e73121ea5c
Command can now cache a list of referenced variables that are checked by the variablelistadapter for highlighting
...
- Flowchart can identify add variables found via the substitute regex
- Commands that use SubstituteVariables on their string data use the new caching method so they can highlight variables that will be used during substitution
6 years ago
desktop-maesty/steve
fd936ee06e
FlowchartWindow tracks selected command changes and force repaints
6 years ago
desktop-maesty/steve
b4588f17b0
FlowchartWindow Variable list perfermance Improvements
...
- changes cause repaint of flowhcart window
- Var list drawing performance improvements, cache styles and widths
6 years ago
desktop-maesty/steve
f46174a419
Flowchart Window control selection rework to maintain consistent usage still with less Contain calls
6 years ago
desktop-maesty/steve
7b4aaea648
FlowchartWindow refactored Selected Block drawing to avoid O(2N) .Contains calls
...
Added a testing scene for editor performance, for many blocks on 1 flowhcart
6 years ago
desktop-maesty/steve
af10b34557
New Call mode, StopThenCall
...
Allows for circumstances where you want to call a block that completes immediately multiple times such as in recursion.
Removes the need to put Wait 1 Frame commands in a number of cases
More verbose logging in cases where a block cannot be called as it is already running
6 years ago
desktop-maesty/steve
9dd37ee7f7
FlowchartWindow performance for 100s of blocks
...
Blocks now track their selectedness and filteredness to avoid hundreds of contains calls every Draw
Only recalculate filtered collection and total blocks on flowchart when a change has occured
6 years ago
desktop-maesty/steve
d79e4d6556
Conversation text can now contain colons within the text body itself
...
Minor change to Conversation regex grouping
Added Conversation Tests for existing functionality and multi colon
-Conversation Parse refactor to allow for static testing
Moved all regex strings across fungus to const strings
6 years ago
Chris Gregan
f339774679
Added Flowchart.HasBlock() and ExecuteIfHasBlock()
7 years ago
desktop-maesty/steve
be66286822
Removed ShowVariables bool, just showing the variables in the fungus flowchart inspector always
...
Adjusted Reorderable draw logic to draw even if there are no items in there so we get it showing the variables header.
7 years ago
desktop-maesty/steve
4375852e4b
Remove hidevariablesInInspector from FungusEditorPrefs as per feedback
...
Shorten ShowVariablesInInspector as per feedback
7 years ago
desktop-maesty/steve
0b81c75e2e
Added ability to show variable list in the Flowchart Inspector
...
-Refactored DrawVariablesGUI
-Added bool to FungusEditorPreferences, that hides the variable list in the flowchart inspector
7 years ago
desktop-maesty/steve
67805f7e3f
Flowchart now registers and unregisters from SceneManager in OnEnable and OnDisable respecitvely
...
Localization now registers and unregisters from SceneManager in OnEnable and OnDisable respecitvely
7 years ago
Christopher
b8a96bef8a
Fixed Localization only localizes character name, not story text #611 , #614
...
Wasn’t able to replicate this, but I think it was an issue around
caching SubstitutionHandlers. I’ve changed this system to use a static
list that each substituter registers / unregisters with on OnEnable /
OnDisable. Should be more robust now.
8 years ago
Christopher
05bf42fdd7
Stop a named Block in a Flowchart
8 years ago
Christopher
211b197f77
Fixed using say in lua doesn't automatically spawn an EventSystem #571
8 years ago
Christopher
71c2b4e357
Added Game Loaded event handler and save key.
8 years ago
Zach Vinless
7445700fa4
Removed selectedBlock and changed multi-select editor message
...
-Removed selectedBlock and removed update code copying it into
selectedBlocks
-Changed BlockInspector display message when multiple blocks are
selected
8 years ago
Zach Vinless
3afcc68001
Added multi-select feature for blocks in flowchart window
...
-Added multi-select support via action key/shift+click and click+drag
-Block movement and context menu options now affect all selected blocks
-Flowchart’s SelectedBlock property now refers to the active selected
block rather than the sole selected block. It works similarly to
Unity’s Selection.activeObject
-Bumped flowchart version to 2 to upgrade previously serialized
selected blocks to new format (now a list of blocks rather than a
single block)
8 years ago
Christopher
16e4ba425f
Added accessors for GameObject and Transform variables in Flowchart.cs
8 years ago
Christopher
54395b6920
Added HasVariable() and GetVariableNames() - thanks murnyipl!
8 years ago
Christopher
1ba09f25e8
Converted (most) foreach to for statements. Avoids an allocation for the loop iterator.
8 years ago
Christopher
3510fc7f9a
Converted all foreach statement to act on simple variables.
8 years ago
Christopher
060b7b46a2
Reverted Fungus sub namespaces as they were breaking backwards compatibility. Kept the Fungus.EditorUtils namespace though as it doesn't affect compatibility.
8 years ago
Christopher
a550d29e10
Reverted IExecuteHandler, ILuaBindings and ILuaEnvironment interfaces
8 years ago
Christopher
253ac9ebc6
Renamed public methods to public members
8 years ago
Christopher
5053d2fc4a
Moved all public static methods to Public method region
8 years ago
Christopher
75f5b5217f
Reverted ICommand interface
8 years ago
Christopher
47f3e2f191
Reverted IFlowchart interface
8 years ago
Christopher
01feb27c61
Reverted IBlock interface
8 years ago
Christopher
0dc11902b1
Made Flowchart.OnLevelWasLoaded protected
8 years ago
Christopher
071fb7c345
Added Fungus.Commands, Fungus.EventHandlers, Fungus.Variables and Fungus.Utils namespaces
8 years ago
Christopher
245500fd25
Moved global constants to FungusConstants static class.
8 years ago
Christopher
9f5c726699
Grouped static members together
8 years ago
Christopher
13b3e31085
Moved Flowchart scripts into main Scripts folder
8 years ago
Christopher
0d33e6a026
Use concrete classes for Block and Command to ensure editor code is robust.
8 years ago
Christopher
43d59a8059
Using concrete Block class for safety with editor code
8 years ago
Christopher
04b56ab0c7
Refactored runtime code to use IFlowchart exclusively
8 years ago
Christopher
cdeab7b3a4
Refactored Flowchart to use IFlowchart interface
8 years ago
Christopher
5c8f5f4214
Fixed Flowchart component being hidden by accident.
8 years ago
Christopher
dc0ea43558
Refactored EventHandler to use IEventHandler
8 years ago
Christopher
6097c4ee1e
Refactored code to use ICommand interface where possible
8 years ago
Christopher
1cf014aa18
Refactored Block to use IBlock
8 years ago
Christopher
56e413a224
Reorganised Fungus folder structure
8 years ago
Christopher
49278bf84c
Refactored StringSubstituter to use IStringSubstituter interface
8 years ago
Christopher
501cb34247
Refactored LuaEnvironment to use ILuaEnvironment interface
8 years ago
Christopher
cc4406a8fb
Change all public properties to use virtual
8 years ago
Christopher
ce92029918
Refactored comments
8 years ago