by index:
\i g b G byte::anim_loc word::offset_x word::offset_y word::graphic_index
Parameter | Type | Range | Description |
---|---|---|---|
anim_loc | byte | 0 ... 7 | index of the animation control |
offset_x | word | 0 ... graphic width - 1 | horizontal offset in background graphic |
offset_y | word | 0 ... graphic height - 1 | vertical offset in background graphic |
graphic_index | word | 0 ... max. graphic index | index of the background graphic |
by name:
\i g b G byte::anim_loc word::offset_x word::offset_y by_name::graphic_name
Parameter | Type | Range | Description |
---|---|---|---|
anim_loc | byte | 0 ... 7 | index of the animation control |
offset_x | word | 0 ... graphic width - 1 | horizontal offset in background graphic |
offset_y | word | 0 ... graphic height - 1 | vertical offset in background graphic |
graphic_name | by_name | ASCII chars (0x01 .. 0xFF) | 0-terminated graphic name |
by filename:
\i g b G byte::anim_loc word::offset_x word::offset_y by_file::graphic_filename
Parameter | Type | Range | Description |
---|---|---|---|
anim_loc | byte | 0 ... 7 | index of the animation control |
offset_x | word | 0 ... graphic width - 1 | horizontal offset in background graphic |
offset_y | word | 0 ... graphic height - 1 | vertical offset in background graphic |
graphic_filename | by_file | DOS filename (8.3 format) | name and path of the graphics file |
Assigns the background graphic specified by graphic_index, graphic_name or graphic_filename to the animation engine anim_loc.
Note
Response: | [ACK] |
Example
\igbG\1\D0\D0\D7
\igbG\2\D10\D20\mGRAPHIC\0
\igbG\3\D0\D0\fDIR/FILE.RII\0
These commands will assign:
Not supported by: DPC3020, DPC2060, DPC10xx
See also:
Remove Animation Background
Set Animation Background Color
Set Animation Background Frame
Set Animation Background Screen
Erase Animation Image Area
Erase Animation Frame Area
Copyright © demmel products gmbh. All rights reserved.