|
|
@ -64,7 +64,9 @@ namespace Fungus |
|
|
|
|
|
|
|
|
|
|
|
protected StringSubstituter stringSubstituter; |
|
|
|
protected StringSubstituter stringSubstituter; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !FUNGUSLUA_STANDALONE |
|
|
|
protected ConversationManager conversationManager; |
|
|
|
protected ConversationManager conversationManager; |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// <summary> |
|
|
|
/// Registers all listed c# types for interop with Lua. |
|
|
|
/// Registers all listed c# types for interop with Lua. |
|
|
@ -251,8 +253,10 @@ namespace Fungus |
|
|
|
stringSubstituter = new StringSubstituter(); |
|
|
|
stringSubstituter = new StringSubstituter(); |
|
|
|
stringSubstituter.CacheSubstitutionHandlers(); |
|
|
|
stringSubstituter.CacheSubstitutionHandlers(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !FUNGUSLUA_STANDALONE |
|
|
|
conversationManager = new ConversationManager(); |
|
|
|
conversationManager = new ConversationManager(); |
|
|
|
conversationManager.PopulateCharacterCache(); |
|
|
|
conversationManager.PopulateCharacterCache(); |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
if (fungusModule == FungusModuleOptions.UseGlobalVariables) |
|
|
|
if (fungusModule == FungusModuleOptions.UseGlobalVariables) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -448,6 +452,8 @@ namespace Fungus |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !FUNGUSLUA_STANDALONE |
|
|
|
/// <summary> |
|
|
|
/// <summary> |
|
|
|
/// Use the conversation manager to play out a conversation |
|
|
|
/// Use the conversation manager to play out a conversation |
|
|
|
/// </summary> |
|
|
|
/// </summary> |
|
|
@ -485,6 +491,7 @@ namespace Fungus |
|
|
|
{ |
|
|
|
{ |
|
|
|
return MenuDialog.GetMenuDialog(); |
|
|
|
return MenuDialog.GetMenuDialog(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#endregion |
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
|
|