Commit Graph

47 Commits

Author SHA1 Message Date
Florian Rival 1a27f689e0 Remove deprecated/unused/unmaintained GDCpp code (#2930)
* This also includes extensions code.

Only show in developer changelog
2021-08-17 14:34:58 +02:00
Florian Rival edd98d8bd5 [WIP] Clean old methods used only in GD4 in objects and behaviors 2019-04-21 10:20:32 +01:00
Florian Rival 871b01124f Refactor ResourcesInUseHelper and TextObject for exposing fonts 2018-11-13 22:13:40 +00:00
Florian Rival a8559bfbbc Add clang-format to format (C++) source files automatically (#491)
* Update all CMakeLists of extensions to use clang-format
* Run clang-format on all Extensions
* Update GDCore CMakeLists.txt to add clang-format
* Run clang-format on GDCore files
* Update GDJS and GDCpp CMakeLists.txt to add clang-format
* Run clang-format on GDCpp and GDJS files
2018-05-09 15:57:38 -07:00
Victor Levasseur fd67843d0d Use sf::Text::getFillColor instead of the deprecated getColor 2016-12-29 12:53:22 +01:00
Victor Levasseur d20b5a0fbb gd::Object and RuntimeObject are now cloned in unique_ptr 2016-11-15 08:33:56 +01:00
Florian Rival 117722621a Change file organization in GDCpp to have a Runtime directory inside GDCpp 2016-02-09 19:42:52 +01:00
Victor Levasseur 12323965e0 RuntimeObjects ctor now takes their Object derivative as argument 2016-01-28 17:37:27 +01:00
Victor Levasseur 804e8c8718 Remove old CreateXXXObject(...) functions 2016-01-28 17:15:48 +01:00
Florian Rival e444e80493 Update copyrights year 2016-01-14 19:46:56 +01:00
Florian Rival db69c83a58 Change file organization 5 (GDCpp/Project) 2015-11-01 17:06:23 +01:00
Victor Levasseur cc6810e3f6 Replace unsigned int with std::size_t where it's possible 2015-08-18 18:43:39 +02:00
Victor Levasseur 4efab914fe Rename Utf8String.h/.cpp to String.h/.cpp 2015-07-09 18:17:13 +02:00
Victor Levasseur 92ff667e7f Fix Serializer crashing if a project contains non ASCII characters 2015-07-06 22:29:00 +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 30e15945a1 Add a String typedef to be able to write gd::String instead of gd::utf8::String 2015-06-22 10:46:56 +02:00
Victor Levasseur 24aed30d3e Add an UTF8 String class
The Text Object use it
2015-06-21 22:04:27 +02:00
Florian Rival 2c0f1543ec Prefer to return const reference to std::string instead of std::string by value 2015-06-01 23:23:34 +12:00
Victor Levasseur 41ac0fe2a0 Add basic support for UTF8 in the TextObject.
String expression editor now returns a std::string encoded in UTF8
Add UTF8 tools (and UTF8-CPP header library)
2015-02-14 11:34:46 +01:00
Florian Rival 64e6860718 Version bump.
Updated copyrights.
2015-01-22 21:22:01 +01:00
Florian Rival 418bae8632 Removed useless Destroy* functions for objects 2015-01-08 21:58:36 +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 7d3ada265c Replaced "Game Develop" by "GDevelop" 2014-09-24 16:25:13 +02:00
Florian Rival cc019b4545 Normalize resources filenames (convert \ to /) to avoid portability issues from Windows to Linux for projects 2014-08-19 20:46:37 +02:00
Florian Rival e8cd1b16b7 Added GDJS and Extensions to this repository. 2014-06-30 21:39:29 +02:00
Florian Rival 475c9da06c Cleaned thing and added not versioned files. 2014-03-31 21:55:51 +02:00
Florian b40333cbab Latest commit before switching to git for the whole Extension directory.
git-svn-id: svn://localhost@1119 8062f311-0dae-4547-b526-b8ab9ac864a5
2013-07-01 22:03:15 +00:00
Florian f1256beea3 Exchanged all french messages with their English counterparts.
git-svn-id: svn://localhost@853 8062f311-0dae-4547-b526-b8ab9ac864a5
2012-09-20 19:59:22 +00:00
Florian 0f40d9a66e Adapted to changes in GDCore.
git-svn-id: svn://localhost@831 8062f311-0dae-4547-b526-b8ab9ac864a5
2012-09-09 19:59:15 +00:00
Florian ea66eb3aca Adapted to changes in GDCore/GDL.
Font loading is now done when loading scene resources, or when the font is changed with the appropriate action.
Cleaned header.

git-svn-id: svn://localhost@766 8062f311-0dae-4547-b526-b8ab9ac864a5
2012-06-09 21:17:11 +00:00
Florian 5cb7138349 Merged Victor Levasseur changes to support Bold/Italic/Underlined styles.
git-svn-id: svn://localhost@674 8062f311-0dae-4547-b526-b8ab9ac864a5
2012-03-03 15:59:37 +00:00
Florian 943d3bd46f Updated copyright.
Updated includes according to changes in GDL.

git-svn-id: svn://localhost@635 8062f311-0dae-4547-b526-b8ab9ac864a5
2012-01-22 10:56:58 +00:00
Florian 97695ad585 Adapted to changes in GDL.
git-svn-id: svn://localhost@562 8062f311-0dae-4547-b526-b8ab9ac864a5
2011-11-05 21:04:50 +00:00
Florian 6ac3e4f8ea Added smoothing option.
Corrected minor bug.

git-svn-id: svn://localhost@529 8062f311-0dae-4547-b526-b8ab9ac864a5
2011-09-09 15:00:02 +00:00
Florian d39045b360 Adaptations to changes in GDL.
git-svn-id: svn://localhost@508 8062f311-0dae-4547-b526-b8ab9ac864a5
2011-08-22 18:45:19 +00:00
Florian 5ff292478b Adaptations to GD2.
git-svn-id: svn://localhost@478 8062f311-0dae-4547-b526-b8ab9ac864a5
2011-08-06 13:42:13 +00:00
Florian 83cda9ec0c Minor adaptations to minor changes in GDL.
git-svn-id: svn://localhost@417 8062f311-0dae-4547-b526-b8ab9ac864a5
2011-03-26 22:20:06 +00:00
Florian 6a632b2137 Minor changes due to changes in GDL.
git-svn-id: svn://localhost@374 8062f311-0dae-4547-b526-b8ab9ac864a5
2011-02-01 20:46:56 +00:00
Florian a121109fa0 Updated copyright and defines.
git-svn-id: svn://localhost@362 8062f311-0dae-4547-b526-b8ab9ac864a5
2011-01-20 21:15:45 +00:00
Florian bd632fbead Added expression for getting text value.
git-svn-id: svn://localhost@247 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-09-19 19:33:28 +00:00
Florian 32b9d47b9f Corrected bad placement of object.
git-svn-id: svn://localhost@218 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-08-23 12:34:06 +00:00
Florian 2891779c35 Adapted to new SFML version.
git-svn-id: svn://localhost@214 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-08-19 16:33:01 +00:00
Florian 244e022ae3 Changed opacity from int to float.
git-svn-id: svn://localhost@189 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-08-05 14:32:50 +00:00
Florian c9f5f5c6c3 Changed to capital letter the first letter of expressions.
git-svn-id: svn://localhost@140 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-06-06 18:26:28 +00:00
Florian 5e64d0cfdb Modifications for new expression system.
git-svn-id: svn://localhost@129 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-29 22:11:27 +00:00
Florian 61711ee7f2 Added comments
git-svn-id: svn://localhost@64 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-03-07 20:27:30 +00:00
Florian 5082106a98 Initial import
git-svn-id: svn://localhost@32 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-02-08 19:40:03 +00:00