gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > Aaron Roger's HAM tutorial (Day 6)

#68590 - GameFreak7744 - Wed Jan 25, 2006 10:53 pm

In the above, I'm slightly confused as to what a few lines are actually doing.
Can anyone tell me what hey are doing?

Code:
    ham_bg[0].ti = ham_InitTileSet((void*)paradise_Tiles,
            SIZEOF_16BIT(paradise_Tiles),1,1);
   
   
    ham_bg[0].mi = ham_InitMapEmptySet(3,0);

    bg_paradise = ham_InitMapFragment((void*)paradise_Map,
            30,20,0,0,30,20,0);
    ham_InsertMapFragment(bg_paradise,0,0,0);



P.S. Try not to be too technical, please. I can program a bit, but a lot of terminology goes clean over my head.
_________________
From darkness comes light
From chaos comes reason
From nothing came I