Split generated lore LANGUAGE at newlines for readability.

This commit is contained in:
Mari the Deer 2021-06-13 14:20:27 +02:00
commit 0cb3fb1141
4 changed files with 7770 additions and 323 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r537 \cu(Sat 12 Jun 15:08:15 CEST 2021)\c-";
SWWM_SHORTVER="\cw0.9.11b-pre r537 \cu(2021-06-12 15:08:15)\c-";
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r538 \cu(Sun 13 Jun 14:20:27 CEST 2021)\c-";
SWWM_SHORTVER="\cw0.9.11b-pre r538 \cu(2021-06-13 14:20:27)\c-";

View file

@ -101,12 +101,12 @@ processrel:
processtxt:
printf(" \033[1;36mTXT\033[0m");
hl = 0;
if ( txtnum <= 1 ) fprintf(lf,"SWWM_LORETXT_%s = \"",entname);
else fprintf(lf,"SWWM_LORETXT_%s%d = \"",entname,txtnum);
if ( txtnum <= 1 ) fprintf(lf,"SWWM_LORETXT_%s =\n\"",entname);
else fprintf(lf,"SWWM_LORETXT_%s%d =\n\"",entname,txtnum);
while ( txt[txtpos] )
{
if ( txt[txtpos] == '\n' )
fprintf(lf,"\\n");
fprintf(lf,"\\n\"\n\"");
else if ( txt[txtpos] == '\"' )
fprintf(lf,"\\\"");
else if ( (txt[txtpos] == '*') && (txt[txtpos+1] == '*') )