Show
Ignore:
Timestamp:
10/01/06 00:04:05 (2 years ago)
Author:
ug
Message:

Minor fixes (namespaces, Borland compatibility, sqlite_busy_timeout, ...).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 06/libkombilo/abstractboard.h

    r188 r191  
    2828#include <utility> 
    2929#include <stack> 
    30 using namespace std; 
    3130 
    3231const int DEBUG_ABSTRACTBOARD = 0; 
     
    3736}; 
    3837 
    39 typedef pair<char,char> p_cc; 
     38typedef std::pair<char,char> p_cc; 
    4039 
    4140 
     
    5857    Move& operator=(const Move& m); 
    5958 
    60     vector<pair<char,char> >* captures; 
     59    std::vector<p_cc >* captures; 
    6160}; 
    6261 
     
    6665    int boardsize; 
    6766    char* status; 
    68     stack<Move> undostack; 
     67    std::stack<Move> undostack; 
    6968 
    7069    abstractBoard(int bs = 19) throw(BoardError); 
     
    8483  private: 
    8584    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); 
    8887    char invert(char); 
    8988};