Lines Matching refs:background_tile
970 short background_tile; member
1053 tm->background_tile = STBTE__NO_TILE; in stbte_create_map()
1074 tm->background_tile = id; in stbte_set_background_tile()
1214 tm->data[0][i][0] = tm->background_tile; in stbte_clear_map()
2275 #define STBTE__BG(tm,layer) ((layer) == 0 ? (tm)->background_tile : STBTE__NO_TILE)
2382 short bg = (i == 0 ? tm->background_tile : -1); in stbte__erase_predict()
2390 if (ti && result[i] == ti->id && (i != 0 || ti->id != tm->background_tile)) { in stbte__erase_predict()
2409 if (i == 0 && result[i] == tm->background_tile) in stbte__erase_predict()
2425 if (i == 0 && result[i] == tm->background_tile) in stbte__erase_predict()
2452 short bg = (i == 0 ? tm->background_tile : -1); in stbte__erase()
2460 if (ti && tm->data[y][x][i] == ti->id && (i != 0 || ti->id != tm->background_tile)) { in stbte__erase()
2481 if (i == 0 && tm->data[y][x][i] == tm->background_tile) in stbte__erase()
2498 if (i == 0 && tm->data[y][x][i] == tm->background_tile) in stbte__erase()
2698 tm->data[j][i][n] = (n==0 ? tm->background_tile : -1); in stbte__copy_cut()