- Cannot currently specify strict limiting of array keys (issue)
- Array shapes are assumed to be incomplete and allow additional key/value assignments by default.
- The Drupal coding standards don't currently play nicely with multiline array shapes and type specifications.
@param
specifications warn about not having a variable name on the same line
This file contains hidden or 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
; Change this to set the current farm size. This can change as the farm levels up. | |
Const $farm_size = 20 | |
Dim $farm_x[$farm_size][$farm_size] = [[0]] | |
Dim $farm_y[$farm_size][$farm_size] = [[0]] | |
; Calculate farm square dimensions for traversal. | |
$res_height = @DesktopHeight | |
$res_width = @DesktopWidth | |
$square_width = 50 |
OlderNewer