Files
goldeneye_src/macros.inc
T
Larry 3ec3b1cf83 work on relocatability
Former-commit-id: 49d8567a0836922878460e17d0fb336115f8b9e9 [formerly b32d6bd6ecd96f25f01ca0919ee327b6ad3f8161] [formerly 3cec864ba4683729add2573c32a6d942a40b62db [formerly 7b7cedcad92ad364618f47e27b8b266b558d377b]]
Former-commit-id: 388ae3c7f7e8c2bde11a7921891a44f04c1ce653 [formerly 6537293b3f03b6639760e1d04a0dacab8b6bfab1]
Former-commit-id: 646971f1b5db692b971c48afc1fcc1c9854a91aa
2017-08-22 11:47:55 -05:00

40 lines
625 B
PHP

# enum image_format, mappedto_2
.set rgba, 0
.set yuv, 1
.set ci, 2
.set ia, 3
.set i, 4
# ---------------------------------------------------------------------------
# enum image_bitdepth, mappedto_3
.set D_4BIT, 0
.set D_8BIT, 1
.set D_16BIT, 2
.set D_32BIT, 3
# ---------------------------------------------------------------------------
# enum cm_flags, mappedto_4
.set clamp, 1
.set mirror, 2
.macro texture_entry index, width, height, level, format, depth, flagsS, flagsT, pad
.word \index
.byte \width
.byte \height
.byte \level
.byte \format
.byte \depth
.byte \flagsS
.byte \flagsT
.byte \pad
.endm