Implement reset code (#FFFFFF)

pull/28/head
sigonasr2 12 months ago
parent df1d9771aa
commit 4ab88b3014
  1. 2
      Crawler/Version.h
  2. 2
      Crawler/assets/config/story/Chapter 1.txt
  3. 1
      Crawler/olcPGEX_TTF.h
  4. 2
      Crawler/olcPixelGameEngine.h

@ -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

@ -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.

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

@ -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
{

Loading…
Cancel
Save