aboutsummaryrefslogtreecommitdiff
path: root/asset.c
blob: 78085ec389e33ebb560991bf79715ccfbcc347a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include "pack.h"
#include "asset.h"

const unsigned char* get_asset(Asset_ID id) {
	return &asset_data[asset_offset_table[id]];
}

const struct Bitmap* get_bitmap(Asset_ID id) {
	return (const struct Bitmap*)get_asset(id);
}