chrisgregan
b616f72548
Added Else If command #77
10 years ago
chrisgregan
d72f92b959
Changes to make it easier to add new conditional commands
10 years ago
chrisgregan
4ecee9c332
Improve efficiency of executing next command in a Sequence #76
...
Switched to use command indices instead of scanning the command list to
find the current command.
10 years ago
chrisgregan
ce9b6de524
Refactored command indenting control functions
10 years ago
chrisgregan
944ada64a1
Change #68 Replace Save/Load Globals with Save/Load Variable
...
Added custom property drawer for Variable properties.
Updated If, Set Variable, etc. to use new property drawer.
Added new Set Save Profile, Save Variable, Load Variable & Delete Save
Key commands.
10 years ago
chrisgregan
a5857c6abb
Change #72 Replace End If command with End command
10 years ago
chrisgregan
0803b8b73a
Fix #71 Hide Fungus commands, event handlers, etc. in Component menu
10 years ago
chrisgregan
e21ce0a0e0
Fix #67 Replaced global variables with public / private variables
...
Changed layout of Variables window to support editable value
Public variables in other FungusScripts appear in the variable picker
popup menu.
Variables now have a public value property and remember their starting
value for when they are reset.
Disabled LoadGlobals / SaveGlobals commands.
Changed all variable classes to use simple public value variable.
Added FungusScript.GetPublicVariables()
Deleted GlobalVariables class.
Added Variables test scene
10 years ago
chrisgregan
5f6ce88506
Reorganized Commands and EventHandlers under Scripts folders
10 years ago
chrisgregan
e7938219a4
Added tooltips for all Fungus command properties
10 years ago
chrisgregan
f4adbe631d
Fixed copy and paste bug with StringData, etc.
...
Changed these classes to structs instead of classes so they’d be copied
by value rather than by reference when pasting.
10 years ago
chrisgregan
4401060c61
Fix #46 - commands now store reference to their parent sequence
...
The reference to the parent sequence is only populate at runtime, so
don’t try to use it in custom editors, etc.
10 years ago
chrisgregan
e968bfd507
Refactored GetFungusScript() and GetSequence()
10 years ago
chrisgregan
95a5f79b9c
Renamed Fungus.Script namespace to Fungus
10 years ago
chrisgregan
64cf2c346e
Renamed FungusVariable to Variable
10 years ago
chrisgregan
62aaaf6011
Renamed FungusCommand to Command
10 years ago
chrisgregan
db928d3a33
Command colours are specified in a virtual function
10 years ago
chrisgregan
2efceb62ea
Implemented If, Else, EndIf logic
10 years ago
chrisgregan
240bf9667b
Initial If, Else & EndIf commands with indenting
10 years ago
chrisgregan
716e883ef2
Added command button colours
10 years ago
chrisgregan
74db43f463
Unified CommandInfo attribute
10 years ago
chrisgregan
585efc2526
Added command categories
10 years ago
chrisgregan
f82dbe631e
Moved commands into own folder
10 years ago
chrisgregan
efee8e808b
Command error messages and enabled checkbox.
10 years ago
chrisgregan
e6b845a99f
Fungus2 code reorg
10 years ago
chrisgregan
6d1f691557
Improved summary for If command
10 years ago
chrisgregan
f1ecf17182
Highlight active variable
10 years ago
chrisgregan
c0f1ed9d0e
Split Call command into Call and If
10 years ago
chrisgregan
e346683e20
Fixed null reference errors
10 years ago
chrisgregan
93836f860b
AddCommand button and help text
10 years ago
chrisgregan
4421d477c4
Option description and <Continue> instead of <None>
10 years ago
chrisgregan
c26e81a40c
Improved button layout, using foldout
10 years ago
chrisgregan
3703c53276
Commands are now listed in inspector
10 years ago
chrisgregan
39258bae2b
Renamed Jump to Call
10 years ago
chrisgregan
d6ceaa21c9
Set and Jump use BooleanData, IntegerData, etc.
10 years ago
chrisgregan
239b9e7416
Pick variable or constant value
10 years ago
chrisgregan
5b725896a3
Variables are now components
10 years ago
chrisgregan
e379e5b597
Added Global flag to Variable
10 years ago
chrisgregan
a4415af01a
Added Jump command
10 years ago
chrisgregan
1f78a48a3b
Merged Compare and Jump commands
10 years ago
chrisgregan
508b31d9a5
Renamed SetVariable and Execute commands
10 years ago
chrisgregan
c13fc82fb0
Shortened command class names.
10 years ago
chrisgregan
d0c2e9c961
Moved new visual scripting code to its own namespace
10 years ago
chrisgregan
f27648f060
Replaced OnExecute() with OnEnter()
10 years ago
chrisgregan
25a103fb4c
Initial visual scripting prototype code
10 years ago