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  

SoBkgMap.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  SoBkgMap
 Background Map structure. More...


Defines

#define SO_BKG_MAP_MODE_RAW
 flag - raw mode map

#define SO_BKG_MAP_MODE_DYNAMIC
 flag - dynamic mode map

#define SoBkgMapIsDynamic(a_This)
 Checks to see if the map is uses demand loaded tiles.

#define SoBkgMapGetBackground(a_This)
 Returns the background used by the map.


Functions

void SoBkgMapInit (SoBkgMap *a_This, u16 a_Mode)
 Initializes the SoBkgMap for use.

void SoBkgMapSetBackground (SoBkgMap *a_This, u32 a_Index)
 Associates the map with a background.

void SoBkgMapSetTileMap (SoBkgMap *a_This, SoTileMap *a_TileMap)
 Associates a TileMap with the BkgMap.

void SoBkgMapSetScroll (SoBkgMap *a_This, u16 a_XPos, u16 a_YPos)
 Sets the scroll position of a map on a background.


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:
Mar 31 2003
See the SoBkgMap module for more information.


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