Skip to content

Commit

Permalink
Merge pull request #382 from OneLoneCoder/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
OneLoneCoder authored Sep 2, 2024
2 parents 705bc92 + 27ef0f8 commit 7f266f3
Show file tree
Hide file tree
Showing 5 changed files with 422 additions and 116 deletions.
2 changes: 1 addition & 1 deletion extensions/olcPGEX_SplashScreen.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ namespace olc
}

olc::vi2d vSize = pge->GetTextSizeProp("Copyright OneLoneCoder.com 2024");
pge->DrawStringPropDecal(olc::vf2d(float(pge->ScreenWidth()/2) - vSize.x/2, float(pge->ScreenHeight()) - vSize.y * 3.0f), "Copyright OneLoneCoder.com 2023", olc::PixelF(1.0f, 1.0f, 1.0f, 0.5f), olc::vf2d(1.0, 2.0f));
pge->DrawStringPropDecal(olc::vf2d(float(pge->ScreenWidth()/2) - vSize.x/2, float(pge->ScreenHeight()) - vSize.y * 3.0f), "Copyright OneLoneCoder.com 2024", olc::PixelF(1.0f, 1.0f, 1.0f, 0.5f), olc::vf2d(1.0, 2.0f));
return true;
}

Expand Down
15 changes: 12 additions & 3 deletions olcPixelGameEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
olcPixelGameEngine.h
+-------------------------------------------------------------+
| OneLoneCoder Pixel Game Engine v2.26 |
| OneLoneCoder Pixel Game Engine v2.27 |
| "What do you need? Pixels... Lots of Pixels..." - javidx9 |
+-------------------------------------------------------------+
Expand Down Expand Up @@ -331,6 +331,13 @@
+adv_FlushLayerDecals() - [ADVANCED] Force layer's decal render to buffer
+FillTriangleDecal() - Draws a triangle decal
+GradientTriangleDecal() - Draws a triangle decal with unique vertex colours
2.27: Restructuring of connected files (post-jam clean up)
+Guarding olc::v_2d with less faff
+Updated olcUTIL_Geometry2D.h
+Updated olcUTIL_QuadTree.h
+Updated olcUTIL_Animate2D.h
+Updated olcUTIL_SplashScreen.h
+File Resolution for PGEtinker.com
!! Apple Platforms will not see these updates immediately - Sorry, I dont have a mac to test... !!
!! Volunteers willing to help appreciated, though PRs are manually integrated with credit !!
Expand Down Expand Up @@ -410,7 +417,7 @@ int main()
#include <cstring>
#pragma endregion

#define PGE_VER 226
#define PGE_VER 227

// O------------------------------------------------------------------------------O
// | COMPILER CONFIGURATION ODDITIES |
Expand Down Expand Up @@ -686,7 +693,7 @@ namespace olc
// O------------------------------------------------------------------------------O
// | olc::vX2d - A generic 2D vector type |
// O------------------------------------------------------------------------------O
#if !defined(OLC_IGNORE_VEC2D)
#if !defined(OLC_VECTOR2D_DEFINED)
template <class T>
struct v2d_generic
{
Expand Down Expand Up @@ -758,6 +765,8 @@ namespace olc
typedef v2d_generic<uint32_t> vu2d;
typedef v2d_generic<float> vf2d;
typedef v2d_generic<double> vd2d;

#define OLC_VECTOR2D_DEFINED 1
#endif


Expand Down
2 changes: 1 addition & 1 deletion utilities/olcUTIL_Animate2D.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@

#pragma once

#include "olcPixelGameEngine.h"
#include "utilities/olcUTIL_Geometry2D.h"
#include "olcPixelGameEngine.h"
#include <unordered_map>

namespace olc::utils::Animate2D
Expand Down
Loading

0 comments on commit 7f266f3

Please sign in to comment.