mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Compare commits
250 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
61b01aa1a1 | ||
![]() |
0296162cda | ||
![]() |
c11ffca94a | ||
![]() |
2fce1fc16f | ||
![]() |
2a3657abef | ||
![]() |
eeb0dc8a63 | ||
![]() |
f6f56d77a0 | ||
![]() |
749c383fd7 | ||
![]() |
98c822bfb4 | ||
![]() |
2ed48d302d | ||
![]() |
7e7e93b94c | ||
![]() |
848df5aa5b | ||
![]() |
7a6f3ffe7c | ||
![]() |
21012c3445 | ||
![]() |
5485b28b19 | ||
![]() |
d313f13475 | ||
![]() |
a4e88bd504 | ||
![]() |
f446a75fd8 | ||
![]() |
e64bb8a6f7 | ||
![]() |
1cd4226427 | ||
![]() |
817fba1114 | ||
![]() |
37a0c3c919 | ||
![]() |
fc4b12803d | ||
![]() |
51f09d1bb6 | ||
![]() |
8ce9afff6b | ||
![]() |
84711a25c3 | ||
![]() |
d33042cece | ||
![]() |
719032f91d | ||
![]() |
73c0bf56c8 | ||
![]() |
acd8d54c5e | ||
![]() |
99b0c8345c | ||
![]() |
c97fea1a9e | ||
![]() |
cd7457eba8 | ||
![]() |
c9a0cc9afd | ||
![]() |
0f990cc913 | ||
![]() |
656921b9c8 | ||
![]() |
246bde6dec | ||
![]() |
d54eadf39d | ||
![]() |
3a2f6a2ac7 | ||
![]() |
feb243d2f7 | ||
![]() |
aea43b96d5 | ||
![]() |
64f077bcb2 | ||
![]() |
9e5893883f | ||
![]() |
99681bb89b | ||
![]() |
13dcc9a1bd | ||
![]() |
7eb96d97af | ||
![]() |
8e8b49f27d | ||
![]() |
226f67f114 | ||
![]() |
0c2600ccf4 | ||
![]() |
d3d37afea6 | ||
![]() |
507c23f401 | ||
![]() |
961513f81b | ||
![]() |
de45e12245 | ||
![]() |
746bdd0114 | ||
![]() |
8a0d0d332d | ||
![]() |
40be4153c2 | ||
![]() |
9bae415530 | ||
![]() |
fad17d7901 | ||
![]() |
35f857060c | ||
![]() |
90b8854ecf | ||
![]() |
cbb79a2d52 | ||
![]() |
116411a300 | ||
![]() |
7f3ef4002d | ||
![]() |
7ad5358451 | ||
![]() |
acd08be06a | ||
![]() |
12071e8645 | ||
![]() |
9aad6a89df | ||
![]() |
927632cd0f | ||
![]() |
f44d2ec219 | ||
![]() |
1006cf3fcb | ||
![]() |
fd8b6ce4ba | ||
![]() |
2dac7b12bb | ||
![]() |
cab91ebb8b | ||
![]() |
95709fbd4d | ||
![]() |
72a5d32979 | ||
![]() |
dca642ebb1 | ||
![]() |
d1b486f3cf | ||
![]() |
35c7328a48 | ||
![]() |
e68e814853 | ||
![]() |
117722621a | ||
![]() |
ce1c1c3cea | ||
![]() |
18626964eb | ||
![]() |
f2f40a4275 | ||
![]() |
77e4a1a614 | ||
![]() |
bec51c705b | ||
![]() |
3df427fb7c | ||
![]() |
7a6d549f53 | ||
![]() |
34981bd794 | ||
![]() |
c499817bed | ||
![]() |
f1be2948cf | ||
![]() |
976ea58f6b | ||
![]() |
12323965e0 | ||
![]() |
804e8c8718 | ||
![]() |
a549f220cb | ||
![]() |
452a4ec616 | ||
![]() |
1af2bb6023 | ||
![]() |
21dcb391b4 | ||
![]() |
8602bbfa51 | ||
![]() |
99e4c394fe | ||
![]() |
dc85bbacea | ||
![]() |
b24060f8d0 | ||
![]() |
40ba9526c4 | ||
![]() |
12106192b9 | ||
![]() |
d306c8f3fd | ||
![]() |
57c1b66a25 | ||
![]() |
54b6a7f295 | ||
![]() |
6a74d8c75f | ||
![]() |
e444e80493 | ||
![]() |
b78e8a46ec | ||
![]() |
42aed41cfc | ||
![]() |
9d970fb0ce | ||
![]() |
8da557443f | ||
![]() |
010759bdc2 | ||
![]() |
eb9c265ec1 | ||
![]() |
626a54b78f | ||
![]() |
5f0f3327c3 | ||
![]() |
6c83d655ea | ||
![]() |
f648d61f54 | ||
![]() |
7fc0742dfd | ||
![]() |
f9e7455e12 | ||
![]() |
9acfea02db | ||
![]() |
1630b82d63 | ||
![]() |
0121ce489b | ||
![]() |
35b14bb58a | ||
![]() |
4605ac8688 | ||
![]() |
b707e5acb8 | ||
![]() |
a75b87d69d | ||
![]() |
b8322398f3 | ||
![]() |
6f8ce3a133 | ||
![]() |
4573a9db1e | ||
![]() |
42f6dc9a76 | ||
![]() |
a48c3aef38 | ||
![]() |
760b06dc47 | ||
![]() |
718f204ebb | ||
![]() |
5688e21d0a | ||
![]() |
21238c8cb3 | ||
![]() |
a4ee365eb8 | ||
![]() |
3c24bb047f | ||
![]() |
f5acc4c9b3 | ||
![]() |
97ef2d5c94 | ||
![]() |
877679c726 | ||
![]() |
fff64c0ec9 | ||
![]() |
7d81821040 | ||
![]() |
b8e3164aa6 | ||
![]() |
871f6ade67 | ||
![]() |
dcae745626 | ||
![]() |
156fcaec8a | ||
![]() |
d65bc5c61f | ||
![]() |
989f4b2e4e | ||
![]() |
40059d4270 | ||
![]() |
56967479de | ||
![]() |
af0a3ca3eb | ||
![]() |
5a5b1d6eff | ||
![]() |
98b5a66ad0 | ||
![]() |
01196c6542 | ||
![]() |
002bfb06d0 | ||
![]() |
ad868362fe | ||
![]() |
b059c3f3b4 | ||
![]() |
508dd80c60 | ||
![]() |
1f022e860d | ||
![]() |
fe9252d3f9 | ||
![]() |
4706990730 | ||
![]() |
e22cbbeabd | ||
![]() |
71f0d25b77 | ||
![]() |
91aa2ec604 | ||
![]() |
5dc0413f48 | ||
![]() |
7ff0bc3fa0 | ||
![]() |
951f3f54af | ||
![]() |
7d991c6823 | ||
![]() |
549614adbb | ||
![]() |
f4053c18a6 | ||
![]() |
b492cc72c4 | ||
![]() |
2d6de6e16a | ||
![]() |
95afd2c5b6 | ||
![]() |
693eac1916 | ||
![]() |
780a022029 | ||
![]() |
1e4f622b5c | ||
![]() |
1fc1863e5b | ||
![]() |
476f6da7ec | ||
![]() |
828e16ac5b | ||
![]() |
33ff92681e | ||
![]() |
20afa9201d | ||
![]() |
764443d31f | ||
![]() |
539f68c013 | ||
![]() |
078669bf55 | ||
![]() |
3eb2a86b23 | ||
![]() |
10873c559d | ||
![]() |
34a902dc11 | ||
![]() |
e1c56f1c71 | ||
![]() |
02891a777b | ||
![]() |
18c5a230a3 | ||
![]() |
e95ae97c35 | ||
![]() |
db69c83a58 | ||
![]() |
cd9ae7ca40 | ||
![]() |
04a699d3e9 | ||
![]() |
e4fab74a32 | ||
![]() |
63cb853d72 | ||
![]() |
2a95765fd9 | ||
![]() |
f4a603217c | ||
![]() |
ee0ad9d346 | ||
![]() |
e1e6ab0d6d | ||
![]() |
05e8dc998b | ||
![]() |
66f67e7694 | ||
![]() |
ade4c5b4f5 | ||
![]() |
5b22ed1d45 | ||
![]() |
8462eefb7d | ||
![]() |
46e6ecd72a | ||
![]() |
08def0ebbf | ||
![]() |
9a0e138407 | ||
![]() |
3a982afea7 | ||
![]() |
ba5ccf72ef | ||
![]() |
5375647001 | ||
![]() |
02a5fb07a3 | ||
![]() |
327eba95a6 | ||
![]() |
6b88bae850 | ||
![]() |
5e534aa414 | ||
![]() |
faf4baffc5 | ||
![]() |
cf2100a626 | ||
![]() |
0b8f72c572 | ||
![]() |
4fd7ae71f8 | ||
![]() |
656b3bf3eb | ||
![]() |
18eb1b1cf4 | ||
![]() |
9a246686d5 | ||
![]() |
2c435388a7 | ||
![]() |
1efd19ee82 | ||
![]() |
f4dc2d6983 | ||
![]() |
64bfdf165f | ||
![]() |
ef3e145f42 | ||
![]() |
3b221ae54e | ||
![]() |
00928414a4 | ||
![]() |
0202e7bab2 | ||
![]() |
7c2264a9b9 | ||
![]() |
a0246dd33e | ||
![]() |
5612333c55 | ||
![]() |
05551c4d43 | ||
![]() |
f6a55188c6 | ||
![]() |
b5ec6e8deb | ||
![]() |
970bc3b0f0 | ||
![]() |
876a7fecb5 | ||
![]() |
3ac292ec18 | ||
![]() |
1ff06d4c9c | ||
![]() |
4a84e5048a | ||
![]() |
c02a471a36 | ||
![]() |
958d9bcda5 | ||
![]() |
af4145f923 | ||
![]() |
85ba7759b1 | ||
![]() |
a6a983d7b2 | ||
![]() |
19350b3061 | ||
![]() |
dafbd05eb6 | ||
![]() |
778e4a27b6 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -50,6 +50,7 @@ Binaries/Packaging/logs
|
||||
!/Binaries/Output/Release_Linux/CppPlatform/
|
||||
/Binaries/**/MinGW32
|
||||
/Binaries/**/CppPlatform/Runtime
|
||||
/Binaries/**/CppPlatform/Sources
|
||||
/Binaries/**/CppPlatform/include
|
||||
/Binaries/**/CppPlatform/Extensions/include
|
||||
/Binaries/**/JsPlatform/Runtime
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#include "GDCpp/RuntimeScene.h"
|
||||
#include "GDCpp/Runtime/RuntimeScene.h"
|
||||
#include "TextObject/TextObject.h" //but do not forget extensions includes
|
||||
#include <iostream>
|
||||
|
||||
|
@@ -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.
|
||||
|
1
Binaries/Output/Release_Windows/SelectLanguage-fi.cfg
Normal file
1
Binaries/Output/Release_Windows/SelectLanguage-fi.cfg
Normal file
@@ -0,0 +1 @@
|
||||
fi_FI
|
1
Binaries/Output/Release_Windows/SelectLanguage-nl.cfg
Normal file
1
Binaries/Output/Release_Windows/SelectLanguage-nl.cfg
Normal file
@@ -0,0 +1 @@
|
||||
nl_NL
|
Binary file not shown.
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
BIN
Binaries/Output/Release_Windows/locale/fi_FI/GD.mo
Normal file
BIN
Binaries/Output/Release_Windows/locale/fi_FI/GD.mo
Normal file
Binary file not shown.
20406
Binaries/Output/Release_Windows/locale/fi_FI/GD.po
Executable file
20406
Binaries/Output/Release_Windows/locale/fi_FI/GD.po
Executable file
File diff suppressed because it is too large
Load Diff
BIN
Binaries/Output/Release_Windows/locale/fi_FI/wxstd.mo
Normal file
BIN
Binaries/Output/Release_Windows/locale/fi_FI/wxstd.mo
Normal file
Binary file not shown.
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
BIN
Binaries/Output/Release_Windows/locale/nl_NL/GD.mo
Normal file
BIN
Binaries/Output/Release_Windows/locale/nl_NL/GD.mo
Normal file
Binary file not shown.
20394
Binaries/Output/Release_Windows/locale/nl_NL/GD.po
Executable file
20394
Binaries/Output/Release_Windows/locale/nl_NL/GD.po
Executable file
File diff suppressed because it is too large
Load Diff
BIN
Binaries/Output/Release_Windows/locale/nl_NL/wxstd.mo
Normal file
BIN
Binaries/Output/Release_Windows/locale/nl_NL/wxstd.mo
Normal file
Binary file not shown.
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
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
@@ -4,6 +4,7 @@ rm -rf GDevelop.app 2>&1 >/dev/null
|
||||
cp -r macos-bundle-skeleton GDevelop.app
|
||||
cp -r ../Output/Release_Darwin/ GDevelop.app/Contents/Resources/
|
||||
cp -R ../../ExtLibs/SFML/extlibs/libs-osx/Frameworks GDevelop.app/Contents/
|
||||
mkdir -p GDevelop.app/Contents/MacOS
|
||||
mv GDevelop.app/Contents/Resources/GDIDE_launcher GDevelop.app/Contents/MacOS/GDIDE_launcher
|
||||
|
||||
type dylibbundler >/dev/null 2>&1 || { echo >&2 "Can't find dylibbundler, required to change libraries install names. Aborting..."; exit 1; }
|
||||
@@ -19,6 +20,13 @@ echo . | dylibbundler -x GDIDE -b -cd -od -of -p '@executable_path/' > /dev/null
|
||||
mv libs/* .
|
||||
rm -rf libs
|
||||
|
||||
#Do the same for wxWidgets libs, to ensure that each wx library has
|
||||
#the other local libraries as dependencies instead of the ones in /usr/local/[...].
|
||||
for file in `ls libwx*`
|
||||
do
|
||||
echo . | dylibbundler -x $file -cd -od -of -p '@executable_path/'
|
||||
done
|
||||
|
||||
#Do the same for GDCore and GDCpp.
|
||||
#We don't need -b flag anymore as all external libs have already being copied.
|
||||
echo . | dylibbundler -x libGDCpp.dylib -cd -od -of -p '@executable_path/' > /dev/null
|
||||
@@ -45,6 +53,19 @@ CppPlatform/Extensions/
|
||||
quit
|
||||
EOF
|
||||
done
|
||||
for file in `ls JsPlatform/Extensions/*.xgde`
|
||||
do
|
||||
echo "Updating libraries for $file..."
|
||||
cat <<EOF | dylibbundler -x $file -cd -od -of -p '@executable_path/' > /dev/null
|
||||
JsPlatform
|
||||
JsPlatform/Extensions/
|
||||
.
|
||||
JsPlatform
|
||||
JsPlatform/Extensions/
|
||||
.
|
||||
quit
|
||||
EOF
|
||||
done
|
||||
|
||||
|
||||
###Code signing and pkg building
|
||||
@@ -61,7 +82,7 @@ rm GDevelop.app/Contents/Resources/7zS.sfx
|
||||
|
||||
#Now sign the package:
|
||||
function sign {
|
||||
codesign -f -v --deep -s "3rd Party Mac Developer Application: Florian Rival" $1 --entitlements GDevelop.entitlements
|
||||
codesign -f -v --deep -s "Developer ID Application: Florian Rival" $1 --entitlements GDevelop.entitlements
|
||||
}
|
||||
|
||||
for file in `ls GDevelop.app/Contents/Resources/*.dylib`
|
||||
@@ -74,6 +95,11 @@ do
|
||||
sign $file
|
||||
done
|
||||
|
||||
for file in `ls GDevelop.app/Contents/Resources/JsPlatform/Extensions/*.{xgde,dylib}`
|
||||
do
|
||||
sign $file
|
||||
done
|
||||
|
||||
for file in `ls GDevelop.app/Contents/Resources/CppPlatform/Extensions/Runtime/*.xgd`
|
||||
do
|
||||
sign $file
|
||||
@@ -86,9 +112,9 @@ sign "GDevelop.app/Contents/Resources/JsPlatform/libGDJS.dylib"
|
||||
|
||||
sign "GDevelop.app/Contents/Resources/GDIDE"
|
||||
sign "GDevelop.app/Contents/MacOS/GDIDE_launcher"
|
||||
sign "GDevelop.app/Contents/Frameworks/sndfile.framework"
|
||||
sign "GDevelop.app/Contents/Frameworks/freetype.framework"
|
||||
sign "GDevelop.app/Contents/Frameworks/sndfile.framework/Versions/Current"
|
||||
sign "GDevelop.app/Contents/Frameworks/freetype.framework/Versions/Current"
|
||||
sign "GDevelop.app"
|
||||
|
||||
#And create the pkg:
|
||||
productbuild --component "GDevelop.app" /Applications --sign "3rd Party Mac Developer Installer: Florian Rival" --product "GDevelop.app/Contents/Info.plist" GDevelop.pkg
|
||||
productbuild --component "GDevelop.app" /Applications --sign "Developer ID Installer: Florian Rival" --product "GDevelop.app/Contents/Info.plist" GDevelop.pkg
|
||||
|
@@ -40,9 +40,9 @@ IF "%SKIPINSTALLER%"=="1" echo (Skipped)
|
||||
|
||||
echo.
|
||||
echo --Creating archive...
|
||||
if exist Releases\gd3xxxx.zip (del Releases\gd3xxxx.zip)
|
||||
if exist Releases\gd4xxxx.7z (del Releases\gd4xxxx.7z)
|
||||
cd Output\Release_Windows\
|
||||
IF NOT "%SKIPINSTALLERANDARCHIVE%"=="1" "..\..\..\ExtLibs\7za.exe" a ..\..\Releases\gd3xxxx.zip * > ..\..\Packaging\logs\zipArchiveLog.txt
|
||||
IF NOT "%SKIPINSTALLERANDARCHIVE%"=="1" "..\..\..\ExtLibs\7za.exe" a ..\..\Releases\gd4xxxx.7z * > ..\..\Packaging\logs\7zArchiveLog.txt
|
||||
IF "%SKIPINSTALLERANDARCHIVE%"=="1" echo (Skipped)
|
||||
cd ..\..\..
|
||||
|
||||
@@ -50,4 +50,4 @@ echo. >CON
|
||||
echo Finished. Do not forget to : >CON
|
||||
echo -Update news.txt >CON
|
||||
echo -Update pad file >CON
|
||||
pause >CON
|
||||
pause >CON
|
||||
|
Binary file not shown.
@@ -13,17 +13,17 @@ AllowNoIcons=yes
|
||||
LicenseFile=..\Output\Release_Windows\License-en.rtf
|
||||
InfoBeforeFile=..\Output\Release_Windows\Informations-en.rtf
|
||||
OutputDir=.\
|
||||
OutputBaseFilename=gd4083
|
||||
OutputBaseFilename=gd4090
|
||||
Compression=lzma
|
||||
SolidCompression=yes
|
||||
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}
|
||||
|
@@ -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.

Correction d'un crash lors de l'<27>dition d'un nouvel objet Carte de tuiles

Nouveaut<75>s de la version 3.6.83 :

Nouvelles traductions (partielles) italiennes, chinoises et polonaises.
Nouvelle condition 'S<>lectionner l'objet le plus proche'
Nouvelle conditions pour tester si un bouton de la souris ou du clavier est relach<63>
Am<EFBFBD>lioration du syst<73>me audio des jeux HTML5, meilleure performances sur les mobiles.
Mise <EFBFBD> jour du moteur de rendu des jeux HTML5 (Pixi.js)
Nouvelle d<>mo technique Advanced 3D Tower
Ajout de la touche retour arri<72>re en alternative <20> Suppr. dans la majorit<69> des <20>diteurs.
Correction du crash avec les objets lumi<6D>res sur Windows.
Correction de l'usage trop intensif du processeur dans l'<27>diteur d'<27>venements sur Linux.
Correction de l'ordre d'insertion d'images multiples dans une animation.
Correction de la couleur global d'un objet Sprite dans les jeux HTML5
Correction de l'<27>chelle de la taille d'un Sprite quand l'objet est invers<72>.
Correction de la recherche de chemin qui ne marchait plus pour les jeux natifs.
Correction de crash avec l'objet Carte de tuiles en utilisant des grandes images pour les tuiles.
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"/>
|
||||
<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&utm_medium=link_fr&utm_campaign=launch" linkLabel2="Tester GDevApp, la nouvelle app de cr<63>ation de jeux"/>
|
||||
<Version Major="4" Minor="0" Build="89" Revision="0"/>
|
||||
<Info Info="La version 4.0.89 est disponible.

Ajout des traductions en Néerlandais et Finnois.
Correction de la position par défaut des bannières AdMob.
Amélioration et changements en interne.
Correction de la condition 'Toujours' pour les jeux HTML5
Correction d'un crash avec l'objet Carte de Tuiles lors de l'utilisation d'une image vide.
Support de l'importation des fichiers TMX (créés avec Tiled Map Editor: http://www.mapeditor.org/) pour les objets Carte de Tuiles.
Correction des actions de stockage qui n'enregistrait pas les données dans certaines conditions.
Amélioration des performances de l'objet Panneau pour les jeux HTML5.
Mise à jour du moteur de rendu des jeux HTML5 (pixi.js v3.0.8)
Les fichiers Audio peuvent maintenant être ajoutés comme des ressources pour les précharger dans les jeux HTML5.
Amélioration des performances des musiques des jeux HTML5 sur Android
Correction pour les jeux natifs qui ne se lançaient pas dans les répertoires avec des caractères spéciaux.
Correction de problèmes avec l'éditeur d'agencements externes.
Correction d'une erreur 404 lors de l'aperçu de jeux HTML5 sur les distributions linux récentes." Lien="http://compilgames.net"/>
|
||||
<CommunityNews text="GDevApp est une web app de création de jeux basée sur GDevelop : venez essayer la plus avancée des applications online de création de jeux. Compatible avec les tablettes et fournie avec des superbes packs de graphismes pré-préparés." link1="https://github.com/4ian/GD" linkLabel1="GDevelop sur GitHub" link2="https://gdevapp.com?utm_source=software&utm_medium=link_fr&utm_campaign=launch" linkLabel2="Tester GDevApp, la nouvelle app de création de jeux"/>
|
||||
</News>
|
||||
|
@@ -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.

Fix crash when editing newly created TileMap objects

Changes of version 3.6.83:

New (partial) Italian, Polish and Chinese translations! Your help is welcome, you can contribute on https://crowdin.com/project/gdevelop
New 'Pick nearest object' condition
New condition to check if a mouse button is released
New condition to check if a key is released
New sound system for HTML5 with huge performance improvements
Update rendering engine of HTML5 (Pixi.js) for improved performances
New Advanced 3D tower technical demo
Add Backspace as an alternative to Delete key shortcut in most editors
Fixed crash with Lights objects on Windows.
Fixed the high cpu usage when switching to the event editor on Linux
Fixed images insertion order when adding multiple picture to an animation
Fixed sprite global color action for HTML5 games
Fixed scale factor of Sprite objects being negative when object is flipped
Fixed pathfinding not working for native games
Updated titles of some editors to make them more consistent
Fixed crash with tilemap and large tilesets
Fixed some GTK3 glitches
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="89" Revision="0"/>
|
||||
<Info Info="Version 4.0.89 is available.

Add complete Dutch translation
Add Finnish translation
Fix AdMob object banner default position being top of the screen
Internal changes and improvements
Fix 'Always' condition for HTML5 games
Fix tilemap object crash when using an empty image
Add support for importing TMX files (created with Tiled Map Editor: http://www.mapeditor.org/) in TiledMap objects.
Fix storage actions not properly persisting values in some cases
Improve performance of PanelSprite (9-patch) object for HTML5 games.
Update the rendering engine of HTML5 games, pixi.js, to v3.0.8
Audio files can be added as resources (like images) to preload them in HTML5 games
Enhance performance of musics on Android
Fix native games not launching properly when put in a directory containing unicode characters.
Fix issues with external layouts editors.
Wording fixes
Fix 404 error when previewing a HTML5 game on recent linux distributions." 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.

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&utm_medium=link_en&utm_campaign=launch" linkLabel2="Try GDevApp, the online game creator based on GD"/>
|
||||
</News>
|
||||
|
@@ -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)
|
||||
|
228
Core/GDCore.cbp
228
Core/GDCore.cbp
@@ -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>
|
||||
|
@@ -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.
|
||||
*/
|
||||
|
||||
|
@@ -406,7 +406,7 @@ str += " world";
|
||||
str += " " + gd::String::From(2);
|
||||
//str now contains "Hello world 2";
|
||||
|
||||
gd::string twopointfiveStr = "2.5";
|
||||
gd::String twopointfiveStr = "2.5";
|
||||
double twopointfive = twopointfive.To<double>();
|
||||
//twopointfive == 2.5
|
||||
\endcode
|
||||
@@ -499,30 +499,22 @@ Actions are declared like this :
|
||||
* Adding an object is made using gd::PlatformExtension::AddObject method.
|
||||
*
|
||||
* \code
|
||||
gd::ObjectMetadata & obj = AddObject("Name",
|
||||
gd::ObjectMetadata & obj = AddObject<MyObject>(
|
||||
"Name",
|
||||
_("Name displayed to users"),
|
||||
_("Description"),
|
||||
"path-to-a-32-by-32-icon.png",
|
||||
&FunctionForCreatingTheObject);
|
||||
* \endcode
|
||||
*
|
||||
* *FunctionForCreatingTheObject* is a function that must just create the object. It should look like this:
|
||||
*
|
||||
* \code
|
||||
gd::Object * CreateTextObject(std::string name)
|
||||
{
|
||||
return new TextObject(name);
|
||||
}
|
||||
"path-to-a-32-by-32-icon.png");
|
||||
* \endcode
|
||||
*
|
||||
* The *C++ platform* also requires that you call *AddRuntimeObject* to declare the RuntimeObject class associated to the object being declared:<br>
|
||||
* You must pass as parameter the name of the class inheriting from RuntimeObject and a function used to create an instance of the
|
||||
* RuntimeObject.
|
||||
* It has two template parameters: the first one is the corresponding object class declared with *AddObject* (class inheriting from *gd::Object*) and the
|
||||
* second one is the *RuntimeObject* class.
|
||||
* You must pass as parameter the metadata from the object previously declared and the name of the class inheriting from RuntimeObject.
|
||||
*
|
||||
* You will also want to specify the .h file associated to the object using gd::ObjectMetadata::SetIncludeFile. For example:
|
||||
* \code
|
||||
//obj is the gd::ObjectMetadata returned when you called AddObject.
|
||||
AddRuntimeObject(obj, "RuntimeTextObject", CreateRuntimeTextObject);
|
||||
AddRuntimeObject<TextObject, RuntimeTextObject>(obj, "RuntimeTextObject");
|
||||
obj.SetIncludeFile("TextObject/TextObject.h");
|
||||
* \endcode
|
||||
*
|
||||
@@ -785,5 +777,3 @@ extern "C" ExtensionBase * GD_EXTENSION_API CreateGDExtension() {
|
||||
* \brief Part of the tinyxml library
|
||||
* \ingroup TinyXml
|
||||
*/
|
||||
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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;
|
||||
|
@@ -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.
|
||||
*/
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -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.
|
||||
*/
|
||||
|
||||
|
@@ -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"
|
||||
|
@@ -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
|
||||
|
@@ -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;
|
||||
|
@@ -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.
|
||||
*/
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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.
|
||||
*/
|
||||
|
||||
|
@@ -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"
|
||||
|
@@ -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.
|
||||
*/
|
||||
|
||||
|
@@ -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;
|
@@ -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
|
@@ -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;
|
||||
|
@@ -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.
|
@@ -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;
|
@@ -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; }
|
@@ -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
|
||||
{
|
||||
|
@@ -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)
|
||||
|
@@ -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
|
||||
|
@@ -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)
|
||||
|
@@ -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.
|
||||
*/
|
||||
|
||||
|
@@ -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() )
|
||||
|
@@ -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.
|
||||
|
@@ -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>
|
@@ -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
|
@@ -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; }
|
@@ -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
|
@@ -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"
|
||||
|
||||
|
@@ -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>
|
||||
|
@@ -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)
|
@@ -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)
|
@@ -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"
|
@@ -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
|
||||
{
|
@@ -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")
|
@@ -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
|
||||
@@ -19,11 +19,10 @@ void GD_CORE_API BuiltinExtensionsImplementer::ImplementsBaseObjectExtension(gd:
|
||||
"Florian Rival",
|
||||
"Open source (MIT License)");
|
||||
|
||||
gd::ObjectMetadata & obj = extension.AddObject("",
|
||||
gd::ObjectMetadata & obj = extension.AddObject<gd::Object>("",
|
||||
_("Base object"),
|
||||
_("Base object"),
|
||||
"res/objeticon24.png",
|
||||
&CreateBaseObject);
|
||||
"res/objeticon24.png");
|
||||
|
||||
#if defined(GD_IDE_ONLY)
|
||||
obj.AddCondition("PosX",
|
||||
@@ -38,6 +37,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 +52,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 +67,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 +82,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 +98,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 +114,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 +128,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 +142,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 +156,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 +172,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 +186,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 +201,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 +217,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 +246,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",
|
@@ -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",
|
@@ -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"
|
@@ -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"
|
@@ -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"
|
@@ -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"
|
@@ -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"
|
@@ -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"
|
@@ -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"
|
@@ -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"
|
@@ -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"
|
@@ -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"
|
@@ -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>
|
||||
|
@@ -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.
|
||||
*/
|
||||
|
@@ -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)
|
@@ -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)
|
@@ -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"
|
||||
|
@@ -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
|
@@ -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_) :
|
@@ -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.
|
||||
*/
|
||||
|
@@ -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"
|
@@ -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
|
@@ -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>
|
||||
|
@@ -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
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user