Refactored ASM code in Sound.cpp (from Mr.Stalin)

Minor fix for "path_find_to" script function.
Implemented WRAP_WATCOM_FCALL# wrappers from Mr.Stalin.
Changed some code in Objects script handler for new wrapper functions.
Moved obj_under_cursor to Objects script handler.
Reformatted code in Karma.cpp/Worldmap.cpp.
Minor edits to documents.
This commit is contained in:
NovaRain
2019-01-08 14:11:52 +08:00
parent c1107e16a8
commit 11ae4f5078
15 changed files with 249 additions and 166 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
;Controls the elevators
;Image must match up with the image of an existing elevator (can be overrided in sfall 4.1.4 or newer)
;Image must match up with the image of an existing elevator (can be overrided in sfall 4.1.4/3.8.14 or newer)
;Make sure you specify the correct number of exit targets
;The maximum number of elevators is currently capped at 50
;Use the line number (0-indexed) of the corresponding FRM in intrface.lst to set the appearance of the elevator
+1 -1
View File
@@ -156,7 +156,7 @@ Example:
- if size is >= 0, creates list with given size
- if size == -1, creates map (associative array)
- if size == -1 and flags == 2, creates a "lookup" map in which the values of existing keys are read-only and can't be updated.
This type of array allows you to store a zero (0) value for a key
This type of array allows you to store a zero (0) key value
- NOTE: in earlier versions (up to 4.1.3/3.8.13) the second argument is not used, just use 0
- returns arrayID (valid until array is deleted)