mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
project: Don't prefix includes with "libobs/"
This commit is contained in:
parent
0b5a848c32
commit
ec19f44f96
23 changed files with 40 additions and 40 deletions
|
@ -26,9 +26,9 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#pragma warning (push)
|
#pragma warning (push)
|
||||||
#pragma warning (disable: 4201)
|
#pragma warning (disable: 4201)
|
||||||
#include "libobs/util/platform.h"
|
#include "util/platform.h"
|
||||||
#include "libobs/graphics/graphics.h"
|
#include "graphics/graphics.h"
|
||||||
#include "libobs/graphics/matrix4.h"
|
#include "graphics/matrix4.h"
|
||||||
#pragma warning (pop)
|
#pragma warning (pop)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#pragma warning (push)
|
#pragma warning (push)
|
||||||
#pragma warning (disable: 4201)
|
#pragma warning (disable: 4201)
|
||||||
#include "libobs/util/platform.h"
|
#include "util/platform.h"
|
||||||
#include "libobs/graphics/graphics.h"
|
#include "graphics/graphics.h"
|
||||||
#include "libobs/graphics/matrix4.h"
|
#include "graphics/matrix4.h"
|
||||||
#pragma warning (pop)
|
#pragma warning (pop)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#pragma warning (push)
|
#pragma warning (push)
|
||||||
#pragma warning (disable: 4201)
|
#pragma warning (disable: 4201)
|
||||||
#include <libobs/obs-source.h>
|
#include <obs-source.h>
|
||||||
#include <libobs/util/platform.h>
|
#include <util/platform.h>
|
||||||
#pragma warning (pop)
|
#pragma warning (pop)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,9 +27,9 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#pragma warning (push)
|
#pragma warning (push)
|
||||||
#pragma warning (disable: 4201)
|
#pragma warning (disable: 4201)
|
||||||
#include "libobs/util/platform.h"
|
#include "util/platform.h"
|
||||||
#include "libobs/graphics/graphics.h"
|
#include "graphics/graphics.h"
|
||||||
#include "libobs/graphics/matrix4.h"
|
#include "graphics/matrix4.h"
|
||||||
#pragma warning (pop)
|
#pragma warning (pop)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,9 +24,9 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#pragma warning (push)
|
#pragma warning (push)
|
||||||
#pragma warning (disable: 4201)
|
#pragma warning (disable: 4201)
|
||||||
#include "libobs/util/platform.h"
|
#include "util/platform.h"
|
||||||
#include "libobs/graphics/graphics.h"
|
#include "graphics/graphics.h"
|
||||||
#include "libobs/graphics/matrix4.h"
|
#include "graphics/matrix4.h"
|
||||||
#pragma warning (pop)
|
#pragma warning (pop)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
#include "gfx-effect-source.h"
|
#include "gfx-effect-source.h"
|
||||||
#include "strings.h"
|
#include "strings.h"
|
||||||
#include <libobs/util/platform.h>
|
#include <util/platform.h>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
bool gfx::effect_source::property_type_modified(void*, obs_properties_t* props, obs_property_t*, obs_data_t* sett) {
|
bool gfx::effect_source::property_type_modified(void*, obs_properties_t* props, obs_property_t*, obs_data_t* sett) {
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <libobs/obs.h>
|
#include <obs.h>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include "gs-effect.h"
|
#include "gs-effect.h"
|
||||||
#include "gs-rendertarget.h"
|
#include "gs-rendertarget.h"
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <libobs/obs.h>
|
#include <obs.h>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include "gs-texture.h"
|
#include "gs-texture.h"
|
||||||
#include "gs-rendertarget.h"
|
#include "gs-rendertarget.h"
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#pragma warning( push )
|
#pragma warning( push )
|
||||||
#pragma warning( disable: 4201 )
|
#pragma warning( disable: 4201 )
|
||||||
#include <libobs/obs.h>
|
#include <obs.h>
|
||||||
#pragma warning( pop )
|
#pragma warning( pop )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,11 +27,11 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#pragma warning( push )
|
#pragma warning( push )
|
||||||
#pragma warning( disable: 4201 )
|
#pragma warning( disable: 4201 )
|
||||||
#include <libobs/graphics/graphics.h>
|
#include <graphics/graphics.h>
|
||||||
#include <libobs/graphics/matrix4.h>
|
#include <graphics/matrix4.h>
|
||||||
#include <libobs/graphics/vec4.h>
|
#include <graphics/vec4.h>
|
||||||
#include <libobs/graphics/vec3.h>
|
#include <graphics/vec3.h>
|
||||||
#include <libobs/graphics/vec2.h>
|
#include <graphics/vec2.h>
|
||||||
#pragma warning( pop )
|
#pragma warning( pop )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#pragma warning (push)
|
#pragma warning (push)
|
||||||
#pragma warning (disable: 4201)
|
#pragma warning (disable: 4201)
|
||||||
#include "libobs/graphics/graphics.h"
|
#include "graphics/graphics.h"
|
||||||
#pragma warning (pop)
|
#pragma warning (pop)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#pragma warning( push )
|
#pragma warning( push )
|
||||||
#pragma warning( disable: 4201 )
|
#pragma warning( disable: 4201 )
|
||||||
#include <libobs/obs.h>
|
#include <obs.h>
|
||||||
#pragma warning( pop )
|
#pragma warning( pop )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#pragma warning( push )
|
#pragma warning( push )
|
||||||
#pragma warning( disable: 4201 )
|
#pragma warning( disable: 4201 )
|
||||||
#include <libobs/graphics/graphics.h>
|
#include <graphics/graphics.h>
|
||||||
#pragma warning( pop )
|
#pragma warning( pop )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#pragma warning( push )
|
#pragma warning( push )
|
||||||
#pragma warning( disable: 4201 )
|
#pragma warning( disable: 4201 )
|
||||||
#include <libobs/obs.h>
|
#include <obs.h>
|
||||||
#pragma warning( pop )
|
#pragma warning( pop )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#pragma warning( push )
|
#pragma warning( push )
|
||||||
#pragma warning( disable: 4201 )
|
#pragma warning( disable: 4201 )
|
||||||
#include <libobs/graphics/graphics.h>
|
#include <graphics/graphics.h>
|
||||||
#pragma warning( pop )
|
#pragma warning( pop )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#pragma warning( push )
|
#pragma warning( push )
|
||||||
#pragma warning( disable: 4201 )
|
#pragma warning( disable: 4201 )
|
||||||
#include <libobs/graphics/graphics.h>
|
#include <graphics/graphics.h>
|
||||||
#pragma warning( pop )
|
#pragma warning( pop )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#pragma warning( push )
|
#pragma warning( push )
|
||||||
#pragma warning( disable: 4201 )
|
#pragma warning( disable: 4201 )
|
||||||
#include <libobs/util/platform.h>
|
#include <util/platform.h>
|
||||||
#include <libobs/obs.h>
|
#include <obs.h>
|
||||||
#pragma warning( pop )
|
#pragma warning( pop )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#pragma warning( push )
|
#pragma warning( push )
|
||||||
#pragma warning( disable: 4201 )
|
#pragma warning( disable: 4201 )
|
||||||
#include <libobs/graphics/graphics.h>
|
#include <graphics/graphics.h>
|
||||||
#pragma warning( pop )
|
#pragma warning( pop )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#pragma warning( push )
|
#pragma warning( push )
|
||||||
#pragma warning( disable: 4201 )
|
#pragma warning( disable: 4201 )
|
||||||
#include <libobs/graphics/vec3.h>
|
#include <graphics/vec3.h>
|
||||||
#pragma warning( pop )
|
#pragma warning( pop )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#pragma warning( push )
|
#pragma warning( push )
|
||||||
#pragma warning( disable: 4201 )
|
#pragma warning( disable: 4201 )
|
||||||
#include <libobs/obs.h>
|
#include <obs.h>
|
||||||
#pragma warning( pop )
|
#pragma warning( pop )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#pragma warning( push )
|
#pragma warning( push )
|
||||||
#pragma warning( disable: 4201 )
|
#pragma warning( disable: 4201 )
|
||||||
#include <libobs/graphics/graphics.h>
|
#include <graphics/graphics.h>
|
||||||
#pragma warning( pop )
|
#pragma warning( pop )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
|
|
||||||
#pragma warning (push)
|
#pragma warning (push)
|
||||||
#pragma warning (disable: 4201)
|
#pragma warning (disable: 4201)
|
||||||
#include "libobs/obs-module.h"
|
#include "obs-module.h"
|
||||||
#include "libobs/util/platform.h"
|
#include "util/platform.h"
|
||||||
#pragma warning (pop)
|
#pragma warning (pop)
|
||||||
|
|
||||||
// Plugin
|
// Plugin
|
||||||
|
|
|
@ -24,9 +24,9 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
// OBS
|
// OBS
|
||||||
#include <libobs/graphics/vec2.h>
|
#include <graphics/vec2.h>
|
||||||
#include <libobs/graphics/vec3.h>
|
#include <graphics/vec3.h>
|
||||||
#include <libobs/graphics/vec4.h>
|
#include <graphics/vec4.h>
|
||||||
|
|
||||||
// Constants
|
// Constants
|
||||||
#define PI 3.1415926535897932384626433832795
|
#define PI 3.1415926535897932384626433832795
|
||||||
|
|
Loading…
Reference in a new issue