Implement reset code (#FFFFFF)

This commit is contained in:
sigonasr2 2023-12-08 16:01:14 -06:00
parent df1d9771aa
commit 4ab88b3014
4 changed files with 5 additions and 2 deletions

View File

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 0
#define VERSION_MINOR 2
#define VERSION_PATCH 1
#define VERSION_BUILD 3591
#define VERSION_BUILD 3592
#define stringify(a) stringify_(a)
#define stringify_(a) #a

View File

@ -16,7 +16,7 @@ The crossing is famous for merchants to rest on there travels and trade goods wi
While you are getting closer you realise something isnt right. the Smoke on the sky is way thicker then what you would expect from a few campfires.
You reach the crossing where a horrible scenery awaits you.
You reach the crossing where a #691718horrible scenery#FFFFFF awaits you.
Tents are burning and lifeless bodys lying on the floor. It looks like some Bandit attack, which also is a kinda strange occurance.

View File

@ -264,6 +264,7 @@ namespace olc {
textCol.b+=hexToNumber(string[i+j]);
}
}
if(textCol==WHITE)textCol=color;
continue;
}
Font *toUse = this;

View File

@ -3734,6 +3734,7 @@ namespace olc
textCol.b+=hexToNumber(sText[index+i]);
}
}
if(textCol==WHITE)textCol=col;
}
else if (c==Reset[0])
{
@ -3853,6 +3854,7 @@ namespace olc
textCol.b+=hexToNumber(sText[index+i]);
}
}
if(textCol==WHITE)textCol=col;
}
else
{