9796 Commits

Author SHA1 Message Date
Florian
86046579df Added conditions, expressions and some actions.
Updated to reflect changes added to automatisms.

git-svn-id: svn://localhost@196 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-08-09 17:13:32 +00:00
Florian
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...)

git-svn-id: svn://localhost@195 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-08-09 17:12:50 +00:00
Florian
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...)

git-svn-id: svn://localhost@194 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-08-09 17:12:39 +00:00
Florian
bc8ee91a77 Tried to start to implement expression for automatisms.
git-svn-id: svn://localhost@193 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-08-08 12:17:31 +00:00
Florian
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.

git-svn-id: svn://localhost@192 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-08-07 20:23:52 +00:00
Florian
0c66f5b0cb Modified Image manager so as to load images on demand.
git-svn-id: svn://localhost@191 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-08-07 20:22:06 +00:00
Florian
bc166889d2 Corrected layer choice.
Changed opacity from int to float.
Some optimizations in ObjectsConcerned.

git-svn-id: svn://localhost@190 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-08-05 14:33:45 +00:00
Florian
244e022ae3 Changed opacity from int to float.
git-svn-id: svn://localhost@189 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-08-05 14:32:50 +00:00
Florian
73d37fca3d Changed opacity from int to float.
git-svn-id: svn://localhost@188 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-08-05 14:32:43 +00:00
Florian
020d02989b Added filters parameter to open file.
git-svn-id: svn://localhost@187 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-08-04 14:23:11 +00:00
Florian
5f1e2a0490 Code cleanup
git-svn-id: svn://localhost@186 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-26 22:42:28 +00:00
Florian
f1e992b452 Code cleanup.
Removed Saving functions from runtime only build.

git-svn-id: svn://localhost@185 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-26 22:42:17 +00:00
Florian
56004a923e Updated to use the new method for sharing datas between automatisms.
Added Saving and Loading to xml.

git-svn-id: svn://localhost@184 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-26 20:04:23 +00:00
Florian
b866cfd2c4 Added support for automatisms.
git-svn-id: svn://localhost@183 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-26 20:03:47 +00:00
Florian
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 ).
git-svn-id: svn://localhost@182 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-26 20:03:00 +00:00
Florian
2ebca9362e Added a reference to the Scene loaded when initializing automatisms.
git-svn-id: svn://localhost@181 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-25 10:03:35 +00:00
Florian
0667c08866 Added a reference to the Scene loaded when initializing automatisms.
git-svn-id: svn://localhost@180 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-25 09:59:43 +00:00
Florian
0b33250b7c Corrected return type error in ToFloat and ToDouble.
Added function to get information about an automatism in ExtensionsManager.

git-svn-id: svn://localhost@179 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-23 10:43:58 +00:00
Florian
f78e1c7ac3 Added main parts and some actions/conditions.
git-svn-id: svn://localhost@178 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-22 19:44:32 +00:00
Florian
91714e0651 Added automatisms.
Changed parameter type "objet" to "object"

git-svn-id: svn://localhost@177 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-22 19:43:44 +00:00
Florian
68c1f39511 Initial import.
git-svn-id: svn://localhost@176 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-17 19:22:58 +00:00
Florian
86243a472b git-svn-id: svn://localhost@175 8062f311-0dae-4547-b526-b8ab9ac864a5 2010-07-17 19:22:33 +00:00
Florian
0a66e3837f Added deletion of external events editor of a game when closing this game.
Temporary commented code concerning serialization.

git-svn-id: svn://localhost@174 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-09 19:48:50 +00:00
Florian
2a10e2b285 Temporary commented serialization code.
git-svn-id: svn://localhost@173 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-09 19:48:07 +00:00
Florian
58cca26449 Effective reload of all game dumped after a crash.
Code cleanup.

git-svn-id: svn://localhost@172 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-08 14:30:15 +00:00
Florian
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.

git-svn-id: svn://localhost@171 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-08 14:19:34 +00:00
Florian
acfa3e177c Last commit still failed to build.
git-svn-id: svn://localhost@170 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-07 21:05:58 +00:00
Florian
807facd6fc Last commit failed to build.
git-svn-id: svn://localhost@169 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-07 20:42:00 +00:00
Florian
34beed129d Compilation uses now ResourcesMergingHelper to inventory resources.
git-svn-id: svn://localhost@168 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-07 20:41:02 +00:00
Florian
866e26c898 Added ResourcesMergingHelper, a class meant to inventory and prepare filename of resources to merging.
git-svn-id: svn://localhost@167 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-07 20:38:09 +00:00
Florian
dafbeeb464 Corrected ActSetWindowSize ( don't change game windowHeight and windowWidth, which would be better called defaultCameraHeight/Width ).
Added icon to window extension expressions.

git-svn-id: svn://localhost@166 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-07 17:22:32 +00:00
Florian
da3b760cf8 Began to implement ExternalEvents.
git-svn-id: svn://localhost@165 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-07 16:21:26 +00:00
Florian
e0dfca037b Corrected freeze with expression with call to a valid function without parenthesis.
Began to implement ExternalEvents.
Began to add serialization to events.

git-svn-id: svn://localhost@164 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-07-07 16:20:54 +00:00
Florian
2fda7b165c Minor layout change.
git-svn-id: svn://localhost@163 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-30 19:45:21 +00:00
Florian
c33ef4b17f Added "Any key is pressed" and "A key is pressed ( text expression )" conditions.
git-svn-id: svn://localhost@162 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-30 19:45:03 +00:00
Florian
8cc9609ba8 Corrected display of While events.
git-svn-id: svn://localhost@161 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-30 16:38:05 +00:00
Florian
ca41da2eac Corrected non refreshing of variable after deleting when choosing a variable.
git-svn-id: svn://localhost@160 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-29 16:56:47 +00:00
Florian
e0f91c9b03 Corrected adaptation of old games.
Corrected expressions using layers.

git-svn-id: svn://localhost@159 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-25 11:46:04 +00:00
Florian
8c143a7cf4 Corrected non updating of height of events after modifications.
git-svn-id: svn://localhost@158 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-20 20:52:05 +00:00
Florian
a1a6f14a16 Updated VC++ project.
git-svn-id: svn://localhost@157 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-20 20:51:35 +00:00
Florian
e2a958e9ae Code and files cleaning
git-svn-id: svn://localhost@156 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-20 20:51:17 +00:00
Florian
b708eeecf6 Code and files cleaning
git-svn-id: svn://localhost@155 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-18 21:36:03 +00:00
Florian
d219ed0347 Corrected save of fill opacity.
git-svn-id: svn://localhost@154 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-18 15:11:04 +00:00
Florian
dca7e8549a Minor changes.
git-svn-id: svn://localhost@153 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-18 15:08:22 +00:00
Florian
deb7edffbb Corrected "Send datas" action.
git-svn-id: svn://localhost@152 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-18 14:57:03 +00:00
Florian
f68d9f447c Added check for layers.
git-svn-id: svn://localhost@151 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-18 14:39:23 +00:00
Florian
4ecfc1738f Corrected Time expression and return value of ChooseLayer.
git-svn-id: svn://localhost@150 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-18 14:37:39 +00:00
Florian
36470760e9 Started add FlipX/FlipY actions.
Added adaptation code for parameters of type "layers" of old games.

git-svn-id: svn://localhost@149 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-15 20:28:59 +00:00
Florian
7a4c977fc0 Corrected crash with string objects expressions when no objects were available.
git-svn-id: svn://localhost@148 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-13 20:21:18 +00:00
Florian
4915581210 Deleted caching of rendered event : Needed too much memory.
Added framerate limit with external window preview.

git-svn-id: svn://localhost@147 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-13 19:09:39 +00:00