# ifndef CREATER_H_GUARDBLOCK # define CREATER_H_GUARDBLOCK // Basiques # include <iostream> # include <cmath> # include <vector> // Random # include <cstdlib> // SDL # include <SDL/SDL.h> # undef main # include <SDL/SDL_rotozoom.h> # include <SDL/SDL_gfxPrimitives.h> // Box2D # include <box2d/box2d.h> # define MULTI 100.0f void createBloc( b2World &world, std::vector<b2Body*> &tbody, SDL_Surface* blc, float x, float y ); void link2ByDist( b2World &world, std::vector<b2Body*> &tbody, std::vector<b2Joint*> &tjoint ); void link3ByDist( b2World &world, std::vector<b2Body*> &tbody, std::vector<b2Joint*> &tjoint ); #endif