Skip to content

Commit 705bc92

Browse files
authored
Merge pull request #375 from OneLoneCoder/develop
v2.26
2 parents ae284d9 + 3eee998 commit 705bc92

11 files changed

+385
-59
lines changed

extensions/olcPGEX_Graphics2D.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
5757
Author
5858
~~~~~~
59-
David Barr, aka javidx9, ©OneLoneCoder 2019
59+
David Barr, aka javidx9, ©OneLoneCoder 2019
6060
*/
6161

6262
/*
@@ -73,6 +73,9 @@
7373
#define OLC_PGEX_GFX2D
7474

7575
#include <algorithm>
76+
77+
#include "olcPixelGameEngine.h"
78+
7679
#undef min
7780
#undef max
7881

extensions/olcPGEX_Graphics3D.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
6262
Author
6363
~~~~~~
64-
David Barr, aka javidx9, ©OneLoneCoder 2018
64+
David Barr, aka javidx9, ©OneLoneCoder 2018
6565
*/
6666

6767

@@ -74,6 +74,9 @@
7474
#include <sstream>
7575
#include <string>
7676
#include <cstdint>
77+
78+
#include "olcPixelGameEngine.h"
79+
7780
#undef min
7881
#undef max
7982

@@ -203,7 +206,7 @@ namespace olc
203206
void SetTransform(olc::GFX3D::mat4x4 &transform);
204207
void SetTexture(olc::Sprite *texture);
205208
//void SetMipMapTexture(olc::GFX3D::MipMap *texture);
206-
void SetLightSource(uint32_t nSlot, uint32_t nType, olc::Pixel col, olc::GFX3D::vec3d pos, olc::GFX3D::vec3d dir = { 0.0f, 0.0f, 1.0f }, float fParam = 0.0f);
209+
void SetLightSource(uint32_t nSlot, uint32_t nType, olc::Pixel col, olc::GFX3D::vec3d pos, olc::GFX3D::vec3d dir = { 0.0f, 0.0f, 1.0f, 1.0f }, float fParam = 0.0f);
207210
uint32_t Render(std::vector<olc::GFX3D::triangle> &triangles, uint32_t flags = RENDER_CULL_CW | RENDER_TEXTURED | RENDER_DEPTH);
208211
uint32_t Render(std::vector<olc::GFX3D::triangle> &triangles, uint32_t flags, int nOffset, int nCount);
209212
uint32_t RenderLine(olc::GFX3D::vec3d &p1, olc::GFX3D::vec3d &p2, olc::Pixel col = olc::WHITE);

extensions/olcPGEX_Network.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
5252
Author
5353
~~~~~~
54-
David Barr, aka javidx9, ©OneLoneCoder 2019, 2020, 2021
54+
David Barr, aka javidx9, ©OneLoneCoder 2019, 2020, 2021
5555
5656
*/
5757

extensions/olcPGEX_PopUpMenu.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@
159159

160160
#include <cstdint>
161161

162+
#include "olcPixelGameEngine.h"
163+
162164
namespace olc
163165
{
164166
namespace popup

extensions/olcPGEX_QuickGUI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
5757
Author
5858
~~~~~~
59-
David Barr, aka javidx9, ©OneLoneCoder 2019, 2020, 2021, 2022, 2023, 2024
59+
David Barr, aka javidx9, ©OneLoneCoder 2019, 2020, 2021, 2022, 2023, 2024
6060
6161
Changes
6262
~~~~~~~

extensions/olcPGEX_RayCastWorld.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
6565
Author
6666
~~~~~~
67-
David Barr, aka javidx9, ©OneLoneCoder 2019, 2020
67+
David Barr, aka javidx9, ©OneLoneCoder 2019, 2020
6868
6969
Revisions:
7070
1.00: Initial Release
@@ -78,6 +78,8 @@
7878
#include <unordered_map>
7979
#include <algorithm>
8080

81+
#include "olcPixelGameEngine.h"
82+
8183
namespace olc
8284
{
8385
namespace rcw

extensions/olcPGEX_Sound.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
6565
Author
6666
~~~~~~
67-
David Barr, aka javidx9, ©OneLoneCoder 2019
67+
David Barr, aka javidx9, ©OneLoneCoder 2019
6868
*/
6969

7070

@@ -76,6 +76,9 @@
7676
#include <climits>
7777
#include <condition_variable>
7878
#include <algorithm>
79+
80+
#include "olcPixelGameEngine.h"
81+
7982
#undef min
8083
#undef max
8184

extensions/olcPGEX_SplashScreen.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
5959
Author
6060
~~~~~~
61-
David Barr, aka javidx9, ©OneLoneCoder 2019, 2020, 2021, 2022, 2023, 2024
61+
David Barr, aka javidx9, ©OneLoneCoder 2019, 2020, 2021, 2022, 2023, 2024
6262
6363
Revisions:
6464
1.00: Initial Release

extensions/olcPGEX_TransformedView.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
6060
Author
6161
~~~~~~
62-
David Barr, aka javidx9, ©OneLoneCoder 2019, 2020, 2021, 2022, 2023, 2024
62+
David Barr, aka javidx9, ©OneLoneCoder 2019, 2020, 2021, 2022, 2023, 2024
6363
6464
Revisions:
6565
1.00: Initial Release

extensions/olcPGEX_Wireframe.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
5858
Author
5959
~~~~~~
60-
David Barr, aka javidx9, ©OneLoneCoder 2019, 2020, 2021, 2022
60+
David Barr, aka javidx9, ©OneLoneCoder 2019, 2020, 2021, 2022
6161
6262
Revisions:
6363
1.00: Initial Release

0 commit comments

Comments
 (0)