Home
last modified time | relevance | path

Searched refs:sheet_2d (Results 1 – 3 of 3) sorted by relevance

/dports/games/minetest/minetest-5.4.1/src/
H A Dtileanimation.cpp30 writeU8(os, sheet_2d.frames_w); in serialize()
31 writeU8(os, sheet_2d.frames_h); in serialize()
45 sheet_2d.frames_w = readU8(is); in deSerialize()
46 sheet_2d.frames_h = readU8(is); in deSerialize()
67 *frame_count = sheet_2d.frames_w * sheet_2d.frames_h; in determineParams()
71 *frame_size = v2u32(texture_size.X / sheet_2d.frames_w, texture_size.Y / sheet_2d.frames_h); in determineParams()
86 q = frame / sheet_2d.frames_w; in getTextureModifer()
87 r = frame % sheet_2d.frames_w; in getTextureModifer()
88 os << "^[sheet:" << sheet_2d.frames_w << "x" << sheet_2d.frames_h in getTextureModifer()
105 q = frame / sheet_2d.frames_w; in getTextureCoords()
[all …]
H A Dtileanimation.h50 } sheet_2d; member
/dports/games/minetest/minetest-5.4.1/src/script/common/
H A Dc_content.cpp1398 anim.sheet_2d.frames_w); in read_animation_definition()
1400 anim.sheet_2d.frames_h); in read_animation_definition()
1402 anim.sheet_2d.frame_length); in read_animation_definition()