home *** CD-ROM | disk | FTP | other *** search
- #
- # This is an example source code format used by The Sourcerer.
- # This format creates C source code for an array of frames (each frame
- # is an array of integers).
- #
- # Macros for The Sourcerer start with a backslash \ character.
- # The | character tells The Sourcerer where it can break the line.
- # Comments start with the # character and go to the end of the line.
- #
- \title # The title gets put in The Sourcerer's "Formats" menu.
- C by frames (hex ints)
- \info # The info lines get put in an alert box to the user.
- C by frames
- (hexadecimal integers)
- \header # The header section gets written once at the beginning.
- /*
- * Image data for Animatic film "\name".
- * This film consists of \nframes frames.
- * Each frame is \width pixels wide and \height pixels tall.
- * The palette for this film is as follows (values are hex):
- *
- * \palette
- */
- static int \name[\nframes][] = {
- \fheader # The frame header gets written at the beginning of each frame.
- /* Frame \frame */ {
- \repeat # The repeated section gets written over and over for each frame.
- 0x\hword,| 0x\hword,| 0x\hword,| 0x\hword,| 0x\hword,| 0x\hword,| 0x\hword,| 0x\hword,|
- \fclosing # The frame closing gets written at the end of each frame.
- 0x\hword, 0x\hword, 0x\hword, 0x\hword, 0x\hword, 0x\hword, 0x\hword, 0x\hword
- },
- \closing # The closing gets written at the end instead of the frame closing.
- 0x\hword, 0x\hword, 0x\hword, 0x\hword, 0x\hword, 0x\hword, 0x\hword, 0x\hword
- }
- };
-
-