halx99
c53038448d
Fix android compile error [ci build]
2021-06-10 14:17:47 +08:00
halx99
705ddf323c
Fix ci [ci build]
2021-06-10 12:55:58 +08:00
halx99
0d492c5f76
Use 1px detect method for checking whether GPU support astc [ci build]
2021-06-10 12:44:34 +08:00
halx99
0439bb54c3
Fix warnings
2021-06-09 12:28:33 +08:00
RH
429215ee85
Ensure label underline node has the same global Z value as the label node to fix visibility issue when global Z is not 0. ( #373 )
2021-06-09 12:09:01 +08:00
halx99
3a7d79733f
Update readme guide and fixup [ci build]
2021-06-08 21:53:18 +08:00
halx99
d526527c9d
Rename external to thirdparty [ci build]
2021-06-08 20:45:55 +08:00
RH
3c49c07465
Fix to allow the correct saving of images on iOS when using a virtual file system ( #369 )
...
* Fix to allow the correct saving of images on iOS when using a virtual file system
* Add missing import for FileUtils
2021-06-03 02:34:02 +08:00
halx99
5a6045ab19
Make gradle utils file as shared [ci build]
2021-06-02 06:27:19 +08:00
halx99
42fdfe5565
Use md5 from openssl [ci build]
2021-06-02 00:44:45 +08:00
halx99
20bfeb26bf
Update astc [ci build]
2021-06-01 23:43:54 +08:00
halx99
1d10a42cfa
Update ConvertUTF,poly2tri [ci build]
2021-06-01 11:47:19 +08:00
RH
56fc4513ef
FileStream::size() implemented ( #365 )
...
* Add FileStream::size()
Add ZipFile::zfsize()
* Use FileStream::size()
2021-05-31 15:08:44 +08:00
RH
5e18a87849
Cache stream size because Apple audio decoder requests the value too often ( #364 )
...
* Use FileStream to handle file operations for audio files on Apple platforms
* Audio callbacks are now static methods of AudioDecoderEXT class
* Track AudioFileID and close it explicitly in case it is required
* Remove unused code
* Improve performance by caching stream size since Apple audio decoder requests the size constantly during playback
2021-05-31 12:37:28 +08:00
RH
a74c61c218
Add Apple audio virtual file system support by using FileStream ( #363 )
...
* Use FileStream to handle file operations for audio files on Apple platforms
* Audio callbacks are now static methods of AudioDecoderEXT class
* Track AudioFileID and close it explicitly in case it is required
* Remove unused code
2021-05-29 16:15:16 +08:00
halx99
d0bb2a38a2
Fix ci [ci build]
2021-05-28 16:43:32 +08:00
halx99
571f639f0b
Use type GLchar for glGetShaderInfoLog
2021-05-27 14:52:09 +08:00
halx99
7d0395ee26
Fix #360
2021-05-27 14:39:17 +08:00
halx99
026c3ab7c5
Fix console output text encoding for win32.
2021-05-26 00:24:39 +08:00
halx99
84a8ec8e2e
Fix lua build [ci build]
2021-05-24 19:18:15 +08:00
halx99
6ff9a28f78
Better code style
2021-05-24 13:26:56 +08:00
halx99
4ebc4e48c7
Update CCDevice-win32.cpp
2021-05-18 23:52:25 +08:00
halx99
ba7e7ff84a
Fix charset process for fontName on win32 [ci build]
...
Since we use freetype, never needs create ttf font by win32 API
2021-05-18 23:50:23 +08:00
halx99
827d384eef
Renaming refactor ( #353 ) [ci build]
2021-05-18 16:40:30 +08:00
halx99
dba89b7362
Fix warning [ci build]
2021-05-14 20:50:59 +08:00
halx99
64a1d68d6f
Fix cmake issue [ci build]
...
Avoid cause check_include_file return unexpected result.
2021-05-11 23:48:15 +08:00
halx99
8e6faac1f1
Merge: 3348f10813
3a7bb58045
...
Merge pull request #350 from rh101/fix-cmake-set-property
Fix for CMake error when set_property is called with aliased target
2021-05-05 19:49:30 +08:00
rh101
c3618f8ea6
Extract real target from ALIAS if it exists in order to set property successfully
...
Remove duplicate entries in dependencies lists
2021-05-05 16:04:06 +10:00
halx99
a7577ba4c7
Merge: d8367d9376
3a3c4ed518
...
Merge pull request #348 from c4games/dev
Merge dev to master
2021-04-28 04:47:16 -07:00
halx99
70f8393b8f
Update install-deps-linux.sh
2021-04-28 19:14:44 +08:00
halx99
7cbfd84f95
Enable build curl with openssl [ci build]
2021-04-28 15:10:28 +08:00
halx99
0511520281
Merge: 7f1ca55a97
1efe0091a8
...
Merge pull request #347 from rh101/imgui-fix
ImGUI font crash fix when using virtual file system
2021-04-27 23:29:22 -07:00
rh101
e5fa398c67
Load fonts into IMGUI using memory routines rather than allowing it to use its own file handling in order to support FileStream related implementations.
2021-04-28 15:53:37 +10:00
halx99
d734599c1c
NavMesh Use lz4 instead fastlz [ci build]
2021-04-26 22:39:44 +08:00
halx99
0f12e59e3b
Sync pr: https://github.com/cocos2d/cocos2d-x/pull/20662
2021-04-26 19:00:43 +08:00
halx99
68a40694a8
Fix ci warnings [ci build]
2021-04-26 17:28:58 +08:00
halx99
ff24bdf192
Optimize macro posix_fsetsize, use ',' is better [ci build]
2021-04-26 17:02:28 +08:00
rh101
0583f9a4e0
Get the raw pointer on creation of the FileStream to avoid any accidental usage of the unique_ptr.
2021-04-26 17:31:34 +10:00
rh101
13115cc789
Let the OGG function overrides handle freeing memory of the FileStream pointer.
2021-04-26 17:30:18 +10:00
rh101
3281c7349a
Clear unique_ptr with reset().
2021-04-26 15:46:59 +10:00
rh101
b923b1a678
Use reset() to clear unique_ptr.
...
Use value initialization for unique_ptr.
Change AudioDecoderOgg override functions to use FileStream* instead of unique_ptr.
Remove redundant code.
2021-04-26 15:43:33 +10:00
rh101
668e96cadd
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
23301e563e
Minor code clean-up
2021-04-26 10:45:55 +10:00
RH
ba6f6dfcfa
Merge: 85c5705f48
ce6117fa65
...
Merge branch 'master' into vfs-support
2021-04-26 10:40:16 +10:00
RH
5b168e3bb6
Merge: 03bb24f313
85c5705f48
...
Merge branch 'vfs-support' into master
2021-04-26 10:39:09 +10:00
RH
0e2247a2d9
Merge: d1027ab263
ce6117fa65
...
Merge pull request #7 from c4games/master
Sync with primary
2021-04-26 10:32:25 +10:00
rh101
ff60724c9e
Return error value in FileUtils::getContents if size result is an unexpected value.
2021-04-26 10:29:29 +10:00
rh101
833f27f499
Ensure code uses FileStream::tell() to get size if required after using FileStream::seek(0, SET_END)
2021-04-26 10:28:33 +10:00
rh101
e6990d0b36
Remove unnecessary method call to close FileStream
2021-04-26 08:55:07 +10:00
halx99
be9bd61131
Fix tool script cocos
2021-04-25 09:22:07 -07:00