24 #define UNLV_EXT ".uzn" // unlv zone file
44 BLOCK_IT block_it = blocks;
47 if ((pdfp = fopen (name.
string (),
"rb")) ==
nullptr) {
50 while (
tfscanf(pdfp,
"%d %d %d %d %*s", &x, &y, &width, &height) >= 4) {
53 static_cast<int16_t
>(x),
static_cast<int16_t
>(ysize - y - height),
54 static_cast<int16_t
>(x + width),
static_cast<int16_t
>(ysize - y));
56 block_it.add_to_end (block);
65 BLOCK_IT block_it(blocks);
66 auto* block =
new BLOCK(
"",
true, 0, 0, 0, 0, width, height);
67 block_it.add_to_end(block);