REVIEWED: Formatting to follow raylib conventions
This commit is contained in:
parent
6c3ef8d9b4
commit
727a90c5d1
1 changed files with 244 additions and 299 deletions
|
|
@ -210,7 +210,7 @@ int main(void)
|
|||
|
||||
// Draw random emojis in the background
|
||||
//------------------------------------------------------------------------------
|
||||
for (int i = 0; i < SIZEOF(emoji); ++i)
|
||||
for (int i = 0; i < SIZEOF(emoji); i++)
|
||||
{
|
||||
const char *txt = &emojiCodepoints[emoji[i].index];
|
||||
Rectangle emojiRect = { position.x, position.y, (float)fontEmoji.baseSize, (float)fontEmoji.baseSize };
|
||||
|
|
@ -316,7 +316,7 @@ static void RandomizeEmoji(void)
|
|||
hovered = selected = -1;
|
||||
int start = GetRandomValue(45, 360);
|
||||
|
||||
for (int i = 0; i < SIZEOF(emoji); ++i)
|
||||
for (int i = 0; i < SIZEOF(emoji); i++)
|
||||
{
|
||||
// 0-179 emoji codepoints (from emoji char array) each 4bytes + null char
|
||||
emoji[i].index = GetRandomValue(0, 179)*5;
|
||||
|
|
|
|||
Loading…
Reference in a new issue