mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Add docs and macro for new opcode
This commit is contained in:
@@ -1687,6 +1687,16 @@
|
||||
- name: Windows and images
|
||||
parent: Interface
|
||||
items:
|
||||
- name: art_frame_data
|
||||
detail: array art_frame_data(string/int artFile/artId, int frame, int rotation)
|
||||
doc: |
|
||||
- returns dimensions of a given PCX or FRM frame as temp array in form: [width, height]
|
||||
- artFile/artId: path to the PCX/FRM file (e.g. `art\\inven\\5mmap.frm`), or its FRM ID number (e.g. `0x7000026`, see specification of the FID format)
|
||||
optional arguments:
|
||||
- `frame`: frame number, the first frame starts from zero
|
||||
- `rotation`: rotation to get the frame for, useful when reading FRM file by path
|
||||
macro: sfall.h
|
||||
|
||||
- name: interface_art_draw
|
||||
detail: int sfall_func4("interface_art_draw", int winType, string artFile/int artID, int x, int y)
|
||||
doc: |
|
||||
|
||||
Reference in New Issue
Block a user