?? shops.cpp
字號:
/* BladeMaster 2, a text, rougelike(kinda), arena combat simulation game. Copyright (C) 2002 Blademaster 2 Team, see CREDITS Clone of BladeMaster by Logicom, Inc. Copyright(C) 1990/1993 In no means affliated with the original Blademaster or the original Blademaster creators/programmers. 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 Useful contact information: Website: blademaster2.sourceforge.net Project page: www.sf.net/projects/blademaster2/ Project Lead (see CREDITS for other members of the developement team) E-Mail: ilswyn@users.sourceforge.net AIM: ilswyn*/#include <ncurses.h>#include <string>#include "arena.h"#include "items.h"#include "players.h"#include "shops.h"#include "globals.h"#include "menus.h"// See menus.cpp for where these are usedHealer::Healer(){ // Just setting to 0 since we really have no gold yet gold_to_heal = 0; gold_per_hp = 0; gold_to_cure_poison = 0; gold_to_cure_disease = 0;}Healer::~Healer(){}void Healer::heal_all_wounds(){ // Will cost money later... arena_obj_list[0]->setCurrentHealth(arena_obj_list[0]->getMaxHealth());}void Healer::heal_some_wounds(){ // No point in making this diffrent than all since we have no gold.. arena_obj_list[0]->setCurrentHealth(arena_obj_list[0]->getMaxHealth());}void Healer::cure_poison(){}void Healer::cure_disease(){}void Tavern::buy_beer(){}void Tavern::buy_ale(){}void Tavern::buy_whiskey(){}void Tavern::tip_bartender(){}void EqShop::buy_melee(){}void EqShop::buy_range(){}void EqShop::buy_projectiles(){}void EqShop::buy_armor(){}void Bank::deposit_gold(){}void Bank::withdraw_gold(){}void Bank::storage(){}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -