Skip to content

Commit 7f266f3

Browse files
authored
Merge pull request #382 from OneLoneCoder/develop
Develop
2 parents 705bc92 + 27ef0f8 commit 7f266f3

File tree

5 files changed

+422
-116
lines changed

5 files changed

+422
-116
lines changed

extensions/olcPGEX_SplashScreen.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ namespace olc
211211
}
212212

213213
olc::vi2d vSize = pge->GetTextSizeProp("Copyright OneLoneCoder.com 2024");
214-
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));
214+
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));
215215
return true;
216216
}
217217

olcPixelGameEngine.h

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
olcPixelGameEngine.h
44
55
+-------------------------------------------------------------+
6-
| OneLoneCoder Pixel Game Engine v2.26 |
6+
| OneLoneCoder Pixel Game Engine v2.27 |
77
| "What do you need? Pixels... Lots of Pixels..." - javidx9 |
88
+-------------------------------------------------------------+
99
@@ -331,6 +331,13 @@
331331
+adv_FlushLayerDecals() - [ADVANCED] Force layer's decal render to buffer
332332
+FillTriangleDecal() - Draws a triangle decal
333333
+GradientTriangleDecal() - Draws a triangle decal with unique vertex colours
334+
2.27: Restructuring of connected files (post-jam clean up)
335+
+Guarding olc::v_2d with less faff
336+
+Updated olcUTIL_Geometry2D.h
337+
+Updated olcUTIL_QuadTree.h
338+
+Updated olcUTIL_Animate2D.h
339+
+Updated olcUTIL_SplashScreen.h
340+
+File Resolution for PGEtinker.com
334341
335342
!! Apple Platforms will not see these updates immediately - Sorry, I dont have a mac to test... !!
336343
!! Volunteers willing to help appreciated, though PRs are manually integrated with credit !!
@@ -410,7 +417,7 @@ int main()
410417
#include <cstring>
411418
#pragma endregion
412419

413-
#define PGE_VER 226
420+
#define PGE_VER 227
414421

415422
// O------------------------------------------------------------------------------O
416423
// | COMPILER CONFIGURATION ODDITIES |
@@ -686,7 +693,7 @@ namespace olc
686693
// O------------------------------------------------------------------------------O
687694
// | olc::vX2d - A generic 2D vector type |
688695
// O------------------------------------------------------------------------------O
689-
#if !defined(OLC_IGNORE_VEC2D)
696+
#if !defined(OLC_VECTOR2D_DEFINED)
690697
template <class T>
691698
struct v2d_generic
692699
{
@@ -758,6 +765,8 @@ namespace olc
758765
typedef v2d_generic<uint32_t> vu2d;
759766
typedef v2d_generic<float> vf2d;
760767
typedef v2d_generic<double> vd2d;
768+
769+
#define OLC_VECTOR2D_DEFINED 1
761770
#endif
762771

763772

utilities/olcUTIL_Animate2D.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858

5959
#pragma once
6060

61-
#include "olcPixelGameEngine.h"
6261
#include "utilities/olcUTIL_Geometry2D.h"
62+
#include "olcPixelGameEngine.h"
6363
#include <unordered_map>
6464

6565
namespace olc::utils::Animate2D

0 commit comments

Comments
 (0)