aboutsummaryrefslogblamecommitdiff
path: root/src/master/resources.cpp
blob: 1ae35cfc3550f510d370642167c45ac5082a460a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                                                      
#include "smdatapack.hpp"
#include "smbmfont.hpp"
smDtpFileR blrdtp;
smBMFont lcdfont;
smAnmFile ssanm;
void resourcesLoad()
{
	blrdtp.openDtp("blr3.dtp");
	lcdfont.loadAnmFromMemory(blrdtp.getFilePtr("lcdfont.anm"),blrdtp.getFileSize("lcdfont.anm"));
	lcdfont.setScale(0.6);
	ssanm.loadAnmFromMemory(blrdtp.getFilePtr("ss.anm"),blrdtp.getFileSize("ss.anm"));
}
void resourcesUnload()
{
	blrdtp.closeDtp();
	lcdfont.close();
	ssanm.close();
}