28 #define UNLV_EXT ".uzn" // unlv zone file 48 BLOCK_IT block_it = blocks;
51 if ((pdfp = fopen (name.
string (),
"rb")) == NULL) {
54 while (
tfscanf(pdfp,
"%d %d %d %d %*s", &x, &y, &width, &height) >= 4) {
57 (int16_t) x, (int16_t) (ysize - y - height),
58 (int16_t) (x + width), (int16_t) (ysize - y));
60 block_it.add_to_end (block);
68 BLOCK_IT block_it(blocks);
70 block_it.add_to_end(block);
bool read_unlv_file(STRING name, int32_t xsize, int32_t ysize, BLOCK_LIST *blocks)
void FullPageBlock(int width, int height, BLOCK_LIST *blocks)
const char * string() const
int tfscanf(FILE *stream, const char *format,...)