mirror of
https://github.com/Relintai/props.git
synced 2024-11-12 10:15:25 +01:00
Work on fixing compile for 4.0.
This commit is contained in:
parent
d66c8c4ac7
commit
73dae84e9b
@ -26,15 +26,19 @@ SOFTWARE.
|
||||
#include "core/version.h"
|
||||
|
||||
#if VERSION_MAJOR > 3
|
||||
#include "core/object/reference.h"
|
||||
#include "core/object/ref_counted.h"
|
||||
#ifndef Reference
|
||||
#define Reference RefCounted
|
||||
#endif
|
||||
#include "core/math/transform_3d.h"
|
||||
#include "core/templates/vector.h"
|
||||
#else
|
||||
#include "core/reference.h"
|
||||
#include "core/vector.h"
|
||||
#include "core/math/transform.h"
|
||||
#endif
|
||||
|
||||
#include "core/math/rect2.h"
|
||||
#include "core/math/transform.h"
|
||||
#include "core/math/vector2.h"
|
||||
#include "core/math/vector3.h"
|
||||
|
||||
|
@ -27,11 +27,15 @@ SOFTWARE.
|
||||
|
||||
#if VERSION_MAJOR > 3
|
||||
#include "core/io/resource.h"
|
||||
#include "core/math/transform_3d.h"
|
||||
|
||||
#ifndef Transform
|
||||
#define Transform Transform3D
|
||||
#endif
|
||||
#else
|
||||
#include "core/resource.h"
|
||||
#endif
|
||||
|
||||
#include "core/math/transform.h"
|
||||
#endif
|
||||
|
||||
class PropData;
|
||||
class PropMesher;
|
||||
|
Loading…
Reference in New Issue
Block a user