tavli

diff src/board.h @ 4:b41ceead1708

procedural playing field texture mask
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 25 Jun 2015 05:58:35 +0300
parents 893192aea099
children f1ecc2439802
line diff
     1.1 --- a/src/board.h	Mon Jun 22 21:46:57 2015 +0300
     1.2 +++ b/src/board.h	Thu Jun 25 05:58:35 2015 +0300
     1.3 @@ -3,6 +3,7 @@
     1.4  
     1.5  #include <vector>
     1.6  #include "object.h"
     1.7 +#include "image.h"
     1.8  
     1.9  #define NUM_SLOTS	24
    1.10  #define MAX_PUCKS	30
    1.11 @@ -15,7 +16,10 @@
    1.12  	std::vector<Object*> obj;
    1.13  	Object *puck_obj;
    1.14  
    1.15 +	Image img_wood, img_field;
    1.16 +
    1.17  	bool generate();
    1.18 +	bool generate_textures();
    1.19  
    1.20  public:
    1.21  	Board();