Files
fulpstation/code/__DEFINES/assets.dm
2025-03-23 15:36:10 -04:00

17 lines
916 B
Plaintext

#define ASSET_CROSS_ROUND_CACHE_DIRECTORY "cache/assets"
#define ASSET_CROSS_ROUND_SMART_CACHE_DIRECTORY "data/spritesheets/smart_cache"
/// When sending mutiple assets, how many before we give the client a quaint little sending resources message
#define ASSET_CACHE_TELL_CLIENT_AMOUNT 8
/// How many assets can be sent at once during legacy asset transport
#define SLOW_ASSET_SEND_RATE 6
/// Constructs a universal icon. This is done in the same manner as the icon() BYOND proc.
/// "color" will not do anything if a transform is provided. Blend it yourself or use color_transform().
/// Do note that transforms are NOT COPIED, and are internally lists. So take care not to re-use transforms.
/// This is a DEFINE for performance reasons.
/// Parameters (in order):
/// icon_file, icon_state, dir, frame, transform, color
#define uni_icon(I, icon_state, rest...) new /datum/universal_icon(I, icon_state, ##rest)