Advertisement
Guest User

Configuration.h

a guest
Jun 16th, 2013
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.59 KB | None | 0 0
  1. #ifndef CONFIGURATION_H_INCLUDED
  2. #define CONFIGURATION_H_INCLUDED
  3.  
  4. #include <vector>
  5. #include <string>
  6.  
  7. struct CardType
  8. {
  9.     std::string name;
  10.     unsigned count, inputs, outputs;
  11.     bool sun_required,      sun_provided;
  12.     bool shade_required,    shade_provided;
  13.     bool wind_required,     wind_provided;
  14.     bool shelter_required,  shelter_provided;
  15. };
  16.  
  17. struct Configuration
  18. {
  19.     unsigned board_height, board_width, home_row, home_col;
  20.     std::vector<CardType> card_types;
  21. };
  22.  
  23. Configuration read_configuration() throw (const char *);
  24.  
  25. #endif /* ndef CONFIG_H_INCLUDED */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement