2021-11-24 10:24:18 +01:00
|
|
|
#include "../graph_sup.h"
|
2021-11-26 12:14:37 +01:00
|
|
|
#include "taquin_graphique.h"
|
|
|
|
|
|
|
|
#define OFFSET_X 650
|
|
|
|
#define OFFSET_Y 100
|
|
|
|
|
|
|
|
int ImageX, ImageY;
|
|
|
|
|
|
|
|
//Met à jour le taquin à chaque mouvement.
|
|
|
|
void UpdateTaquin(char* filename, int** Taquin, int rows, int columns) {
|
|
|
|
for (int x = 0; x < columns; x++) {
|
|
|
|
for (int y = 0; y < rows; y++) {
|
|
|
|
ChargerImage()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void UpdatePiece(int row, int column, couleur color) {
|
2021-11-24 10:24:18 +01:00
|
|
|
|
|
|
|
}
|