halx99
f3f2693dd2
Fixup
2021-10-24 11:07:54 +08:00
halx99
554412f4fd
Use struct `Vec2` instead `Size`
2021-10-23 23:27:14 +08:00
halx99
77404fd02a
Code style
2021-10-11 12:15:41 +08:00
halx99
13341f6e6f
Fix codacy issues
2021-10-09 14:05:32 +08:00
halx99
c15442eaad
Fix some warnings
2021-10-09 13:48:56 +08:00
halx99
8d83891f30
Improve lua workflow on windows
...
a. Use working directory as default resource root on windows
b. Don't copy res and scripts to build binary dir on windows
c. Always build plainlua as dll on windows for fast debug
d. Remove 64bit spec search path for lua script
2021-10-07 18:44:34 +08:00
halx99
201fdcc2fb
Fix #518
2021-10-06 18:45:58 +08:00
halx99
2a82ab10d5
Avoid OS_WINDOWS conflicit with system macro
2021-10-02 17:29:07 +08:00
姒嗘煶鏉?
35b658c90e
Merge: f5663f279c
d73d937894
...
Merge remote-tracking branch 'upstream/dev' into dev
2021-09-05 20:45:32 +08:00
姒嗘煶鏉?
0aff165959
[fix]ScrollView and ListView goes back to the front incorrectly after calling doLayout.
2021-09-05 20:44:14 +08:00
rh101
5e0a717aa5
Change off_t to int64_t
2021-09-02 21:18:23 +10:00
rh101
94cf6a83ac
Support 64 bit versions of posix lseek
2021-09-02 20:43:37 +10:00
rh101
4e7db23d38
Remove getLong() method
...
Change %du to %u, and %lx to %x
Use "stdint.h" instead of <cstdint> for TGAlib.h
2021-09-02 20:30:20 +10:00
姒嗘煶鏉?
64e2cdd8d9
[fix]The problem of inaccurate maximum width limit when using system fonts.
2021-09-02 17:15:03 +08:00
rh101
eba8696d65
Change %ld to %d for 32bit data types
...
Regenerate LUA bindings
2021-09-02 17:46:22 +10:00
rh101
4e5b07f6cb
Revert to usage of `long` type for external library methods that require it.
2021-09-02 16:08:57 +10:00
rh101
d8fd94db8a
Usage of long and unsigned long changed to platform independent fixed-sized types where appropriate.
2021-09-02 15:39:28 +10:00
halx99
6dd878a90f
Delete unused sources
2021-08-25 16:14:15 +08:00
halx99
99099dc08f
Merge: 11434287cd
0266d332e5
...
Merge pull request #469 from rh101/filestream-64bit
Update FileStream seek, tell and size to support files greater than 4GB files
2021-08-20 01:20:17 +08:00
halx99
825a87685f
Update thirdparty libs
2021-08-19 22:53:54 +08:00
rh101
cb696b06ac
Update FileStream seek, tell and size to support files greater than 4GB, and max size is 2^63.
2021-08-20 00:53:02 +10:00
halx99
40a70806cb
Fix ci
2021-07-15 23:31:49 +08:00
halx99
ec5ef59474
Improve code quality
2021-07-15 23:03:43 +08:00
halx99
a97ba886bf
Rename everything to adxe
2021-07-09 10:42:36 +08:00
halx99
c94e6739bf
Fix ci error
2021-07-07 14:09:11 +08:00
halx99
1292003e83
For doxgen happy
2021-07-06 15:22:07 +08:00
halx99
14b24ed14b
Refine code [ci build]
2021-07-04 21:21:29 +08:00
halx99
dabdb1315d
Fix #414
2021-07-04 21:18:14 +08:00
halx99
97425dc655
Fix #413
2021-07-04 16:40:34 +08:00
halx99
10c1ed15ef
Refactor dual sampler shader [ci build]
...
Since not only etc1 could use sepreate RGB, A to two texture samplers, we unify the shader name.
2021-06-27 20:58:50 +08:00
halx99
f5c9bfc38f
Tidy thirdparty lib xsxml, fastlib to xsbase
2021-06-25 07:29:14 +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
20bfeb26bf
Update astc [ci build]
2021-06-01 23:43:54 +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
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
dba89b7362
Fix warning [ci build]
2021-05-14 20:50:59 +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
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
0f12e59e3b
Sync pr: https://github.com/cocos2d/cocos2d-x/pull/20662
2021-04-26 19:00:43 +08:00
halx99
ff24bdf192
Optimize macro posix_fsetsize, use ',' is better [ci build]
2021-04-26 17:02:28 +08: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
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