Merge branch 'dev' of github.com:peter-slattery/Lumenarium into dev

This commit is contained in:
Peter Slattery 2021-04-08 22:47:01 -04:00
commit 7cd6a26aaa
1 changed files with 9 additions and 0 deletions

View File

@ -101,6 +101,15 @@ PhraseHueMap_GenFromCSV(gscsv_sheet Sheet, gs_memory_arena* Arena)
}
Result.Phrases[Index] = PushStringF(Arena, Phrase.Length, "%S", Phrase).ConstString;
for (u64 i = 0; i < Result.Phrases[Index].Length; i++)
{
char C = Result.Phrases[Index].Str[i];
if (IsAlpha(C))
{
Result.Phrases[Index].Str[i] = ToLower(C);
}
}
Result.PhraseHashes[Index] = PhraseHash;
Result.Hue0[Index] = CreateHueFromString(Hue0Str);
Result.Hue1[Index] = CreateHueFromString(Hue1Str);