Exemple #1
0
        public static CompileMessages ReplaceAllGameText(Game game, Translation withTranslation)
        {
            CompileMessages errors = new CompileMessages();

            TextImportProcessor processor = new TextImportProcessor(game, errors, withTranslation.TranslatedLines);

            TextProcessingHelper.ProcessAllGameText(processor, game, errors);

            return(errors);
        }
        public CompileMessages CreateTranslationList(Game game)
        {
            CompileMessages errors = new CompileMessages();

            TranslationSourceProcessor processor = new TranslationSourceProcessor(game, errors);

            TextProcessingHelper.ProcessAllGameText(processor, game, errors);

            _linesForTranslation = processor.LinesForTranslation;

            return(errors);
        }
Exemple #3
0
        public CompileMessages CreateVoiceActingScript(Game game)
        {
            CompileMessages errors = new CompileMessages();

            VoiceActorScriptProcessor processor = new VoiceActorScriptProcessor(game, errors, GetFunctionCallsToProcessForSpeech(true));

            TextProcessingHelper.ProcessAllGameText(processor, game, errors);

            _linesByCharacter = processor.LinesByCharacter;
            _linesInOrder     = processor.LinesInOrder;

            return(errors);
        }