MCPcopy Create free account
hub / github.com/LeoJr2015/python / tga_load_tiles

Method tga_load_tiles

python-air-traffic-control-read-only/pgu/vid.py:271–297  ·  view source on GitHub ↗

Load a TGA tileset. Arguments: g -- a Tilevid instance fname -- tga image to load size -- (w,h) size of tiles in pixels tdata -- tile data, a dict of tile:(agroups, hit handler, config)

(self,fname,size,tdata={})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

string2groupsMethod · 0.95
TileClass · 0.85
loadMethod · 0.45
get_widthMethod · 0.45
get_heightMethod · 0.45
subsurfaceMethod · 0.45

Tested by

no test coverage detected