Changeset 191 for 06/libkombilo/abstractboard.h
- Timestamp:
- 10/01/06 00:04:05 (2 years ago)
- Files:
-
- 06/libkombilo/abstractboard.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
06/libkombilo/abstractboard.h
r188 r191 28 28 #include <utility> 29 29 #include <stack> 30 using namespace std;31 30 32 31 const int DEBUG_ABSTRACTBOARD = 0; … … 37 36 }; 38 37 39 typedef pair<char,char> p_cc;38 typedef std::pair<char,char> p_cc; 40 39 41 40 … … 58 57 Move& operator=(const Move& m); 59 58 60 vector<pair<char,char>>* captures;59 std::vector<p_cc >* captures; 61 60 }; 62 61 … … 66 65 int boardsize; 67 66 char* status; 68 st ack<Move> undostack;67 std::stack<Move> undostack; 69 68 70 69 abstractBoard(int bs = 19) throw(BoardError); … … 84 83 private: 85 84 int* neighbors(int x, int y); 86 vector<pair<char,char>>* legal(int x, int y, char color);87 vector<pair<char,char>>* hasNoLibExcP(int x1, int y1, int exc=-1);85 std::vector<p_cc >* legal(int x, int y, char color); 86 std::vector<p_cc >* hasNoLibExcP(int x1, int y1, int exc=-1); 88 87 char invert(char); 89 88 };
