mirror of
https://github.com/Relintai/godot_fastnoise.git
synced 2024-11-12 10:15:21 +01:00
Fix compile for 4.0.
This commit is contained in:
parent
d0e3f1c759
commit
d447fd5364
@ -1,7 +1,13 @@
|
||||
#ifndef FASTNOISE_NOISE_PARAMS_H
|
||||
#define FASTNOISE_NOISE_PARAMS_H
|
||||
|
||||
#include "core/version.h"
|
||||
|
||||
#if VERSION_MAJOR > 3
|
||||
#include "core/io/resource.h"
|
||||
#else
|
||||
#include "core/resource.h"
|
||||
#endif
|
||||
|
||||
#include "noise.h"
|
||||
|
||||
|
11
noise.h
11
noise.h
@ -1,10 +1,17 @@
|
||||
#ifndef FASTNOISE_NOISE_H
|
||||
#define FASTNOISE_NOISE_H
|
||||
|
||||
#include "core/reference.h"
|
||||
#include "lib/FastNoise.h"
|
||||
#include "core/version.h"
|
||||
|
||||
#if VERSION_MAJOR > 3
|
||||
#include "core/object/reference.h"
|
||||
#include "core/string/ustring.h"
|
||||
#else
|
||||
#include "core/reference.h"
|
||||
#include "core/ustring.h"
|
||||
#endif
|
||||
|
||||
#include "lib/FastNoise.h"
|
||||
|
||||
#include "core/version.h"
|
||||
|
||||
|
@ -1,5 +1,12 @@
|
||||
#include "register_types.h"
|
||||
|
||||
#include "core/version.h"
|
||||
|
||||
#if VERSION_MAJOR < 4
|
||||
#include "core/class_db.h"
|
||||
#else
|
||||
#include "core/object/class_db.h"
|
||||
#endif
|
||||
|
||||
#include "noise.h"
|
||||
#include "fastnoise_noise_params.h"
|
||||
|
Loading…
Reference in New Issue
Block a user