The SGADE Documentation

the SGADE 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.


Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

SoBkgCreditScroll.h File Reference

#include "SoSystem.h"
#include "SoBkg.h"
#include "SoDisplay.h"
#include "SoTileMap.h"

Go to the source code of this file.

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.


Detailed Description

Copyright (C) 2003 by the SGADE authors For conditions of distribution and use, see copyright notice in SoLicense.txt

Author:
Mark Price
Date:
Oct 18, 2003
See the SoBkgCreditScroll module for more information.


Copyright 2002 by the SGADE authors. See SoLicense.h or Visit the SGADE page for more information.