Commit Graph

  • 6aa1a82a8f Initial import. Florian 2010-08-27 19:51:36 +00:00
  • 248e5f6c30 git-svn-id: svn://localhost@227 8062f311-0dae-4547-b526-b8ab9ac864a5 Florian 2010-08-27 19:51:27 +00:00
  • 3b6236fd38 Corrected color refreshing. Florian 2010-08-27 17:40:32 +00:00
  • 655d45fb44 Corrected SetAngle when using direction and negative angles. Corrected automatism button name in conditions. Florian 2010-08-27 17:40:14 +00:00
  • 4bff1adc1e Corrected sprite number reseted to 0 when animation or direction were changed to the same animation/direction. Added automatism support in EditExpression/EditTextDialog. Florian 2010-08-26 13:32:41 +00:00
  • bd7f6cef16 Adapated to ImageManager changes. Made search non sensible to case. Florian 2010-08-23 13:16:55 +00:00
  • 1e1f28144f Image manager use now smart pointers to sf::Image, so as to automatically load/unload images when needed. RuntimeGame uses now a smart pointer to ImageManager, so as to allow sharing Image Managers. Refactored Sprite class. Make search non sensible to case. Florian 2010-08-23 13:16:03 +00:00
  • 783e44b93f Adapted to ImageManager changes. Florian 2010-08-23 13:11:50 +00:00
  • 35fa48f59d Added staticBody to runtime shared datas. ( Used for joints ). Added joints. Use now GetScaleX/Y() to access scaleX and scaleY. Also added GetInvScaleX/Y() to speed up inverse computation. Florian 2010-08-23 12:36:43 +00:00
  • d4ec12209d Adapted to ImageManager changes. Florian 2010-08-23 12:34:25 +00:00
  • 32b9d47b9f Corrected bad placement of object. Florian 2010-08-23 12:34:06 +00:00
  • 9ce54cd771 Reorganized file actions/conditions. Florian 2010-08-20 15:39:40 +00:00
  • 3a5e49f89a Added LoadFile and UnloadFile actions. Florian 2010-08-20 14:56:37 +00:00
  • 0772f8e366 Minor adaptation. Florian 2010-08-19 16:33:21 +00:00
  • 2891779c35 Adapted to new SFML version. Florian 2010-08-19 16:33:01 +00:00
  • 9db979c9ee Adapted to new ImageManager. Florian 2010-08-19 16:32:46 +00:00
  • 64ee08414f Code cleanup Florian 2010-08-19 16:32:24 +00:00
  • d580b2f13b Last commit didn't compile. Florian 2010-08-19 16:31:52 +00:00
  • 3e8d193c93 Added LaunchFunctionFromExpression. Florian 2010-08-19 16:31:22 +00:00
  • bf46bf1df3 Added contact listener and collision condition. Begin to add joints actions. Florian 2010-08-19 16:30:48 +00:00
  • 035546af59 Added members to scenes to modify openGL perspective. Added ability to disable events. Corrected crash and bad display of sprites. Modified Instruction::GetParameter for efficency. Added GetParameterSafely. Florian 2010-08-19 16:28:39 +00:00
  • f1ac740ad8 Added members to scenes to modify openGL perspective. Added ability to disable events. Corrected crash and bad display of sprites. Modified Instruction::GetParameter for efficency. Added GetParameterSafely. Florian 2010-08-19 16:28:03 +00:00
  • 0f8b61b814 Important changes in Sprite object : Use now "float currentAngle" when dealing with a direction using automatic rotation, and "unsigned int currentDirection" with a "normal" direction. ( Using a floating point allow to have a precise angle, which is particularly needed with the physics automatism for example. ) Some coding cleaning and refactoring in Sprite object. Added GetAsBool() to GDExpression. Florian 2010-08-17 15:02:12 +00:00
  • 1b01b2161e Corrected rectangle drawing. Florian 2010-08-13 16:43:32 +00:00
  • a4c8010079 Corrected selection rectangle. Florian 2010-08-13 16:43:20 +00:00
  • 456416a933 Adapted code for last SFML revision. Corrected typo. Florian 2010-08-12 19:00:57 +00:00
  • 5ef41a4eba Adapted code for last SFML revision. Florian 2010-08-12 19:00:32 +00:00
  • 53d5629e06 Added condition selection based upon object. Added support for automatism type parameters. Florian 2010-08-12 09:29:07 +00:00
  • 773374c37a Removed call to "fast sqrt" which is slower at builtin sqrt. Added automatism parameter type and removed useless code in TranslateAction/Condition. Added ChooseAutomatism Dialog. Florian 2010-08-12 09:27:33 +00:00
  • b07b4b76e1 Added action selection based upon object. Florian 2010-08-10 21:18:13 +00:00
  • f0c6a66823 Moved refreshing of lists of objects to a separate class, to allow easy implementation of objects lists in other dialog than ChooseObject. Florian 2010-08-10 21:17:43 +00:00
  • a1a29cd16a Updated to reflect Image manager changes. Florian 2010-08-09 17:16:00 +00:00
  • 86046579df Added conditions, expressions and some actions. Updated to reflect changes added to automatisms. Florian 2010-08-09 17:13:32 +00:00
  • 5f8d5cc872 Major changes in automatisms : Automatisms have now their own name, and are identified by this name, allowing to use multiple automatisms of same type in objects. Note that automatism actions/conditions must have as second parameter the automatism, and that automatisms expression use the following C++ like syntax : Object.AutomatismName::Expression(parameters...) Florian 2010-08-09 17:12:50 +00:00
  • ec8067bcbc Major changes in automatisms : Automatisms have now their own name, and are identified by this name, allowing to use multiple automatisms of same type in objects. Note that automatism actions/conditions must have as second parameter the automatism, and that automatisms expression use the following C++ like syntax : Object.AutomatismName::Expression(parameters...) Florian 2010-08-09 17:12:39 +00:00
  • bc8ee91a77 Tried to start to implement expression for automatisms. Florian 2010-08-08 12:17:31 +00:00
  • c5e5e0336d Implemented copy/cut/pasting for groups. Corrected layer without camera when adding a layer. Added a boolean to indicate to ChooseLayer dialog if it must add quotes or not. Modified Image manager to load images on demand. Florian 2010-08-07 20:23:52 +00:00
  • 0c66f5b0cb Modified Image manager so as to load images on demand. Florian 2010-08-07 20:22:06 +00:00
  • bc166889d2 Corrected layer choice. Changed opacity from int to float. Some optimizations in ObjectsConcerned. Florian 2010-08-05 14:33:45 +00:00
  • 244e022ae3 Changed opacity from int to float. Florian 2010-08-05 14:32:50 +00:00
  • 73d37fca3d Changed opacity from int to float. Florian 2010-08-05 14:32:43 +00:00
  • 020d02989b Added filters parameter to open file. Florian 2010-08-04 14:23:11 +00:00
  • 5f1e2a0490 Code cleanup Florian 2010-07-26 22:42:28 +00:00
  • f1e992b452 Code cleanup. Removed Saving functions from runtime only build. Florian 2010-07-26 22:42:17 +00:00
  • 56004a923e Updated to use the new method for sharing datas between automatisms. Added Saving and Loading to xml. Florian 2010-07-26 20:04:23 +00:00
  • b866cfd2c4 Added support for automatisms. Florian 2010-07-26 20:03:47 +00:00
  • 9d5f6a3049 Changed method for sharing datas between automatisms : Scene and RuntimeScene owns a map allowing to add and access to shared datas, which are declared in another class ( inheriting from AutomatismsSharedDatas and AutomatismsRuntimeSharedDatas at runtime ). Florian 2010-07-26 20:03:00 +00:00
  • 2ebca9362e Added a reference to the Scene loaded when initializing automatisms. Florian 2010-07-25 10:03:35 +00:00
  • 0667c08866 Added a reference to the Scene loaded when initializing automatisms. Florian 2010-07-25 09:59:43 +00:00
  • 0b33250b7c Corrected return type error in ToFloat and ToDouble. Added function to get information about an automatism in ExtensionsManager. Florian 2010-07-23 10:43:58 +00:00
  • f78e1c7ac3 Added main parts and some actions/conditions. Florian 2010-07-22 19:44:32 +00:00
  • 91714e0651 Added automatisms. Changed parameter type "objet" to "object" Florian 2010-07-22 19:43:44 +00:00
  • 68c1f39511 Initial import. Florian 2010-07-17 19:22:58 +00:00
  • 86243a472b git-svn-id: svn://localhost@175 8062f311-0dae-4547-b526-b8ab9ac864a5 Florian 2010-07-17 19:22:33 +00:00
  • 0a66e3837f Added deletion of external events editor of a game when closing this game. Temporary commented code concerning serialization. Florian 2010-07-09 19:48:50 +00:00
  • 2a10e2b285 Temporary commented serialization code. Florian 2010-07-09 19:48:07 +00:00
  • 58cca26449 Effective reload of all game dumped after a crash. Code cleanup. Florian 2010-07-08 14:30:15 +00:00
  • 61898b2323 Added AND condition. Test for fixing bugs with fonts : sf::Fonts opened from memory need to have their buffer alive, which was not the case before. For now, I have just allocated a new buffer for each font, but this buffer should be moved and managed by a dedicated class, as Musics. Florian 2010-07-08 14:19:34 +00:00
  • acfa3e177c Last commit still failed to build. Florian 2010-07-07 21:05:58 +00:00
  • 807facd6fc Last commit failed to build. Florian 2010-07-07 20:42:00 +00:00
  • 34beed129d Compilation uses now ResourcesMergingHelper to inventory resources. Florian 2010-07-07 20:41:02 +00:00
  • 866e26c898 Added ResourcesMergingHelper, a class meant to inventory and prepare filename of resources to merging. Florian 2010-07-07 20:38:09 +00:00
  • dafbeeb464 Corrected ActSetWindowSize ( don't change game windowHeight and windowWidth, which would be better called defaultCameraHeight/Width ). Added icon to window extension expressions. Florian 2010-07-07 17:22:32 +00:00
  • da3b760cf8 Began to implement ExternalEvents. Florian 2010-07-07 16:21:26 +00:00
  • e0dfca037b Corrected freeze with expression with call to a valid function without parenthesis. Began to implement ExternalEvents. Began to add serialization to events. Florian 2010-07-07 16:20:54 +00:00
  • 2fda7b165c Minor layout change. Florian 2010-06-30 19:45:21 +00:00
  • c33ef4b17f Added "Any key is pressed" and "A key is pressed ( text expression )" conditions. Florian 2010-06-30 19:45:03 +00:00
  • 8cc9609ba8 Corrected display of While events. Florian 2010-06-30 16:38:05 +00:00
  • ca41da2eac Corrected non refreshing of variable after deleting when choosing a variable. Florian 2010-06-29 16:56:47 +00:00
  • e0f91c9b03 Corrected adaptation of old games. Corrected expressions using layers. Florian 2010-06-25 11:46:04 +00:00
  • 8c143a7cf4 Corrected non updating of height of events after modifications. Florian 2010-06-20 20:52:05 +00:00
  • a1a6f14a16 Updated VC++ project. Florian 2010-06-20 20:51:35 +00:00
  • e2a958e9ae Code and files cleaning Florian 2010-06-20 20:51:17 +00:00
  • b708eeecf6 Code and files cleaning Florian 2010-06-18 21:36:03 +00:00
  • d219ed0347 Corrected save of fill opacity. Florian 2010-06-18 15:11:04 +00:00
  • dca7e8549a Minor changes. Florian 2010-06-18 15:08:22 +00:00
  • deb7edffbb Corrected "Send datas" action. Florian 2010-06-18 14:57:03 +00:00
  • f68d9f447c Added check for layers. Florian 2010-06-18 14:39:23 +00:00
  • 4ecfc1738f Corrected Time expression and return value of ChooseLayer. Florian 2010-06-18 14:37:39 +00:00
  • 36470760e9 Started add FlipX/FlipY actions. Added adaptation code for parameters of type "layers" of old games. Florian 2010-06-15 20:28:59 +00:00
  • 7a4c977fc0 Corrected crash with string objects expressions when no objects were available. Florian 2010-06-13 20:21:18 +00:00
  • 4915581210 Deleted caching of rendered event : Needed too much memory. Added framerate limit with external window preview. Florian 2010-06-13 19:09:39 +00:00
  • 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. Florian 2010-06-13 19:06:09 +00:00
  • 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. Florian 2010-06-11 21:35:52 +00:00
  • cae8b4fc36 Added text box for parameter without type Florian 2010-06-11 21:34:18 +00:00
  • 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. Florian 2010-06-08 18:16:05 +00:00
  • 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. Florian 2010-06-08 18:12:04 +00:00
  • 49838dd962 Changed to capital letter the first letter of expressions. Florian 2010-06-06 18:26:38 +00:00
  • c9f5f5c6c3 Changed to capital letter the first letter of expressions. Florian 2010-06-06 18:26:28 +00:00
  • e0ac3bed54 Changed an icon. Florian 2010-06-06 18:25:55 +00:00
  • 20354d97ab Changed all "texte" parameters to "text". Florian 2010-06-06 18:25:41 +00:00
  • 5a67006342 Changed CurrentFunctionParameter to Parameter. Florian 2010-06-06 18:25:11 +00:00
  • 8d5995c5d1 Corrected bug when parameters of a function were invalid. Corrected pointX and pointY expressions : Point parameters are not texts. Corrected some warnings. Florian 2010-06-05 21:21:41 +00:00
  • d4fb7d4f87 Added Check for invalid names. Florian 2010-06-04 19:25:35 +00:00
  • 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. Florian 2010-06-04 19:19:33 +00:00
  • 3407e73a6d All text boxes were displayed in dialog for choosing a template. Florian 2010-06-02 18:06:59 +00:00
  • 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 ) Florian 2010-06-02 18:06:34 +00:00
  • f0e42a64e6 Added support for parameters. Florian 2010-06-02 18:04:21 +00:00
  • d3bb26535c Added global objects and global groups support to merging. Florian 2010-05-30 11:54:42 +00:00
  • 5e64d0cfdb Modifications for new expression system. Florian 2010-05-29 22:11:27 +00:00