9796 Commits

Author SHA1 Message Date
Florian
4b25d8973b Deleted caching of rendered event : Needed too much memory.
EditorImages now connect their events when they gain focus.
Tried to change force so as to use std::complex : Slower.

git-svn-id: svn://localhost@146 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-13 19:06:09 +00:00
Florian
8f5831b80b Added Undo/Redo to scene editors.
Suppressed warning in SceneCanvas.
Corrected non refreshing of ribbon when changing page in editors notebook.
Added explanation text in Extensions Dialog.

git-svn-id: svn://localhost@145 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-11 21:35:52 +00:00
Florian
cae8b4fc36 Added text box for parameter without type
git-svn-id: svn://localhost@144 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-11 21:34:18 +00:00
Florian
9a5bc8de09 Added check for validity of parameters in ChoixCondition and ChoixAction dialogs.
Automatically add quotes when choosing a color or a file.
Suppressed some warnings.

git-svn-id: svn://localhost@143 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-08 18:16:05 +00:00
Florian
8387338683 Action for displaying text didn't interpret color parameter as a text expression.
Corrected VariableString expression name.
Corrected replacement of " by \" when opening a legacy game.
Added icon to EditTextDialog.
Added BuiltinStringInstructions to initial extensions of games.

git-svn-id: svn://localhost@142 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-08 18:12:04 +00:00
Florian
49838dd962 Changed to capital letter the first letter of expressions.
git-svn-id: svn://localhost@141 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-06 18:26:38 +00:00
Florian
c9f5f5c6c3 Changed to capital letter the first letter of expressions.
git-svn-id: svn://localhost@140 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-06 18:26:28 +00:00
Florian
e0ac3bed54 Changed an icon.
git-svn-id: svn://localhost@139 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-06 18:25:55 +00:00
Florian
20354d97ab Changed all "texte" parameters to "text".
git-svn-id: svn://localhost@138 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-06 18:25:41 +00:00
Florian
5a67006342 Changed CurrentFunctionParameter to Parameter.
git-svn-id: svn://localhost@137 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-06 18:25:11 +00:00
Florian
8d5995c5d1 Corrected bug when parameters of a function were invalid.
Corrected pointX and pointY expressions : Point parameters are not texts.
Corrected some warnings.

git-svn-id: svn://localhost@136 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-05 21:21:41 +00:00
Florian
d4fb7d4f87 Added Check for invalid names.
git-svn-id: svn://localhost@135 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-04 19:25:35 +00:00
Florian
7237a98aa6 Modified all expressions to add a capital letter.
Removed tilde ( ~ ) from separation character in math expressions.
Added missing parameters to legacy Anim and Direc expressions.

git-svn-id: svn://localhost@134 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-04 19:19:33 +00:00
Florian
3407e73a6d All text boxes were displayed in dialog for choosing a template.
git-svn-id: svn://localhost@133 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-02 18:06:59 +00:00
Florian
f0df03e009 Added some #ifdef and made some changes so as to properly compile in non edittime mode.
Try to delete call to sf::Text without passing it a font. ( So as to suppress crash due to SFML instancing the default font. Does not seems to work )


git-svn-id: svn://localhost@132 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-02 18:06:34 +00:00
Florian
f0e42a64e6 Added support for parameters.
git-svn-id: svn://localhost@131 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-02 18:04:21 +00:00
Florian
d3bb26535c Added global objects and global groups support to merging.
git-svn-id: svn://localhost@130 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-30 11:54:42 +00:00
Florian
5e64d0cfdb Modifications for new expression system.
git-svn-id: svn://localhost@129 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-29 22:11:27 +00:00
Florian
d5b454d569 Modifications for new expression system.
git-svn-id: svn://localhost@128 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-29 22:11:20 +00:00
Florian
44dce2733f Modifications for new expression system.
git-svn-id: svn://localhost@127 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-29 22:11:12 +00:00
Florian
23ca61b41f Modifications for new expression system.
git-svn-id: svn://localhost@126 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-29 22:11:04 +00:00
Florian
047512f828 Initial import of Function extension.
git-svn-id: svn://localhost@125 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-29 22:10:23 +00:00
Florian
ea405169e5 git-svn-id: svn://localhost@124 8062f311-0dae-4547-b526-b8ab9ac864a5 2010-05-29 22:10:05 +00:00
Florian
c518dd2205 Corrected click position detection with sub events.
git-svn-id: svn://localhost@123 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-29 11:38:44 +00:00
Florian
961f960467 Refresh buttons really refresh images in images editor.
Corrected glitch when rendering sub instructions.

git-svn-id: svn://localhost@122 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-29 11:38:22 +00:00
Florian
b1db335761 Corrected infinite loop when extending the scrollbars.
Added selection rectangle in scene editor.

git-svn-id: svn://localhost@121 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-28 21:23:43 +00:00
Florian
a91877ba4e Added new string manipulation expressions.
git-svn-id: svn://localhost@120 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-28 21:23:06 +00:00
Florian
e3d81a0da4 Added directional keys support for moving objects in scene editor.
git-svn-id: svn://localhost@119 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-27 19:49:31 +00:00
Florian
e26713e509 Added StringInstructionsExtension for string manipulations.
Added real functions for getting text of variables.
Added EditTextDialog and ChooseVariableDialog to GDL
Commited new files that were not commited the last time.

git-svn-id: svn://localhost@118 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-27 19:39:21 +00:00
Florian
9f94424613 Moved EditTexte and ChoixVariableDialog to GDL.
Real time updating of scene when scrolling with a scrollbar

git-svn-id: svn://localhost@117 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-27 19:37:05 +00:00
Florian
37753f8170 Moved ChoixLayer to GDL ( ChooseLayer ).
Added unit tests for expressions.
Started modifying text expression editor.

git-svn-id: svn://localhost@116 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-24 20:07:19 +00:00
Florian
1e7c98bbe1 Ended support of new expressions. ( Still need to refactor a bit GDExpression.cpp )
Started conversion of old expressions during loading of a game ( Still need to add conversion for text expressions ).
Declared some parameters optional so as to conform to new expression system.
Sprite objects : Added action and condition for blending mode
Renamed all "texte" parameters type in "text".
Created new CreateByName action, so as to create object using an expression for the name of the object
ExtensionManager : GetObjectExpressionInfos now check also for expressions relatives to base object.

git-svn-id: svn://localhost@115 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-24 20:06:17 +00:00
Florian
91e2ebba7b Some changes to use new CommonTools.h instead of old algo.h/StdAlgo.h
Simple test of checking the validity of a text.
Corrected non verification of validity of event to paste.

git-svn-id: svn://localhost@114 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-17 19:20:40 +00:00
Florian
a9306f95ca Finished support of new style of text expressions.
Renamed PreprocessExpressions to PrepareForEvaluation, using now Scene and not RuntimeScene.
Merged algos in CommonTools.h ( Really commited )

git-svn-id: svn://localhost@113 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-17 19:18:52 +00:00
Florian
9314709836 Replaced all actions/conditions functions with RuntimeScene& instead of RuntimeScene*.
Removed Evaluateur class.
Added support for new style of expressions.
Added String expressions functions.
Started support of new style of text expressions.
Merged algos in CommonTools.h

git-svn-id: svn://localhost@112 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-15 22:49:09 +00:00
Florian
62e6795356 Converted all eval.EvalExp([...]) to [...].GetAsMathExpressionResult(scene, objectsConcerned [...])
git-svn-id: svn://localhost@111 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-12 22:45:23 +00:00
Florian
f961f50547 Corrected case in gd-logo.png
Corrected bad size of preview window.

git-svn-id: svn://localhost@110 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-12 19:48:37 +00:00
Florian
d8912642e1 Started implementing new expression evaluation system.
git-svn-id: svn://localhost@109 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-12 19:47:39 +00:00
Florian
47c38f2c9f Changed all SetValue to ChangeValue, so as to prevent bugs with GTK on linux.
Some adaptations so as to compile on linux.

git-svn-id: svn://localhost@108 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-08 19:56:57 +00:00
Florian
ffeeadf22e Changed all SetValue to ChangeValue, so as to prevent bugs with GTK on linux.
git-svn-id: svn://localhost@107 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-08 19:56:26 +00:00
Florian
5d11ba7c0c git-svn-id: svn://localhost@106 8062f311-0dae-4547-b526-b8ab9ac864a5 2010-05-06 17:42:08 +00:00
Florian
2044f15b7c git-svn-id: svn://localhost@105 8062f311-0dae-4547-b526-b8ab9ac864a5 2010-05-06 17:39:02 +00:00
Florian
f82d8a5696 git-svn-id: svn://localhost@104 8062f311-0dae-4547-b526-b8ab9ac864a5 2010-05-06 17:38:54 +00:00
Florian
e33fd350c6 Corrected undo/redo.
git-svn-id: svn://localhost@103 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-30 22:48:27 +00:00
Florian
eddf4111eb Added tool function for vector of events.
git-svn-id: svn://localhost@102 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-30 22:48:04 +00:00
Florian
17a4a17651 Corrected bad copy of events.
Corrected deletion of objects in debugger
Corrected deselection of sub instructions
Added error messages.
Removed dependence to legacy AppelEvent.h file

git-svn-id: svn://localhost@101 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-29 18:15:53 +00:00
Florian
97ea245e73 Added description for OR and NOT conditions.
Corrected crash when preprocessing non-executable events at the end of the list.
GetConditionAt and GetActionAt handle now sub instructions

git-svn-id: svn://localhost@100 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-27 18:52:36 +00:00
Florian
b967d2b124 Suppressed legacy advanced actions and conditions.
Added GUI warnings when loading bad extensions.
Improved error messages when loading bad extensions.
Added missing default values for IsLocal and IsInverted to some constructors of Instruction.
Added NOT condition.
Added saving of subactions/subconditions.
Added support for loading legacy while condition with False in parameter.

git-svn-id: svn://localhost@99 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-23 19:54:12 +00:00
Florian
84e1acff59 EditOptionsPosition dialog handles now correctly global objects when updating object-specific position information.
git-svn-id: svn://localhost@98 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-22 22:51:21 +00:00
Florian
eb9e46d0f6 Added information about variable in the action displaying a Yes No Messagebox.
Corrected OpenFile window changing the current working directory ( Windows only )

git-svn-id: svn://localhost@97 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-22 21:02:20 +00:00