Noob Lib for EFSv2.
|
Functions |
| void | KT_PlayMyMP3 (const char *name) |
| | Play a MP3.
|
| void | KT_PlayMyRaw (const char *name, u8 volume, u8 pan, u8 loop, u8 prio) |
| | Play a raw.
|
| void | KT_PlayMyVideo (char *filename, u8 screen, int speed, int enable_sound) |
| | Play a video (.EMC format). You must Init a 16bit BG before.
|
| void | KT_ModFree () |
| | Free memory after play a mod.
|
| void | KT_PlayMyMod (const char *name) |
| | Play a mod. (.stm .669 .it med .mod .mtm .s3m .xm).
|
| void | KT_Init (void) |
| | Init KT_lib.
|
| void | KT_UseEFS (void) |
| | Set EFS as defaut for KT_lib.
|
| void | KT_UseFAT (void) |
| | Set FAT as defaut for KT_lib.
|
| void | KT_StreamPlayMyVideo (char *name, u8 screen) |
| | Start playing a .EMC video. You must Init a 16bit BG before.
|
| int | KT_IsStreamVideoPlaying (void) |
| | Return 1 if there is a video playing. Return 0 else.
|
| int | KT_GetFrameCount (char *name) |
| | Return the number of frame of the video name.EMC.
|
| int | KT_GetCurrentFrame (void) |
| | Return the number of the frame of the video playing.
|
| void | KT_SetCurrentFrame (int frame) |
| | Put the video to the frame number frame.
|
| void | KT_StopStreamVideo (void) |
| | Stop the video.
|
| void | KT_StreamVideoUpdate (void) |
| | Update the video playing. Use it at each VBL for example.
|
| void | KT_DataSav (const char *name, const char *data) |
| void | KT_DataRead (const char *name, int origin, long int offset, int count) |
| void | KT_LoadBmp (int screen, const char *name) |
| | Load a BMP Image. You must init a 8 or a 16 bit BG before.
|
| void | KT_LoadJpeg (int screen, const char *name) |
| | Load a JPEG Image. You must init a 16 bit BG before.
|
| void | KT_LoadGif (int screen, const char *name, s16 x, s16 y) |
| | Load a JPEG Image. You must init a 8 bit BG before.
|
| void | KT_CreateSprite (u8 screen, u8 sprite_number, const char *name, u8 obj_shape, u8 obj_size, u8 color_mode, u8 palette, u8 erase_palette, s16 x, s16 y) |
| | Create a sprite from a GIF. (transp color is the TRUE transp color).
|
| void | KT_DeleteSprite (u8 screen, u8 sprite_number) |
| | Delete a Sprite. You must use it is you want to free memory.
|
| void | KT_ResetSpriteSys (void) |
| | Delete all Sprites and free memory.
|
| void | KT_ResetSpriteSysScreen (int screen) |
| | Delete all Sprites of a screen and free memory.
|
| void | KT_ShowBG (u16 screen, u16 bg, const char *name) |
| | Show a BG from .bin files created with PAGFX. (EasyBg).
|
| void | KT_DelBG (u16 screen, u16 bg) |
| | clear a BG. You must use it to free memory.
|
| void | KT_ResetBgSys (void) |
| | Delete all Bgs and free memory.
|
| void | KT_ResetBgSysScreen (int screen) |
| | Delete all Bgs of a screen and free memory.
|
Noob Lib for EFSv2.