|
That Terminal
A terminal emulator designed for video making purposes.
|
Defines PersonTransform(), which renders a person animation on the screen. More...

Go to the source code of this file.
Functions | |
| void | PersonTransform (unsigned &bgcolor, unsigned &fgcolor, unsigned width, unsigned x, unsigned y, unsigned action_type) |
| int | PersonBaseX (unsigned window_width) |
Defines PersonTransform(), which renders a person animation on the screen.
| int PersonBaseX | ( | unsigned | window_width | ) |
Retrieves timer-based person starting X coordinates for a window of given width
| window_width | window width in pixels |
X-coordinate where the Person is
| void PersonTransform | ( | unsigned & | bgcolor, |
| unsigned & | fgcolor, | ||
| unsigned | width, | ||
| unsigned | x, | ||
| unsigned | y, | ||
| unsigned | action_type | ||
| ) |
Adds "person" animation into the given pixels
| bgcolor | background color in that area |
| fgcolor | foreground color in that area |
| width | width of screen in pixels |
| x | x coordinate on screen of this pixel |
| y | y coordinate on screen of this pixel |
| action_type | 1 = Top of screen; 2 = Bottommost row of top of screen 0 = anything else |