-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor set_memorize_callback() memorize_callback (#331)
* add Component.TableTranslator Signed-off-by: shewer <[email protected]> * add LTableTranslator * 移除 table_translator.h Signed-off-by: shewer <[email protected]> * 移除 table_translator.h Signed-off-by: shewer <[email protected]> * 加入 LScriptTranslator Signed-off-by: shewer <[email protected]> * fixed boost::optional error Signed-off-by: shewer <[email protected]> * fix memory dump : memories_callback 初始化 Signed-off-by: shewer <[email protected]> * add sample Signed-off-by: shewer <[email protected]> * fixd code Signed-off-by: shewer <[email protected]> * clang-format 排版 Signed-off-by: shewer <[email protected]> * fixed sample/ script code * 補上 *engine Signed-off-by: shewer <[email protected]> * add dict user_dict members of Translator Signed-off-by: shewer <[email protected]> * refactoring code Signed-off-by: shewer <[email protected]> * fixed ScriptTranslatorReg::vars_get: {memorize_call} Signed-off-by: shewer <[email protected]> * using optional : memorize_callback() Signed-off-by: shewer <[email protected]> * fixed format Signed-off-by: shewer <[email protected]> * add raw_set_memorize_callback([nil|function|other data]) return bool: nil(reset), function Signed-off-by: shewer <[email protected]> * reduce include head file in translator.h Signed-off-by: shewer <[email protected]> * update sample sclipt (table_translator.lua script_translator.lua) Signed-off-by: shewer <[email protected]> * add vars_get "lang_name" to support langname check Signed-off-by: shewer <[email protected]> --------- Signed-off-by: shewer <[email protected]>
- Loading branch information
Showing
5 changed files
with
77 additions
and
30 deletions.
There are no files selected for viewing
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
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
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
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
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