00001 /* 00002 * TetriCycle 00003 * Copyright (C) 2009, 2010 Cale Scholl 00004 * 00005 * This file is part of TetriCycle. 00006 * 00007 * TetriCycle is free software: you can redistribute it and/or modify 00008 * it under the terms of the GNU Lesser General Public License as published 00009 * by the Free Software Foundation, either version 3 of the License, or 00010 * (at your option) any later version. 00011 * 00012 * TetriCycle is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU Lesser General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Lesser General Public License 00018 * along with TetriCycle. If not, see <http://www.gnu.org/licenses/>. 00019 */ 00020 00021 /** @file main.h 00022 * @brief Prototypes for functions defined in main.cpp. 00023 * @author Cale Scholl / calvinss4 00024 */ 00025 00026 #pragma once 00027 #ifndef __MAIN_H__ 00028 #define __MAIN_H__ 00029 00030 #include <gctypes.h> // for u8 00031 class GuiImageData; 00032 00033 // used by tetris_menu.cpp 00034 void TCYC_SetUp2D(); 00035 void TCYC_DrawText(); 00036 void TCYC_Game(); 00037 void TCYC_EditPlayfield(); 00038 00039 // used by tetris_input.cpp 00040 int TCYC_GetTargetPlayer(int x); 00041 int TCYC_GetTargetPowerupSlot(int player, int x, int y); 00042 00043 // used by Player.cpp 00044 void GX_Cube(int colorIdx, u8 alpha = 255, GuiImageData *imgData = NULL); 00045 00046 #endif // __MAIN_H__