This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** create the plugin by name */ | |
PluginProtocol* PluginFactory::createPlugin(const char* name) | |
{ | |
PluginProtocol* pRet = NULL; | |
do | |
{ | |
if (name == NULL || strlen(name) == 0) break; | |
std::string jClassName = ANDROID_PLUGIN_PACKAGE_PREFIX; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.cocos2dx.cpp; | |
import java.util.HashSet; | |
import java.util.Hashtable; | |
import java.util.Iterator; | |
import java.util.Set; | |
import org.cocos2dx.plugin.AdsWrapper; | |
import org.cocos2dx.plugin.InterfaceAds; | |
import org.cocos2dx.plugin.PluginWrapper; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apache License | |
Version 2.0, January 2004 | |
http://www.apache.org/licenses/ | |
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | |
1. Definitions. | |
"License" shall mean the terms and conditions for use, reproduction, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python3 | |
# https://www.academia.edu/6647563/The_C90_encoding_for_Thai | |
# https://github.com/SaladLab/Unity3D.ThaiFontAdjuster/blob/master/docs/UnderTheHood.md | |
# https://www.thaitux.info/book/export/html/275 | |
# https://unicodey.com/emoji-data/build/google/noto-emoji/add_svg_glyphs.py | |
from fontTools.ttLib import TTFont | |
from fontTools.ttLib.tables import _g_l_y_f | |
from fontTools.ttLib.tables import _v_m_t_x |