Skip to content

Commit

Permalink
v1.1 fix for default mapType = GRID_CLASSIC
Browse files Browse the repository at this point in the history
  • Loading branch information
selimanac committed Jun 27, 2024
1 parent 6de3aa7 commit ece7ac0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 32 deletions.
2 changes: 1 addition & 1 deletion astar/src/pather.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ uint8_t result;
uint16_t worldWidth, worldHeight, tileCount, worldSize;
uint8_t worldDirection = 8;
uint8_t typicalAdjacent = 6;
uint8_t mapType;
uint8_t mapType = GRID_CLASSIC;

int *world;
float totalCost;
Expand Down
3 changes: 1 addition & 2 deletions game.project
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[bootstrap]
main_collection = /main/main.collectionc
render = /orthographic/render/orthographic.renderc
render = /builtins/render/default.renderc

[script]
shared_state = 1
Expand All @@ -10,7 +10,6 @@ input_method = HiddenInputField

[project]
title = defold-astar
dependencies =

[library]
include_dirs = astar
Expand Down
29 changes: 0 additions & 29 deletions main/main.collection
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,6 @@ embedded_instances {
data: "components {\n"
" id: \"main\"\n"
" component: \"/main/main.script\"\n"
" position {\n"
" x: 0.0\n"
" y: 0.0\n"
" z: 0.0\n"
" }\n"
" rotation {\n"
" x: 0.0\n"
" y: 0.0\n"
" z: 0.0\n"
" w: 1.0\n"
" }\n"
" property_decls {\n"
" }\n"
"}\n"
""
position {
x: 0.0
y: 0.0
z: 0.0
}
rotation {
x: 0.0
y: 0.0
z: 0.0
w: 1.0
}
scale3 {
x: 1.0
y: 1.0
z: 1.0
}
}

0 comments on commit ece7ac0

Please sign in to comment.