From 7150c9ef2d7c4c517ecd51b1db60730f2394e7d4 Mon Sep 17 00:00:00 2001 From: Misa Date: Thu, 11 Jun 2020 17:38:43 -0700 Subject: [PATCH] Unindent scriptclass::loadcustom() from previous commit The actual unindent is done in a separate commit to minimize noise, because diffs are terrible at clearly conveying unindents (it should put all the minus lines together and all the plus lines together, too). --- desktop_version/src/Script.cpp | 506 ++++++++++++++++----------------- 1 file changed, 253 insertions(+), 253 deletions(-) diff --git a/desktop_version/src/Script.cpp b/desktop_version/src/Script.cpp index 466fa14d..e5b90bee 100644 --- a/desktop_version/src/Script.cpp +++ b/desktop_version/src/Script.cpp @@ -3568,263 +3568,263 @@ void scriptclass::loadcustom(std::string t) return; } - std::vector& lines = *contents; + std::vector& lines = *contents; - //Ok, we've got the relavent script segment, we do a pass to assess it, then run it! - int customcutscenemode=0; - for(size_t i=0; i=0 && ti<=50 ? ti : 1; - for(int ti2=0; ti2=0 && ti<=50 ? ti : 1; - for(int ti2=0; ti2=0 && ti<=50 ? ti : 1; + for(int ti2=0; ti2=0 && ti<=50 ? ti : 1; + for(int ti2=0; ti2