9796 Commits

Author SHA1 Message Date
Florian
da55505f0e Corrected LinkEvent modifying itself during Preprocessing
Corrected OpenFile window changing the working directory ( Windows only )
Corrected StandardEvent::Init function

git-svn-id: svn://localhost@96 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-22 21:00:26 +00:00
Florian
70798f7ca5 Added global groups to ChooseObject dialog.
git-svn-id: svn://localhost@95 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-21 21:30:35 +00:00
Florian
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.

git-svn-id: svn://localhost@94 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-21 21:04:09 +00:00
Florian
6573252a17 Added global object groups.
git-svn-id: svn://localhost@93 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-21 21:02:45 +00:00
Florian
1a6981dc1b Removed ChoixObjet from IDE, moved to GDL ( with name ChooseObject )
Moved EditExpression to GDL.

git-svn-id: svn://localhost@92 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-21 19:15:58 +00:00
Florian
c4c8a0b3ff Finished ForEach and Repeat event edit dialogs.
Moved EditExpression and ChooseObject dialogs to GDL.

git-svn-id: svn://localhost@91 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-21 19:14:57 +00:00
Florian
9e8f908222 Moved editors of events to GDL.
Rendering and hit test of events are made by events themselves now.

git-svn-id: svn://localhost@90 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-20 21:08:33 +00:00
Florian
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

git-svn-id: svn://localhost@89 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-20 21:07:48 +00:00
Florian
8506fd9a69 Suppressed events renderers, as events renders now themselves.
Moved TranslateAction/Condition from the IDE to GDL.

git-svn-id: svn://localhost@88 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-14 20:59:26 +00:00
Florian
6e5434f49e Added TranslateAction/Condition and EventsRenderingHelper to GDL.cbp
Events renders now themselves.

git-svn-id: svn://localhost@87 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-14 20:53:50 +00:00
Florian
0184190c20 Completed adapter for legacy event of Game Develop 1.3.8892 and inferior
git-svn-id: svn://localhost@86 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-12 19:46:44 +00:00
Florian
726e7a35c5 Adapted code for new event system.
Adapted TemplateEvents for an unlimited number of parameters.

TODO :
Move editors of the events to an Edit function owned by events, like Objects.
Move renderers of the events inside the events ( a Render function )


git-svn-id: svn://localhost@85 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-09 21:52:59 +00:00
Florian
a7539488db Added empty event.
Added support for legacy OR events.

TODO :
Support for legacy While/Repeat/ForEach event
Delete non-executable events from event list at loading.

git-svn-id: svn://localhost@84 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-09 21:50:28 +00:00
Florian
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

git-svn-id: svn://localhost@83 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-05 18:43:30 +00:00
Florian
156e4aaa57 Debugger display now address of objects instead of their identifier in a temporary object list.
git-svn-id: svn://localhost@82 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-04 19:14:19 +00:00
Florian
cfc7ae9ff2 Adapted code for using new ListVariable class.
git-svn-id: svn://localhost@81 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-04 16:53:57 +00:00
Florian
e5b30c5de9 Added RemoveVariable function to ListVariable.
git-svn-id: svn://localhost@80 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-04 16:53:01 +00:00
Florian
be6457a032 Little changes due to the new ListVariable class.
git-svn-id: svn://localhost@79 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-03 16:47:09 +00:00
Florian
d0241388fa Improved ListVariable class.
git-svn-id: svn://localhost@78 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-03 16:44:53 +00:00
Florian
aaecf4cd25 Corrected : Don't add an object without a name to a group.
git-svn-id: svn://localhost@77 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-03 13:59:17 +00:00
Florian
136fb15cd1 Completed support for subinstructions.
Added Common Instruction "OR".

git-svn-id: svn://localhost@76 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-03 13:58:21 +00:00
Florian
8a2223a16c Corrected inactive buttons in object editor.
git-svn-id: svn://localhost@75 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-04-02 19:49:00 +00:00
Florian
13473d5324 Make sure cameras size are correct, even if they use default size.
git-svn-id: svn://localhost@74 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-03-23 21:08:40 +00:00
Florian
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.

git-svn-id: svn://localhost@73 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-03-21 16:56:24 +00:00
Florian
bd750a7068 Corrected CondAngleOfDisplacement and CondSeDirige.
Corrected ActEnvoiDataNet on Windows by adding quotes.

git-svn-id: svn://localhost@72 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-03-21 16:54:20 +00:00
Florian
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.

git-svn-id: svn://localhost@71 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-03-18 19:02:18 +00:00
Florian
ab2b0046b1 Corrected ActZoomCamera.
Added a minimal size for Images bank editor in Sprite Object editor.

git-svn-id: svn://localhost@70 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-03-17 18:53:13 +00:00
Florian
fc4a1a5de9 Added gl calls to support alpha blending.
git-svn-id: svn://localhost@69 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-03-13 11:02:16 +00:00
Florian
e2a588931c Modified events editor so as to allow direct edition of actions and conditions.
git-svn-id: svn://localhost@68 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-03-13 11:01:33 +00:00
Florian
9438b43e11 ActFixCamera layer and camera parameters were not used.
Removed useless glViewport

git-svn-id: svn://localhost@67 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-03-13 10:59:52 +00:00
Florian
933b668a5c Added comments
git-svn-id: svn://localhost@66 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-03-07 20:34:24 +00:00
Florian
8dbe5d57f5 Added comments
git-svn-id: svn://localhost@65 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-03-07 20:34:03 +00:00
Florian
61711ee7f2 Added comments
git-svn-id: svn://localhost@64 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-03-07 20:27:30 +00:00
Florian
86654ac797 Added comments
git-svn-id: svn://localhost@63 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-03-07 20:27:20 +00:00
Florian
0d6a988491 Initial import
git-svn-id: svn://localhost@62 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-03-07 20:24:15 +00:00
Florian
613d76660f git-svn-id: svn://localhost@61 8062f311-0dae-4547-b526-b8ab9ac864a5 2010-03-07 20:22:11 +00:00
Florian
b8609ba825 Modified files copyright.
(Work in progress) Modified EditorEvents so as to permit direct edition of conditions and actions 

git-svn-id: svn://localhost@60 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-03-07 20:21:35 +00:00
Florian
8513b72732 Added comments and modified files copyright.
git-svn-id: svn://localhost@59 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-03-07 20:20:35 +00:00
Florian
0bf8fcd895 Corrected action ActLaunchFile under windows.
GUI actions use now natives dialogs under windows.
SpriteObject check for the existence of its thumbnail.


git-svn-id: svn://localhost@58 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-03-02 19:36:17 +00:00
Florian
9d7d60f630 Corrected values in debugger incorrectly displayed.
git-svn-id: svn://localhost@57 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-02-26 21:57:09 +00:00
Florian
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.

git-svn-id: svn://localhost@56 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-02-26 21:56:47 +00:00
Florian
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.

git-svn-id: svn://localhost@55 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-02-26 21:55:20 +00:00
Florian
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

git-svn-id: svn://localhost@54 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-02-24 23:50:07 +00:00
Florian
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.

git-svn-id: svn://localhost@53 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-02-24 23:47:29 +00:00
Florian
c841927184 EditorImage adapt splitter orientation according to the width of the editor.
Camera/layers actions/conditions display now layer name and camera number.

git-svn-id: svn://localhost@52 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-02-24 13:26:13 +00:00
Florian
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 ).

git-svn-id: svn://localhost@51 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-02-23 20:38:19 +00:00
Florian
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 ).

git-svn-id: svn://localhost@50 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-02-21 18:48:08 +00:00
Florian
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.

git-svn-id: svn://localhost@49 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-02-21 18:46:29 +00:00
Florian
0ac0baf99d Modified EditLayer dialog so as to edit multiples cameras.
Started creation of a ProjectManager and support for multiples games.

git-svn-id: svn://localhost@48 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-02-17 20:04:55 +00:00
Florian
5170be7820 Finalized support of multiples camera for layers.
Added actions/conditions for layer visibility.

git-svn-id: svn://localhost@47 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-02-17 20:03:56 +00:00