/* Very simple battle game Copyright (C) 2007 GameDev 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 2 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, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ int main() { std::cout<< "*w00t* starting battle" << std::endl; spell s1; s1.damage = 10; s1.name = "Wind Blast"; spells[0] = s1; enemy_spells[0] = s1; spell s2; s1.damage = 15; s1.name = "Earth Blast"; spells [2] = s2; enemy_spells[2] = s2; spell s3; s1.damage = 20; s1.name = "Water Blast"; spells [3] = s3; enemy_spells[3] = s3; spell s4; s1.damage = 25; s1.name = "Fire Blast"; spells [4] = s4; enemy_spells[4] = s4; plrPower = 15; enmPower = 15; plrHealth = 100; enmHealth = 75; player_turn(); }