halx99
9321a65e8c
Use md5 from openssl [ci build]
2021-06-02 00:44:45 +08:00
halx99
d56a6f53cb
Update astc [ci build]
2021-06-01 23:43:54 +08:00
halx99
e0beb6cf27
Update ConvertUTF,poly2tri [ci build]
2021-06-01 11:47:19 +08:00
RH
d17e7b442a
FileStream::size() implemented ( #365 )
...
* Add FileStream::size()
Add ZipFile::zfsize()
* Use FileStream::size()
2021-05-31 15:08:44 +08:00
halx99
80b2d4f87f
Fix console output text encoding for win32.
2021-05-26 00:24:39 +08:00
HALX99
a42f9ac25c
Renaming refactor ( #353 ) [ci build]
2021-05-18 16:40:30 +08:00
halx99
5b13927d47
Fix ci warnings [ci build]
2021-04-26 17:28:58 +08:00
rh101
ef6bedd069
Use unique_ptr for FileUtils::openFileStream
...
Fix OGG audio playback due to incorrect tell() method
Fix unzip close() override method not deleting FileStream pointer.
2021-04-26 14:21:56 +10:00
rh101
ce1a24cb15
Ensure FileStream is used for file access where possible
2021-04-25 17:22:43 +10:00
rh101
ed177ce084
Removed incorrect delete statement
2021-04-25 14:42:42 +10:00
rh101
521e2cad4c
Verify the amount of string space we have to replace the zip extension
2021-04-25 12:15:56 +10:00
rh101
2cdd688166
Initialise member variable
2021-04-25 02:47:21 +10:00
rh101
f68521c4d0
Minor code cleanup
2021-04-25 02:45:04 +10:00
rh101
72bc0bf818
Removed redundant code
2021-04-25 02:43:03 +10:00
rh101
1238a08662
Add support for FileStream in ZipUtils and ZipFile
2021-04-25 02:39:47 +10:00
rh101
373c9262c4
Added getNativeWritableAbsolutePath() which will always return the underlying file system raw path.
...
Re-enabled memory mapped UserDefault usage, since it now has access to the raw file system path.
2021-04-23 01:00:00 +10:00
rh101
cd0c5bfcee
Merge branch 'vfs-support' of https://github.com/rh101/engine-x into vfs-support
2021-04-23 00:01:47 +10:00
rh101
2aa2d69151
Move PosixFileStream class to its own files
...
Update UserDefault to work with FileStream
Fix undefined openFileStream on platforms other than Win32
2021-04-23 00:01:32 +10:00
HALX99
138781151a
Fix depth stencil state/desc ( #321 )
...
* Fix ds state
* fix 3d object not render
* Update DepthStencilStateGL.cpp
* fix ds, not complete
* fix image ref incorrect
* Fix metal captureScreen
* Share ds desc
needs restore properly after non-default render target destroy.
* fix gl compile
* Sync ds desc
* Only set vertex & index buffer once for batch draw
* Add set/get ds desc for renderer
* Refine code style
* Fix RenderTextureTest
a. should restore stencil desc properly
* Sync gl captureNode
* Sync GL
2021-01-31 22:22:52 +08:00
halx99
208d07697f
Fix next drawable maybe nil crash[ci build] ( #310 )
2020-12-17 15:31:16 +08:00
halx99
c44d94a2b2
Update lua bindings source [ci build]
...
cxx17::string_view support
2020-12-16 17:52:17 +08:00
halx99
03b605dcee
Sync yasio [ci build]
2020-12-15 18:58:04 +08:00
aismann
72be372699
CCPhysicsSprite(Box2D/Chipmunk2D) cleanup, some other small improvements too
...
CCPhysicsSprite(Box2D/Chipmunk2D) cleanup and small improvements on PhysicsTest
2020-12-01 16:39:28 +01:00
aismann
5e249bf6f8
Chipmunk2D and Box2D works together now (add two new classes)
...
add class PhysicsSpriteChipmunk2D
add class PhysicsSpriteBox2D
Improve window size problem with ImGuiEXTTest
2020-12-01 10:15:30 +01:00
halx99
f543356bb7
Sync yasio to 3.33.4 [ci build]
2020-11-25 19:07:21 +08:00
halx99
ca42ef08ba
Refine jni methods decls [ci build]
2020-11-18 13:25:00 +08:00
HALX99
5ff9f4786e
fix UserDefault plain mode stack overflow
2020-11-17 19:50:58 +08:00
halx99
64c5c4612d
fix ci warnings
2020-11-15 21:34:53 -08:00
HALX99
619b0863ac
Refine UserDefault comment [ci build]
2020-11-15 13:13:24 +08:00
HALX99
b397ed09a5
Update CCUserDefault.cpp
2020-11-15 13:11:53 +08:00
HALX99
f1262c521f
Update CCUserDefault.cpp
2020-11-15 13:08:21 +08:00
HALX99
9ba25c0fb1
Refine UserDefault comment
2020-11-15 12:26:40 +08:00
HALX99
1e0dcb9c3f
Refine user default comment
2020-11-15 12:16:54 +08:00
halx99
980ff17f9a
fix UserDefault doesn't work with encrypt enabled [ci build]
2020-11-15 11:45:14 +08:00
halx99
01b4965184
Add missing JNIEXPORT
2020-11-13 23:03:05 +08:00
Born.Xiao
fce153cdb1
Update CCUserDefault.cpp
...
write with variable size, calculate size use int32_t
2020-11-12 00:32:33 +08:00
halx99
7d1c669231
Sets box2d as default physics 2d engine
2020-11-08 13:20:36 +08:00
halx99
8b5964504f
fixup [ci build]
2020-11-03 12:41:23 +08:00
halx99
da1613a9b6
For scripting binding happy
2020-11-02 16:35:31 +08:00
halx99
f27b1201c8
fix userdefault getBoolForKey incorrect
2020-10-27 17:27:52 +08:00
halx99
975ef2ff61
Lock name
2020-10-24 21:57:36 +08:00
halx99
b8834bc086
Finsih rename
2020-10-22 10:58:10 +08:00
HALX99
0a1af78a0e
Build pugixml from sources for all platforms ( #241 )
2020-10-21 12:28:34 +08:00
halx99
c8c7c1dd6b
mini changes
2020-10-18 21:43:51 +08:00
halx99
1735517112
Improve win dll support
2020-10-06 16:46:38 +08:00
halx99
d45591b49b
Change access qualifier
2020-10-05 00:09:12 +08:00
halx99
cd216f2f4b
Move isPOT to ccUtils.h for reuse
2020-10-04 23:43:57 +08:00
halx99
771d278b4e
UserDefault int64_t
2020-10-02 19:52:32 +08:00
HALX99
235f09f635
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
1eec5cf7df
fix #213
2020-09-22 17:34:52 +08:00