Commit Graph

75 Commits

Author SHA1 Message Date
Florian Rival 37c260c19d Remove methods polluting Array prototype in gd.js
Only show in developer changelog
2020-08-05 18:47:39 +02:00
Florian Rival c385aae845 Add support for "hot reloading" of previews (apply changes to preview without restarting) 2020-07-25 14:23:01 +01:00
Florian Rival ed7ddd2b67 Improve autocompletions for JavaScript code events and for the game engine 2020-05-17 19:30:58 +01:00
Florian Rival b8ccf02f70 Refactor callbacks registration in GDJS 2020-02-11 23:33:30 +00:00
Florian Rival c03b8dd0db Add test for gdjs.RuntimeScene with object and behaviors 2019-07-28 17:43:50 +01:00
Florian Rival dc27d5f962 Rename gd::ClassWithObjects to gd::ObjectsContainer 2018-09-09 21:28:26 +01:00
Florian Rival 39887ccc80 Add help links in actions/conditions editor (#576)
* Add support for help links in InstructionParametersEditor.
* Add help paths for extensions/objects/behaviors/instructions
2018-08-07 23:03:50 +01:00
Florian Rival 3be5d85733 Update GDJS docs to use JSDoc 2018-07-04 22:26:02 +01: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
Florian Rival 6aa515d085 Merge branch 'master' into feature/browser-demo-merged-master 2017-09-10 00:18:09 +03:00
wild-master 0f4d73fae3 English translation improvements (#375) 2017-08-28 22:04:16 +02:00
Florian Rival 71ab16a76e [WIP] Add Extensions/ prefix to all includes files for JS extensions 2017-08-26 17:32:02 +02:00
Florian Rival 1bd45ec96b Fix Inventory, LinkedObjects & SystemInfo JS Extension not having compilation information filled 2017-03-16 22:50:37 +01:00
Florian Rival 976826b9ab Expose LinkedObjects and SystemInfo extensions to emscripten build 2017-03-15 21:50:20 +01:00
Victor Levasseur 72df404d7f Automatic versioning (#311)
* Use the port number in SendHttpRequest and DownloadFile

* Fix "Custom size" and "Custom viewports" not displayed in layer propgrid

* Fix Fedora spec file

* Use automatic versioning from git

* A "correct" version number is now generated even if git is unable to find a tag
2016-11-11 11:32:56 +01:00
Florian Rival 422132d8c7 Avoid allocations in gdjs.RuntimeObject.getRendererObject and gdjs.evtTools.object.pickObjectsIf 2016-08-15 19:54:01 +02:00
Florian Rival 682efcbfdc Avoid allocation in gdjs.PlatformerObjectRuntimeBehavior and add TODO where allocations should be removed 2016-08-14 18:59:42 +02:00
Florian Rival b3b39ab468 Remove gdjs.iterateOverArray and replace its usage by raw loops 2016-08-07 22:26:41 +02:00
Florian Rival 117722621a Change file organization in GDCpp to have a Runtime directory inside GDCpp 2016-02-09 19:42:52 +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
Florian Rival 63cb853d72 Change file organization (Events, Extensions + more folders) 2015-11-01 11:26:40 +01:00
Florian Rival 428e72914d [WIP] Rename Automatism to Behavior 2015-08-17 23:52:59 +02:00
Victor Levasseur 9df088d2fe Merge remote-tracking branch 'upstream/master' into v4 2015-08-06 16:27:11 +02:00
Florian Rival face853b3f Basic implementation of scene stacking for native games.
Also fix #155
2015-07-31 16:05:20 +12:00
Florian Rival 5a2a6b4341 Ensure LinkedObjects managers are properly bound to their scene for HTML5 games 2015-07-27 10:13:45 +12: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
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
Victor Levasseur 0049b5c6fa Merge remote-tracking branch 'upstream/master' into utf8-tr-macro
Conflicts:
	Core/GDCore/BuiltinExtensions/SpriteExtension/SpriteExtension.cpp
	Core/GDCore/Events/ExpressionMetadata.h
	Extensions/Box3DObject/Extension.cpp
	Extensions/DraggableAutomatism/Extension.cpp
	Extensions/Light/Extension.cpp
	Extensions/Network/Extension.cpp
	Extensions/PanelSpriteObject/Extension.cpp
	Extensions/ParticleSystem/ExtensionSubDeclaration1.cpp
	Extensions/ParticleSystem/ExtensionSubDeclaration3.cpp
	Extensions/PathAutomatism/Extension.cpp
	Extensions/PathfindingAutomatism/Extension.cpp
	Extensions/PhysicsAutomatism/Extension.cpp
	Extensions/PlatformAutomatism/Extension.cpp
	Extensions/PrimitiveDrawing/Extension.cpp
	Extensions/SoundObject/Extension.cpp
	Extensions/TextEntryObject/Extension.cpp
	Extensions/TextObject/Extension.cpp
	Extensions/TileMapObject/Extension.cpp
	Extensions/TiledSpriteObject/Extension.cpp
	Extensions/TopDownMovementAutomatism/Extension.cpp
	GDCpp/GDCpp/DocMainPage.h
	GDCpp/docs/doxyfile
	GDJS/GDJS/BuiltinExtensions/AudioExtension.cpp
	GDJS/GDJS/BuiltinExtensions/BaseObjectExtension.cpp
	GDJS/GDJS/BuiltinExtensions/CameraExtension.cpp
	GDJS/GDJS/BuiltinExtensions/FileExtension.cpp
	GDJS/GDJS/BuiltinExtensions/JoystickExtension.cpp
	GDJS/GDJS/BuiltinExtensions/NetworkExtension.cpp
	GDJS/GDJS/BuiltinExtensions/SceneExtension.cpp
	GDJS/GDJS/BuiltinExtensions/SpriteExtension.cpp
	scripts/ExtractTranslations.sh
2015-04-28 20:03:27 +02:00
Florian Rival c2dc553571 Simplified function name declaration for actions/conditions/expressions 2015-04-23 21:30:04 +12:00
Florian Rival 53aaade1bb Fixed methods names not written in camelCase 2015-04-23 14:24:28 +12:00
Florian Rival 90b6d1f2f1 Added tests for gd::Serializer. Ensure tests can be run from build path in Mac OS 2015-03-30 21:31:24 +13: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 1787e4bb99 Simplified SFML target_link_libraries commands in CMakeLists.txt 2015-03-19 15:24:17 +13: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 ddb1f1dbda Support for (multi)touch in gdjs.RuntimeObject.cursorOnObject 2015-03-11 16:23:46 +13:00
Florian Rival 99ce00dd57 Merge branch 'macos-support' into feature-multitouch 2015-03-10 19:56:16 +13:00
Florian Rival 7c6d59de3e Fixed tests compilation on MacOS X 2015-03-10 10:03:30 +13:00
Florian Rival b2a3ec44a4 Tweaked CMakeLists.txt and some files for MacOS compilation 2015-03-07 12:15:08 +13:00
Florian Rival cb84a16584 Added cursorOnObject condition support for HTML5 games. Added gdjs.evtTools.object.PickObjectsIf and tests for it. 2015-03-03 08:19:08 +01:00
Florian Rival acbb6d4594 Refactored the condition testing if the cursor is on a sprite object so that it can be used for any object type (Not yet done for GDJS). Added PickObjectsIf and refactored TwoObjectListsTest with C++11 lambdas. Added tests for it. 2015-03-02 10:47:35 +01: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 e05a606139 Merge remote-tracking branch 'upstream/master' into remove-boost
Conflicts:
	GDCpp/GDCpp/ObjInstancesHolder.cpp
	GDCpp/GDCpp/ObjInstancesHolder.h
	GDCpp/GDCpp/RuntimeScene.cpp
	GDCpp/GDCpp/RuntimeScene.h
2015-01-22 18:20:07 +01:00