Commit Graph

  • d5b454d569 Modifications for new expression system. Florian 2010-05-29 22:11:20 +00:00
  • 44dce2733f Modifications for new expression system. Florian 2010-05-29 22:11:12 +00:00
  • 23ca61b41f Modifications for new expression system. Florian 2010-05-29 22:11:04 +00:00
  • 047512f828 Initial import of Function extension. Florian 2010-05-29 22:10:23 +00:00
  • ea405169e5 git-svn-id: svn://localhost@124 8062f311-0dae-4547-b526-b8ab9ac864a5 Florian 2010-05-29 22:10:05 +00:00
  • c518dd2205 Corrected click position detection with sub events. Florian 2010-05-29 11:38:44 +00:00
  • 961f960467 Refresh buttons really refresh images in images editor. Corrected glitch when rendering sub instructions. Florian 2010-05-29 11:38:22 +00:00
  • b1db335761 Corrected infinite loop when extending the scrollbars. Added selection rectangle in scene editor. Florian 2010-05-28 21:23:43 +00:00
  • a91877ba4e Added new string manipulation expressions. Florian 2010-05-28 21:23:06 +00:00
  • e3d81a0da4 Added directional keys support for moving objects in scene editor. Florian 2010-05-27 19:49:31 +00:00
  • 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. Florian 2010-05-27 19:39:21 +00:00
  • 9f94424613 Moved EditTexte and ChoixVariableDialog to GDL. Real time updating of scene when scrolling with a scrollbar Florian 2010-05-27 19:37:05 +00:00
  • 37753f8170 Moved ChoixLayer to GDL ( ChooseLayer ). Added unit tests for expressions. Started modifying text expression editor. Florian 2010-05-24 20:07:19 +00:00
  • 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. Florian 2010-05-24 20:06:17 +00:00
  • 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. Florian 2010-05-17 19:20:40 +00:00
  • 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 ) Florian 2010-05-17 19:18:52 +00:00
  • 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 Florian 2010-05-15 22:49:09 +00:00
  • 62e6795356 Converted all eval.EvalExp([...]) to [...].GetAsMathExpressionResult(scene, objectsConcerned [...]) Florian 2010-05-12 22:45:23 +00:00
  • f961f50547 Corrected case in gd-logo.png Corrected bad size of preview window. Florian 2010-05-12 19:48:37 +00:00
  • d8912642e1 Started implementing new expression evaluation system. Florian 2010-05-12 19:47:39 +00:00
  • 47c38f2c9f Changed all SetValue to ChangeValue, so as to prevent bugs with GTK on linux. Some adaptations so as to compile on linux. Florian 2010-05-08 19:56:57 +00:00
  • ffeeadf22e Changed all SetValue to ChangeValue, so as to prevent bugs with GTK on linux. Florian 2010-05-08 19:56:26 +00:00
  • 5d11ba7c0c git-svn-id: svn://localhost@106 8062f311-0dae-4547-b526-b8ab9ac864a5 Florian 2010-05-06 17:42:08 +00:00
  • 2044f15b7c git-svn-id: svn://localhost@105 8062f311-0dae-4547-b526-b8ab9ac864a5 Florian 2010-05-06 17:39:02 +00:00
  • f82d8a5696 git-svn-id: svn://localhost@104 8062f311-0dae-4547-b526-b8ab9ac864a5 Florian 2010-05-06 17:38:54 +00:00
  • e33fd350c6 Corrected undo/redo. Florian 2010-04-30 22:48:27 +00:00
  • eddf4111eb Added tool function for vector of events. Florian 2010-04-30 22:48:04 +00:00
  • 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 Florian 2010-04-29 18:15:53 +00:00
  • 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 Florian 2010-04-27 18:52:36 +00:00
  • 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. Florian 2010-04-23 19:54:12 +00:00
  • 84e1acff59 EditOptionsPosition dialog handles now correctly global objects when updating object-specific position information. Florian 2010-04-22 22:51:21 +00:00
  • eb9e46d0f6 Added information about variable in the action displaying a Yes No Messagebox. Corrected OpenFile window changing the current working directory ( Windows only ) Florian 2010-04-22 21:02:20 +00:00
  • da55505f0e Corrected LinkEvent modifying itself during Preprocessing Corrected OpenFile window changing the working directory ( Windows only ) Corrected StandardEvent::Init function Florian 2010-04-22 21:00:26 +00:00
  • 70798f7ca5 Added global groups to ChooseObject dialog. Florian 2010-04-21 21:30:35 +00:00
  • 96adebedc1 Corrected freeze occurring with debugger, when deleting an object from the tree, which could cause a freeze. Adapted Objects editor for global object groups. Florian 2010-04-21 21:04:09 +00:00
  • 6573252a17 Added global object groups. Florian 2010-04-21 21:02:45 +00:00
  • 1a6981dc1b Removed ChoixObjet from IDE, moved to GDL ( with name ChooseObject ) Moved EditExpression to GDL. Florian 2010-04-21 19:15:58 +00:00
  • c4c8a0b3ff Finished ForEach and Repeat event edit dialogs. Moved EditExpression and ChooseObject dialogs to GDL. Florian 2010-04-21 19:14:57 +00:00
  • 9e8f908222 Moved editors of events to GDL. Rendering and hit test of events are made by events themselves now. Florian 2010-04-20 21:08:33 +00:00
  • a33613a913 Created real function to go to a scene or quit game. Rendering of conditions and actions list is done in EventsRenderingHelper now. Added editors and renderers needed by certain events. Get ride of AppelEvent.cpp Florian 2010-04-20 21:07:48 +00:00
  • 8506fd9a69 Suppressed events renderers, as events renders now themselves. Moved TranslateAction/Condition from the IDE to GDL. Florian 2010-04-14 20:59:26 +00:00
  • 6e5434f49e Added TranslateAction/Condition and EventsRenderingHelper to GDL.cbp Events renders now themselves. Florian 2010-04-14 20:53:50 +00:00
  • 0184190c20 Completed adapter for legacy event of Game Develop 1.3.8892 and inferior Florian 2010-04-12 19:46:44 +00:00
  • 726e7a35c5 Adapted code for new event system. Adapted TemplateEvents for an unlimited number of parameters. Florian 2010-04-09 21:52:59 +00:00
  • a7539488db Added empty event. Added support for legacy OR events. Florian 2010-04-09 21:50:28 +00:00
  • 58cda73bc2 Lots of modifications on event system. Events derive now from a BaseEvent class. They handle now the execution of their conditions/actions. Created so StandardEvent, CommentEvent, LinkEvent, WhileEvent, ForEachEvent and RepeatEvent Florian 2010-04-05 18:43:30 +00:00
  • 156e4aaa57 Debugger display now address of objects instead of their identifier in a temporary object list. Florian 2010-04-04 19:14:19 +00:00
  • cfc7ae9ff2 Adapted code for using new ListVariable class. Florian 2010-04-04 16:53:57 +00:00
  • e5b30c5de9 Added RemoveVariable function to ListVariable. Florian 2010-04-04 16:53:01 +00:00
  • be6457a032 Little changes due to the new ListVariable class. Florian 2010-04-03 16:47:09 +00:00
  • d0241388fa Improved ListVariable class. Florian 2010-04-03 16:44:53 +00:00
  • aaecf4cd25 Corrected : Don't add an object without a name to a group. Florian 2010-04-03 13:59:17 +00:00
  • 136fb15cd1 Completed support for subinstructions. Added Common Instruction "OR". Florian 2010-04-03 13:58:21 +00:00
  • 8a2223a16c Corrected inactive buttons in object editor. Florian 2010-04-02 19:49:00 +00:00
  • 13473d5324 Make sure cameras size are correct, even if they use default size. Florian 2010-03-23 21:08:40 +00:00
  • 989bc5db86 Supressed MiniChoixObjet, EditActions and EditConditions Corrected OpenGL rendering with Edittimescene. Corrected access to certain functions like Compilation without a valid game. When adding an object, reload its resources, so as to correct a bug with global objects. Added colour change when an event is selected. Florian 2010-03-21 16:56:24 +00:00
  • bd750a7068 Corrected CondAngleOfDisplacement and CondSeDirige. Corrected ActEnvoiDataNet on Windows by adding quotes. Florian 2010-03-21 16:54:20 +00:00
  • 6a585dc021 Added actions, conditions and expressions for cameras width, height and viewport. Added conditions testing the angle of displacement of an object. Corrected condition testing the pause state of a timer. Florian 2010-03-18 19:02:18 +00:00
  • ab2b0046b1 Corrected ActZoomCamera. Added a minimal size for Images bank editor in Sprite Object editor. Florian 2010-03-17 18:53:13 +00:00
  • fc4a1a5de9 Added gl calls to support alpha blending. Florian 2010-03-13 11:02:16 +00:00
  • e2a588931c Modified events editor so as to allow direct edition of actions and conditions. Florian 2010-03-13 11:01:33 +00:00
  • 9438b43e11 ActFixCamera layer and camera parameters were not used. Removed useless glViewport Florian 2010-03-13 10:59:52 +00:00
  • 933b668a5c Added comments Florian 2010-03-07 20:34:24 +00:00
  • 8dbe5d57f5 Added comments Florian 2010-03-07 20:34:03 +00:00
  • 61711ee7f2 Added comments Florian 2010-03-07 20:27:30 +00:00
  • 86654ac797 Added comments Florian 2010-03-07 20:27:20 +00:00
  • 0d6a988491 Initial import Florian 2010-03-07 20:24:15 +00:00
  • 613d76660f git-svn-id: svn://localhost@61 8062f311-0dae-4547-b526-b8ab9ac864a5 Florian 2010-03-07 20:22:11 +00:00
  • b8609ba825 Modified files copyright. (Work in progress) Modified EditorEvents so as to permit direct edition of conditions and actions Florian 2010-03-07 20:21:35 +00:00
  • 8513b72732 Added comments and modified files copyright. Florian 2010-03-07 20:20:35 +00:00
  • 0bf8fcd895 Corrected action ActLaunchFile under windows. GUI actions use now natives dialogs under windows. SpriteObject check for the existence of its thumbnail. Florian 2010-03-02 19:36:17 +00:00
  • 9d7d60f630 Corrected values in debugger incorrectly displayed. Florian 2010-02-26 21:57:09 +00:00
  • 08c84c996c Corrected ItemData not updated when renaming a scene. Use class HelpFileAccess to access to help file. Added a language section in options. Added support for English language. Florian 2010-02-26 21:56:47 +00:00
  • 7bef95dede Returned to old versions of ObjectsConcerned : Picking must not remove already picked objects when it concern all objects. ActAjoutObjConcern and CondAjoutObjConcern are always global. Updated SFML version, so commented python binding parts which are incompatible. Added HelpFileAccess, at edittime only, for providing access to help file. Florian 2010-02-26 21:55:20 +00:00
  • 24ab016c4d Added a start here page. Added a ribbon page for projects manager. Use now imagesWereModified ( a edittime-only member of Game ) for test/set the need to reload images. Suppressed MainEditeurJeu.cpp Florian 2010-02-24 23:50:07 +00:00
  • a78aa0feac Added Visual C++ project. Supressed useless mathexpr files. Adapted ExtensionsLoader so as to work with VC++ Adapted some code so as to work with VC++ ( atan2, static_cast<float> for fabs, initialization of static const float ) Corrected oIDcomputed was not set to true in expressions -> call to GetOIDfromName at each time. This correction may create a performance boost ( as objects identifiers were intended for ), need to recompile all to test this ( Fingers crossed ! ). Corrected bug in ObjectsConcerned : When an event used PickAndRemove and was forced in global, it didn't remove objects from objectsPicked. Florian 2010-02-24 23:47:29 +00:00
  • c841927184 EditorImage adapt splitter orientation according to the width of the editor. Camera/layers actions/conditions display now layer name and camera number. Florian 2010-02-24 13:26:13 +00:00
  • 4e7bbe80b7 Corrected : Sub events were executed even if actions used a Repeat or For each action. Added camera parameters. MainEditorCommand does not manage anymore the need to reload scenes and images. ( Scenes have now a wasModified member, and Game a imagesWereModified member ). Florian 2010-02-23 20:38:19 +00:00
  • b948407903 ProjectManager is able to display and edit scenes of multiples games. Editors use now a reference to the scene edited, and not a pointer. ( As games use now a vector of shared_ptr to Scene ). Florian 2010-02-21 18:48:08 +00:00
  • 0e6dea7666 Added GetName/SetName for scenes. Added a wasModified member to scenes ( only at edittime ). Games use now a vector of shared_ptr to scenes. Florian 2010-02-21 18:46:29 +00:00
  • 0ac0baf99d Modified EditLayer dialog so as to edit multiples cameras. Started creation of a ProjectManager and support for multiples games. Florian 2010-02-17 20:04:55 +00:00
  • 5170be7820 Finalized support of multiples camera for layers. Added actions/conditions for layer visibility. Florian 2010-02-17 20:03:56 +00:00
  • cb6a5193df Added support for multiples camera with differents viewport. Corrected : When suppressing an object, it was not properly removed from ObjInstancesHolder of scene and of ObjectsConcerneds. ObjectsConcerned are now aware of its parent ( if any ), and propagate the need to delete the object to its parent. Corrected CondEstTourne. Florian 2010-02-15 19:59:27 +00:00
  • 471466e6f2 Rendering is now only dependent on View size. Florian 2010-02-14 17:40:53 +00:00
  • d0b7a15550 Deleted EditorImages. Adapted some code since Object Identifiers insertion. Florian 2010-02-14 17:39:50 +00:00
  • 3f3e6383e5 EditorImages verify if file exists. Objects are now identified during runtime with an object identifier, instead of comparing their names. Florian 2010-02-14 17:37:55 +00:00
  • 88f7b9031f Corrected include. Florian 2010-02-13 16:07:34 +00:00
  • 3e08964d97 Added RenderDialog, used instead of sf::RenderWindow when playing a scene in an externalWindow ( RenderDialog handles properly special keys ). Re-added resource.rc and icon to executable. EditorEvents insert now properly comments and links at end. Corrected single file compilation. Florian 2010-02-13 16:06:59 +00:00
  • 8130527218 Prepared Instruction to own sub-instructions. Florian 2010-02-13 16:05:02 +00:00
  • 3caf4dfc4d Corrected bad placement of TextObject during runtime. Florian 2010-02-10 17:50:35 +00:00
  • 852346872c Retired dependency with TextObject. Florian 2010-02-10 17:49:58 +00:00
  • 73c6e8583c Initial import. Florian 2010-02-10 17:49:23 +00:00
  • 29ef42caf6 git-svn-id: svn://localhost@36 8062f311-0dae-4547-b526-b8ab9ac864a5 Florian 2010-02-10 17:49:12 +00:00
  • e249f1a48e Loading screen wasn't showed. Florian 2010-02-10 17:48:26 +00:00
  • 7adaa36870 Corrected glitch in EditorObjetsGroups. Groups can now be moved. Florian 2010-02-10 17:47:59 +00:00
  • 9676be2bc4 Separated PrimitiveDrawingExtension and TextExtension. Dlib, fparser and nwidgets libs are now bundled inside GDL. Florian 2010-02-10 17:46:31 +00:00
  • 5082106a98 Initial import Florian 2010-02-08 19:40:03 +00:00
  • 9db3334dcd git-svn-id: svn://localhost@31 8062f311-0dae-4547-b526-b8ab9ac864a5 Florian 2010-02-08 19:39:42 +00:00
  • c060c425ce Corrected compilation in single file mode. Florian 2010-02-07 17:18:03 +00:00
  • b95554d3b0 Drag and drop an object to a scene placed it on correction position now. Florian 2010-02-07 12:29:43 +00:00