WiiFlow_Lite/source/banner/gx_addons.h
fix94.1 706e18c6c0 -internal wii game and channel banner playback, still work in
progress, thanks alot to dimok and the whole usb loader gx team 
for help and the code for it!
To zoom the banner to fullscreen click the back button, to zoom out
the back button again, known bugs:
-some games fuck up the textures of buttons (e.g. wii play motion)
-if no wii game or channel was selected and you try to launch a game
or exit wiiflow it will most likely codedump
2012-07-03 16:26:49 +00:00

36 lines
1.2 KiB
C

/****************************************************************************
* Copyright (C) 2012 Dimok
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
****************************************************************************/
#ifndef GX_ADDONS_H_
#define GX_ADDONS_H_
#include <gccore.h>
#ifdef __cplusplus
extern "C" {
#endif
void GX_Project(f32 mx, f32 my, f32 mz, Mtx mv, const f32 *projection,
const f32 *viewport, f32 *sx, f32 *sy, f32 *sz);
void GX_GetProjectionv( f32* ptr, Mtx44 p, u8 type);
void GX_GetViewportv( f32* ptr, GXRModeObj *vmode );
#ifdef __cplusplus
}
#endif
#endif