mysimulation/backup-src/io/filehandler.zig
Tony Bark e9d7d736eb
Some checks failed
Build / build (macos-latest) (push) Has been cancelled
Build / build (windows-latest) (push) Has been cancelled
Build / ubuntu-build (push) Has been cancelled
Build / lint (push) Has been cancelled
Restarted Zig project with the new build architecture
- Renamed old src directory as backup-src
2025-02-18 08:02:51 -05:00

27 lines
406 B
Zig

pub const Asset = struct {
Group: u32,
File: u32,
Type: u32,
};
pub const FileError = enum {
FERR_NOT_FOUND,
FERR_OPEN,
FERR_BLANK,
FERR_MEMORY,
FERR_READ,
FERR_UNRECOGNIZED,
FERR_INVALIDDATA,
};
pub const ImageFormat = enum {
FIMG_BGR24,
FIMG_BGRA32,
};
pub const Image = struct {
Width: u8,
Height: u8,
Format: ImageFormat,
Data: u8,
};