Commit Graph

498 Commits

Author SHA1 Message Date
wtfdnvxk d7b26f54f3 Update lua_module_register.cpp
extend lua by register extensions
2020-11-11 16:53:00 +08:00
halx99 7c8df0d187 Remove ENABLE_CJSON_GLOBAL from cmake 2020-11-11 16:37:33 +08:00
halx99 fccc757431 mandatory yasio for lua bindings 2020-11-11 15:51:46 +08:00
halx99 5a4d0139c5 fix cjson can't use 2020-11-11 15:21:29 +08:00
halx99 c98313ac4b Prepre for box2d-2.4.1 2020-11-08 13:11:40 +08:00
halx99 ba783a7b1f Update extension spine README.md 2020-11-04 23:28:51 +08:00
halx99 7d71da30c0 Tidy extension spine folder structure [ci build] 2020-11-04 23:17:05 +08:00
halx99 5a7c94c971 fix lua bindings [ci build] 2020-11-04 19:35:58 +08:00
halx99 306f74d94e spine-c runtime compatible [ci build] 2020-11-04 19:10:02 +08:00
halx99 60a6d97d86 Remove Sprite::updateShaders [ci build] 2020-10-31 20:08:32 +08:00
halx99 474d2d2f24 Optimize FUISprite::setGrayed for engine-x 2020-10-31 13:58:47 +08:00
halx99 865c1e22ac Sync https://github.com/EsotericSoftware/spine-runtimes/pull/1801 2020-10-27 17:08:26 +08:00
halx99 e3ea57296e Update README.md 2020-10-25 22:01:32 +08:00
halx99 f49cb01e1e Finish #244 2020-10-25 16:25:08 +08:00
halx99 534b2acc39 Lock name 2020-10-24 21:57:36 +08:00
halx99 e3c6edd8e1 Simplify interface include for extension GUI 2020-10-22 23:14:58 +08:00
halx99 83bec7092e Remove unused comment 2020-10-22 21:32:09 +08:00
halx99 b8a0e0a478 Finsih rename 2020-10-22 10:58:10 +08:00
halx99 0a9e0516a5 fix lua bindings build 2020-10-21 17:58:05 +08:00
halx99 ac21c27140 Build pugixml from sources for all platforms (#241) 2020-10-21 12:28:34 +08:00
halx99 9f7590ffa1 Fix compile error at non-win32 platforms 2020-10-21 10:57:37 +08:00
halx99 5748bbee85 Reserve extensions 'cocostudio' for esay to migrate exist projects 2020-10-21 10:12:00 +08:00
halx99 47d15cae76 fix compile error when disable script 2020-10-20 17:45:50 +08:00
halx99 e59109080c fix ci 2020-10-20 00:34:14 +08:00
halx99 9e6b360437 fix lua build link on android 2020-10-19 23:21:40 +08:00
halx99 2700d4f300 fix lua compile on android, link needs to fix later 2020-10-19 20:01:13 +08:00
halx99 f1be86ee7a fix lua build on android 2020-10-19 19:56:48 +08:00
halx99 7164d6bfc8 fix ci 2020-10-18 16:54:45 +08:00
halx99 d9e5af585f fix ci 2020-10-18 15:48:06 +08:00
halx99 5dc2626894 Reserve extension GUI for cpp-tests only 2020-10-18 12:31:45 +08:00
halx99 7a4a5d0100 Remove deprecated sources, remove old extension GUI 2020-10-18 00:27:23 +08:00
halx99 2083d15340 delete for rename 2020-10-18 00:24:34 +08:00
halx99 334800dd7f Enable yasio lua bindings for lua projects by default. can use cmake parameter: BUILD_YASIO_LUA to control it. 2020-10-17 23:46:59 +08:00
halx99 82c864f2ed fix #234, spine custom shader doesn't work. 2020-10-17 22:00:53 +08:00
halx99 dcc4c8d385 Sync official fix 2020-10-17 21:58:15 +08:00
halx99 b9c58a8420 Refactor modules (#238) 2020-10-17 16:32:16 +08:00
halx99 5401bbf821 Simplfy hsv color 2020-10-16 17:23:29 +08:00
halx99 c594e3789c Refactor programState management (#236)
1. Add custom program registery
2. Re-enable batch draw for custom program
2020-10-16 16:23:14 +08:00
halx99 d535b47145 win32 dll improvements 2020-10-07 00:15:11 +08:00
halx99 99498c5b30 Refine code 2020-10-04 23:41:01 +08:00
halx99 cca0739793 Refactor pixel format manipulate (#217)
* PixelFormat use table

* Correct PixelFormat name to match 'GL_LUMINANCE'

* Up

* fix cube update texture enum

* linux build

* Refine ci

* fix linux build

* Remove unused function, match mtl framebuffer pixel format

* readPixels always RGBA format

* fix ci for linux

* fix linux build

* Remove unused functions

* fix travis

* fix android ci

* Update config.json

* linux glad

* Update CCGLViewImpl-desktop.cpp

* fix linux build

* Fix linux build

* Link issue [skip appveyor][skip travis]

* Update CMakeLists.txt

* Refine GL enums use

* Update test case name [skip appveyor][skip travis]

* fix linux link issue

* for mtl

* fix ci

* Tidy pixelformat enums

* fix ci

* fix rgba8 to abgr4 error

* fix ci

* fix ci for GLES

* Fix linux build, require glibc-2.27+

* Use properly dist for travis [skip appveyor]

* fix linux build [skip appveyor]

* Update install-deps-linux.sh

* Remove unused members for pixel block info, update external to v73

* Sync from compile linux warnings

* Remove unused check, and PixelFormat::A8 is ordinary format, not compressed format

* metal doesn't support rgb8 (#3)

* Update CCTexture2D.cpp

* Refine code

* Pixel Format Descriptor Table

* fix ci

* BGR5A1

* Simplfy texture format convert function name

* Update

* rgba4 match mtl render format

* Add note about RGBA4

* Remove unused function

* fix osx

* Already converted at texture2d

* Clearly comment

* fixup
2020-09-25 11:07:56 +08:00
halx99 6e7e117a0d RenderTarget abstract, in-progress (#210)
RenderTarget abstract
2020-09-21 22:10:50 +08:00
halx99 689657391e ImGui multi-viewports Compatible with desktop GLES 2020-09-16 20:16:32 +08:00
halx99 66ebe11bb4 Add ImGuiEXT::end to end game 2020-09-10 17:53:17 +08:00
halx99 0d4d652634 Sync fairygui extension to https://github.com/fairygui/FairyGUI-cocos2dx/commit/bc45f58 2020-09-08 19:15:28 +08:00
halx99 f5250f1804 Add useful resource links [skip appveyor][skip travis] 2020-09-08 18:21:41 +08:00
halx99 89620c53c5 Fix readme example [skip appveyor][skip travis] 2020-09-08 17:06:12 +08:00
halx99 dcb3fd9116 Remove TODO 2020-09-08 16:31:11 +08:00
halx99 71954dac32 Refine code style 2020-09-08 16:15:40 +08:00
halx99 7619f957b8 Update ImGuiEXT readme[skip appveyor][skip travis] 2020-09-08 15:15:25 +08:00
halx99 db972a87d3 Merge: c01b11dbb0 a824eb4050
Merge pull request #199 from halx99/imgui-hdpi

ImGuiEXT improvements
2020-09-08 00:07:16 -07:00
halx99 52973784ca Checking condition for dirty ImGui device objects [skip appveyor][skip travis] 2020-09-08 14:21:26 +08:00
halx99 7f6b6dfa90 Update CMake scripts and readme 2020-09-08 13:44:59 +08:00
halx99 ddbb6bb0b9 Add ImGuiEXT test case for PC platforms 2020-09-08 13:38:16 +08:00
halx99 45b0b3ff78 ImGUIEXT addRenderLoop support global without any target scene 2020-09-07 23:21:15 +08:00
halx99 23cdbd734d More cleary comment [skip appveyor][skip travis] 2020-09-07 21:25:22 +08:00
halx99 18b5fd0df2 Update CCImGuiEXT.h 2020-09-07 21:22:03 +08:00
halx99 885c949956 Update ImGUIEXT readme [skip appveyor][skip travis] 2020-09-07 20:52:16 +08:00
halx99 20e5733c5e ImGuiEXT: hdpi support, Add APIs: scaleAllByDPI, addFont, clearFonts for more easy to use 2020-09-07 20:31:50 +08:00
halx99 f357b7207b ImGuiEXT manage ImGui render loop more clearly 2020-09-07 19:15:53 +08:00
halx99 c722d64876 Refine code 2020-09-07 14:15:09 +08:00
halx99 d3f4b0b77a Mac currently dosn't works on multi-viewports 2020-09-05 23:29:16 +08:00
halx99 ade15f070b Refine extension ImGui, and rename director to ImGuiEXT 2020-09-05 17:10:09 +08:00
halx99 d8f6edd211 fix .travis.yml 2020-09-04 17:19:51 +08:00
halx99 170d8eb0f5 test 2020-09-04 17:03:25 +08:00
halx99 801c827802 fix .travis.yml ident, update readme [skip appveyor] 2020-09-04 16:55:13 +08:00
halx99 9b2665e9ce Add ImGuiEXT extension support 2020-09-04 16:13:40 +08:00
halx99 cc53868d27 More clearly ETC1 format, sync enums for ETC1, correct somethings 2020-09-01 11:43:03 +08:00
halx99 8f448b517c fix ci 2020-08-28 17:26:30 +08:00
halx99 4674b1e89d Remove TMXLayer,TMXMap, remain FastTMXLayer,FastTMXMap enough 2020-08-28 15:42:40 +08:00
halx99 2619296c6f fix compile warning and uninitialized member variable ActionTimeline::_loop 2020-08-26 15:26:06 +08:00
halx99 13137a40ff Backport CCValue APIs 2020-08-18 11:40:45 +08:00
halx99 a3a231495c Backport CCValue APIs 2020-08-18 11:33:18 +08:00
halx99 4dde85e3b4 Sync from official-v4 pr 2020-08-14 18:57:08 +08:00
halx99 af8fa43c8c Disable double use in chipmunk_types.h instead CMakeLists.txt more stable for ENGX 2020-08-09 22:41:06 +08:00
halx99 ebc8086a4c Sync optimize code 2020-08-06 19:58:24 +08:00
halx99 8af53505c1 Merge: 3cf637418f 137ded73a5
Merge branch 'master' of https://github.com/c4games/engine-x into master
2020-08-05 18:12:31 +08:00
halx99 4713580381 Update features [skip appveyor] [skip travis] 2020-08-05 18:11:52 +08:00
halx99 ff5ec02d77 Merge: bda1fce2b1 f38f76c1a1
Merge pull request #145 from halx99/spine-3.8

Sync spine code and resource to 3.8
2020-08-05 02:38:59 -07:00
halx99 03816cd0c0 fix console output error on win32, see #144 2020-08-05 17:30:30 +08:00
halx99 e8765c88f8 Sync spine code and resource to 3.8 2020-08-05 17:04:57 +08:00
halx99 205d6e5fb9 fix lua compile issue 2020-08-04 22:38:57 +08:00
halx99 ce9fb1c42c Finish dragonbones, all extensions can be remove one by one (#142)
* Finish dragonbones, all extensions can be remove one by one, by default, all extensions are enabled
2020-08-04 21:13:26 +08:00
halx99 1a42556199 fix logic 2020-08-04 12:39:34 +08:00
halx99 2e95efdde9 Add extension fairygui support 2020-08-04 12:31:33 +08:00
halx99 a4162b559c [CMake] remove unnecessary print 2020-08-04 11:35:01 +08:00
halx99 bc94591603 Tidy sources 2020-08-04 10:55:30 +08:00
halx99 e638e0bd68 Tidy sources 2020-08-04 00:14:35 +08:00
halx99 8b9a6bbbf1 fix android build issues 2020-08-03 20:31:47 +08:00
halx99 1e392c9dfe Refine readme [skip appveyor][skip travis] 2020-08-03 19:12:07 +08:00
halx99 3049b8f751 Huge changes, move spine,dragonbones,cocostudio to extensions folder, future make all extensions pluginable 2020-08-03 17:51:40 +08:00
aismann a4ee58eec8 Update CCPhysicsDebugNode.cpp
class "cpShape" has no member "CP_PRIVATE"
2020-07-28 21:29:08 +02:00
halx99 ae1a271593 Resume scissor of CCScrollView, indent correct with vs2019 2020-05-20 10:35:30 +08:00
halx99 04a460705d finish issue: #85 2020-05-06 15:42:25 +08:00
halx99 9d797b6998 Clean JSB sources, optmize script event dispatch. 2020-02-28 02:15:33 +08:00
halx99 075aadee32 Use '/' instead "/" for find & string append. 2019-11-25 17:10:25 +08:00
halx99 7856224ff2 Refactor CCDownloader, use curl for all platforms. 2019-11-24 15:43:28 +08:00
halx99 8df3d5e274 Init Commit 2019-11-23 20:27:39 +08:00