Compare commits

...

136 Commits

Author SHA1 Message Date
Florian Rival
6a74d8c75f Version bump 2016-01-17 13:29:21 +01:00
Florian Rival
e444e80493 Update copyrights year 2016-01-14 19:46:56 +01:00
Florian Rival
b78e8a46ec Merge pull request #235 from pstieber/b2TOISolverInitializationFix
b2TOISolver initialization fix
2016-01-14 18:50:23 +01:00
Florian Rival
42aed41cfc Merge pull request #240 from victorlevasseur/master
Fix HTTP server serving a invalid directory on some libstdc++ implementations
2016-01-13 23:28:45 +01:00
Victor Levasseur
9d970fb0ce Fix server serving a invalid directory on some libstdc++ implementations 2016-01-13 23:14:30 +01:00
Florian Rival
8da557443f Merge branch 'master' of github.com:4ian/GD 2016-01-10 13:38:12 +01:00
Florian Rival
010759bdc2 Don't show bug report/update/reminder dialog if rebranding is applied 2016-01-10 13:35:09 +01:00
Florian Rival
eb9c265ec1 Upgrade 7za.exe to latest version (fix zipping issue and improve Windows packaging speed) 2016-01-10 00:08:30 +01:00
Florian Rival
626a54b78f Merge branch 'master' of github.com:4ian/GD 2016-01-09 18:52:54 +01:00
Florian Rival
5f0f3327c3 Fix potential crash with AdMob object on Android and made the extension compatible with Emscripten 2016-01-09 18:52:37 +01:00
Florian Rival
6c83d655ea Merge pull request #237 from pstieber/UpdateWxSetSize
Changed SetBestSize to SetInitialSize.
2016-01-09 14:50:01 +01:00
Peter J. Stieber
f648d61f54 Changed SetBestSize to SetInitialSize.
This prevents a wxWidgets deprecated warning.
2016-01-08 20:16:51 -08:00
Florian Rival
7fc0742dfd Merge pull request #236 from pstieber/StringWarningFixes
String warning fixes
2016-01-09 00:13:48 +01:00
Florian Rival
f9e7455e12 Merge pull request #234 from pstieber/UpdateWxFontStyles
Update wx font styles
2016-01-08 23:46:22 +01:00
Peter J. Stieber
9acfea02db Made string pointers constant.
This removed over 1000 warnings from a Fedora 21 build with gcc 4.9.2.
2016-01-08 14:10:28 -08:00
Peter J. Stieber
1630b82d63 Made PDF fon name strings constant to remove gcc warnings. 2016-01-08 13:01:37 -08:00
Peter J. Stieber
0121ce489b Made xpm strings constant to remove gcc warnings. 2016-01-08 13:01:01 -08:00
Peter J. Stieber
35b14bb58a Fixed incorrect initialization.
Replaced initialization of an in32 (m_count) with NULL to an
initialization with 0 because the value is not a pointer.  This
removed gcc 4.9.2 warnings when building on Fedora 21.
2016-01-08 11:33:07 -08:00
Peter J. Stieber
4605ac8688 Merge branch 'master' into UpdateWxFontStyles 2016-01-08 10:31:49 -08:00
Peter J. Stieber
b707e5acb8 Merge branch 'master' of https://github.com/4ian/GD 2016-01-08 10:28:08 -08:00
Peter J. Stieber
a75b87d69d Merge branch 'UpdateWxBrushConstruction' 2016-01-08 10:27:06 -08:00
Peter J. Stieber
b8322398f3 Updated wxFont flags to remove warnings.
Changed font family and font weight flags to use the new convention
to prevent deprecation warnings from wxWidgets.
2016-01-08 09:49:33 -08:00
Florian Rival
6f8ce3a133 Merge pull request #233 from pstieber/UpdateWxBrushConstruction
Updated wxBrush styles.
2016-01-08 17:09:33 +01:00
Peter J. Stieber
4573a9db1e Updated wxBrush styles.
Changed the following in wxBrush constructors:
wxTRANSPARENT -> wxBRUSHSTYLE_TRANSPARENT
wxSOLID -> wxBRUSHSTYLE_SOLID
wxFDIAGONAL_HATCH -> wxBRUSHSTYLE_FDIAGONAL_HATCH
This fixed 6 warnings in the build.
2016-01-08 07:23:52 -08:00
Florian Rival
42f6dc9a76 Merge pull request #232 from pstieber/master
wxTextCtrl and and wxMenuItem updates
2016-01-07 21:13:06 +01:00
Peter J. Stieber
a48c3aef38 Removed wxTE_AUTO_SCROLL from wxSmith files. 2016-01-06 06:27:10 -08:00
Peter J. Stieber
760b06dc47 Replaced deprecated wxMenuItem function.
Replaced SetText with SetItemLabel.
2016-01-05 21:53:38 -08:00
Peter J. Stieber
718f204ebb Removed use of deprecated wxTE_AUTO_SCROLL.
Use of this macro prevents compilation with wxWidgets that has been
compiled with 2.8 compatibility turned off.  This macro is set to 0
and the comment in the wxWidgets source reads:

this style is (or at least should be) on by default now, don't use it

This commit removed the use of this obsolete macro.
2016-01-05 21:46:39 -08:00
Florian Rival
5688e21d0a Merge pull request #231 from brylie/master
Change sign test text to conventional terms
2015-12-28 12:11:29 +01:00
Brylie Christopher Oxley
21238c8cb3 Change to 'not equal to' 2015-12-28 12:55:06 +02:00
Brylie Christopher Oxley
a4ee365eb8 Change to 'not equal to' 2015-12-28 12:54:20 +02:00
Brylie Christopher Oxley
3c24bb047f Change to 'less than' 2015-12-28 12:53:36 +02:00
Brylie Christopher Oxley
f5acc4c9b3 Change to 'less than' 2015-12-28 12:52:34 +02:00
Florian Rival
97ef2d5c94 Merge pull request #224 from 4ian/feature/rebranding
Add support for rebranding
2015-12-26 20:08:56 +01:00
Florian Rival
877679c726 Update Mac OS X icon.icns 2015-12-25 16:04:51 +01:00
Florian Rival
fff64c0ec9 Add rebranding capabilities 2015-12-17 20:38:55 +01:00
Florian Rival
7d81821040 Fix ribbon page not connected when switching to an external layout editor tab 2015-12-15 22:55:52 +01:00
Florian Rival
b8e3164aa6 Fix compilation when GD_NO_WX_GUI is defined 2015-12-15 22:48:35 +01:00
Florian Rival
871f6ade67 Merge pull request #219 from victorlevasseur/master
Support TMX files (Tiled Editor) for TileMap Objects
2015-12-15 22:32:48 +01:00
Florian Rival
dcae745626 Merge pull request #222 from 4ian/feature/launch-external-layout-preview
External layouts enhancements
2015-12-15 22:29:41 +01:00
Florian Rival
156fcaec8a Properly save the layout being used to edit an external layout in the IDE 2015-12-15 22:27:41 +01:00
Florian Rival
d65bc5c61f Previewing an external layout from the IDE now launches the game with the objects from the external layout 2015-12-15 22:03:57 +01:00
Florian Rival
989f4b2e4e Fix typo 2015-12-15 21:10:23 +01:00
Florian Rival
40059d4270 Merge pull request #221 from victorlevasseur/cleaner-about-page
Clean the credit dialog
2015-12-14 23:37:16 +01:00
Victor Levasseur
56967479de Clean the credit dialog 2015-12-14 23:11:57 +01:00
Florian Rival
af0a3ca3eb Merge pull request #220 from 4ian/fix/external-layout-editors-allocation
Fixes for external layout editors
2015-12-13 21:15:27 +01:00
Florian Rival
5a5b1d6eff Fix ribbon page not connected when switching to an external layout editor tab 2015-12-13 21:06:15 +01:00
Florian Rival
98b5a66ad0 Fix incorrect re-creation of editors when changing scene in an external layout editor 2015-12-13 19:18:51 +01:00
Victor Levasseur
01196c6542 Fix compilation error with AddResource in the TileMapImporter 2015-12-13 15:52:50 +01:00
Florian Rival
002bfb06d0 Refactored StartHerePage management to use EditorsNotebookManager 2015-12-12 23:04:01 +01:00
Victor Levasseur
ad868362fe Merge branch 'feature/tilemap-tmx-import' 2015-12-12 22:23:24 +01:00
Florian Rival
b059c3f3b4 Refactored editor tabs management into EditorsNotebookManager 2015-12-12 22:16:52 +01:00
Florian Rival
508dd80c60 Refactor MainFrameWrapper to change ribbon page using page names 2015-12-11 00:09:34 +01:00
Florian Rival
1f022e860d Make start page handling more robust 2015-12-08 23:16:45 +01:00
Florian Rival
fe9252d3f9 Move SkinHelper to IDE/wxTools directory & avoid crash at startup if StartHerePage is deleted 2015-12-08 22:51:16 +01:00
Florian Rival
4706990730 Update CMakeLists.txt to avoid a warning with latest Clang on OS X 2015-12-08 21:01:02 +01:00
Victor Levasseur
e22cbbeabd Improve the tilemap tmx importer dialog 2015-12-01 22:59:23 +01:00
Victor Levasseur
71f0d25b77 Use a relative filepath for the imported tileset image 2015-12-01 17:26:26 +01:00
Victor Levasseur
91aa2ec604 Update the tileset editor when a tmx file is imported 2015-12-01 00:45:18 +01:00
Victor Levasseur
5dc0413f48 Reload the tileset image when imported from a tmx file 2015-12-01 00:40:33 +01:00
Victor Levasseur
7ff0bc3fa0 Use wxwidgets logger to show warnings and errors in the tmx importer 2015-11-30 13:51:07 +01:00
Florian Rival
951f3f54af Merge pull request #216 from 4ian/feature/audio-resources
Support for audio resources
2015-11-28 16:58:59 +01:00
Florian Rival
7d991c6823 Fix GDJS tests 2015-11-28 16:37:55 +01:00
Florian Rival
549614adbb Fix native games not launching properly when in a directory with non ASCII characters 2015-11-28 16:10:51 +01:00
Florian Rival
f4053c18a6 Force HTML5 audio for musics so we don't wait for the full file to be loaded on Android. 2015-11-28 13:41:02 +01:00
Florian Rival
b492cc72c4 Support for using audio files directly or as resources 2015-11-23 00:14:56 +01:00
Florian Rival
2d6de6e16a Rework gdjs.ImageManager to make it responsible of textures loading 2015-11-22 15:37:18 +01:00
Florian Rival
95afd2c5b6 Support stop pingsounds/musics of previous scene for HTML5 games 2015-11-19 23:16:10 +01:00
Florian Rival
693eac1916 Refactor SoundManager to be owned by RuntimeGame 2015-11-19 22:00:19 +01:00
Florian Rival
780a022029 Add AudioResource 2015-11-18 22:57:45 +01:00
Florian Rival
1e4f622b5c Update pixi.js to v3.0.8 and add a TODO about HTML5 resources loading 2015-11-18 21:57:48 +01:00
Florian Rival
1fc1863e5b Improve performance of HTML5 PanelSpriteObject by avoiding the use of masks 2015-11-18 00:06:39 +01:00
Victor Levasseur
476f6da7ec Use gd::NewNameGenerator to generate a name for the tileset imported image 2015-11-16 23:41:56 +01:00
Florian Rival
828e16ac5b Fix storage actions not properly persisting values in some cases
Fix #210
2015-11-16 22:10:57 +01:00
Victor Levasseur
33ff92681e Add tileset image importation 2015-11-15 11:05:18 +01:00
Victor Levasseur
20afa9201d Improve the tmx importer's source code 2015-11-13 15:21:12 +01:00
Victor Levasseur
764443d31f Improve the tile hitbox importation 2015-11-12 18:29:40 +01:00
Victor Levasseur
539f68c013 Add hitbox import from .tmx file in TileMapObject 2015-11-11 12:19:24 +01:00
Victor Levasseur
078669bf55 Add "experimental" label to the .tmx file import 2015-11-09 23:10:51 +01:00
Victor Levasseur
3eb2a86b23 Add support for importing the tileset conf from a .tmx file 2015-11-09 23:08:35 +01:00
Victor Levasseur
10873c559d Use a fixed width font for the importer message text ctrl 2015-11-09 13:46:44 +01:00
Victor Levasseur
34a902dc11 Some adjustments 2015-11-08 22:06:28 +01:00
Victor Levasseur
e1c56f1c71 Add Tilemap importation (not tileset and hitboxes for now) 2015-11-08 21:59:20 +01:00
Victor Levasseur
02891a777b Fix image paths in wxcrafter dialogs 2015-11-08 20:06:14 +01:00
Victor Levasseur
18c5a230a3 Change TileMapObject source code organization and added tmx-parser 2015-11-08 19:05:48 +01:00
Florian Rival
e95ae97c35 Merge pull request #211 from 4ian/refactor/directories
Refactor directory structure
2015-11-07 13:01:56 +01:00
Florian Rival
db69c83a58 Change file organization 5 (GDCpp/Project) 2015-11-01 17:06:23 +01:00
Florian Rival
cd9ae7ca40 Change file organization 4 (tinyxml -> TinyXml) 2015-11-01 12:01:06 +01:00
Florian Rival
04a699d3e9 Change file organization 3 (IDE/Dialogs) 2015-11-01 11:26:40 +01:00
Florian Rival
e4fab74a32 Change file organization 2 (Events, Extensions + more folders) 2015-11-01 11:26:40 +01:00
Florian Rival
63cb853d72 Change file organization (Events, Extensions + more folders) 2015-11-01 11:26:40 +01:00
Florian Rival
2a95765fd9 Merge pull request #206 from victorlevasseur/bugfix/parameters-list-layout-bug
Fix parameter list layout glitch when the user switch many times the instruction in the window
2015-10-28 15:54:54 +01:00
Florian Rival
f4a603217c Merge pull request #209 from victorlevasseur/bugfix/tilemap-empty-image-fix
Fix tilemap object crash when using an empty image (or invalid file)
2015-10-27 18:15:07 +01:00
Victor Levasseur
ee0ad9d346 Fix tilemap object crash when using an empty image (or invalid file) 2015-10-27 17:56:09 +01:00
Florian Rival
e1e6ab0d6d Merge pull request #207 from victorlevasseur/feature/improve-help
Improve help and add help button for instructions
2015-10-27 09:30:17 +01:00
Victor Levasseur
05e8dc998b Fix parameter list layout glitch when changing of instructions a lot 2015-10-26 15:27:45 +01:00
Victor Levasseur
66f67e7694 Add an help button for instructions 2015-10-26 10:50:47 +01:00
Victor Levasseur
ade4c5b4f5 Use gd::HelpFileAccess::OpenPage in gd::ObjectsPropgridHelper 2015-10-26 09:57:49 +01:00
Florian Rival
5b22ed1d45 Add Finnish translation 2015-10-25 19:04:02 +01:00
Victor Levasseur
8462eefb7d Use gd::HelpFileAccess::OpenPage instead of OpenURL in GDevelop 2015-10-25 18:45:02 +01:00
Victor Levasseur
46e6ecd72a Add gd::HelpFileAccess::OpenPage to open a page without passing its whole URL.
The webpage is assumed to be stored on the wiki and the language is automatically added to the URL if needed
2015-10-25 17:43:18 +01:00
Florian Rival
08def0ebbf Add a FIXME on a potential bug for condition with custom code generator 2015-10-21 22:07:05 +02:00
Florian Rival
9a0e138407 Fix 'Always' condition for HTML5 games 2015-10-21 00:17:22 +02:00
Florian Rival
3a982afea7 Fix mistakes and add Dutch to Windows installer languages 2015-10-19 22:57:18 +02:00
Florian Rival
ba5ccf72ef Add complete Dutch translation 2015-10-19 22:43:46 +02:00
Florian Rival
5375647001 Merge pull request #205 from 4ian/refactor/runtimescene-time-manager
Refactor time management in game engines and use gd::String in JSON serializer
2015-10-16 17:50:55 +02:00
Florian Rival
02a5fb07a3 Add missing u8 prefix for UTF8 strings in tests 2015-10-16 15:33:18 +02:00
Florian Rival
327eba95a6 Merge branch 'refactor/runtimescene-time-manager' of github.com:4ian/GD into refactor/runtimescene-time-manager 2015-10-12 23:12:12 +02:00
Florian Rival
6b88bae850 Add tests for JSON Serializer and UTF8 characters 2015-10-12 23:11:52 +02:00
Florian Rival
5e534aa414 Fix backward compatibility for the behavior of TimerElapsedTime with not existing timers 2015-10-12 22:21:14 +02:00
Florian Rival
faf4baffc5 Refactor time management into TimeManager for native game engine 2015-10-12 00:17:57 +02:00
Florian Rival
cf2100a626 Refactor time management into gdjs.TimeManager for HTML5 game engine 2015-10-11 20:39:10 +02:00
Florian Rival
0b8f72c572 Remove dead code 2015-10-11 19:23:03 +02:00
Florian Rival
4fd7ae71f8 Merge branch 'master' into feature/json-gd-string 2015-10-11 17:12:56 +02:00
Florian Rival
656b3bf3eb Use gd::String in Serializer 2015-10-11 17:12:17 +02:00
Florian Rival
18eb1b1cf4 Merge branch 'master' of github.com:4ian/GD 2015-10-10 13:41:09 +02:00
Florian Rival
9a246686d5 Fix AdMob object banner default position being top of the screen 2015-10-10 13:37:37 +02:00
Florian Rival
2c435388a7 Avoid creating temporaries when dealing with objects list maps in HTML5 games 2015-10-09 22:14:24 +02:00
Florian Rival
1efd19ee82 Fix typo 2015-10-07 22:20:53 +02:00
Florian Rival
f4dc2d6983 Merge pull request #202 from victorlevasseur/master
Fix WriteToFile/ReadFile not converting the filename into the OS locale
2015-09-20 23:32:24 +02:00
Victor Levasseur
64bfdf165f Fix WriteToFile/ReadFile not converting the filename into the OS locale 2015-09-20 20:36:12 +02:00
Florian Rival
ef3e145f42 Version bump 2015-09-20 17:51:07 +02:00
Florian Rival
3b221ae54e Merge pull request #200 from victorlevasseur/bugfix/resolution-change-and-fullscreen
Fix Vsync and Max FPS not reactived after a sf::RenderWindow change
2015-09-16 20:24:10 +02:00
Victor Levasseur
00928414a4 Fix project not saving Vsync properly 2015-09-16 14:45:27 +02:00
Victor Levasseur
0202e7bab2 FPS limit and Vsync is now set in RuntimeScene::ChangeWindow method 2015-09-16 14:39:53 +02:00
Victor Levasseur
7c2264a9b9 Fix Vsync and Max FPS not reactived after a sf::RenderWindow change 2015-09-15 23:21:29 +02:00
Florian Rival
a0246dd33e Update translations 2015-09-15 00:05:16 +02:00
Florian Rival
5612333c55 Version bump 2015-09-13 22:17:46 +02:00
Florian Rival
05551c4d43 Merge pull request #199 from 4ian/feature/display-object-refactoring
Refactor methods of gdjs.RuntimeObject and improve PanelSpriteObject
2015-09-13 22:11:38 +02:00
Florian Rival
f6a55188c6 Remove incorrect optimisation in hitboxes collision test 2015-09-13 21:58:50 +02:00
Florian Rival
b5ec6e8deb Fix rendering of HTML5 tiled PanelSprite objects 2015-09-11 19:57:44 +02:00
Florian Rival
970bc3b0f0 Add caching and tiled borders/center option for HTML5 PanelSprite object 2015-09-11 17:29:45 +02:00
Florian Rival
876a7fecb5 Fix gdjs.Runtimeobject.hide method 2015-09-11 16:30:12 +02:00
Florian Rival
3ac292ec18 Factor common methods to gdjs.RuntimeObject.
Thanks to exposePIXIDisplayObject, objects can expose the PIXI.DisplayObject that they are using
and let RuntimeObject handles common operations (layer change, z order change, deletion, visibility).
2015-09-10 22:37:32 +02:00
Florian Rival
1ff06d4c9c Add an object to PanelSprite test/benchmark game 2015-09-10 21:19:20 +02:00
Florian Rival
4a84e5048a Fix wrong object size calculation in Destroy Outside behavior of HTML5 games 2015-09-10 19:53:58 +02:00
1063 changed files with 112924 additions and 49582 deletions

View File

@@ -1,5 +1,5 @@
GDevelop logos
2008-2015 Florian Rival
2008-2016 Florian Rival
-------------------
GDevelop's logos can be used in a game to indicate that it was created using GDevelop, as long as these logos stay unmodified and you do not state being the author of the logos.

View File

@@ -0,0 +1 @@
fi_FI

View File

@@ -0,0 +1 @@
nl_NL

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -20,10 +20,10 @@ SetupIconFile=..\Output\Release_Windows\res\icon.ico
VersionInfoVersion=4.0
WizardImageFile=Setup bitmap\wizbmp.bmp
WizardSmallImageFile=Setup bitmap/smallicon.bmp
AppCopyright=2008-2015 Florian Rival
AppCopyright=2008-2016 Florian Rival
VersionInfoCompany=Florian Rival
VersionInfoDescription=GDevelop setup
VersionInfoCopyright=2008-2015 Florian Rival
VersionInfoCopyright=2008-2016 Florian Rival
VersionInfoProductName=GDevelop
VersionInfoProductVersion=4.0
@@ -36,7 +36,9 @@ Name: "portuguese"; MessagesFile: "compiler:Languages\Portuguese.isl";
Name: "german"; MessagesFile: "compiler:Languages\German.isl";
Name: "chinese"; MessagesFile: "..\Packaging\innosetup-languages\ChineseSimplified.isl";
Name: "italian"; MessagesFile: "compiler:Languages\Italian.isl";
Name: "finnish"; MessagesFile: "compiler:Languages\Finnish.isl";
Name: "polish"; MessagesFile: "compiler:Languages\Polish.isl";
Name: "dutch"; MessagesFile: "compiler:Languages\Dutch.isl";
[Tasks]
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags:
@@ -45,11 +47,11 @@ Name: quicklaunchicon; Description: {cm:CreateQuickLaunchIcon}; GroupDescription
[Components]
Name: "main"; Description: "GDevelop"; Types: full compact custom; Flags: fixed
Name: "example"; Description: "Exemples"; Types: full custom; Languages: french
Name: "example"; Description: "Examples"; Types: full custom; Languages: english russian
Name: "example"; Description: "Examples"; Types: full custom; Languages: english russian italian polish chinese dutch finnish
Name: "example"; Description: "Ejemplos"; Types: full custom; Languages: spanish
Name: "res"; Description: "Ressources (Images, sons...)"; Types: full custom; Languages: french
Name: "res"; Description: "Resources (images, sounds...)"; Types: full custom; Languages: english russian italian polish chinese
Name: "res"; Description: "Recursos (im<69>genes, sonidos ...)"; Types: full custom; Languages: spanish
Name: "res"; Description: "Resources (images, sounds...)"; Types: full custom; Languages: english russian italian polish chinese dutch finnish
Name: "res"; Description: "Recursos (im<69>genes, sonidos ...)"; Types: full custom; Languages: spanish
[Files]
Source: ..\Output\Release_Windows\GDIDE.exe; DestDir: {app}; Flags: ignoreversion
@@ -72,6 +74,8 @@ Source: ..\Output\Release_Windows\SelectLanguage-pt.cfg; DestDir: {userdocs}\..\
Source: ..\Output\Release_Windows\SelectLanguage-pl.cfg; DestDir: {userdocs}\..\.GDevelop; Flags: ignoreversion createallsubdirs recursesubdirs; DestName: SelectLanguage.cfg; Languages: polish ; Components: main
Source: ..\Output\Release_Windows\SelectLanguage-zh.cfg; DestDir: {userdocs}\..\.GDevelop; Flags: ignoreversion createallsubdirs recursesubdirs; DestName: SelectLanguage.cfg; Languages: chinese ; Components: main
Source: ..\Output\Release_Windows\SelectLanguage-it.cfg; DestDir: {userdocs}\..\.GDevelop; Flags: ignoreversion createallsubdirs recursesubdirs; DestName: SelectLanguage.cfg; Languages: italian ; Components: main
Source: ..\Output\Release_Windows\SelectLanguage-nl.cfg; DestDir: {userdocs}\..\.GDevelop; Flags: ignoreversion createallsubdirs recursesubdirs; DestName: SelectLanguage.cfg; Languages: dutch ; Components: main
Source: ..\Output\Release_Windows\SelectLanguage-fi.cfg; DestDir: {userdocs}\..\.GDevelop; Flags: ignoreversion createallsubdirs recursesubdirs; DestName: SelectLanguage.cfg; Languages: finnish ; Components: main
[Icons]
Name: {group}\GDevelop; Filename: {app}\GDIDE.exe; WorkingDir: {app}

View File

@@ -1,8 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<News>
<Version Major="3" Minor="6" Build="84" Revision="0"/>
<Info Info="La version 3.6.84 est disponible.&#x0A;&#x0A;Correction d'un crash lors de l'<27>dition d'un nouvel objet Carte de tuiles&#x0A;&#x0A;Nouveaut<75>s de la version 3.6.83 :&#x0A;&#x0A;Nouvelles traductions (partielles) italiennes, chinoises et polonaises.&#x0A;Nouvelle condition 'S<>lectionner l'objet le plus proche'&#x0A;Nouvelle conditions pour tester si un bouton de la souris ou du clavier est relach<63>&#x0A;Am<41>lioration du syst<73>me audio des jeux HTML5, meilleure performances sur les mobiles.&#x0A;Mise <20> jour du moteur de rendu des jeux HTML5 (Pixi.js)&#x0A;Nouvelle d<>mo technique Advanced 3D Tower&#x0A;Ajout de la touche retour arri<72>re en alternative <20> Suppr. dans la majorit<69> des <20>diteurs.&#x0A;Correction du crash avec les objets lumi<6D>res sur Windows.&#x0A;Correction de l'usage trop intensif du processeur dans l'<27>diteur d'<27>venements sur Linux.&#x0A;Correction de l'ordre d'insertion d'images multiples dans une animation.&#x0A;Correction de la couleur global d'un objet Sprite dans les jeux HTML5&#x0A;Correction de l'<27>chelle de la taille d'un Sprite quand l'objet est invers<72>.&#x0A;Correction de la recherche de chemin qui ne marchait plus pour les jeux natifs.&#x0A;Correction de crash avec l'objet Carte de tuiles en utilisant des grandes images pour les tuiles.&#x0A;Correction de glitchs avec GTK3
Correction de la mauvaise prise en compte de la taille/animation initiale d'un Sprite dans les jeux HTML5.
" Lien="http://compilgames.net"/>
<Version Major="4" Minor="0" Build="88" Revision="0"/>
<Info Info="La version 4.0.88 est disponible.&#x0A;&#x0A;Importants changements en interne pour supporter l'Unicode dans les jeux, c'est <20> dire la possibilit<69> de pouvoir utiliser des charact<63>res de d'autres alphabets.&#x0A;Nouvel objet AdMob, pour afficher des banni<6E>res publicitaires (ou <20>crans interstitiels) dans les jeux HTML5 export<72>s sur Android/iOS avec Intel XDK.&#x0A;Les automatismes sont maintenant appel<65>s des Comportements (Behavior en anglais).&#x0A;Nouvelle fonctionnalit<EFBFBD>, la 'pile de sc<73>nes' : une nouvelle action permet de mettre en pause la sc<73>ne courante et d'en lancer une autre. On peut ensuite revenir <20> la sc<73>ne pr<70>c<EFBFBD>dente avec une autre action. Id<49>al pour faire des menus de pause, des <20>crans de combats, des <20>crans d'int<6E>rieurs de batiments..&#x0A;Am<41>lioration de l'export des jeux HTML5 pour Cordova/Intel XDK.&#x0A;Nouvel <20>diteur pour les objets textes&#x0A;Ajout de la fonctionnalit<69> 'Sauvegarder en tant que projet dossier': les projets peuvent <20>tre sauvegard<72>s avec les sc<73>nes, <20>v<EFBFBD>nements externes et agencements externes sauvegard<72>s dans diff<66>rents fichiers. Cela rend beaucoup plus facile la collaboration dans une <20>quipe.&#x0A;L'appui sur Shift dans l'<27>diteur de sc<73>ne permet de redimensionner un objet en gardant ses proportions.&#x0A;L'appui sur Shift dans l'<27>diteur de sc<73>ne permet de tourner un objet par incr<63>ment r<>guliers de 15 degr<67>s.&#x0A;La grille aimant<6E>e de l'<27>diteur de sc<73>ne s'applique aussi lors du redimensionnement d'objets.&#x0A;Am<41>lioration de l'objet Carte de Tuiles, notamment une baisse de la consommation m<>moire pour les grandes cartes.&#x0A;Am<41>lioration pour les <EFBFBD>crans haute d<>finition ('retina').&#x0A;Plusieurs corrections de bugs pour la recherche de chemin, qui devrait maintenant fonctionner correctement dans tous les cas.&#x0A;Correction de la recherche dans l'<27>diteur d'objets.&#x0A;Correction de la condition sur la bordure suppl<70>mentaire du comportement 'D<>truire <20> la sortie de l'<27>cran'&#x0A;Nouvel d<>mo utilisant les fonctionnalit<69>s Javascript 'PIXI Particles'&#x0A;Correction dans l'<27>diteur de sc<73>ne o<> les objets sur des calques cach<63>s pouvaient encore <20>tre selectionn<6E>s.&#x0A;Am<41>lioration et nettoyage du code en interne.&#x0A;Corrections pour Mac OS X dans l'<27>diteur de sc<73>ne.&#x0A;Suppression de la compilation en un fichier unique (trop instable et detect<63> comme un virus par certains antivirus).&#x0A;Ajout du support pour les molettes <20> d<>filement horizontal dans l'<27>diteur de sc<73>ne.&#x0A;Divers bugs corrig<69>s." Lien="http://compilgames.net"/>
<CommunityNews text="GDevApp est une web app de cr<63>ation de jeux bas<61>e sur GDevelop : venez essayer la plus avanc<6E>e des applications online de cr<63>ation de jeux. Compatible avec les tablettes et fournie avec des superbes packs de graphismes pr<70>-pr<70>par<61>s." link1="https://github.com/4ian/GD" linkLabel1="GDevelop sur GitHub" link2="https://gdevapp.com?utm_source=software&amp;utm_medium=link_fr&amp;utm_campaign=launch" linkLabel2="Tester GDevApp, la nouvelle app de cr<63>ation de jeux"/>
</News>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<News>
<Version Major="3" Minor="6" Build="84" Revision="0"/>
<Info Info="Version 3.6.84 is available.&#x0A;&#x0A;Fix crash when editing newly created TileMap objects&#x0A;&#x0A;Changes of version 3.6.83:&#x0A;&#x0A;New (partial) Italian, Polish and Chinese translations! Your help is welcome, you can contribute on https://crowdin.com/project/gdevelop&#x0A;New 'Pick nearest object' condition&#x0A;New condition to check if a mouse button is released&#x0A;New condition to check if a key is released&#x0A;New sound system for HTML5 with huge performance improvements&#x0A;Update rendering engine of HTML5 (Pixi.js) for improved performances&#x0A;New Advanced 3D tower technical demo&#x0A;Add Backspace as an alternative to Delete key shortcut in most editors&#x0A;Fixed crash with Lights objects on Windows.&#x0A;Fixed the high cpu usage when switching to the event editor on Linux&#x0A;Fixed images insertion order when adding multiple picture to an animation&#x0A;Fixed sprite global color action for HTML5 games&#x0A;Fixed scale factor of Sprite objects being negative when object is flipped&#x0A;Fixed pathfinding not working for native games&#x0A;Updated titles of some editors to make them more consistent&#x0A;Fixed crash with tilemap and large tilesets&#x0A;Fixed some GTK3 glitches&#x0A;Fixed wrong initial sprite size and animation when custom properties were set in HTML5 games" Lien="http://compilgames.net"/>
<Version Major="4" Minor="0" Build="88" Revision="0"/>
<Info Info="Version 4.0.88 is available.&#x0A;&#x0A;Huge internal changes to have multi-language support ('Unicode') in games.&#x0A;New AdMob object, that can be used to display ad banners (or interstitial screens) in HTML5 games exported to iOS/Android with Intel XDK.&#x0A;Automatisms are now called Behaviors for objects (more intuitive and easier to understand).&#x0A;New scene stacking feature: a new action allows to pause the current scene and launch a new one. You can then go back to the previous one with another action. This makes it easy to create a pause menu, a RPG combat system, rooms/building that you enter from a map...&#x0A;Improved export of HTML5 games to Cordova/Intel XDK.&#x0A;New editor for text objects&#x0A;Add 'Save as a folder project': projects can be saved with scenes, external events and external layouts stored in a different file for each. This makes it easier to collaborate on a game as a team.&#x0A;Hold Shift in scene editor to resize object while keeping its aspect ratio.&#x0A;Hold Shift in scene editor to rotate an object in increments.&#x0A;'Snap to grid' now snaps objects when resizing them in scene editor.&#x0A;Improvements on TileMap objects, including a reduced memory consumption for large maps.&#x0A;Improvements for HDPI ('retina') screens.&#x0A;Several bugfixes for pathfinding that should now work properly in all cases.&#x0A;Fixed search not working in the objects editor.&#x0A;Fixed extra border condition of Destroy Outside Behavior.&#x0A;New PIXI Particles advanced Javascript demo.&#x0A;Fixed objects from hidden layers could still be selected and moved in scene editor&#x0A;Internal code cleaning and improvements.&#x0A;Fixes for Mac OS X in the scene editor.&#x0A;Removed compilation of native games to a single file executable (was too unstable and prone to antivirus blocking).&#x0A;Add support for horizontal mouse wheel in the scene editor.&#x0A;Fixed Vertical Synchronization and framerate limit not applied after changing the window resolution in native games&#x0A;Fix small bug in Destroy Outside behavior of HTML5 games&#x0A;Add an option to repeat borders and center textures of PanelSprite objects for HTML5 games&#x0A;Improve performances of PanelSprite objects for HTML5 games&#x0A;Fix hitboxes collision condition for HTML5 games&#x0A;Fix conflicts when exporting a game using different images with the same file name.&#x0A;Fix error when deactivating a behavior of an object that was just created.&#x0A;Fix scene editor not properly refreshed after being resized on OS X." Lien="http://compilgames.net"/>
<CommunityNews text="GDevelop has a new website! Help us to translate it to your language by going on the Crowdin project.&#x0A;&#x0A;GDevApp is an online game creator based on GDevelop: Go try the most advanced game creation web app. Compatible with tablets and bundled with awesome graphics assets." link1="https://crowdin.com/project/gdevelop-website/" linkLabel1="Help translate GD website" link2="https://gdevapp.com?utm_source=software&amp;utm_medium=link_en&amp;utm_campaign=launch" linkLabel2="Try GDevApp, the online game creator based on GD"/>
</News>

View File

@@ -42,6 +42,7 @@ IF(APPLE)
set(CMAKE_INSTALL_RPATH ".")
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_WCHAR_H_CPLUSPLUS_98_CONFORMANCE_")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-potentially-evaluated-expression")
ENDIF()
#Sanity checks
@@ -59,10 +60,6 @@ IF("${CMAKE_BUILD_TYPE}" STREQUAL "Release" AND NOT WIN32 AND CMAKE_COMPILER_IS_
SET(CMAKE_SHARED_LINKER_FLAGS "-s") #Force stripping to avoid errors when packaging for linux.
ENDIF()
if(EMSCRIPTEN) #When compiling for the web, ensure we get no warning when using our own external libraries.
SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-warn-absolute-paths" )
ENDIF()
#Activate C++11
include(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-std=gnu++11" COMPILER_SUPPORTS_CXX11)

View File

@@ -246,8 +246,8 @@
<Unit filename="GDCore/CommonTools.cpp" />
<Unit filename="GDCore/CommonTools.h" />
<Unit filename="GDCore/DocMainPage.h" />
<Unit filename="GDCore/Events/BehaviorMetadata.cpp" />
<Unit filename="GDCore/Events/BehaviorMetadata.h" />
<Unit filename="GDCore/Extensions/Metadata/BehaviorMetadata.cpp" />
<Unit filename="GDCore/Extensions/Metadata/BehaviorMetadata.h" />
<Unit filename="GDCore/Events/Builtin/CommentEvent.cpp" />
<Unit filename="GDCore/Events/Builtin/CommentEvent.h" />
<Unit filename="GDCore/Events/Builtin/ForEachEvent.cpp" />
@@ -262,37 +262,37 @@
<Unit filename="GDCore/Events/Builtin/WhileEvent.h" />
<Unit filename="GDCore/Events/Event.cpp" />
<Unit filename="GDCore/Events/Event.h" />
<Unit filename="GDCore/Events/EventMetadata.cpp" />
<Unit filename="GDCore/Events/EventMetadata.h" />
<Unit filename="GDCore/Events/EventsCodeGenerationContext.cpp" />
<Unit filename="GDCore/Events/EventsCodeGenerationContext.h" />
<Unit filename="GDCore/Events/EventsCodeGenerator.cpp" />
<Unit filename="GDCore/Events/EventsCodeGenerator.h" />
<Unit filename="GDCore/Events/EventsCodeNameMangler.cpp" />
<Unit filename="GDCore/Events/EventsCodeNameMangler.h" />
<Unit filename="GDCore/Extensions/Metadata/EventMetadata.cpp" />
<Unit filename="GDCore/Extensions/Metadata/EventMetadata.h" />
<Unit filename="GDCore/Events/CodeGeneration/EventsCodeGenerationContext.cpp" />
<Unit filename="GDCore/Events/CodeGeneration/EventsCodeGenerationContext.h" />
<Unit filename="GDCore/Events/CodeGeneration/EventsCodeGenerator.cpp" />
<Unit filename="GDCore/Events/CodeGeneration/EventsCodeGenerator.h" />
<Unit filename="GDCore/Events/Tools/EventsCodeNameMangler.cpp" />
<Unit filename="GDCore/Events/Tools/EventsCodeNameMangler.h" />
<Unit filename="GDCore/Events/Expression.h" />
<Unit filename="GDCore/Events/ExpressionMetadata.cpp" />
<Unit filename="GDCore/Events/ExpressionMetadata.h" />
<Unit filename="GDCore/Events/ExpressionParser.cpp" />
<Unit filename="GDCore/Events/ExpressionParser.h" />
<Unit filename="GDCore/Events/ExpressionsCodeGeneration.cpp" />
<Unit filename="GDCore/Events/ExpressionsCodeGeneration.h" />
<Unit filename="GDCore/Extensions/Metadata/ExpressionMetadata.cpp" />
<Unit filename="GDCore/Extensions/Metadata/ExpressionMetadata.h" />
<Unit filename="GDCore/Events/Parsers/ExpressionParser.cpp" />
<Unit filename="GDCore/Events/Parsers/ExpressionParser.h" />
<Unit filename="GDCore/Events/CodeGeneration/ExpressionsCodeGeneration.cpp" />
<Unit filename="GDCore/Events/CodeGeneration/ExpressionsCodeGeneration.h" />
<Unit filename="GDCore/Events/Instruction.cpp" />
<Unit filename="GDCore/Events/Instruction.h" />
<Unit filename="GDCore/Events/InstructionMetadata.cpp" />
<Unit filename="GDCore/Events/InstructionMetadata.h" />
<Unit filename="GDCore/Events/ObjectMetadata.cpp" />
<Unit filename="GDCore/Events/ObjectMetadata.h" />
<Unit filename="GDCore/Extensions/Metadata/InstructionMetadata.cpp" />
<Unit filename="GDCore/Extensions/Metadata/InstructionMetadata.h" />
<Unit filename="GDCore/Extensions/Metadata/ObjectMetadata.cpp" />
<Unit filename="GDCore/Extensions/Metadata/ObjectMetadata.h" />
<Unit filename="GDCore/Events/Serialization.cpp" />
<Unit filename="GDCore/Events/Serialization.h" />
<Unit filename="GDCore/IDE/ActionSentenceFormatter.cpp" />
<Unit filename="GDCore/IDE/ActionSentenceFormatter.h" />
<Unit filename="GDCore/IDE/ArbitraryResourceWorker.cpp" />
<Unit filename="GDCore/IDE/ArbitraryResourceWorker.h" />
<Unit filename="GDCore/IDE/Project/ArbitraryResourceWorker.cpp" />
<Unit filename="GDCore/IDE/Project/ArbitraryResourceWorker.h" />
<Unit filename="GDCore/IDE/Clipboard.cpp" />
<Unit filename="GDCore/IDE/Clipboard.h" />
<Unit filename="GDCore/IDE/CommonBitmapManager.cpp" />
<Unit filename="GDCore/IDE/CommonBitmapManager.h" />
<Unit filename="GDCore/IDE/CommonBitmapProvider.cpp" />
<Unit filename="GDCore/IDE/wxTools/CommonBitmapProvider.h" />
<Unit filename="GDCore/IDE/ConditionSentenceFormatter.cpp" />
<Unit filename="GDCore/IDE/ConditionSentenceFormatter.h" />
<Unit filename="GDCore/IDE/Dialogs/AdvancedEntryDialog.cpp" />
@@ -356,41 +356,41 @@
<Unit filename="GDCore/IDE/Dialogs/ResourceLibraryDialog.h" />
<Unit filename="GDCore/IDE/EventsChangesNotifier.cpp" />
<Unit filename="GDCore/IDE/EventsChangesNotifier.h" />
<Unit filename="GDCore/IDE/EventsEditorItemsAreas.cpp" />
<Unit filename="GDCore/IDE/EventsEditorItemsAreas.h" />
<Unit filename="GDCore/IDE/EventsEditorSelection.cpp" />
<Unit filename="GDCore/IDE/EventsEditorSelection.h" />
<Unit filename="GDCore/IDE/EventsRefactorer.cpp" />
<Unit filename="GDCore/IDE/EventsRefactorer.h" />
<Unit filename="GDCore/IDE/EventsRenderingHelper.cpp" />
<Unit filename="GDCore/IDE/EventsRenderingHelper.h" />
<Unit filename="GDCore/IDE/EventsVariablesFinder.cpp" />
<Unit filename="GDCore/IDE/EventsVariablesFinder.h" />
<Unit filename="GDCore/IDE/ExpressionsCorrectnessTesting.cpp" />
<Unit filename="GDCore/IDE/ExpressionsCorrectnessTesting.h" />
<Unit filename="GDCore/IDE/Dialogs/EventsEditor/EventsEditorItemsAreas.cpp" />
<Unit filename="GDCore/IDE/Dialogs/EventsEditor/EventsEditorItemsAreas.h" />
<Unit filename="GDCore/IDE/Dialogs/EventsEditor/EventsEditorSelection.cpp" />
<Unit filename="GDCore/IDE/Dialogs/EventsEditor/EventsEditorSelection.h" />
<Unit filename="GDCore/IDE/Events/EventsRefactorer.cpp" />
<Unit filename="GDCore/IDE/Events/EventsRefactorer.h" />
<Unit filename="GDCore/IDE/Dialogs/EventsEditor/EventsRenderingHelper.cpp" />
<Unit filename="GDCore/IDE/Dialogs/EventsEditor/EventsRenderingHelper.h" />
<Unit filename="GDCore/IDE/Events/EventsVariablesFinder.cpp" />
<Unit filename="GDCore/IDE/Events/EventsVariablesFinder.h" />
<Unit filename="GDCore/IDE/Events/ExpressionsCorrectnessTesting.cpp" />
<Unit filename="GDCore/IDE/Events/ExpressionsCorrectnessTesting.h" />
<Unit filename="GDCore/IDE/ExtensionsLoader.cpp" />
<Unit filename="GDCore/IDE/ExtensionsLoader.h" />
<Unit filename="GDCore/IDE/ImagesUsedInventorizer.cpp" />
<Unit filename="GDCore/IDE/ImagesUsedInventorizer.h" />
<Unit filename="GDCore/IDE/MetadataProvider.cpp" />
<Unit filename="GDCore/IDE/MetadataProvider.h" />
<Unit filename="GDCore/IDE/Project/ImagesUsedInventorizer.cpp" />
<Unit filename="GDCore/IDE/Project/ImagesUsedInventorizer.h" />
<Unit filename="GDCore/Extensions/Metadata/MetadataProvider.cpp" />
<Unit filename="GDCore/Extensions/Metadata/MetadataProvider.h" />
<Unit filename="GDCore/IDE/PlatformLoader.cpp" />
<Unit filename="GDCore/IDE/PlatformLoader.h" />
<Unit filename="GDCore/IDE/PlatformManager.cpp" />
<Unit filename="GDCore/IDE/PlatformManager.h" />
<Unit filename="GDCore/IDE/ProjectExporter.cpp" />
<Unit filename="GDCore/IDE/ProjectExporter.h" />
<Unit filename="GDCore/IDE/ProjectResourcesCopier.cpp" />
<Unit filename="GDCore/IDE/ProjectResourcesCopier.h" />
<Unit filename="GDCore/IDE/ResourcesAbsolutePathChecker.cpp" />
<Unit filename="GDCore/IDE/ResourcesAbsolutePathChecker.h" />
<Unit filename="GDCore/IDE/ResourcesMergingHelper.cpp" />
<Unit filename="GDCore/IDE/ResourcesMergingHelper.h" />
<Unit filename="GDCore/IDE/Project/ProjectResourcesCopier.cpp" />
<Unit filename="GDCore/IDE/Project/ProjectResourcesCopier.h" />
<Unit filename="GDCore/IDE/Project/ResourcesAbsolutePathChecker.cpp" />
<Unit filename="GDCore/IDE/Project/ResourcesAbsolutePathChecker.h" />
<Unit filename="GDCore/IDE/Project/ResourcesMergingHelper.cpp" />
<Unit filename="GDCore/IDE/Project/ResourcesMergingHelper.h" />
<Unit filename="GDCore/IDE/ResourcesUnmergingHelper.cpp" />
<Unit filename="GDCore/IDE/ResourcesUnmergingHelper.h" />
<Unit filename="GDCore/IDE/SceneNameMangler.cpp" />
<Unit filename="GDCore/IDE/SceneNameMangler.h" />
<Unit filename="GDCore/IDE/TextFormatting.h" />
<Unit filename="GDCore/IDE/Events/TextFormatting.h" />
<Unit filename="GDCore/IDE/wxTools/AuiTabArt.cpp" />
<Unit filename="GDCore/IDE/wxTools/AuiTabArt.h" />
<Unit filename="GDCore/IDE/wxTools/FileProperty.cpp" />
@@ -400,50 +400,50 @@
<Unit filename="GDCore/IDE/wxTools/SkinHelper.cpp" />
<Unit filename="GDCore/IDE/wxTools/SkinHelper.h" />
<Unit filename="GDCore/IDE/wxTools/TreeItemStringData.h" />
<Unit filename="GDCore/PlatformDefinition/Behavior.cpp" />
<Unit filename="GDCore/PlatformDefinition/Behavior.h" />
<Unit filename="GDCore/PlatformDefinition/BehaviorsSharedData.cpp" />
<Unit filename="GDCore/PlatformDefinition/BehaviorsSharedData.h" />
<Unit filename="GDCore/PlatformDefinition/ChangesNotifier.cpp" />
<Unit filename="GDCore/PlatformDefinition/ChangesNotifier.h" />
<Unit filename="GDCore/PlatformDefinition/ClassWithObjects.cpp" />
<Unit filename="GDCore/PlatformDefinition/ClassWithObjects.h" />
<Unit filename="GDCore/PlatformDefinition/ExternalEvents.cpp" />
<Unit filename="GDCore/PlatformDefinition/ExternalEvents.h" />
<Unit filename="GDCore/PlatformDefinition/ExternalLayout.cpp" />
<Unit filename="GDCore/PlatformDefinition/ExternalLayout.h" />
<Unit filename="GDCore/PlatformDefinition/ImageManager.cpp" />
<Unit filename="GDCore/PlatformDefinition/ImageManager.h" />
<Unit filename="GDCore/PlatformDefinition/InitialInstance.cpp" />
<Unit filename="GDCore/PlatformDefinition/InitialInstance.h" />
<Unit filename="GDCore/PlatformDefinition/InitialInstancesContainer.cpp" />
<Unit filename="GDCore/PlatformDefinition/InitialInstancesContainer.h" />
<Unit filename="GDCore/PlatformDefinition/Layer.cpp" />
<Unit filename="GDCore/PlatformDefinition/Layer.h" />
<Unit filename="GDCore/PlatformDefinition/Layout.cpp" />
<Unit filename="GDCore/PlatformDefinition/Layout.h" />
<Unit filename="GDCore/PlatformDefinition/LayoutEditorPreviewer.cpp" />
<Unit filename="GDCore/PlatformDefinition/LayoutEditorPreviewer.h" />
<Unit filename="GDCore/PlatformDefinition/Object.cpp" />
<Unit filename="GDCore/PlatformDefinition/Object.h" />
<Unit filename="GDCore/PlatformDefinition/ObjectGroup.cpp" />
<Unit filename="GDCore/PlatformDefinition/ObjectGroup.h" />
<Unit filename="GDCore/PlatformDefinition/Platform.cpp" />
<Unit filename="GDCore/PlatformDefinition/Platform.h" />
<Unit filename="GDCore/PlatformDefinition/PlatformExtension.cpp" />
<Unit filename="GDCore/PlatformDefinition/PlatformExtension.h" />
<Unit filename="GDCore/PlatformDefinition/Project.cpp" />
<Unit filename="GDCore/PlatformDefinition/Project.h" />
<Unit filename="GDCore/PlatformDefinition/ResourcesManager.cpp" />
<Unit filename="GDCore/PlatformDefinition/ResourcesManager.h" />
<Unit filename="GDCore/PlatformDefinition/RessourcesLoader.cpp" />
<Unit filename="GDCore/PlatformDefinition/RessourcesLoader.h" />
<Unit filename="GDCore/PlatformDefinition/SourceFile.cpp" />
<Unit filename="GDCore/PlatformDefinition/SourceFile.h" />
<Unit filename="GDCore/PlatformDefinition/Variable.cpp" />
<Unit filename="GDCore/PlatformDefinition/Variable.h" />
<Unit filename="GDCore/PlatformDefinition/VariablesContainer.cpp" />
<Unit filename="GDCore/PlatformDefinition/VariablesContainer.h" />
<Unit filename="GDCore/Project/Behavior.cpp" />
<Unit filename="GDCore/Project/Behavior.h" />
<Unit filename="GDCore/Project/BehaviorsSharedData.cpp" />
<Unit filename="GDCore/Project/BehaviorsSharedData.h" />
<Unit filename="GDCore/Project/ChangesNotifier.cpp" />
<Unit filename="GDCore/Project/ChangesNotifier.h" />
<Unit filename="GDCore/Project/ClassWithObjects.cpp" />
<Unit filename="GDCore/Project/ClassWithObjects.h" />
<Unit filename="GDCore/Project/ExternalEvents.cpp" />
<Unit filename="GDCore/Project/ExternalEvents.h" />
<Unit filename="GDCore/Project/ExternalLayout.cpp" />
<Unit filename="GDCore/Project/ExternalLayout.h" />
<Unit filename="GDCore/Project/ImageManager.cpp" />
<Unit filename="GDCore/Project/ImageManager.h" />
<Unit filename="GDCore/Project/InitialInstance.cpp" />
<Unit filename="GDCore/Project/InitialInstance.h" />
<Unit filename="GDCore/Project/InitialInstancesContainer.cpp" />
<Unit filename="GDCore/Project/InitialInstancesContainer.h" />
<Unit filename="GDCore/Project/Layer.cpp" />
<Unit filename="GDCore/Project/Layer.h" />
<Unit filename="GDCore/Project/Layout.cpp" />
<Unit filename="GDCore/Project/Layout.h" />
<Unit filename="GDCore/Project/LayoutEditorPreviewer.cpp" />
<Unit filename="GDCore/Project/LayoutEditorPreviewer.h" />
<Unit filename="GDCore/Project/Object.cpp" />
<Unit filename="GDCore/Project/Object.h" />
<Unit filename="GDCore/Project/ObjectGroup.cpp" />
<Unit filename="GDCore/Project/ObjectGroup.h" />
<Unit filename="GDCore/Extensions/Platform.cpp" />
<Unit filename="GDCore/Extensions/Platform.h" />
<Unit filename="GDCore/Extensions/PlatformExtension.cpp" />
<Unit filename="GDCore/Extensions/PlatformExtension.h" />
<Unit filename="GDCore/Project/Project.cpp" />
<Unit filename="GDCore/Project/Project.h" />
<Unit filename="GDCore/Project/ResourcesManager.cpp" />
<Unit filename="GDCore/Project/ResourcesManager.h" />
<Unit filename="GDCore/Project/RessourcesLoader.cpp" />
<Unit filename="GDCore/Project/RessourcesLoader.h" />
<Unit filename="GDCore/Project/SourceFile.cpp" />
<Unit filename="GDCore/Project/SourceFile.h" />
<Unit filename="GDCore/Project/Variable.cpp" />
<Unit filename="GDCore/Project/Variable.h" />
<Unit filename="GDCore/Project/VariablesContainer.cpp" />
<Unit filename="GDCore/Project/VariablesContainer.h" />
<Unit filename="GDCore/TinyXml/tinystr.cpp" />
<Unit filename="GDCore/TinyXml/tinystr.h" />
<Unit filename="GDCore/TinyXml/tinyxml.cpp" />
@@ -489,29 +489,29 @@
<debugger />
<wxsmith version="1">
<resources>
<wxDialog wxs="wxsmith/ChooseVariableDialog.wxs" src="GDCore\IDE\Dialogs\ChooseVariableDialog.cpp" hdr="GDCore\IDE\Dialogs\ChooseVariableDialog.h" fwddecl="0" i18n="1" name="ChooseVariableDialog" language="CPP" />
<wxDialog wxs="wxsmith/ResourceLibraryDialog.wxs" src="GDCore\IDE\Dialogs\ResourceLibraryDialog.cpp" hdr="GDCore\IDE\Dialogs\ResourceLibraryDialog.h" fwddecl="0" i18n="1" name="ResourceLibraryDialog" language="CPP" />
<wxDialog wxs="wxsmith/ProjectExtensionsDialog.wxs" src="GDCore\IDE\Dialogs\ProjectExtensionsDialog.cpp" hdr="GDCore\IDE\Dialogs\ProjectExtensionsDialog.h" fwddecl="0" i18n="1" name="ProjectExtensionsDialog" language="CPP" />
<wxDialog wxs="wxsmith/ChooseObjectDialog.wxs" src="GDCore\IDE\Dialogs\ChooseObjectDialog.cpp" hdr="GDCore\IDE\Dialogs\ChooseObjectDialog.h" fwddecl="0" i18n="1" name="ChooseObjectDialog" language="CPP" />
<wxDialog wxs="wxsmith/ChooseBehaviorDialog.wxs" src="GDCore\IDE\Dialogs\ChooseBehaviorDialog.cpp" hdr="GDCore\IDE\Dialogs\ChooseBehaviorDialog.h" fwddecl="0" i18n="1" name="ChooseBehaviorDialog" language="CPP" />
<wxDialog wxs="wxsmith/ChooseLayerDialog.wxs" src="GDCore\IDE\Dialogs\ChooseLayerDialog.cpp" hdr="GDCore\IDE\Dialogs\ChooseLayerDialog.h" fwddecl="0" i18n="1" name="ChooseLayerDialog" language="CPP" />
<wxDialog wxs="wxsmith/EditExpressionDialog.wxs" src="GDCore\IDE\Dialogs\EditExpressionDialog.cpp" hdr="GDCore\IDE\Dialogs\EditExpressionDialog.h" fwddecl="0" i18n="1" name="EditExpressionDialog" language="CPP" />
<wxDialog wxs="wxsmith/EditStrExpressionDialog.wxs" src="GDCore\IDE\Dialogs\EditStrExpressionDialog.cpp" hdr="GDCore\IDE\Dialogs\EditStrExpressionDialog.h" fwddecl="0" i18n="1" name="EditStrExpressionDialog" language="CPP" />
<wxDialog wxs="wxsmith/AdvancedEntryDialog.wxs" src="GDCore\IDE\Dialogs\AdvancedEntryDialog.cpp" hdr="GDCore\IDE\Dialogs\AdvancedEntryDialog.h" fwddecl="0" i18n="1" name="AdvancedEntryDialog" language="CPP" />
<wxDialog wxs="wxsmith/ChooseObjectTypeDialog.wxs" src="GDCore\IDE\Dialogs\ChooseObjectTypeDialog.cpp" hdr="GDCore\IDE\Dialogs\ChooseObjectTypeDialog.h" fwddecl="0" i18n="1" name="ChooseObjectTypeDialog" language="CPP" />
<wxPanel wxs="wxsmith/LayoutEditorCanvas.wxs" src="GDCore\IDE\Dialogs\LayoutEditorCanvas.cpp" hdr="GDCore\IDE\Dialogs\LayoutEditorCanvas.h" fwddecl="0" i18n="1" name="LayoutEditorCanvas" language="CPP" />
<wxDialog wxs="wxsmith/GridSetupDialog.wxs" src="GDCore\IDE\Dialogs\GridSetupDialog.cpp" hdr="GDCore\IDE\Dialogs\GridSetupDialog.h" fwddecl="0" i18n="1" name="GridSetupDialog" language="CPP" />
<wxPanel wxs="wxsmith/LayersEditorPanel.wxs" src="GDCore\IDE\Dialogs\LayersEditorPanel.cpp" hdr="GDCore\IDE\Dialogs\LayersEditorPanel.h" fwddecl="0" i18n="1" name="LayersEditorPanel" language="CPP" />
<wxDialog wxs="wxsmith/InstancesAdvancedPasteDialog.wxs" src="GDCore\IDE\Dialogs\InstancesAdvancedPasteDialog.cpp" hdr="GDCore\IDE\Dialogs\InstancesAdvancedPasteDialog.h" fwddecl="0" i18n="1" name="InstancesAdvancedPasteDialog" language="CPP" />
<wxDialog wxs="wxsmith/ChooseBehaviorTypeDialog.wxs" src="GDCore\IDE\Dialogs\ChooseBehaviorTypeDialog.cpp" hdr="GDCore\IDE\Dialogs\ChooseBehaviorTypeDialog.h" fwddecl="0" i18n="1" name="ChooseBehaviorTypeDialog" language="CPP" />
<wxDialog wxs="wxsmith/EditLayerDialog.wxs" src="GDCore\IDE\Dialogs\EditLayerDialog.cpp" hdr="GDCore\IDE\Dialogs\EditLayerDialog.h" fwddecl="0" i18n="1" name="EditLayerDialog" language="CPP" />
<wxDialog wxs="wxsmith/EditLink.wxs" src="GDCore\IDE\Dialogs\EditLink.cpp" hdr="GDCore\IDE\Dialogs\EditLink.h" fwddecl="0" i18n="1" name="EditLink" language="CPP" />
<wxDialog wxs="wxsmith/EditComment.wxs" src="GDCore\IDE\Dialogs\EditComment.cpp" hdr="GDCore\IDE\Dialogs\EditComment.h" fwddecl="0" i18n="1" name="EditComment" language="CPP" />
<wxDialog wxs="wxsmith/EditForEachEvent.wxs" src="GDCore\IDE\Dialogs\EditForEachEvent.cpp" hdr="GDCore\IDE\Dialogs\EditForEachEvent.h" fwddecl="0" i18n="1" name="EditForEachEvent" language="CPP" />
<wxDialog wxs="wxsmith/EditRepeatEvent.wxs" src="GDCore\IDE\Dialogs\EditRepeatEvent.cpp" hdr="GDCore\IDE\Dialogs\EditRepeatEvent.h" fwddecl="0" i18n="1" name="EditRepeatEvent" language="CPP" />
<wxDialog wxs="wxsmith/ProjectUpdateDialog.wxs" src="GDCore\IDE\Dialogs\ProjectUpdateDialog.cpp" hdr="GDCore\IDE\Dialogs\ProjectUpdateDialog.h" fwddecl="0" i18n="1" name="ProjectUpdateDialog" language="CPP" />
<wxDialog wxs="wxsmith/SpriteObjectEditor.wxs" src="GDCore\BuiltinExtensions\SpriteExtension\Dialogs\SpriteObjectEditor.cpp" hdr="GDCore\BuiltinExtensions\SpriteExtension\Dialogs\SpriteObjectEditor.h" fwddecl="0" i18n="1" name="SpriteObjectEditor" language="CPP" />
<wxPanel wxs="wxsmith/ResourcesEditor.wxs" src="GDCore\IDE\Dialogs\ResourcesEditor.cpp" hdr="GDCore\IDE\Dialogs\ResourcesEditor.h" fwddecl="0" i18n="1" name="ResourcesEditor" language="CPP" />
<wxDialog wxs="wxsmith/ChooseVariableDialog.wxs" src="GDCore/IDE/Dialogs/ChooseVariableDialog.cpp" hdr="GDCore/IDE/Dialogs/ChooseVariableDialog.h" fwddecl="0" i18n="1" name="ChooseVariableDialog" language="CPP" />
<wxDialog wxs="wxsmith/ResourceLibraryDialog.wxs" src="GDCore/IDE/Dialogs/ResourceLibraryDialog.cpp" hdr="GDCore/IDE/Dialogs/ResourceLibraryDialog.h" fwddecl="0" i18n="1" name="ResourceLibraryDialog" language="CPP" />
<wxDialog wxs="wxsmith/ProjectExtensionsDialog.wxs" src="GDCore/IDE/Dialogs/ProjectExtensionsDialog.cpp" hdr="GDCore/IDE/Dialogs/ProjectExtensionsDialog.h" fwddecl="0" i18n="1" name="ProjectExtensionsDialog" language="CPP" />
<wxDialog wxs="wxsmith/ChooseObjectDialog.wxs" src="GDCore/IDE/Dialogs/ChooseObjectDialog.cpp" hdr="GDCore/IDE/Dialogs/ChooseObjectDialog.h" fwddecl="0" i18n="1" name="ChooseObjectDialog" language="CPP" />
<wxDialog wxs="wxsmith/ChooseBehaviorDialog.wxs" src="GDCore/IDE/Dialogs/ChooseBehaviorDialog.cpp" hdr="GDCore/IDE/Dialogs/ChooseBehaviorDialog.h" fwddecl="0" i18n="1" name="ChooseBehaviorDialog" language="CPP" />
<wxDialog wxs="wxsmith/ChooseLayerDialog.wxs" src="GDCore/IDE/Dialogs/ChooseLayerDialog.cpp" hdr="GDCore/IDE/Dialogs/ChooseLayerDialog.h" fwddecl="0" i18n="1" name="ChooseLayerDialog" language="CPP" />
<wxDialog wxs="wxsmith/EditExpressionDialog.wxs" src="GDCore/IDE/Dialogs/EditExpressionDialog.cpp" hdr="GDCore/IDE/Dialogs/EditExpressionDialog.h" fwddecl="0" i18n="1" name="EditExpressionDialog" language="CPP" />
<wxDialog wxs="wxsmith/EditStrExpressionDialog.wxs" src="GDCore/IDE/Dialogs/EditStrExpressionDialog.cpp" hdr="GDCore/IDE/Dialogs/EditStrExpressionDialog.h" fwddecl="0" i18n="1" name="EditStrExpressionDialog" language="CPP" />
<wxDialog wxs="wxsmith/AdvancedEntryDialog.wxs" src="GDCore/IDE/Dialogs/AdvancedEntryDialog.cpp" hdr="GDCore/IDE/Dialogs/AdvancedEntryDialog.h" fwddecl="0" i18n="1" name="AdvancedEntryDialog" language="CPP" />
<wxDialog wxs="wxsmith/ChooseObjectTypeDialog.wxs" src="GDCore/IDE/Dialogs/ChooseObjectTypeDialog.cpp" hdr="GDCore/IDE/Dialogs/ChooseObjectTypeDialog.h" fwddecl="0" i18n="1" name="ChooseObjectTypeDialog" language="CPP" />
<wxPanel wxs="wxsmith/LayoutEditorCanvas.wxs" src="GDCore/IDE/Dialogs/LayoutEditorCanvas.cpp" hdr="GDCore/IDE/Dialogs/LayoutEditorCanvas.h" fwddecl="0" i18n="1" name="LayoutEditorCanvas" language="CPP" />
<wxDialog wxs="wxsmith/GridSetupDialog.wxs" src="GDCore/IDE/Dialogs/GridSetupDialog.cpp" hdr="GDCore/IDE/Dialogs/GridSetupDialog.h" fwddecl="0" i18n="1" name="GridSetupDialog" language="CPP" />
<wxPanel wxs="wxsmith/LayersEditorPanel.wxs" src="GDCore/IDE/Dialogs/LayersEditorPanel.cpp" hdr="GDCore/IDE/Dialogs/LayersEditorPanel.h" fwddecl="0" i18n="1" name="LayersEditorPanel" language="CPP" />
<wxDialog wxs="wxsmith/InstancesAdvancedPasteDialog.wxs" src="GDCore/IDE/Dialogs/InstancesAdvancedPasteDialog.cpp" hdr="GDCore/IDE/Dialogs/InstancesAdvancedPasteDialog.h" fwddecl="0" i18n="1" name="InstancesAdvancedPasteDialog" language="CPP" />
<wxDialog wxs="wxsmith/ChooseBehaviorTypeDialog.wxs" src="GDCore/IDE/Dialogs/ChooseBehaviorTypeDialog.cpp" hdr="GDCore/IDE/Dialogs/ChooseBehaviorTypeDialog.h" fwddecl="0" i18n="1" name="ChooseBehaviorTypeDialog" language="CPP" />
<wxDialog wxs="wxsmith/EditLayerDialog.wxs" src="GDCore/IDE/Dialogs/EditLayerDialog.cpp" hdr="GDCore/IDE/Dialogs/EditLayerDialog.h" fwddecl="0" i18n="1" name="EditLayerDialog" language="CPP" />
<wxDialog wxs="wxsmith/EditLink.wxs" src="GDCore/IDE/Dialogs/EditLink.cpp" hdr="GDCore/IDE/Dialogs/EditLink.h" fwddecl="0" i18n="1" name="EditLink" language="CPP" />
<wxDialog wxs="wxsmith/EditComment.wxs" src="GDCore/IDE/Dialogs/EditComment.cpp" hdr="GDCore/IDE/Dialogs/EditComment.h" fwddecl="0" i18n="1" name="EditComment" language="CPP" />
<wxDialog wxs="wxsmith/EditForEachEvent.wxs" src="GDCore/IDE/Dialogs/EditForEachEvent.cpp" hdr="GDCore/IDE/Dialogs/EditForEachEvent.h" fwddecl="0" i18n="1" name="EditForEachEvent" language="CPP" />
<wxDialog wxs="wxsmith/EditRepeatEvent.wxs" src="GDCore/IDE/Dialogs/EditRepeatEvent.cpp" hdr="GDCore/IDE/Dialogs/EditRepeatEvent.h" fwddecl="0" i18n="1" name="EditRepeatEvent" language="CPP" />
<wxDialog wxs="wxsmith/ProjectUpdateDialog.wxs" src="GDCore/IDE/Dialogs/ProjectUpdateDialog.cpp" hdr="GDCore/IDE/Dialogs/ProjectUpdateDialog.h" fwddecl="0" i18n="1" name="ProjectUpdateDialog" language="CPP" />
<wxDialog wxs="wxsmith/SpriteObjectEditor.wxs" src="GDCore\Extensions\BuiltinExtensions\SpriteExtension\Dialogs\SpriteObjectEditor.cpp" hdr="GDCore\Extensions\BuiltinExtensions\SpriteExtension\Dialogs\SpriteObjectEditor.h" fwddecl="0" i18n="1" name="SpriteObjectEditor" language="CPP" />
<wxPanel wxs="wxsmith/ResourcesEditor.wxs" src="GDCore/IDE/Dialogs/ResourcesEditor.cpp" hdr="GDCore/IDE/Dialogs/ResourcesEditor.h" fwddecl="0" i18n="1" name="ResourcesEditor" language="CPP" />
</resources>
</wxsmith>
</Extensions>

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
@@ -8,11 +8,11 @@
#include <wx/dcmemory.h>
#endif
#include "CommentEvent.h"
#include "GDCore/IDE/EventsRenderingHelper.h"
#include "GDCore/IDE/Dialogs/EventsEditor/EventsRenderingHelper.h"
#include "GDCore/Serialization/SerializerElement.h"
#include "GDCore/IDE/Dialogs/EditComment.h"
#include "GDCore/IDE/EventsEditorItemsAreas.h"
#include "GDCore/IDE/EventsEditorSelection.h"
#include "GDCore/IDE/Dialogs/EventsEditor/EventsEditorItemsAreas.h"
#include "GDCore/IDE/Dialogs/EventsEditor/EventsEditorSelection.h"
#include "GDCore/CommonTools.h"
using namespace std;
@@ -87,7 +87,7 @@ void CommentEvent::Render(wxDC & dc, int x, int y, unsigned int width, gd::Event
unsigned int text2Height = renderingHelper->GetHTMLRenderer().GetTotalHeight();
//Prepare background
dc.SetBrush(wxBrush(wxColour(r, v, b), wxTRANSPARENT));
dc.SetBrush(wxBrush(wxColour(r, v, b), wxBRUSHSTYLE_TRANSPARENT));
dc.SetPen(wxPen(wxColour(r/2, v/2, b/2), 1));
//Draw the background

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#ifndef COMMENTEVENT_H

View File

@@ -1,21 +1,21 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "ForEachEvent.h"
#include <iostream>
#include "GDCore/TinyXml/tinyxml.h"
#include "GDCore/IDE/EventsRenderingHelper.h"
#include "GDCore/IDE/EventsEditorItemsAreas.h"
#include "GDCore/IDE/EventsEditorSelection.h"
#include "GDCore/IDE/Dialogs/EventsEditor/EventsRenderingHelper.h"
#include "GDCore/IDE/Dialogs/EventsEditor/EventsEditorItemsAreas.h"
#include "GDCore/IDE/Dialogs/EventsEditor/EventsEditorSelection.h"
#include "GDCore/Serialization/SerializerElement.h"
#include "GDCore/Events/Serialization.h"
#include "GDCore/Events/EventsCodeGenerator.h"
#include "GDCore/Events/ExpressionsCodeGeneration.h"
#include "GDCore/Events/EventsCodeNameMangler.h"
#include "GDCore/Events/EventsCodeGenerationContext.h"
#include "GDCore/Events/CodeGeneration/EventsCodeGenerator.h"
#include "GDCore/Events/CodeGeneration/ExpressionsCodeGeneration.h"
#include "GDCore/Events/Tools/EventsCodeNameMangler.h"
#include "GDCore/Events/CodeGeneration/EventsCodeGenerationContext.h"
#include "GDCore/IDE/Dialogs/EditForEachEvent.h"
using namespace std;

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
@@ -10,15 +10,15 @@
#include <wx/renderer.h>
#include "GDCore/IDE/Dialogs/MainFrameWrapper.h"
#endif
#include "GDCore/IDE/EventsRenderingHelper.h"
#include "GDCore/IDE/EventsEditorItemsAreas.h"
#include "GDCore/IDE/EventsEditorSelection.h"
#include "GDCore/IDE/Dialogs/EventsEditor/EventsRenderingHelper.h"
#include "GDCore/IDE/Dialogs/EventsEditor/EventsEditorItemsAreas.h"
#include "GDCore/IDE/Dialogs/EventsEditor/EventsEditorSelection.h"
#include "GDCore/Events/Serialization.h"
#include "GDCore/Serialization/SerializerElement.h"
#include "GDCore/TinyXml/tinyxml.h"
#include "GDCore/CommonTools.h"
#include "GDCore/Events/EventsCodeGenerator.h"
#include "GDCore/Events/EventsCodeGenerationContext.h"
#include "GDCore/Events/CodeGeneration/EventsCodeGenerator.h"
#include "GDCore/Events/CodeGeneration/EventsCodeGenerationContext.h"
#include "GDCore/IDE/Dialogs/GroupEventDialog.h"
#include "GDCore/IDE/Dialogs/EventStoreDialog.h"
@@ -132,7 +132,7 @@ void GroupEvent::Render(wxDC & dc, int x, int y, unsigned int width, gd::EventsE
dc.SetTextBackground(backgroundColor);
dc.SetTextForeground(textColor);
dc.SetFont( wxFont( 12, wxDEFAULT, wxNORMAL, wxFONTWEIGHT_BOLD ) );
dc.SetFont( wxFont( 12, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD ) );
dc.DrawText( groupTitle, x+5, y + 5 );
#endif
}
@@ -148,7 +148,7 @@ unsigned int GroupEvent::GetRenderedHeight(unsigned int width, const gd::Platfor
wxString groupTitle = name.empty() ? _("Untitled group") : wxString(name);
dc.SetFont( wxFont( 12, wxDEFAULT, wxNORMAL, wxNORMAL ) );
dc.SetFont( wxFont( 12, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL ) );
wxRect text = dc.GetTextExtent(groupTitle);
renderedHeight = text.GetHeight()+10;

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include <iostream>
@@ -8,16 +8,16 @@
#if !defined(GD_NO_WX_GUI)
#include <wx/dcmemory.h>
#endif
#include "GDCore/IDE/SkinHelper.h"
#include "GDCore/IDE/wxTools/SkinHelper.h"
#include "GDCore/Serialization/SerializerElement.h"
#include "GDCore/IDE/EventsRenderingHelper.h"
#include "GDCore/PlatformDefinition/Object.h"
#include "GDCore/PlatformDefinition/Project.h"
#include "GDCore/PlatformDefinition/Layout.h"
#include "GDCore/PlatformDefinition/ExternalEvents.h"
#include "GDCore/Events/EventsCodeGenerationContext.h"
#include "GDCore/Events/EventsCodeGenerator.h"
#include "GDCore/Events/EventsCodeNameMangler.h"
#include "GDCore/IDE/Dialogs/EventsEditor/EventsRenderingHelper.h"
#include "GDCore/Project/Object.h"
#include "GDCore/Project/Project.h"
#include "GDCore/Project/Layout.h"
#include "GDCore/Project/ExternalEvents.h"
#include "GDCore/Events/CodeGeneration/EventsCodeGenerationContext.h"
#include "GDCore/Events/CodeGeneration/EventsCodeGenerator.h"
#include "GDCore/Events/Tools/EventsCodeNameMangler.h"
#include "GDCore/Events/Builtin/LinkEvent.h"
#include "GDCore/IDE/Dialogs/EditLink.h"
#include "GDCore/CommonTools.h"

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#ifndef GDCORE_LINKEVENT_H

View File

@@ -1,18 +1,18 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "RepeatEvent.h"
#include "GDCore/IDE/EventsEditorItemsAreas.h"
#include "GDCore/IDE/EventsEditorSelection.h"
#include "GDCore/IDE/EventsRenderingHelper.h"
#include "GDCore/IDE/Dialogs/EventsEditor/EventsEditorItemsAreas.h"
#include "GDCore/IDE/Dialogs/EventsEditor/EventsEditorSelection.h"
#include "GDCore/IDE/Dialogs/EventsEditor/EventsRenderingHelper.h"
#include "GDCore/Events/Serialization.h"
#include "GDCore/Serialization/SerializerElement.h"
#include "GDCore/Events/EventsCodeGenerator.h"
#include "GDCore/Events/ExpressionsCodeGeneration.h"
#include "GDCore/Events/EventsCodeGenerationContext.h"
#include "GDCore/Events/CodeGeneration/EventsCodeGenerator.h"
#include "GDCore/Events/CodeGeneration/ExpressionsCodeGeneration.h"
#include "GDCore/Events/CodeGeneration/EventsCodeGenerationContext.h"
#include "GDCore/IDE/Dialogs/EditRepeatEvent.h"
using namespace std;

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/

View File

@@ -1,19 +1,19 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "StandardEvent.h"
#include "GDCore/IDE/EventsRenderingHelper.h"
#include "GDCore/IDE/EventsEditorItemsAreas.h"
#include "GDCore/IDE/EventsEditorSelection.h"
#include "GDCore/IDE/Dialogs/EventsEditor/EventsRenderingHelper.h"
#include "GDCore/IDE/Dialogs/EventsEditor/EventsEditorItemsAreas.h"
#include "GDCore/IDE/Dialogs/EventsEditor/EventsEditorSelection.h"
#include "GDCore/Events/Serialization.h"
#include "GDCore/Serialization/SerializerElement.h"
#include "GDCore/TinyXml/tinyxml.h"
#include "GDCore/CommonTools.h"
#include "GDCore/Events/EventsCodeGenerator.h"
#include "GDCore/Events/EventsCodeGenerationContext.h"
#include "GDCore/Events/CodeGeneration/EventsCodeGenerator.h"
#include "GDCore/Events/CodeGeneration/EventsCodeGenerationContext.h"
using namespace std;

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
@@ -8,17 +8,17 @@
#include "WhileEvent.h"
#if !defined(GD_NO_WX_GUI)
#include <wx/msgdlg.h>
#include "GDCore/IDE/CommonBitmapManager.h"
#include "GDCore/IDE/wxTools/CommonBitmapProvider.h"
#endif
#include "GDCore/TinyXml/tinyxml.h"
#include "GDCore/Events/EventsCodeGenerator.h"
#include "GDCore/Events/ExpressionsCodeGeneration.h"
#include "GDCore/IDE/EventsRenderingHelper.h"
#include "GDCore/IDE/EventsEditorItemsAreas.h"
#include "GDCore/IDE/EventsEditorSelection.h"
#include "GDCore/Events/CodeGeneration/EventsCodeGenerator.h"
#include "GDCore/Events/CodeGeneration/ExpressionsCodeGeneration.h"
#include "GDCore/IDE/Dialogs/EventsEditor/EventsRenderingHelper.h"
#include "GDCore/IDE/Dialogs/EventsEditor/EventsEditorItemsAreas.h"
#include "GDCore/IDE/Dialogs/EventsEditor/EventsEditorSelection.h"
#include "GDCore/Serialization/SerializerElement.h"
#include "GDCore/Events/Serialization.h"
#include "GDCore/Events/EventsCodeGenerationContext.h"
#include "GDCore/Events/CodeGeneration/EventsCodeGenerationContext.h"
using namespace std;
@@ -102,8 +102,8 @@ void WhileEvent::Render(wxDC & dc, int x, int y, unsigned int width, gd::EventsE
//Draw icon if infinite loop warning is deactivated.
if (!infiniteLoopWarning)
{
if ( gd::CommonBitmapManager::Get()->noProtection.IsOk() )
dc.DrawBitmap(gd::CommonBitmapManager::Get()->noProtection, wxPoint(x+5,y+5+18), /*useMask=*/true);
if ( gd::CommonBitmapProvider::Get()->noProtection.IsOk() )
dc.DrawBitmap(gd::CommonBitmapProvider::Get()->noProtection, wxPoint(x+5,y+5+18), /*useMask=*/true);
}
//Draw "while conditions"

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/

View File

@@ -1,12 +1,12 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "GDCore/Events/EventsCodeGenerationContext.h"
#include "GDCore/Events/EventsCodeNameMangler.h"
#include "GDCore/Events/CodeGeneration/EventsCodeGenerationContext.h"
#include "GDCore/Events/Tools/EventsCodeNameMangler.h"
#include "GDCore/CommonTools.h"
#include "GDCore/Events/EventsCodeGenerator.h"
#include "GDCore/Events/CodeGeneration/EventsCodeGenerator.h"
#include <set>
using namespace std;

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#ifndef EVENTSCODEGENERATIONCONTEXT_H

View File

@@ -1,19 +1,19 @@
#include <algorithm>
#include <utility>
#include "GDCore/PlatformDefinition/Layout.h"
#include "GDCore/PlatformDefinition/Project.h"
#include "GDCore/PlatformDefinition/PlatformExtension.h"
#include "GDCore/PlatformDefinition/Platform.h"
#include "GDCore/IDE/MetadataProvider.h"
#include "GDCore/Events/EventsCodeGenerator.h"
#include "GDCore/Project/Layout.h"
#include "GDCore/Project/Project.h"
#include "GDCore/Extensions/PlatformExtension.h"
#include "GDCore/Extensions/Platform.h"
#include "GDCore/Extensions/Metadata/MetadataProvider.h"
#include "GDCore/Events/CodeGeneration/EventsCodeGenerator.h"
#include "GDCore/CommonTools.h"
#include "GDCore/Events/ExpressionParser.h"
#include "GDCore/Events/EventsCodeNameMangler.h"
#include "GDCore/Events/EventsCodeGenerationContext.h"
#include "GDCore/Events/ExpressionsCodeGeneration.h"
#include "GDCore/Events/InstructionMetadata.h"
#include "GDCore/Events/ObjectMetadata.h"
#include "GDCore/Events/BehaviorMetadata.h"
#include "GDCore/Events/Parsers/ExpressionParser.h"
#include "GDCore/Events/Tools/EventsCodeNameMangler.h"
#include "GDCore/Events/CodeGeneration/EventsCodeGenerationContext.h"
#include "GDCore/Events/CodeGeneration/ExpressionsCodeGeneration.h"
#include "GDCore/Extensions/Metadata/InstructionMetadata.h"
#include "GDCore/Extensions/Metadata/ObjectMetadata.h"
#include "GDCore/Extensions/Metadata/BehaviorMetadata.h"
using namespace std;

View File

@@ -317,7 +317,7 @@ protected:
* \code
AddExpression("Count", _("Object count"), _("Count the number of picked objects"), _("Objects"), "res/conditions/nbObjet.png")
.AddParameter("objectList", _("Object"))
.SetFunctionName("PickedObjectsCount").SetIncludeFile("GDCpp/BuiltinExtensions/ObjectTools.h");
.SetFunctionName("PickedObjectsCount").SetIncludeFile("GDCpp/Extensions/Builtin/ObjectTools.h");
* \endcode
* - objectListWithoutPicking : Same as objectList but do not pick object if they are not already picked.

View File

@@ -1,21 +1,21 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "ExpressionsCodeGeneration.h"
#include "GDCore/PlatformDefinition/Project.h"
#include "GDCore/PlatformDefinition/Layout.h"
#include "GDCore/PlatformDefinition/Platform.h"
#include "GDCore/PlatformDefinition/PlatformExtension.h"
#include "GDCore/IDE/MetadataProvider.h"
#include "GDCore/Events/ExpressionParser.h"
#include "GDCore/Events/EventsCodeGenerator.h"
#include "GDCore/Events/EventsCodeNameMangler.h"
#include "GDCore/Events/EventsCodeGenerationContext.h"
#include "GDCore/Events/ExpressionMetadata.h"
#include "GDCore/Events/ObjectMetadata.h"
#include "GDCore/Events/BehaviorMetadata.h"
#include "GDCore/Project/Project.h"
#include "GDCore/Project/Layout.h"
#include "GDCore/Extensions/Platform.h"
#include "GDCore/Extensions/PlatformExtension.h"
#include "GDCore/Extensions/Metadata/MetadataProvider.h"
#include "GDCore/Events/Parsers/ExpressionParser.h"
#include "GDCore/Events/CodeGeneration/EventsCodeGenerator.h"
#include "GDCore/Events/Tools/EventsCodeNameMangler.h"
#include "GDCore/Events/CodeGeneration/EventsCodeGenerationContext.h"
#include "GDCore/Extensions/Metadata/ExpressionMetadata.h"
#include "GDCore/Extensions/Metadata/ObjectMetadata.h"
#include "GDCore/Extensions/Metadata/BehaviorMetadata.h"
#include "GDCore/CommonTools.h"
using namespace std;

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#ifndef EXPRESSIONSCODEGENERATION_H
@@ -8,7 +8,7 @@
#include <vector>
#include "GDCore/String.h"
#include "GDCore/Events/ExpressionParser.h"
#include "GDCore/Events/Parsers/ExpressionParser.h"
namespace gd { class ExpressionMetadata; }
namespace gd { class Expression; }
namespace gd { class Project; }

View File

@@ -1,14 +1,14 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "GDCore/Events/Event.h"
#include "GDCore/Events/EventsList.h"
#include "GDCore/PlatformDefinition/Platform.h"
#include "GDCore/PlatformDefinition/PlatformExtension.h"
#include "GDCore/Events/EventsCodeGenerator.h"
#include "GDCore/Extensions/Platform.h"
#include "GDCore/Extensions/PlatformExtension.h"
#include "GDCore/Events/CodeGeneration/EventsCodeGenerator.h"
namespace gd
{

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#if defined(GD_IDE_ONLY)

View File

@@ -1,13 +1,13 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "EventsList.h"
#include "GDCore/Events/Event.h"
#include "GDCore/Tools/Log.h"
#include "GDCore/PlatformDefinition/Project.h"
#include "GDCore/Project/Project.h"
#include "Serialization.h"
namespace gd

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#if defined(GD_IDE_ONLY)

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "GDCore/Events/Instruction.h"
@@ -60,11 +60,6 @@ void Instruction::SetParametersCount(std::size_t size)
parameters.push_back(gd::Expression(""));
}
Instruction::~Instruction()
{
//dtor
}
void Instruction::SetParameter(std::size_t nb, const gd::Expression & val)
{
if ( nb >= parameters.size() )

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#ifndef INSTRUCTION_H
@@ -48,7 +48,7 @@ public:
*/
Instruction(gd::String type_, const std::vector <gd::Expression> & parameters_, bool inverted = false);
virtual ~Instruction();
virtual ~Instruction() {};
/**
* \brief Return the type of the instruction.

View File

@@ -1,16 +1,16 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "GDCore/PlatformDefinition/Layout.h"
#include "GDCore/PlatformDefinition/Project.h"
#include "GDCore/Project/Layout.h"
#include "GDCore/Project/Project.h"
#include "GDCore/Events/Expression.h"
#include "GDCore/Events/ExpressionParser.h"
#include "GDCore/Events/InstructionMetadata.h"
#include "GDCore/Events/ExpressionMetadata.h"
#include "GDCore/IDE/MetadataProvider.h"
#include "GDCore/PlatformDefinition/Platform.h"
#include "GDCore/Events/Parsers/ExpressionParser.h"
#include "GDCore/Extensions/Metadata/InstructionMetadata.h"
#include "GDCore/Extensions/Metadata/ExpressionMetadata.h"
#include "GDCore/Extensions/Metadata/MetadataProvider.h"
#include "GDCore/Extensions/Platform.h"
#include "GDCore/CommonTools.h"
#include <algorithm>
#include <iostream>

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#ifndef GDCORE_EXPRESSIONPARSER_H

View File

@@ -1,11 +1,11 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "GDCore/String.h"
#include <vector>
#include "GDCore/Events/VariableParser.h"
#include "GDCore/Events/Parsers/VariableParser.h"
namespace gd { class Layout; }
namespace gd { class Project; }
namespace gd { class Platform; }

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#ifndef GDCORE_VARIABLEPARSER_H

View File

@@ -1,19 +1,18 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "GDCore/PlatformDefinition/Project.h"
#include "GDCore/PlatformDefinition/Platform.h"
#include "GDCore/Events/InstructionMetadata.h"
#include "GDCore/Project/Project.h"
#include "GDCore/Extensions/Platform.h"
#include "GDCore/Extensions/Metadata/InstructionMetadata.h"
#include "GDCore/Events/EventsList.h"
#include "GDCore/Events/Event.h"
#include "GDCore/Events/Serialization.h"
#include "GDCore/Serialization/Serializer.h"
#include "GDCore/Serialization/SerializerElement.h"
#include "GDCore/Events/Instruction.h"
#include "GDCore/TinyXml/tinyxml.h"
#include "GDCore/IDE/MetadataProvider.h"
#include "GDCore/Extensions/Metadata/MetadataProvider.h"
#include "GDCore/Tools/Log.h"
#include "GDCore/CommonTools.h"

View File

@@ -1,11 +1,10 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#ifndef GDCORE_EVENTS_SERIALIZATION_H
#define GDCORE_EVENTS_SERIALIZATION_H
#include "GDCore/TinyXml/tinyxml.h"
#include "GDCore/Events/Instruction.h"
#include "GDCore/Serialization/Serializer.h"
#include <vector>

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#if defined(GD_IDE_ONLY)

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#if defined(GD_IDE_ONLY)

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "AllBuiltinExtensions.h"

View File

@@ -1,12 +1,12 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#ifndef GDCORE_COMMONINSTRUCTIONSEXTENSION_H
#define GDCORE_COMMONINSTRUCTIONSEXTENSION_H
#include "GDCore/PlatformDefinition/PlatformExtension.h"
#include "GDCore/Extensions/PlatformExtension.h"
namespace gd
{

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "AllBuiltinExtensions.h"
@@ -27,7 +27,7 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsAudioExtension(gd::Plat
"res/actions/son24.png",
"res/actions/son.png")
.AddCodeOnlyParameter("currentScene", "")
.AddParameter("soundfile", _("Audio file"))
.AddParameter("soundfile", _("Audio file (or audio resource name)"))
.AddParameter("expression", _("Channel identifier"))
.AddParameter("yesorno", _("Repeat the sound"), "",true).SetDefaultValue("no")
.AddParameter("expression", _("Volume (from 0 to 100, 100 by default)"), "",true).SetDefaultValue("100")
@@ -75,7 +75,7 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsAudioExtension(gd::Plat
"res/actions/music24.png",
"res/actions/music.png")
.AddCodeOnlyParameter("currentScene", "")
.AddParameter("musicfile", _("Audio file"))
.AddParameter("musicfile", _("Audio file (or audio resource name)"))
.AddParameter("expression", _("Channel identifier"))
.AddParameter("yesorno", _("Repeat the sound"), "",true).SetDefaultValue("no")
.AddParameter("expression", _("Volume (from 0 to 100, 100 by default)"), "",true).SetDefaultValue("100")
@@ -220,7 +220,7 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsAudioExtension(gd::Plat
"res/actions/son24.png",
"res/actions/son.png")
.AddCodeOnlyParameter("currentScene", "")
.AddParameter("soundfile", _("Audio file"))
.AddParameter("soundfile", _("Audio file (or audio resource name)"))
.AddParameter("yesorno", _("Repeat the sound"), "",true).SetDefaultValue("no")
.AddParameter("expression", _("Volume (from 0 to 100, 100 by default)"), "",true).SetDefaultValue("100")
.AddParameter("expression", _("Pitch (speed) (1 by default)"), "",true).SetDefaultValue("1")
@@ -234,7 +234,7 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsAudioExtension(gd::Plat
"res/actions/music24.png",
"res/actions/music.png")
.AddCodeOnlyParameter("currentScene", "")
.AddParameter("musicfile", _("Audio file"))
.AddParameter("musicfile", _("Audio file (or audio resource name)"))
.AddParameter("yesorno", _("Repeat the sound"), "",true).SetDefaultValue("no")
.AddParameter("expression", _("Volume (from 0 to 100, 100 by default)"), "",true).SetDefaultValue("100")
.AddParameter("expression", _("Pitch (speed) (1 by default)"), "",true).SetDefaultValue("1")

View File

@@ -1,11 +1,11 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "AllBuiltinExtensions.h"
#include "GDCore/Tools/Localization.h"
#include "GDCore/PlatformDefinition/Object.h"
#include "GDCore/Project/Object.h"
using namespace std;
namespace gd
@@ -38,6 +38,7 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsBaseObjectExtension(gd:
.AddParameter("relationalOperator", _("Sign of the test"))
.AddParameter("expression", _("X position"))
.MarkAsSimple()
.SetHelpPage("gdevelop/documentation/manual/base")
.SetManipulatedType("number");
obj.AddAction("MettreX",
@@ -52,6 +53,7 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsBaseObjectExtension(gd:
.AddParameter("operator", _("Modification's sign"))
.AddParameter("expression", _("Value"))
.MarkAsSimple()
.SetHelpPage("gdevelop/documentation/manual/base")
.SetManipulatedType("number");
obj.AddCondition("PosY",
@@ -66,6 +68,7 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsBaseObjectExtension(gd:
.AddParameter("relationalOperator", _("Sign of the test"))
.AddParameter("expression", _("Y position"))
.MarkAsSimple()
.SetHelpPage("gdevelop/documentation/manual/base")
.SetManipulatedType("number");
obj.AddAction("MettreY",
@@ -80,6 +83,7 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsBaseObjectExtension(gd:
.AddParameter("operator", _("Modification's sign"))
.AddParameter("expression", _("Value"))
.MarkAsSimple()
.SetHelpPage("gdevelop/documentation/manual/base")
.SetManipulatedType("number");
obj.AddAction("MettreXY",
@@ -95,6 +99,7 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsBaseObjectExtension(gd:
.AddParameter("expression", _("X position"))
.AddParameter("operator", _("Modification's sign"))
.AddParameter("expression", _("Y position"))
.SetHelpPage("gdevelop/documentation/manual/base")
.MarkAsSimple();
obj.AddAction("MettreAutourPos",
@@ -110,6 +115,7 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsBaseObjectExtension(gd:
.AddParameter("expression", _("Y position"))
.AddParameter("expression", _("Distance"))
.AddParameter("expression", _("Angle, in degrees"))
.SetHelpPage("gdevelop/documentation/manual/base")
.MarkAsAdvanced();
obj.AddAction("SetAngle",
@@ -123,6 +129,7 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsBaseObjectExtension(gd:
.AddParameter("object", _("Object"))
.AddParameter("operator", _("Modification's sign"))
.AddParameter("expression", _("Value"))
.SetHelpPage("gdevelop/documentation/manual/base")
.SetManipulatedType("number");
obj.AddAction("Rotate",
@@ -136,6 +143,7 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsBaseObjectExtension(gd:
.AddParameter("object", _("Object"))
.AddParameter("expression", _("Angular speed (in degrees per second)"))
.AddCodeOnlyParameter("currentScene", "")
.SetHelpPage("gdevelop/documentation/manual/base")
.MarkAsSimple();
obj.AddAction("RotateTowardAngle",
@@ -149,6 +157,7 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsBaseObjectExtension(gd:
.AddParameter("object", _("Object"))
.AddParameter("expression", _("Angle to rotate towards (in degrees)"))
.AddParameter("expression", _("Angular speed (in degrees per second) (0 for immediate rotation)"))
.SetHelpPage("gdevelop/documentation/manual/base")
.AddCodeOnlyParameter("currentScene", "");
obj.AddAction("RotateTowardPosition",
@@ -164,6 +173,7 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsBaseObjectExtension(gd:
.AddParameter("expression", _("Y position"))
.AddParameter("expression", _("Angular speed (in degrees per second) (0 for immediate rotation)"))
.AddCodeOnlyParameter("currentScene", "")
.SetHelpPage("gdevelop/documentation/manual/base")
.MarkAsAdvanced();
obj.AddAction("AddForceXY",
@@ -177,7 +187,8 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsBaseObjectExtension(gd:
.AddParameter("object", _("Object"))
.AddParameter("expression", _("Speed on X axis (in pixels per second)"))
.AddParameter("expression", _("Speed on Y axis (in pixels per second)"))
.AddParameter("expression", _("Damping (Default: 0)"));
.AddParameter("expression", _("Damping (Default: 0)"))
.SetHelpPage("gdevelop/documentation/manual/base");
obj.AddAction("AddForceAL",
_("Add a force (angle)"),
@@ -191,6 +202,7 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsBaseObjectExtension(gd:
.AddParameter("expression", _("Angle"))
.AddParameter("expression", _("Speed (in pixels per second)"))
.AddParameter("expression", _("Damping (Default: 0)"))
.SetHelpPage("gdevelop/documentation/manual/base")
.MarkAsAdvanced();
obj.AddAction("AddForceVersPos",
@@ -206,6 +218,7 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsBaseObjectExtension(gd:
.AddParameter("expression", _("Y position"))
.AddParameter("expression", _("Speed (in pixels per second)"))
.AddParameter("expression", _("Damping (Default: 0)"))
.SetHelpPage("gdevelop/documentation/manual/base#displacement")
.MarkAsAdvanced();
obj.AddAction("AddForceTournePos",
@@ -234,6 +247,7 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsBaseObjectExtension(gd:
"res/actions/arreter.png")
.AddParameter("object", _("Object"))
.SetHelpPage("gdevelop/documentation/manual/base#displacement")
.MarkAsAdvanced();
obj.AddAction("Delete",

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "AllBuiltinExtensions.h"
@@ -21,7 +21,7 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsCameraExtension(gd::Pla
#if defined(GD_IDE_ONLY)
extension.AddCondition("CameraX",
_("Camera center X position"),
_("Compare the X position of a the center of a camera."),
_("Compare the X position of the center of a camera."),
_("X position of camera _PARAM4_ is _PARAM1__PARAM2_ (layer: _PARAM3_)"),
_("Layers and cameras"),
"res/conditions/camera24.png",

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "AllBuiltinExtensions.h"

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "AllBuiltinExtensions.h"

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "AllBuiltinExtensions.h"

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "AllBuiltinExtensions.h"

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "AllBuiltinExtensions.h"

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "AllBuiltinExtensions.h"

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "AllBuiltinExtensions.h"

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "AllBuiltinExtensions.h"

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "AllBuiltinExtensions.h"

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "AllBuiltinExtensions.h"

View File

@@ -1,12 +1,12 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "GDCore/BuiltinExtensions/SpriteExtension/Animation.h"
#include "GDCore/BuiltinExtensions/SpriteExtension/Direction.h"
#include "GDCore/BuiltinExtensions/SpriteExtension/Sprite.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/Animation.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/Direction.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/Sprite.h"
#include "GDCore/String.h"
#include <vector>

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
@@ -23,18 +23,18 @@
#include <algorithm>
#include "GDCore/Tools/Log.h"
#include "GDCore/Tools/Localization.h"
#include "GDCore/IDE/CommonBitmapManager.h"
#include "GDCore/IDE/wxTools/CommonBitmapProvider.h"
#include "GDCore/Tools/HelpFileAccess.h"
#include "GDCore/IDE/SkinHelper.h"
#include "GDCore/IDE/wxTools/SkinHelper.h"
#include "GDCore/IDE/wxTools/TreeItemStringData.h"
#include "GDCore/PlatformDefinition/ResourcesManager.h"
#include "GDCore/PlatformDefinition/Project.h"
#include "GDCore/PlatformDefinition/Platform.h"
#include "GDCore/Project/ResourcesManager.h"
#include "GDCore/Project/Project.h"
#include "GDCore/Extensions/Platform.h"
#include "GDCore/IDE/Dialogs/ResourcesEditor.h"
#include "GDCore/CommonTools.h"
#include "GDCore/BuiltinExtensions/SpriteExtension/SpriteObject.h"
#include "GDCore/BuiltinExtensions/SpriteExtension/Animation.h"
#include "GDCore/BuiltinExtensions/SpriteExtension/Direction.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/SpriteObject.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/Animation.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/Direction.h"
#include "SpriteObjectEditor.h"
#ifdef __WXMSW__
#include <wx/msw/winundef.h>
@@ -177,8 +177,8 @@ SpriteObjectEditor::SpriteObjectEditor(wxWindow* parent, gd::Project & game_, Sp
toolbarPanel = new wxPanel(centerPanel, ID_PANEL6, wxDefaultPosition, wxSize(-1,25), wxTAB_TRAVERSAL, _T("ID_PANEL6"));
AuiManager1 = new wxAuiManager(toolbarPanel, wxAUI_MGR_DEFAULT);
toolbar = new wxAuiToolBar(toolbarPanel, ID_AUITOOLBAR1, wxDefaultPosition, wxDefaultSize, wxAUI_TB_DEFAULT_STYLE);
toolbar->AddTool(ID_MASKITEM, _("Edit the collision masks (hitbox)"), gd::CommonBitmapManager::Get()->maskEdit16, wxNullBitmap, wxITEM_CHECK, _("Edit the collision masks (hitbox)"), wxEmptyString, NULL);
toolbar->AddTool(ID_POINTSITEM, _("Edit the image\'s point"), gd::CommonBitmapManager::Get()->pointEdit16, wxNullBitmap, wxITEM_CHECK, _("Edit the image\'s point"), wxEmptyString, NULL);
toolbar->AddTool(ID_MASKITEM, _("Edit the collision masks (hitbox)"), gd::CommonBitmapProvider::Get()->maskEdit16, wxNullBitmap, wxITEM_CHECK, _("Edit the collision masks (hitbox)"), wxEmptyString, NULL);
toolbar->AddTool(ID_POINTSITEM, _("Edit the image\'s point"), gd::CommonBitmapProvider::Get()->pointEdit16, wxNullBitmap, wxITEM_CHECK, _("Edit the image\'s point"), wxEmptyString, NULL);
toolbar->AddSeparator();
toolbar->AddTool(ID_AUITOOLBARITEM4, _("Preview"), gd::SkinHelper::GetIcon("preview", 16), wxNullBitmap, wxITEM_NORMAL, _("Preview"), wxEmptyString, NULL);
toolbar->AddSeparator();
@@ -257,7 +257,7 @@ SpriteObjectEditor::SpriteObjectEditor(wxWindow* parent, gd::Project & game_, Sp
maskToolbar->AddSeparator();
maskToolbar->AddTool(ID_AUITOOLBARITEM7, _("Item label"), gd::SkinHelper::GetIcon("remove", 16), wxNullBitmap, wxITEM_NORMAL, wxEmptyString, wxEmptyString, NULL);
maskToolbar->AddSeparator();
maskToolbar->AddTool(ID_AUITOOLBARITEM1, _("Go back to default mask"), gd::CommonBitmapManager::Get()->defaultMask16, wxNullBitmap, wxITEM_NORMAL, _("Go back to default mask"), wxEmptyString, NULL);
maskToolbar->AddTool(ID_AUITOOLBARITEM1, _("Go back to default mask"), gd::CommonBitmapProvider::Get()->defaultMask16, wxNullBitmap, wxITEM_NORMAL, _("Go back to default mask"), wxEmptyString, NULL);
maskToolbar->AddSeparator();
maskToolbar->AddTool(ID_MASKAPPLYWHOLEANIMITEM, _("Item label"), gd::SkinHelper::GetIcon("copy", 16), wxNullBitmap, wxITEM_CHECK, wxEmptyString, wxEmptyString, NULL);
maskToolbar->Realize();
@@ -407,7 +407,7 @@ SpriteObjectEditor::SpriteObjectEditor(wxWindow* parent, gd::Project & game_, Sp
Connect(ID_SCROLLBAR2,wxEVT_SCROLL_THUMBTRACK,(wxObjectEventFunction)&SpriteObjectEditor::OnxScrollBarScroll);
wxImageList * iconList = new wxImageList(16,16);
iconList->Add(gd::CommonBitmapManager::Get()->pointEdit16);
iconList->Add(gd::CommonBitmapProvider::Get()->pointEdit16);
pointsList->AssignImageList(iconList, wxIMAGE_LIST_SMALL);
pointsList->InsertColumn(0, _("Name"));
pointsList->InsertColumn(1, _("X"), wxLIST_FORMAT_LEFT, 35);
@@ -511,15 +511,15 @@ void SpriteObjectEditor::RefreshAnimationTree()
{
wxImageList * iconList = new wxImageList(16,16);
animationsTree->AssignImageList(iconList);
iconList->Add(gd::CommonBitmapManager::Get()->animation16);
iconList->Add(gd::CommonBitmapManager::Get()->rightdir16);
iconList->Add(gd::CommonBitmapManager::Get()->rightdowndir16);
iconList->Add(gd::CommonBitmapManager::Get()->downdir16);
iconList->Add(gd::CommonBitmapManager::Get()->leftdowndir16);
iconList->Add(gd::CommonBitmapManager::Get()->leftdir16);
iconList->Add(gd::CommonBitmapManager::Get()->leftupdir16);
iconList->Add(gd::CommonBitmapManager::Get()->updir16);
iconList->Add(gd::CommonBitmapManager::Get()->rightupdir16);
iconList->Add(gd::CommonBitmapProvider::Get()->animation16);
iconList->Add(gd::CommonBitmapProvider::Get()->rightdir16);
iconList->Add(gd::CommonBitmapProvider::Get()->rightdowndir16);
iconList->Add(gd::CommonBitmapProvider::Get()->downdir16);
iconList->Add(gd::CommonBitmapProvider::Get()->leftdowndir16);
iconList->Add(gd::CommonBitmapProvider::Get()->leftdir16);
iconList->Add(gd::CommonBitmapProvider::Get()->leftupdir16);
iconList->Add(gd::CommonBitmapProvider::Get()->updir16);
iconList->Add(gd::CommonBitmapProvider::Get()->rightupdir16);
animationsTree->DeleteAllItems();
wxTreeItemId root = animationsTree->AddRoot(_("All animations"));
@@ -567,7 +567,7 @@ void SpriteObjectEditor::RefreshImagesList()
if ( spriteBitmap.IsOk() )
thumbnailList->Add(spriteBitmap);
else
thumbnailList->Add(gd::CommonBitmapManager::Get()->error48);
thumbnailList->Add(gd::CommonBitmapProvider::Get()->error48);
imagesList->InsertItem(imagesList->GetItemCount(), gd::String::From(i), i);
}
}
@@ -600,7 +600,7 @@ wxBitmap SpriteObjectEditor::GetwxBitmapFromImageResource(gd::Resource & resourc
//Resource is probably not an image.
}
return gd::CommonBitmapManager::Get()->error48;
return gd::CommonBitmapProvider::Get()->error48;
}
SpriteObjectEditor::~SpriteObjectEditor()
@@ -643,7 +643,7 @@ void SpriteObjectEditor::OnimagePanelPaint(wxPaintEvent& event)
wxSize size = imagePanel->GetSize();
//Checkerboard background
dc.SetBrush(gd::CommonBitmapManager::Get()->transparentBg);
dc.SetBrush(gd::CommonBitmapProvider::Get()->transparentBg);
dc.DrawRectangle(0,0, imagePanel->GetSize().GetWidth(), imagePanel->GetSize().GetHeight());
if ( selectedAnimation < object.GetAnimationsCount() &&
@@ -687,9 +687,9 @@ void SpriteObjectEditor::OnimagePanelPaint(wxPaintEvent& event)
pointY = sprite.GetPoint(pointsList->GetItemText(pointIndex)).GetY();
}
dc.DrawBitmap(gd::CommonBitmapManager::Get()->point,
spritePosX+pointX-gd::CommonBitmapManager::Get()->point.GetWidth()/2,
spritePosY+pointY-gd::CommonBitmapManager::Get()->point.GetHeight()/2,
dc.DrawBitmap(gd::CommonBitmapProvider::Get()->point,
spritePosX+pointX-gd::CommonBitmapProvider::Get()->point.GetWidth()/2,
spritePosY+pointY-gd::CommonBitmapProvider::Get()->point.GetHeight()/2,
/*useMask=*/true);
}
@@ -718,7 +718,7 @@ void SpriteObjectEditor::OnpreviewPanelPaint(wxPaintEvent& event)
wxSize size = previewPanel->GetSize();
//Checkerboard background
dc.SetBrush(gd::CommonBitmapManager::Get()->transparentBg);
dc.SetBrush(gd::CommonBitmapProvider::Get()->transparentBg);
dc.DrawRectangle(0,0, previewPanel->GetSize().GetWidth(), previewPanel->GetSize().GetHeight());
if ( selectedAnimation < object.GetAnimationsCount() &&
@@ -1029,7 +1029,7 @@ bool DndTextSpriteObjectEditor::OnDropText(wxCoord x, wxCoord y, const wxString&
//Add ressources dragged from the library dialog to the project.
std::vector<gd::String> files;
for (std::size_t i = 2;i<command.size();++i) files.push_back(command[i]);
std::vector<gd::String> names = editor.resourcesEditorPnl->CopyAndAddResources(files, command[1]);
std::vector<gd::String> names = editor.resourcesEditorPnl->CopyAndAddResources(files, command[1], "image");
//And add them as usual to the animation.
for (std::size_t i = 0;i<names.size();++i)
@@ -1813,7 +1813,7 @@ void SpriteObjectEditor::OnAddFromImageBankSelected(wxCommandEvent& event)
void SpriteObjectEditor::OnHelpClick(wxCommandEvent& event)
{
gd::HelpFileAccess::Get()->OpenURL(_("http://wiki.compilgames.net/doku.php/en/game_develop/documentation/manual/built_sprite"));
gd::HelpFileAccess::Get()->OpenPage("en/game_develop/documentation/manual/built_sprite");
}
void SpriteObjectEditor::OnyScrollBarScroll(wxScrollEvent& event)

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)

View File

@@ -1,13 +1,13 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include <iostream>
#include "GDCore/String.h"
#include <vector>
#include "GDCore/BuiltinExtensions/SpriteExtension/Direction.h"
#include "GDCore/BuiltinExtensions/SpriteExtension/Sprite.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/Direction.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/Sprite.h"
#include "GDCore/Serialization/SerializerElement.h"
#include "GDCore/CommonTools.h"

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#ifndef GDCORE_DIRECTION_H

View File

@@ -1,10 +1,10 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "GDCore/BuiltinExtensions/SpriteExtension/Point.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/Point.h"
#include "GDCore/String.h"
Point::Point(const gd::String & name_) :

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "Polygon2d.h"

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#ifndef GDCORE_POLYGON_H

View File

@@ -1,11 +1,11 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "GDCore/BuiltinExtensions/SpriteExtension/Polygon2d.h"
#include "GDCore/BuiltinExtensions/SpriteExtension/Sprite.h"
#include "GDCore/PlatformDefinition/ImageManager.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/Polygon2d.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/Sprite.h"
#include "GDCore/Project/ImageManager.h"
#include <SFML/Graphics/Sprite.hpp>
#include <iostream>

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
@@ -9,8 +9,8 @@
#include "GDCore/String.h"
#include <memory>
#include <SFML/Graphics/Sprite.hpp>
#include "GDCore/BuiltinExtensions/SpriteExtension/Point.h"
#include "GDCore/BuiltinExtensions/SpriteExtension/Polygon2d.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/Point.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/Polygon2d.h"
class SFMLTextureWrapper;
#undef LoadImage //prevent windows.h to be polluting everything

View File

@@ -1,12 +1,12 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the GNU Lesser General Public LicenFse.
*/
#include "GDCore/BuiltinExtensions/AllBuiltinExtensions.h"
#include "GDCore/Extensions/Builtin/AllBuiltinExtensions.h"
#include "GDCore/Tools/Localization.h"
#include "GDCore/PlatformDefinition/Object.h"
#include "GDCore/BuiltinExtensions/SpriteExtension/SpriteObject.h"
#include "GDCore/Project/Object.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/SpriteObject.h"
using namespace std;
namespace gd

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
@@ -9,24 +9,24 @@
#endif
#include <algorithm>
#include "GDCore/Tools/Localization.h"
#include "GDCore/BuiltinExtensions/SpriteExtension/SpriteObject.h"
#include "GDCore/BuiltinExtensions/SpriteExtension/Animation.h"
#include "GDCore/BuiltinExtensions/SpriteExtension/Direction.h"
#include "GDCore/BuiltinExtensions/SpriteExtension/Sprite.h"
#include "GDCore/PlatformDefinition/Project.h"
#include "GDCore/PlatformDefinition/Layout.h"
#include "GDCore/PlatformDefinition/Object.h"
#include "GDCore/PlatformDefinition/ImageManager.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/SpriteObject.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/Animation.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/Direction.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/Sprite.h"
#include "GDCore/Project/Project.h"
#include "GDCore/Project/Layout.h"
#include "GDCore/Project/Object.h"
#include "GDCore/Project/ImageManager.h"
#include "GDCore/Serialization/SerializerElement.h"
#include "GDCore/PlatformDefinition/InitialInstance.h"
#include "GDCore/Project/InitialInstance.h"
#include "GDCore/CommonTools.h"
#if defined(GD_IDE_ONLY)
#include <SFML/Graphics.hpp>
#include "GDCore/IDE/ArbitraryResourceWorker.h"
#include "GDCore/IDE/Project/ArbitraryResourceWorker.h"
#include "GDCore/IDE/Dialogs/MainFrameWrapper.h"
#include "GDCore/IDE/Dialogs/PropertyDescriptor.h"
#include "GDCore/BuiltinExtensions/SpriteExtension/Dialogs/SpriteObjectEditor.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/Dialogs/SpriteObjectEditor.h"
#endif
namespace gd {

View File

@@ -1,15 +1,15 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#ifndef GDCORE_SPRITEOBJECT_H
#define GDCORE_SPRITEOBJECT_H
#include "GDCore/PlatformDefinition/Object.h"
#include "GDCore/BuiltinExtensions/SpriteExtension/Animation.h"
#include "GDCore/BuiltinExtensions/SpriteExtension/Direction.h"
#include "GDCore/BuiltinExtensions/SpriteExtension/Sprite.h"
#include "GDCore/Project/Object.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/Animation.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/Direction.h"
#include "GDCore/Extensions/Builtin/SpriteExtension/Sprite.h"
namespace gd { class InitialInstance; }
namespace gd { class Object; }
namespace gd { class Layout; }

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "AllBuiltinExtensions.h"

View File

@@ -1,6 +1,6 @@
/*
* GDevelop Core
* Copyright 2008-2015 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights reserved.
* This project is released under the MIT License.
*/
#include "AllBuiltinExtensions.h"

Some files were not shown because too many files have changed in this diff Show More