msgba-web/js-src/constants.ts

12 lines
443 B
TypeScript

export const MIN_WIDTH_GBA = 240
export const MIN_HEIGHT_GBA = 160
export const MIN_WIDTH_GBC = 160
export const MIN_HEIGHT_GBC = 144
export const PACKET_ID_HELLO = 0n
export const PACKET_ID_SEND_FRAME = 1n
export const PACKET_ID_KEY_DOWN = 2n
export const PACKET_ID_SAVE_REQUEST = 3n
export const PACKET_ID_SAVE_RESPONSE = 4n
export const CLOSE_BUTTON_IMAGE: string = '/img/close.png'
export const HOME_BUTTON_IMAGE: string = '/img/home.png'