Highlighting mod update

- Optional highlighting of critters, using the same colors and rules as in the combat mode
- Holding highlight key will update outlines based on current positions
- Enable LOS check by default for more interesting looting
This commit is contained in:
phobos2077
2023-06-24 07:59:16 +08:00
committed by NovaRain
parent e1aebb21e4
commit 50b51fc1a3
4 changed files with 84 additions and 20 deletions
+2
View File
@@ -484,6 +484,7 @@ procedure array_append(variable arr1, variable arr2) begin
return arr1;
end
// Loads a "saved" array. If it doesn't exist, creates it (with a given size).
procedure load_create_array(variable name, variable size) begin
variable arr;
arr := load_array(name);
@@ -494,6 +495,7 @@ procedure load_create_array(variable name, variable size) begin
return arr;
end
// Creates and returns a new "saved" array. If array already existed with this name, frees it.
procedure get_saved_array_new(variable name, variable size) begin
variable arr;
arr := load_array(name);