/** * Bitflag constants mirroring the Quake II rerelease `contents_t` and * `surfflags_t` enumerations from `game.h`. The helpers here operate purely on * numeric bitmasks so both the authoritative game simulation and the client can * share the same semantic checks. */ export type ContentsFlag = number; export type SurfaceFlag = number; export declare const CONTENTS_NONE: ContentsFlag; export declare const CONTENTS_SOLID: ContentsFlag; export declare const CONTENTS_WINDOW: ContentsFlag; export declare const CONTENTS_AUX: ContentsFlag; export declare const CONTENTS_LAVA: ContentsFlag; export declare const CONTENTS_SLIME: ContentsFlag; export declare const CONTENTS_WATER: ContentsFlag; export declare const CONTENTS_MIST: ContentsFlag; export declare const CONTENTS_TRIGGER: ContentsFlag; export declare const CONTENTS_NO_WATERJUMP: ContentsFlag; export declare const CONTENTS_PROJECTILECLIP: ContentsFlag; export declare const CONTENTS_AREAPORTAL: ContentsFlag; export declare const CONTENTS_PLAYERCLIP: ContentsFlag; export declare const CONTENTS_MONSTERCLIP: ContentsFlag; export declare const CONTENTS_CURRENT_0: ContentsFlag; export declare const CONTENTS_CURRENT_90: ContentsFlag; export declare const CONTENTS_CURRENT_180: ContentsFlag; export declare const CONTENTS_CURRENT_270: ContentsFlag; export declare const CONTENTS_CURRENT_UP: ContentsFlag; export declare const CONTENTS_CURRENT_DOWN: ContentsFlag; export declare const CONTENTS_ORIGIN: ContentsFlag; export declare const CONTENTS_MONSTER: ContentsFlag; export declare const CONTENTS_DEADMONSTER: ContentsFlag; export declare const CONTENTS_DETAIL: ContentsFlag; export declare const CONTENTS_TRANSLUCENT: ContentsFlag; export declare const CONTENTS_LADDER: ContentsFlag; export declare const CONTENTS_PLAYER: ContentsFlag; export declare const CONTENTS_PROJECTILE: ContentsFlag; export declare const LAST_VISIBLE_CONTENTS: ContentsFlag; export declare const SURF_NONE: SurfaceFlag; export declare const SURF_LIGHT: SurfaceFlag; export declare const SURF_SLICK: SurfaceFlag; export declare const SURF_SKY: SurfaceFlag; export declare const SURF_WARP: SurfaceFlag; export declare const SURF_TRANS33: SurfaceFlag; export declare const SURF_TRANS66: SurfaceFlag; export declare const SURF_FLOWING: SurfaceFlag; export declare const SURF_NODRAW: SurfaceFlag; export declare const SURF_ALPHATEST: SurfaceFlag; export declare const SURF_N64_UV: SurfaceFlag; export declare const SURF_N64_SCROLL_X: SurfaceFlag; export declare const SURF_N64_SCROLL_Y: SurfaceFlag; export declare const SURF_N64_SCROLL_FLIP: SurfaceFlag; export declare const MASK_ALL: ContentsFlag; export declare const MASK_SOLID: ContentsFlag; export declare const MASK_PLAYERSOLID: ContentsFlag; export declare const MASK_DEADSOLID: ContentsFlag; export declare const MASK_MONSTERSOLID: ContentsFlag; export declare const MASK_WATER: ContentsFlag; export declare const MASK_OPAQUE: ContentsFlag; export declare const MASK_SHOT: ContentsFlag; export declare const MASK_CURRENT: ContentsFlag; export declare const MASK_BLOCK_SIGHT: ContentsFlag; export declare const MASK_NAV_SOLID: ContentsFlag; export declare const MASK_LADDER_NAV_SOLID: ContentsFlag; export declare const MASK_WALK_NAV_SOLID: ContentsFlag; export declare const MASK_PROJECTILE: ContentsFlag; export declare function hasAllContents(mask: ContentsFlag, flags: ContentsFlag): boolean; export declare function hasAnyContents(mask: ContentsFlag, flags: ContentsFlag): boolean; export declare function addContents(mask: ContentsFlag, flags: ContentsFlag): ContentsFlag; export declare function removeContents(mask: ContentsFlag, flags: ContentsFlag): ContentsFlag; export declare function hasSurfaceFlags(surface: SurfaceFlag, flags: SurfaceFlag): boolean; export declare function combineSurfaceFlags(...flags: SurfaceFlag[]): SurfaceFlag; //# sourceMappingURL=contents.d.ts.map