The Socrates Gameboy Advance Development Engine
The SGADE is a development library for the Nintendo Gameboy
Advance. It's free for all uses and is distributed without guarantees.
For more information visit
the SGADE page.
Files | |
| file | SoBkgCreditScroll.c |
| file | SoBkgCreditScroll.h |
Data Structures | |
| struct | SoBkgCreditLine |
| Scrolling Credits line structure. More... | |
| struct | SoBkgCreditScroll |
| Scrolling Credits definition structure. More... | |
Defines | |
| #define | SO_CREDIT_CODE_TEXT |
| data is the text to display for this line | |
| #define | SO_CREDIT_CODE_SPACE |
| data is the number of blank lines to insert | |
| #define | SO_CREDIT_CODE_SPEED |
| data is the number of update calls per move | |
| #define | SO_CREDIT_CODE_PAUSE |
| data is the number of update calls to wait | |
| #define | SO_CREDIT_CODE_FONT |
| data is a new SoBkgFont pointer | |
| #define | SO_CREDIT_CODE_ALIGNLEFT |
| align text left | |
| #define | SO_CREDIT_CODE_ALIGNRIGHT |
| align text right | |
| #define | SO_CREDIT_CODE_ALIGNCENTER |
| align text centered | |
| #define | SoBkgCreditScrollGetBackground(a_This) |
| Retrieves the background index used by the credit scroll. | |
Functions | |
| void | SoBkgCreditScrollInit (SoBkgCreditScroll *a_This, u16 a_Bkg, u16 a_LineCnt, const SoBkgCreditLine *a_Lines) |
| Initializes the SoBkgCreditScroll for use. | |
| bool | SoBkgCreditScrollUpdate (SoBkgCreditScroll *a_This) |
| Updates the scrolling display. | |
| bool | SoBkgCreditScrollDone (SoBkgCreditScroll *a_This) |
| Checks to see if the scrolling display is done. | |
This special-purpose module provides a simple interface to generate a typical scrolling credits type of display normally seen at the end of a movie. It does this using a SoBkg (tile mode) display.
|
|
Checks to see if the scrolling display is done.
|
|
||||||||||||||||||||
|
Initializes the SoBkgCreditScroll for use.
|
|
|
Updates the scrolling display.
|