andyque
db95034798
fix android compile error
2015-05-07 10:37:19 +08:00
Vladimir Perminov
694b9adc1e
Add FileUtils::getSuitableFOpen
...
win32 fopen only ansi encoding.
if filePath contains utf8 characters fopen fail.
AudioCache FileFormat::OGG bag, can't open file, if filePath contains
utf8.
Need make all filename for fopen correct encoding.
Only Win32 FileUtils::getSuitableFOpen return
StringUtf8ToAnsi(filename),
other platform return filename
all fopen use FileUtils::getSuitableFOpen
2015-04-19 14:00:27 +03:00
Dale Stammen
b700798287
removed WP8 project files
2015-04-15 07:13:54 -07:00
minggo
09c50c44dc
Merge pull request #11224 from hawkwood/patch-7
...
Remove use of autorelease NSString and NSURL
2015-04-09 18:36:07 +08:00
Justin Hawkwood
84fd73630a
Fix iOS 5.1.1 crash caused by interruptionHandler
...
checks OS version and sets handling based on what is available.
2015-04-03 15:57:47 -07:00
Justin Hawkwood
237e809f23
Remove use of autorelease NSString and NSURL
...
Since there is no autorelease pool, these were leaking.
2015-03-30 16:27:05 -07:00
Justin Hawkwood
3641ef266c
Remove use of autorelease NSString and NSURL
...
Since there is no autorelease pool, these were leaking.
2015-03-30 16:24:48 -07:00
samuele3hu
c3ad458a26
Update comment for Lua
2015-03-30 15:47:47 +08:00
Wenhai Lin
fdffad3956
[ci skip]Fixed warnings when generating docs by doxygen.
2015-03-27 10:52:59 +08:00
WenhaiLin
2caff4e64d
[ci skip]Update comments
2015-03-24 14:12:58 +08:00
dingpinglv
67169443df
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into Iss_Annotate
...
Conflicts:
cocos/audio/include/SimpleAudioEngine.h
2015-03-19 20:28:29 +08:00
dingpinglv
1b179c2b02
Issue : added js annotates to SimpleAudioEngine, CCVertexIndexBuffer.h, CCVertexIndexData.h
2015-03-19 20:20:16 +08:00
VisualSJ
f87b06a1c8
Add javascript notes...
...
cocos/2d/CCAction.h
cocos/2d/CCActionCamera.h
cocos/2d/CCActionCatmullRom.h
cocos/2d/CCActionInstant.h
cocos/2d/CCActionInterval.h
cocos/2d/CCActionManager.h
cocos/audio/include/AudioEngine.h
cocos/audio/include/SimpleAudioEngine.h
2015-03-19 18:41:11 +08:00
WenhaiLin
e528531b4b
[ci skip]Update document
2015-03-19 10:38:12 +08:00
Krishna
35403439f3
Fixed compilation issue. Introduced missing CLASS_NAME
2015-03-04 10:48:30 +01:00
Krishna
ec3a8d49f9
Fixed compilation error.
2015-03-04 10:43:31 +01:00
Krishna
58df860b4e
Made the loadeffect utility method into a static method. Removed declaration of old method from header file
2015-02-26 06:53:20 +01:00
Krishna
3b54af1763
Introduced missing function declarators
2015-02-25 10:26:59 +01:00
Krishna Narasimhan
80ea81884b
Source refactor. Corrected compile issue
2015-02-23 13:01:19 +01:00
Krishna Narasimhan
239a5f307f
Sourcr Refactor. Abstracted common functionality from two jni methods and saved space/resources
2015-02-23 10:20:12 +01:00
Wenhai Lin
eb7a7a9fb7
Fixed audio can't resume after the interruption of audio session has ended on iOS.
2015-02-12 15:38:44 +08:00
kompjoefriek
ca48c5e5dd
Fixed lots of compiler warnings
...
- signed / unsigned mismatches
- using int as bool
- Removed throw() from CCFrame.h, why is explained here:
http://www.gotw.ca/publications/mill22.htm
2015-01-23 02:02:33 +01:00
WenhaiLin
5fd9ccfecb
Fixed AudioEngine causes game 'freeze' on Android
2015-01-21 16:18:47 +08:00
Wenhai Lin
58c45ca144
Integrate CocosPlayClient
2015-01-13 17:30:07 +08:00
raydelto
e20c347767
Fixing typo in the constant INVAILD_AUDIO_ID of the new AudioEngine, changing it to INVALID_AUDIO_ID
2014-12-31 20:51:45 -04:00
Nick Barrios
0c2e64b8b9
AudioEngine-win32.ccp: Switch OpenAL include paths based on OPENAL_PLAINS_INCLUDES.
2014-12-19 16:50:47 -05:00
Ricardo Quesada
33a2d0451c
Code conforms with the cocos2d-x c++ guidelines
2014-11-25 17:53:52 -08:00
Vladimir Timofeev
ba2f74e76c
Fix OpenAL include paths, cmake search include paths for case, when openal includes as "#include <al.h>"
2014-11-18 17:27:43 +03:00
Vladimir Timofeev
28d7279cb0
remove unnneded includes and declarations
2014-11-18 10:06:45 +03:00
Vladimir Timofeev
b5266e95bf
mingw fixes, now project builds with mingw64 and -DUSE_PREBUILT_LIBS=NO (some additional libs hardcoded still)
2014-11-17 01:42:04 +03:00
Ricardo Quesada
50dcae4bef
fixes compiler warnings
2014-11-14 13:07:34 -08:00
Ricardo Quesada
1b44f4b605
Merge pull request #9115 from vovkasm/win32-audioengine-mingw-fix
...
Fix compile errors with recent mingw.
2014-11-14 11:22:35 -08:00
minggo
6d08b33a68
Merge pull request #9107 from Dhilan007/v3-audio-includefix
...
Remove unneeded include in AudioEngine.h
2014-11-14 20:09:33 +08:00
Vladimir Timofeev
48108e548a
Fix compile errors with recent mingw.
...
Constify arguments to copy constuctors. Without this gcc fail to compile if classes used inside containers.
Error message is rather cryptic: " error: 'constexpr std::pair<_T1, _T2>::pair(const std::pair<_T1, _T2>&) [with _T1 = const int; _T2 = cocos2d::experimental::AudioPlayer]' declared to take const reference, but implicit declaration would take non-const"
2014-11-14 10:52:17 +03:00
Ricardo Quesada
2e3b2d9f28
Merge pull request #9080 from vovkasm/cmake-refactoring
...
Cmake refactorings and fixes
2014-11-13 15:42:47 -08:00
Dhilan007
f52c3e5a83
Remove unneeded include in AudioEngine.h
2014-11-13 22:02:28 +08:00
Dhilan007
249d34b707
fix AudioEngine can't looping audio on Android 2.3.x
2014-11-13 11:28:08 +08:00
Vladimir Timofeev
8910b962a0
cmake:
...
- fix Audio engine build on Mac
- remove duplicated defintions of _EXPORT_DLL_
2014-11-11 10:30:48 +03:00
Dhilan007
c66348435c
Fixed incorrect file path of audio resource in AudioEngine on Android.
2014-10-21 18:34:05 +08:00
Dale Stammen
52fc6d618b
updated for Windows 8.1
2014-10-14 14:13:14 -07:00
Dale Stammen
fd638f00b7
removed old WP8 project files
2014-10-14 14:09:52 -07:00
martell
73980195c0
wp8: use CC_STATIC because libs are static
2014-10-09 06:33:46 +01:00
martell
c3172bef50
Finalise Windows cmake support for mingw-w64
...
Signed-off-by: martell <martellmalone@gmail.com>
2014-10-03 23:22:09 +01:00
martell
30240a8a37
Multi platform cmake support
...
Signed-off-by: martell <martellmalone@gmail.com>
2014-10-03 23:21:45 +01:00
martell
fe32bcb952
added support for static and shared builds with audio and studio
...
Signed-off-by: martell <martellmalone@gmail.com>
2014-10-03 23:20:52 +01:00
Ricardo Quesada
342d934a0e
scheduler and macro fixes
...
* kRepeatForever -> CC_REPEAT_FOREVER
* schedule_selector -> CC_SCHEDULE_SELECTOR
* [new] Node::schedule(const std::function<>& callback, const std::string &key)
Updates all smaples
2014-10-03 09:38:36 -07:00
minggo
2ecfcee2a6
Merge pull request #8216 from Dhilan007/v3-audio-fix
...
fix audio issues(log output:Too Many Objects) after play audio many times on Android
2014-09-30 15:19:46 +08:00
Dhilan007
ed9c8b2693
fix audio issues(log output:Too Many Objects) after play audio many times.
2014-09-30 15:00:52 +08:00
Dhilan007
02fcb6488a
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3-audio-win32
...
Conflicts:
cocos/2d/libcocos2d.vcxproj.filters
tests/cpp-tests/proj.win32/cpp-tests.vcxproj
2014-09-30 14:19:27 +08:00
minggo
804b26344e
fix warnings
2014-09-30 11:58:38 +08:00