-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
36 additions
and
59 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
/// @param kawaseArray | ||
function kawase_destroy(argument0) { | ||
|
||
var _root_array = argument0; | ||
|
||
function kawase_destroy(_root_array) | ||
{ | ||
var _i = 0; | ||
repeat(array_length(_root_array)) | ||
{ | ||
var _array = _root_array[_i]; | ||
surface_free(_array[2]); | ||
++_i; | ||
} | ||
|
||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
/// @param kawaseArray | ||
function kawase_draw_debug(argument0) { | ||
|
||
var _root_array = argument0; | ||
|
||
function kawase_draw_debug(_root_array) | ||
{ | ||
var _i = 0; | ||
var _x = 0; | ||
repeat(array_length(_root_array)) | ||
{ | ||
var _array = _root_array[_i]; | ||
draw_surface(_array[2], _x, 0); | ||
|
||
_x += _array[0]; | ||
++_i; | ||
} | ||
|
||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
/// @param kawaseArray | ||
function kawase_get_height(argument0) { | ||
|
||
var _root_array = argument0; | ||
|
||
function kawase_get_height(_root_array) | ||
{ | ||
var _array = _root_array[0]; | ||
return _array[1]; | ||
|
||
|
||
} | ||
} |
9 changes: 3 additions & 6 deletions
9
scripts/kawase_get_max_iterations/kawase_get_max_iterations.gml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
/// @param kawaseArray | ||
function kawase_get_max_iterations(argument0) { | ||
|
||
var _root_array = argument0; | ||
|
||
function kawase_get_max_iterations(_root_array) | ||
{ | ||
return array_length(_root_array) - 1; | ||
|
||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
/// @param kawaseArray | ||
function kawase_get_surface(argument0) { | ||
|
||
var _root_array = argument0; | ||
|
||
function kawase_get_surface(_root_array) | ||
{ | ||
return __kawase_check_surface(_root_array[0]); | ||
|
||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
/// @param kawaseArray | ||
function kawase_get_width(argument0) { | ||
|
||
var _root_array = argument0; | ||
|
||
function kawase_get_width(_root_array) | ||
{ | ||
var _array = _root_array[0]; | ||
return _array[0]; | ||
|
||
|
||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.