Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

TGA loader in LISP

Name: Anonymous 2010-12-26 3:20

`class` macro automatically generates everything

class Tga
  idLength   = U1  // 00h Size of Image ID field
  cmapType   = U1  // 01h Color map type
  imageType  = U1  // 02h Image type code
  cmapStart  = U2  // 03h Color map origin
  cmapLength = U2  // 05h Color map length
  cmapDepth  = U1  // 07h Depth of color map entries
  xOffset    = U2  // 08h X origin of image
  yOffset    = U2  // 0Ah Y origin of image
  width      = U2  // 0Ch Width of image
  height     = U2  // 0Eh Heigth of image
  bpp        = U1  // 10h Image pixel size
  descriptor = U1  // 11h Image descriptor byte
  idField    = idLength++U1
  cmap       = cmapLength++U1
  bmap       = (width*height*bpp%8)++U1

Name: Anonymous 2011-01-31 6:38

Name: Lorem ipsum 2011-01-31 7:17

Name: Anonymous 2011-01-31 8:20

>>41
majority of the games is
IAYHBTMGF.

Name: Anonymous 2011-01-31 8:33

>>43
NYJMUA

Name: Anonymous 2011-01-31 8:46

And then >>40 was aware of Land of Lisp.

Name: Anonymous 2011-01-31 21:57

bump

Name: Anonymous 2011-02-10 9:33

Bump for ``in LISP".

Name: Anonymous 2011-02-10 11:02

Sage for yet more useless Listhp faggortry.

Name: Anonymous 2011-02-10 11:10

>>48
This isn't really Lisp, ``faggot''

Name: Anonymous 2011-02-10 12:00

>>49
It is faggotry anyway.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List