blob: 31a6d8c5da838d1c9023da5785a6c00b3d9c6259 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#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);
}
const struct Animation* get_animation(Asset_ID id) {
return (const struct Animation*)get_asset(id);
}
|