axmolengine / axmol

Axmol Engine – A Multi-platform Engine for Desktop, XBOX (UWP) and Mobile games. (A fork of Cocos2d-x-4.0)
https://axmol.dev
MIT License
868 stars 195 forks source link

some other pages shown cocos2d::log (or cocos2d) #883

Closed aismann closed 1 year ago

aismann commented 1 year ago

cocos2d::log(_fmt, _pname, diff, s_total_cost); https://github.com/axmolengine/axmol/issues/523

Not really important but confuse,

maybe a check over all 'axmol' stuff is helpful. engine-x, axde, axis, axys, cocos*

aismann commented 1 year ago

@halx99 should it not rename to 'axmol3d.h'? D:\_____GitHub___\_aismann\axmol\core\3d\cocos3d.h

another one: rename void performFunctionInCocosThread(std::function<void()> function); better neutral: void performInternalFunctioInThread(std::function<void()> function); or void performFunctioInThread(std::function<void()> function);

/** Calls a function on the cocos2d thread. Useful when you need to call a cocos2d function from another thread.
 This function is thread safe.
 @param function The function to be run in cocos2d thread.
 @since v3.0
 @js NA
 */
void performFunctionInCocosThread(std::function<void()> function);

same here: /**

image

another one: image