1 #ifndef TEXTURE_HANDLER_H
2 #define TEXTURE_HANDLER_H
16 svector
<int32_t> texpos
;
17 svector
<int32_t> datapos
;
18 svector
<int32_t> texpos_gs
;
19 svector
<int32_t> datapos_gs
;
30 void load_graphics(string
&graphics_dir
);
33 class texture_handlerst
36 svector
<tile_pagest
*> page
;
38 svector
<int32_t> texpos
;
39 svector
<int32_t> datapos
;
42 void adopt_new_lines(textlinesst
&lines
,string
&graphics_dir
);
49 tile_pagest
*get_tile_page_by_token(string
&tk
)
52 for(t
=0;t
<page
.size();t
++)
54 if(page
[t
]->token
==tk
)return page
[t
];