OpenLiberty/scripts/renderware/rw_texture.gd

14 lines
287 B
GDScript3
Raw Permalink Normal View History

2022-11-15 21:02:40 +07:00
class_name RWTexture
extends RWChunk
var texture_name: String
var mask_name: String
2022-11-15 21:02:40 +07:00
func _init(file: FileAccess):
super(file)
2022-11-19 04:19:09 +07:00
assert(type == ChunkType.TEXTURE)
2022-11-15 21:02:40 +07:00
RWChunk.new(file).skip(file)
texture_name = RWString.new(file).string
mask_name = RWString.new(file).string
2022-11-15 21:02:40 +07:00
skip(file)