From 3cf19376095c83bc7960abf09c679c4b017abfca Mon Sep 17 00:00:00 2001 From: 1090MHz <107646764+1090MHz@users.noreply.github.com> Date: Mon, 29 Jul 2024 18:16:03 -0600 Subject: [PATCH 1/2] move header files into include\PPL --- {src => include/PPL}/action.h | 0 {src => include/PPL}/alcontextchanger.h | 0 {src => include/PPL}/alcontextmanager.h | 0 {src => include/PPL}/alsoundbuffer.h | 0 {src => include/PPL}/basics.h | 0 {src => include/PPL}/dataref.h | 0 {src => include/PPL}/fontmgr.h | 0 {src => include/PPL}/log.h | 0 {src => include/PPL}/logichandler.h | 0 {src => include/PPL}/logwriter.h | 0 {src => include/PPL}/menuitem.h | 0 {src => include/PPL}/messagewindow.h | 0 {src => include/PPL}/onscreendisplay.h | 0 {src => include/PPL}/overlaygauge.h | 312 ++++++++++++------------ {src => include/PPL}/owneddata.h | 0 {src => include/PPL}/pluginpath.h | 0 {src => include/PPL}/processor.h | 0 {src => include/PPL}/settings.h | 0 {src => include/PPL}/smoothed.h | 0 {src => include/PPL}/texture.h | 0 {src => include/PPL}/vertexbuffer.hpp | 0 21 files changed, 156 insertions(+), 156 deletions(-) rename {src => include/PPL}/action.h (100%) rename {src => include/PPL}/alcontextchanger.h (100%) rename {src => include/PPL}/alcontextmanager.h (100%) rename {src => include/PPL}/alsoundbuffer.h (100%) rename {src => include/PPL}/basics.h (100%) rename {src => include/PPL}/dataref.h (100%) rename {src => include/PPL}/fontmgr.h (100%) rename {src => include/PPL}/log.h (100%) rename {src => include/PPL}/logichandler.h (100%) rename {src => include/PPL}/logwriter.h (100%) rename {src => include/PPL}/menuitem.h (100%) rename {src => include/PPL}/messagewindow.h (100%) rename {src => include/PPL}/onscreendisplay.h (100%) rename {src => include/PPL}/overlaygauge.h (97%) rename {src => include/PPL}/owneddata.h (100%) rename {src => include/PPL}/pluginpath.h (100%) rename {src => include/PPL}/processor.h (100%) rename {src => include/PPL}/settings.h (100%) rename {src => include/PPL}/smoothed.h (100%) rename {src => include/PPL}/texture.h (100%) rename {src => include/PPL}/vertexbuffer.hpp (100%) diff --git a/src/action.h b/include/PPL/action.h similarity index 100% rename from src/action.h rename to include/PPL/action.h diff --git a/src/alcontextchanger.h b/include/PPL/alcontextchanger.h similarity index 100% rename from src/alcontextchanger.h rename to include/PPL/alcontextchanger.h diff --git a/src/alcontextmanager.h b/include/PPL/alcontextmanager.h similarity index 100% rename from src/alcontextmanager.h rename to include/PPL/alcontextmanager.h diff --git a/src/alsoundbuffer.h b/include/PPL/alsoundbuffer.h similarity index 100% rename from src/alsoundbuffer.h rename to include/PPL/alsoundbuffer.h diff --git a/src/basics.h b/include/PPL/basics.h similarity index 100% rename from src/basics.h rename to include/PPL/basics.h diff --git a/src/dataref.h b/include/PPL/dataref.h similarity index 100% rename from src/dataref.h rename to include/PPL/dataref.h diff --git a/src/fontmgr.h b/include/PPL/fontmgr.h similarity index 100% rename from src/fontmgr.h rename to include/PPL/fontmgr.h diff --git a/src/log.h b/include/PPL/log.h similarity index 100% rename from src/log.h rename to include/PPL/log.h diff --git a/src/logichandler.h b/include/PPL/logichandler.h similarity index 100% rename from src/logichandler.h rename to include/PPL/logichandler.h diff --git a/src/logwriter.h b/include/PPL/logwriter.h similarity index 100% rename from src/logwriter.h rename to include/PPL/logwriter.h diff --git a/src/menuitem.h b/include/PPL/menuitem.h similarity index 100% rename from src/menuitem.h rename to include/PPL/menuitem.h diff --git a/src/messagewindow.h b/include/PPL/messagewindow.h similarity index 100% rename from src/messagewindow.h rename to include/PPL/messagewindow.h diff --git a/src/onscreendisplay.h b/include/PPL/onscreendisplay.h similarity index 100% rename from src/onscreendisplay.h rename to include/PPL/onscreendisplay.h diff --git a/src/overlaygauge.h b/include/PPL/overlaygauge.h similarity index 97% rename from src/overlaygauge.h rename to include/PPL/overlaygauge.h index 55a912a..ab4b4f6 100644 --- a/src/overlaygauge.h +++ b/include/PPL/overlaygauge.h @@ -1,156 +1,156 @@ -// Copyright (c) 2017, Philipp Ringler philipp@x-plane.com -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are met: -// -// 1. Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// 2. Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// -// The views and conclusions contained in the software and documentation are those -// of the authors and should not be interpreted as representing official policies, -// either expressed or implied, of the FreeBSD Project. - -#ifndef OVERLAYWINDOW_H -#define OVERLAYWINDOW_H - -#include "XPLMDisplay.h" -#include "dataref.h" - -#if APL == 1 -#include -#elif IBM == 1 -#include -#include "GL/glew.h" -#include -#elif LIN == 1 -#include -#include -#endif - -namespace PPL { - -class OverlayGauge -{ -public: - OverlayGauge(int left2d, int top2d, int width2d, int height2d, int left3d, int top3d, int width3d, int height3d, - int frameOffX, int frameOffY, int textureId3d, bool allow_keyboard = true, bool is_visible3d = true, - bool is_visible2d = false, bool always_draw_3d = false, bool allow_3d_click = false, float scale_3d = 1.0f, - bool double_size = false, int panel_render_pass = 2); - virtual ~OverlayGauge(); - OverlayGauge(const OverlayGauge&) = delete; - OverlayGauge& operator=(const OverlayGauge&) = delete; - - void set3d(int left3d, int top3d, int width3d, int height3d, int texture_id, bool always_draw_3d); - void setCopy3d(int left3dcopy, int top3dcopy); - void disable3d(); - bool isVisible() const; - void setVisible(bool b); - void frame(); - int draw3dCallback(XPLMDrawingPhase phase, int is_before); - void toggleKeyboardFocus(); - - void draw2dWindowCallback(XPLMWindowID window_id); - void handle2dKeyCallback(XPLMWindowID window_id, char key, XPLMKeyFlags flags, unsigned char virtual_key, int losing_focus); - int handle2dClickCallback(XPLMWindowID window_id, int x, int y, XPLMMouseStatus mouse); - int handle2dRightClickCallback(XPLMWindowID window_id, int x, int y, XPLMMouseStatus mouse); - XPLMCursorStatus handle2dCursorCallback(XPLMWindowID window_id, int x, int y); - int handle2dWheelCallback(XPLMWindowID inWindowID, int x, int y, int wheel, int clicks); - - - virtual bool wantRedraw(); - virtual void draw(int left, int top, int right, int bottom) = 0; - virtual int handleNonDragClick(int x_rel, int y_rel, bool right) = 0; - virtual void handleNonDragClickRelease(int x_rel, int y_rel, bool right); - virtual void handleKeyPress(char key, XPLMKeyFlags flags, unsigned char virtual_key) = 0; - virtual int frameTextureId() const = 0; - virtual int frameTextureLitId() const { return 0; } - virtual void drawFrameTexture(int, int, int, int); - virtual void drawFrameTextureLit(int, int, int, int); - virtual bool wantClearTexture() const; - virtual bool wantVFlip() const; - virtual int handleMouseWheel(int x, int y, int wheel, int clicks); - virtual float instrumentBrightness() const; - virtual bool wantVRifAvailable() const; - virtual void update(); - - static int draw3dCallback(XPLMDrawingPhase phase, int is_before, void* refcon); - - static void draw2dWindowCallback(XPLMWindowID window_id, void* refcon); - static void handle2dKeyCallback(XPLMWindowID window_id, char key, XPLMKeyFlags flags, char virtual_key, void* refcon, int losing_focus); - static int handle2dClickCallback(XPLMWindowID window_id, int x, int y, XPLMMouseStatus mouse, void* refcon); - static int handle2dRightClickCallback(XPLMWindowID window_id, int x, int y, XPLMMouseStatus mouse, void* refcon); - static XPLMCursorStatus handle2dCursorCallback(XPLMWindowID window_id, int x, int y, void* refcon); - static int handle2dWheelCallback(XPLMWindowID inWindowID, int x, int y, int wheel, int clicks, void* refcon); - - static float frameCallback(float, float, int, void* refcon); - - void setDrawState(int inEnableFog, - int inNumberTexUnits, - int inEnableLighting, - int inEnableAlphaTesting, - int inEnableAlphaBlending, - int inEnableDepthTesting, - int inEnableDepthWriting); - void bindTex(int tex_id, int texture_unit); - void generateTex(int* tex_id, int number_of_textures); - - static bool coordInRect(float x, float y, float l, float t, float r, float b); - void drawTexture(int tex_id, int left, int top, int right, int bottom, bool vflip=false); - - int width3d() const { return width_3d_; } - int height3d() const { return height_3d_; } - GLuint gaugeTexture() const { return gauge_texture_; } - -private: - void updateFBO(); - XPLMWindowID window2d_id_; - int left_3d_; - int top_3d_; - int left_2d_; - int top_2d_; - int width_3d_; - int height_3d_; - const int width_2d_; - const int height_2d_; - int frame_off_x_; - int frame_off_y_; - bool visible_2d_; - bool visible_3d_; - bool always_draw_3d_; - float scale_3d_; - int width_view_3d_; - int height_view_3d_; - int panel_render_pass_; - DataRef screen_width_, screen_height_; - DataRef view_type_, panel_render_type_, vr_enabled_; - DataRef > instrument_brightness_; - DataRef lit_level_r_, lit_level_g_, lit_level_b_; - bool window_is_dragging_; - bool window_has_keyboard_focus_; - GLuint gauge_texture_; - GLuint rbo_; - GLuint fbo_; - int copy_left_3d_; - int copy_top_3d_; - int dX = 0; - int dY = 0; -}; - -} - -#endif // OVERLAYWINDOW_H +// Copyright (c) 2017, Philipp Ringler philipp@x-plane.com +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are met: +// +// 1. Redistributions of source code must retain the above copyright notice, this +// list of conditions and the following disclaimer. +// 2. Redistributions in binary form must reproduce the above copyright notice, +// this list of conditions and the following disclaimer in the documentation +// and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +// The views and conclusions contained in the software and documentation are those +// of the authors and should not be interpreted as representing official policies, +// either expressed or implied, of the FreeBSD Project. + +#ifndef OVERLAYWINDOW_H +#define OVERLAYWINDOW_H + +#include "XPLMDisplay.h" +#include "dataref.h" + +#if APL == 1 +#include +#elif IBM == 1 +#include +#include "GL/glew.h" +#include +#elif LIN == 1 +#include +#include +#endif + +namespace PPL { + +class OverlayGauge +{ +public: + OverlayGauge(int left2d, int top2d, int width2d, int height2d, int left3d, int top3d, int width3d, int height3d, + int frameOffX, int frameOffY, int textureId3d, bool allow_keyboard = true, bool is_visible3d = true, + bool is_visible2d = false, bool always_draw_3d = false, bool allow_3d_click = false, float scale_3d = 1.0f, + bool double_size = false, int panel_render_pass = 2); + virtual ~OverlayGauge(); + OverlayGauge(const OverlayGauge&) = delete; + OverlayGauge& operator=(const OverlayGauge&) = delete; + + void set3d(int left3d, int top3d, int width3d, int height3d, int texture_id, bool always_draw_3d); + void setCopy3d(int left3dcopy, int top3dcopy); + void disable3d(); + bool isVisible() const; + void setVisible(bool b); + void frame(); + int draw3dCallback(XPLMDrawingPhase phase, int is_before); + void toggleKeyboardFocus(); + + void draw2dWindowCallback(XPLMWindowID window_id); + void handle2dKeyCallback(XPLMWindowID window_id, char key, XPLMKeyFlags flags, unsigned char virtual_key, int losing_focus); + int handle2dClickCallback(XPLMWindowID window_id, int x, int y, XPLMMouseStatus mouse); + int handle2dRightClickCallback(XPLMWindowID window_id, int x, int y, XPLMMouseStatus mouse); + XPLMCursorStatus handle2dCursorCallback(XPLMWindowID window_id, int x, int y); + int handle2dWheelCallback(XPLMWindowID inWindowID, int x, int y, int wheel, int clicks); + + + virtual bool wantRedraw(); + virtual void draw(int left, int top, int right, int bottom) = 0; + virtual int handleNonDragClick(int x_rel, int y_rel, bool right) = 0; + virtual void handleNonDragClickRelease(int x_rel, int y_rel, bool right); + virtual void handleKeyPress(char key, XPLMKeyFlags flags, unsigned char virtual_key) = 0; + virtual int frameTextureId() const = 0; + virtual int frameTextureLitId() const { return 0; } + virtual void drawFrameTexture(int, int, int, int); + virtual void drawFrameTextureLit(int, int, int, int); + virtual bool wantClearTexture() const; + virtual bool wantVFlip() const; + virtual int handleMouseWheel(int x, int y, int wheel, int clicks); + virtual float instrumentBrightness() const; + virtual bool wantVRifAvailable() const; + virtual void update(); + + static int draw3dCallback(XPLMDrawingPhase phase, int is_before, void* refcon); + + static void draw2dWindowCallback(XPLMWindowID window_id, void* refcon); + static void handle2dKeyCallback(XPLMWindowID window_id, char key, XPLMKeyFlags flags, char virtual_key, void* refcon, int losing_focus); + static int handle2dClickCallback(XPLMWindowID window_id, int x, int y, XPLMMouseStatus mouse, void* refcon); + static int handle2dRightClickCallback(XPLMWindowID window_id, int x, int y, XPLMMouseStatus mouse, void* refcon); + static XPLMCursorStatus handle2dCursorCallback(XPLMWindowID window_id, int x, int y, void* refcon); + static int handle2dWheelCallback(XPLMWindowID inWindowID, int x, int y, int wheel, int clicks, void* refcon); + + static float frameCallback(float, float, int, void* refcon); + + void setDrawState(int inEnableFog, + int inNumberTexUnits, + int inEnableLighting, + int inEnableAlphaTesting, + int inEnableAlphaBlending, + int inEnableDepthTesting, + int inEnableDepthWriting); + void bindTex(int tex_id, int texture_unit); + void generateTex(int* tex_id, int number_of_textures); + + static bool coordInRect(float x, float y, float l, float t, float r, float b); + void drawTexture(int tex_id, int left, int top, int right, int bottom, bool vflip=false); + + int width3d() const { return width_3d_; } + int height3d() const { return height_3d_; } + GLuint gaugeTexture() const { return gauge_texture_; } + +private: + void updateFBO(); + XPLMWindowID window2d_id_; + int left_3d_; + int top_3d_; + int left_2d_; + int top_2d_; + int width_3d_; + int height_3d_; + const int width_2d_; + const int height_2d_; + int frame_off_x_; + int frame_off_y_; + bool visible_2d_; + bool visible_3d_; + bool always_draw_3d_; + float scale_3d_; + int width_view_3d_; + int height_view_3d_; + int panel_render_pass_; + DataRef screen_width_, screen_height_; + DataRef view_type_, panel_render_type_, vr_enabled_; + DataRef > instrument_brightness_; + DataRef lit_level_r_, lit_level_g_, lit_level_b_; + bool window_is_dragging_; + bool window_has_keyboard_focus_; + GLuint gauge_texture_; + GLuint rbo_; + GLuint fbo_; + int copy_left_3d_; + int copy_top_3d_; + int dX = 0; + int dY = 0; +}; + +} + +#endif // OVERLAYWINDOW_H diff --git a/src/owneddata.h b/include/PPL/owneddata.h similarity index 100% rename from src/owneddata.h rename to include/PPL/owneddata.h diff --git a/src/pluginpath.h b/include/PPL/pluginpath.h similarity index 100% rename from src/pluginpath.h rename to include/PPL/pluginpath.h diff --git a/src/processor.h b/include/PPL/processor.h similarity index 100% rename from src/processor.h rename to include/PPL/processor.h diff --git a/src/settings.h b/include/PPL/settings.h similarity index 100% rename from src/settings.h rename to include/PPL/settings.h diff --git a/src/smoothed.h b/include/PPL/smoothed.h similarity index 100% rename from src/smoothed.h rename to include/PPL/smoothed.h diff --git a/src/texture.h b/include/PPL/texture.h similarity index 100% rename from src/texture.h rename to include/PPL/texture.h diff --git a/src/vertexbuffer.hpp b/include/PPL/vertexbuffer.hpp similarity index 100% rename from src/vertexbuffer.hpp rename to include/PPL/vertexbuffer.hpp From 928c1c4b6fc3f4f0c2027bdd1310bbd9b260acbb Mon Sep 17 00:00:00 2001 From: 1090MHz <107646764+1090MHz@users.noreply.github.com> Date: Mon, 29 Jul 2024 18:53:48 -0600 Subject: [PATCH 2/2] Add forwarding headers to maintain backwards compatibility --- src/action.h | 6 ++++++ src/alcontextchanger.h | 6 ++++++ src/alcontextmanager.h | 6 ++++++ src/alsoundbuffer.h | 6 ++++++ src/basics.h | 6 ++++++ src/dataref.h | 6 ++++++ src/fontmgr.h | 6 ++++++ src/log.h | 6 ++++++ src/logichandler.h | 6 ++++++ src/logwriter.h | 6 ++++++ src/menuitem.h | 6 ++++++ src/messagewindow.h | 6 ++++++ src/onscreendisplay.h | 6 ++++++ src/overlaygauge.h | 6 ++++++ src/owneddata.h | 6 ++++++ src/pluginpath.h | 6 ++++++ src/processor.h | 6 ++++++ src/settings.h | 6 ++++++ src/smoothed.h | 6 ++++++ src/texture.h | 6 ++++++ src/vertexbuffer.hpp | 6 ++++++ 21 files changed, 126 insertions(+) create mode 100644 src/action.h create mode 100644 src/alcontextchanger.h create mode 100644 src/alcontextmanager.h create mode 100644 src/alsoundbuffer.h create mode 100644 src/basics.h create mode 100644 src/dataref.h create mode 100644 src/fontmgr.h create mode 100644 src/log.h create mode 100644 src/logichandler.h create mode 100644 src/logwriter.h create mode 100644 src/menuitem.h create mode 100644 src/messagewindow.h create mode 100644 src/onscreendisplay.h create mode 100644 src/overlaygauge.h create mode 100644 src/owneddata.h create mode 100644 src/pluginpath.h create mode 100644 src/processor.h create mode 100644 src/settings.h create mode 100644 src/smoothed.h create mode 100644 src/texture.h create mode 100644 src/vertexbuffer.hpp diff --git a/src/action.h b/src/action.h new file mode 100644 index 0000000..cbe211e --- /dev/null +++ b/src/action.h @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_ACTION_H +#define PPL_SRC_ACTION_H + +#include "../include/PPL/action.h" + +#endif // PPL_SRC_ACTION_H diff --git a/src/alcontextchanger.h b/src/alcontextchanger.h new file mode 100644 index 0000000..4ff78a7 --- /dev/null +++ b/src/alcontextchanger.h @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_ALCONTEXTCHANGER_H +#define PPL_SRC_ALCONTEXTCHANGER_H + +#include "../include/PPL/alcontextchanger.h" + +#endif // PPL_SRC_ALCONTEXTCHANGER_H diff --git a/src/alcontextmanager.h b/src/alcontextmanager.h new file mode 100644 index 0000000..e90d02b --- /dev/null +++ b/src/alcontextmanager.h @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_ALCONTEXTMANAGER_H +#define PPL_SRC_ALCONTEXTMANAGER_H + +#include "../include/PPL/alcontextmanager.h" + +#endif // PPL_SRC_ALCONTEXTMANAGER_H diff --git a/src/alsoundbuffer.h b/src/alsoundbuffer.h new file mode 100644 index 0000000..7baaaa3 --- /dev/null +++ b/src/alsoundbuffer.h @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_ALSOUNDBUFFER_H +#define PPL_SRC_ALSOUNDBUFFER_H + +#include "../include/PPL/alsoundbuffer.h" + +#endif // PPL_SRC_ALSOUNDBUFFER_H diff --git a/src/basics.h b/src/basics.h new file mode 100644 index 0000000..8bfc58e --- /dev/null +++ b/src/basics.h @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_BASICS_H +#define PPL_SRC_BASICS_H + +#include "../include/PPL/basics.h" + +#endif // PPL_SRC_BASICS_H diff --git a/src/dataref.h b/src/dataref.h new file mode 100644 index 0000000..640dae1 --- /dev/null +++ b/src/dataref.h @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_DATAREF_H +#define PPL_SRC_DATAREF_H + +#include "../include/PPL/dataref.h" + +#endif // PPL_SRC_DATAREF_H diff --git a/src/fontmgr.h b/src/fontmgr.h new file mode 100644 index 0000000..b8cea40 --- /dev/null +++ b/src/fontmgr.h @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_FONTMGR_H +#define PPL_SRC_FONTMGR_H + +#include "../include/PPL/fontmgr.h" + +#endif // PPL_SRC_FONTMGR_H diff --git a/src/log.h b/src/log.h new file mode 100644 index 0000000..52dbc95 --- /dev/null +++ b/src/log.h @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_LOG_H +#define PPL_SRC_LOG_H + +#include "../include/PPL/log.h" + +#endif // PPL_SRC_LOG_H diff --git a/src/logichandler.h b/src/logichandler.h new file mode 100644 index 0000000..e136bf5 --- /dev/null +++ b/src/logichandler.h @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_LOGICHANDLER_H +#define PPL_SRC_LOGICHANDLER_H + +#include "../include/PPL/logichandler.h" + +#endif // PPL_SRC_LOGICHANDLER_H diff --git a/src/logwriter.h b/src/logwriter.h new file mode 100644 index 0000000..7c3ce3f --- /dev/null +++ b/src/logwriter.h @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_LOGWRITER_H +#define PPL_SRC_LOGWRITER_H + +#include "../include/PPL/logwriter.h" + +#endif // PPL_SRC_LOGWRITER_H diff --git a/src/menuitem.h b/src/menuitem.h new file mode 100644 index 0000000..95fe1bf --- /dev/null +++ b/src/menuitem.h @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_MENUITEM_H +#define PPL_SRC_MENUITEM_H + +#include "../include/PPL/menuitem.h" + +#endif // PPL_SRC_MENUITEM_H diff --git a/src/messagewindow.h b/src/messagewindow.h new file mode 100644 index 0000000..a588ada --- /dev/null +++ b/src/messagewindow.h @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_MESSAGEWINDOW_H +#define PPL_SRC_MESSAGEWINDOW_H + +#include "../include/PPL/messagewindow.h" + +#endif // PPL_SRC_MESSAGEWINDOW_H diff --git a/src/onscreendisplay.h b/src/onscreendisplay.h new file mode 100644 index 0000000..1bfc923 --- /dev/null +++ b/src/onscreendisplay.h @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_ONSCREENDISPLAY_H +#define PPL_SRC_ONSCREENDISPLAY_H + +#include "../include/PPL/onscreendisplay.h" + +#endif // PPL_SRC_ONSCREENDISPLAY_H diff --git a/src/overlaygauge.h b/src/overlaygauge.h new file mode 100644 index 0000000..504c131 --- /dev/null +++ b/src/overlaygauge.h @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_OVERLAYGAUGE_H +#define PPL_SRC_OVERLAYGAUGE_H + +#include "../include/PPL/overlaygauge.h" + +#endif // PPL_SRC_OVERLAYGAUGE_H diff --git a/src/owneddata.h b/src/owneddata.h new file mode 100644 index 0000000..eebd1e8 --- /dev/null +++ b/src/owneddata.h @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_OWNEDDATA_H +#define PPL_SRC_OWNEDDATA_H + +#include "../include/PPL/owneddata.h" + +#endif // PPL_SRC_OWNEDDATA_H diff --git a/src/pluginpath.h b/src/pluginpath.h new file mode 100644 index 0000000..641c967 --- /dev/null +++ b/src/pluginpath.h @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_PLUGINPATH_H +#define PPL_SRC_PLUGINPATH_H + +#include "../include/PPL/pluginpath.h" + +#endif // PPL_SRC_PLUGINPATH_H diff --git a/src/processor.h b/src/processor.h new file mode 100644 index 0000000..b38d41e --- /dev/null +++ b/src/processor.h @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_PROCESSOR_H +#define PPL_SRC_PROCESSOR_H + +#include "../include/PPL/processor.h" + +#endif // PPL_SRC_PROCESSOR_H diff --git a/src/settings.h b/src/settings.h new file mode 100644 index 0000000..a02c928 --- /dev/null +++ b/src/settings.h @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_SETTINGS_H +#define PPL_SRC_SETTINGS_H + +#include "../include/PPL/settings.h" + +#endif // PPL_SRC_SETTINGS_H diff --git a/src/smoothed.h b/src/smoothed.h new file mode 100644 index 0000000..d5f3f39 --- /dev/null +++ b/src/smoothed.h @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_SMOOTHED_H +#define PPL_SRC_SMOOTHED_H + +#include "../include/PPL/smoothed.h" + +#endif // PPL_SRC_SMOOTHED_H diff --git a/src/texture.h b/src/texture.h new file mode 100644 index 0000000..ae1f9a9 --- /dev/null +++ b/src/texture.h @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_TEXTURE_H +#define PPL_SRC_TEXTURE_H + +#include "../include/PPL/texture.h" + +#endif // PPL_SRC_TEXTURE_H diff --git a/src/vertexbuffer.hpp b/src/vertexbuffer.hpp new file mode 100644 index 0000000..1dd7361 --- /dev/null +++ b/src/vertexbuffer.hpp @@ -0,0 +1,6 @@ +#ifndef PPL_SRC_VERTEXBUFFER_HPP +#define PPL_SRC_VERTEXBUFFER_HPP + +#include "../include/PPL/vertexbuffer.hpp" + +#endif // PPL_SRC_VERTEXBUFFER_HPP