Commit Graph

73 Commits

Author SHA1 Message Date
Florian Rival db69c83a58 Change file organization 5 (GDCpp/Project) 2015-11-01 17:06:23 +01:00
Florian Rival cd9ae7ca40 Change file organization 4 (tinyxml -> TinyXml) 2015-11-01 12:01:06 +01:00
Florian Rival 63cb853d72 Change file organization (Events, Extensions + more folders) 2015-11-01 11:26:40 +01:00
Florian Rival 6fe70c2ebc Merge pull request #180 from victorlevasseur/replace-uint-with-size_t
Use std::size_t for indexes and sizes instead of unsigned int
2015-08-23 11:50:31 +02:00
Florian Rival 59cd0e8b61 Remove useless file, tiny indentation fix 2015-08-22 22:54:36 +02:00
Victor Levasseur cc6810e3f6 Replace unsigned int with std::size_t where it's possible 2015-08-18 18:43:39 +02:00
Florian Rival 263ac5afd2 Remove useless XmlMacros.h file 2015-08-17 16:58:03 +02:00
Victor Levasseur 18c59dbb5d Totally remove ToString(), ToInt(), ToFloat() and ToDouble() 2015-07-22 16:20:26 +02:00
Victor Levasseur 2a0052b207 Add gd::String::From/To template to replace all FromXXX/ToXXX() methods 2015-07-21 14:35:29 +02:00
Victor Levasseur 7749abeff5 Fix some compilation issues 2015-07-12 14:00:00 +02:00
Victor Levasseur bacae69f12 Fix FunctionEvent.cpp not building on Travis CI 2015-07-12 13:13:15 +02:00
Victor Levasseur 870b6580f5 Replace std::string with gd::String in all remaining extensions 2015-07-12 12:39:40 +02:00
victorlevasseur 2fe320ee3b Remove GD_T() macro 2015-07-07 13:30:13 +02:00
victorlevasseur c98e97e60a Merge remote-tracking branch 'upstream/master' into utf8-gdstring
Conflicts:
	.travis.yml
	Core/GDCore/BuiltinExtensions/SpriteExtension/Dialogs/SpriteObjectEditor.cpp
	Core/GDCore/Events/Builtin/ForEachEvent.h
	Core/GDCore/Events/Event.cpp
	Core/GDCore/Events/Event.h
	Core/GDCore/Events/EventMetadata.cpp
	Core/GDCore/Events/EventMetadata.h
	Core/GDCore/Events/ExpressionMetadata.h
	Core/GDCore/Events/Instruction.h
	Core/GDCore/Events/InstructionMetadata.h
	Core/GDCore/IDE/Dialogs/EditLayerDialog.cpp
	Core/GDCore/PlatformDefinition/Object.cpp
	Core/GDCore/PlatformDefinition/PlatformExtension.cpp
	Core/GDCore/PlatformDefinition/PlatformExtension.h
	Extensions/Function/Extension.cpp
	Extensions/TextObject/TextObject.h
	Extensions/TimedEvent/Extension.cpp
	GDCpp/GDCpp/BuiltinExtensions/CommonInstructionsExtension.cpp
	GDCpp/GDCpp/BuiltinExtensions/KeyboardTools.h
	GDCpp/GDCpp/BuiltinExtensions/MouseTools.h
	GDCpp/GDCpp/BuiltinExtensions/SceneExtension.cpp
	GDCpp/GDCpp/InputManager.cpp
	GDCpp/GDCpp/RuntimeSpriteObject.cpp
	GDCpp/GDCpp/RuntimeSpriteObject.h
	GDJS/GDJS/BuiltinExtensions/BaseObjectExtension.cpp
	GDJS/GDJS/BuiltinExtensions/CommonInstructionsExtension.cpp
	GDJS/GDJS/BuiltinExtensions/SceneExtension.cpp
	GDJS/GDJS/BuiltinExtensions/VariablesExtension.cpp
	GDJS/GDJS/Exporter.cpp
	GDJS/GDJS/Exporter.h
	IDE/Dialogs/ObjectsEditor.cpp
	IDE/Preferences.cpp
2015-07-06 15:16:59 +02:00
Victor Levasseur b32732916c Actions and conditions are declared in the extension with gd::String (except for the sentence)
Added push_back and Split methods to gd::String
2015-06-25 16:49:40 +02:00
Florian Rival 4b21cf333b Exclude Box3DObjectEditor and extensions dialogs from compilation when wxWidgets is deactivated 2015-06-05 00:07:58 +12:00
Victor Levasseur 811a0fba65 Merge remote-tracking branch 'upstream/master' into utf8-tr-macro
Conflicts:
	Core/GDCore/BuiltinExtensions/BaseObjectExtension.cpp
	GDCpp/GDCpp/BuiltinExtensions/CommonInstructionsExtension.cpp
	GDJS/GDJS/BuiltinExtensions/AudioExtension.cpp
	IDE/Dialogs/ObjectsEditor.cpp
2015-05-08 18:59:48 +02:00
Florian Rival f503ee87ab Refactored code generator functions to use std::function and lambdas 2015-05-07 00:00:50 +12:00
Florian Rival cebad7cd62 Revert "Revert "Store instructions as shared pointers instead of as values""
This reverts commit 755807b075.
2015-05-05 21:27:15 +12:00
Florian Rival 755807b075 Revert "Store instructions as shared pointers instead of as values" 2015-05-05 00:08:31 +12:00
Victor Levasseur 91692c4d29 Replace std::vector<gd::Instruction> by a custom class managing an array of std::shared_ptr<gd::Instruction> 2015-05-02 11:04:55 +02:00
victorlevasseur f1b1453bc4 Fix a compilation error when inside GDevelop 2015-03-29 23:58:40 +02:00
victorlevasseur c4e899465a Extensions and GDJS now use GD_T where it is possible 2015-03-29 22:28:25 +02:00
victorlevasseur b772a99ff0 Add GD_T macro to translate UTF8 std::string (and _ macro is for wxString
only)
Updated all source code to use the new macro
2015-03-29 14:40:07 +02:00
Florian Rival 8ff6884837 Factored includes declarations in CMakeLists.txt for extensions 2015-03-19 14:43:38 +13:00
Florian Rival 836b46477b Factored defines declarations in CMakeLists.txt for extensions 2015-03-19 14:04:07 +13:00
Florian Rival e61e5163b7 Factored targets declarations in CMakeLists.txt for extensions 2015-03-19 13:22:47 +13:00
Florian Rival 191881987e Factored all linking tasks in extensions CMakeLists.txt 2015-03-19 11:23:41 +13:00
Florian Rival c6f70cf472 Factored parts of CMakeLists.txt 2015-03-18 17:21:12 +13:00
Florian Rival 4382225576 Factored some parts of CMakeLists.txt 2015-03-18 17:03:51 +13:00
Florian Rival b2a3ec44a4 Tweaked CMakeLists.txt and some files for MacOS compilation 2015-03-07 12:15:08 +13:00
Florian Rival 2317368415 Merge branch 'remove-boost' of https://github.com/victorlevasseur/GD into c++11
Conflicts:
	GDCpp/GDCpp/ObjInstancesHolder.cpp
2015-01-25 20:12:14 +01:00
Florian Rival 64e6860718 Version bump.
Updated copyrights.
2015-01-22 21:22:01 +01:00
Victor Levasseur 0e92ebfd4a Remove boost 2015-01-20 18:29:55 +01:00
victorlevasseur ae1f6d61b3 Remove boost dependency (boost::to_upper still remaining) 2015-01-18 21:09:45 +01:00
victorlevasseur f18b258083 Add support for TDM-GCC 4.9.2 with C++11
GNU extensions are also activated as wxWidgets cannot be built without
them
2015-01-18 15:54:31 +01:00
Florian Rival 768204bb56 Removed useless extension virtual destructors. Updated Panel Sprite object description 2015-01-14 22:25:38 +01:00
Florian Rival ff81b68d80 Removed useless destruction functions for extensions 2015-01-06 23:37:08 +01:00
Florian Rival 4711be9ffe Using SFML targets in CMakeLists instead of raw filenames 2015-01-03 14:39:43 +01:00
Florian Rival 2b0c3a71c2 Enhanced CMakeLists.txt to use GTK2 or 3 according to wxWidgets 2014-12-30 12:53:16 +01:00
Florian Rival 284ba048fd Made ExtLibs/CMakeLists.txt fully working on Windows.
Updated docs about the build process.
Added adv wxWidgets library in all CMakeLists.txt.
2014-12-29 18:21:14 +01:00
Florian Rival 6dcc4d2e5d Removed dependency to wxWidget's webview (not supported by Ubuntu provided wxWidgets version), removed integrated help (now opening directly the default browser) 2014-12-28 18:38:58 +01:00
Florian Rival 540886e354 Switched back to GTK2 for now (need to find a way to determine if wxWidgets uses GTK2 or 3) 2014-12-26 19:45:27 +01:00
Florian Rival 7a3d9ecc7f Add ExtLibs/CMakeLists.txt and reworked other CMakeLists.txt to download boost/SFML and build SFML 2014-12-26 15:13:52 +01:00
Florian Rival 40a82c61ea Switched from LGPL and zlib/png licenses to MIT License. 2014-11-30 16:59:51 +01:00
Florian Rival ad1d2b51fa Refactoring on events (Suppressed useless methods like copy-ctor) 2014-11-27 19:41:43 +01:00
Florian Rival e73c9a3c72 Fix functions not working with multiple scenes or with external events.
For the first issue, functions do not expose anymore a global variable.
For the second issue, functions are mangled with scene name and the search
for a function is now following links.
2014-10-05 12:49:58 +02:00
Florian Rival 7d3ada265c Replaced "Game Develop" by "GDevelop" 2014-09-24 16:25:13 +02:00
Florian Rival fb25ae6295 Fixed memory leak with EventsList and added test for it 2014-08-12 22:22:00 +02:00
Florian Rival f6216da3ed Work in progress for tests.
Events Clone method now return a raw pointer.
2014-08-10 22:24:06 +02:00