Skip to content

Commit

Permalink
Fixes for android, macos (hopefully)
Browse files Browse the repository at this point in the history
  • Loading branch information
TokisanGames committed Aug 30, 2023
1 parent 8072631 commit 5bf8018
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ project/_export/
project/tests/
patches/

# Godot-specific ignores (script cache see godot issue #75388)
# Godot-specific ignores
/project/.import/
/project/.godot/*
!/project/.godot/global_script_class_cache.cfg
/project/.godot/
export.cfg
export_presets.cfg

Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ The creation of this plugin is thanks to the following contributors.
* Roope Palmroos @outobugi
* Cory Petkovsek @TokisanGames
* Loïc Chen (陳明佑) @painfulexistence
* Lorenz Wildberg @lw64
4 changes: 2 additions & 2 deletions project/addons/terrain_3d/terrain.gdextension
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ linux.release.rv64 = "bin/libterrain.linux.release.rv64.so"
macos.debug = "bin/libterrain.macos.debug.framework"
macos.release = "bin/libterrain.macos.release.framework"

android.debug.arm64 = "libterrain.android.debug.arm64.so"
android.release.arm64 = "libterrain.android.release.arm64.so"
android.debug.arm64 = "bin/libterrain.android.debug.arm64.so"
android.release.arm64 = "bin/libterrain.android.release.arm64.so"
1 change: 1 addition & 0 deletions src/terrain_3d_storage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1595,6 +1595,7 @@ void Terrain3DStorage::_bind_methods() {
//BIND_ENUM_CONSTANT(SIZE_2048);

BIND_CONSTANT(REGION_MAP_SIZE);
BIND_CONSTANT(SURFACE_MAX_SIZE);

ClassDB::bind_method(D_METHOD("set_region_size", "size"), &Terrain3DStorage::set_region_size);
ClassDB::bind_method(D_METHOD("get_region_size"), &Terrain3DStorage::get_region_size);
Expand Down
1 change: 0 additions & 1 deletion src/terrain_3d_storage.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ class Terrain3DStorage : public Resource {

static const int REGION_MAP_SIZE = 16;
static inline const Vector2i REGION_MAP_VSIZE = Vector2i(REGION_MAP_SIZE, REGION_MAP_SIZE);

static const int SURFACE_MAX_SIZE = 32;

class Generated {
Expand Down

0 comments on commit 5bf8018

Please sign in to comment.