Fix' README.md

Optimisation constantes
Fix' mineur recentrage position
This commit is contained in:
HorlogeSkynet 2017-02-06 18:39:17 +01:00
parent 4006cf2f6a
commit c7b07856c3
4 changed files with 10 additions and 8 deletions

@ -295,8 +295,8 @@ ErrEnum controlePoints(sfRenderWindow *window, const char *cheminFichier, Mode m
carte = creerCarte(NULL);
getExtrema(tabPoints, nbElements, &carte->pointHautGauche, &carte->pointBasDroite);
getZoomEchelle(carte);
calculPointCentral(carte);
getZoomEchelle(carte);
break;
case ACTION_REPEAT:
@ -364,7 +364,7 @@ ErrEnum controleMultipleLogs(sfRenderWindow *const window, char selectedFiles[MA
AgglomeratGlobal *tabAggloGlobaux[nbFiles];
uint32_t tabNbAggloGlobaux[nbFiles];
// Pour chaque fichiers de logs, on vient charger les éléments en mémoire un à un...
// Pour chaque fichier de logs, on vient charger les éléments en mémoire un à un...
for(uint16_t i = 0; i < nbFiles; i++)
{
flag = loadLogs(selectedFiles[i], &tabTabPoints[i], &tabNbPoints[i]);

@ -153,7 +153,6 @@ Rectangle waitingOnMapEvent(sfRenderWindow *const window, sfEvent *const event,
}
break;
case TOOL_BACKTOHOME:
if(questionBox(window, renderSprite, "Êtes-vous vraiment sûr de vouloir quitter cette vue ?"))
{
@ -206,6 +205,7 @@ Rectangle waitingOnMapEvent(sfRenderWindow *const window, sfEvent *const event,
sfTexture_destroy(originalTexture);
originalTexture = sfTexture_copy(sfRenderTexture_getTexture(renderTexture));
break;
case TOOL_DESELECTPOINTS:
needToBreakTheWhile = false;
*currentTool = (*currentTool == TOOL_DESELECTPOINTS) ? NO_TOOL : TOOL_DESELECTPOINTS;
@ -218,6 +218,7 @@ Rectangle waitingOnMapEvent(sfRenderWindow *const window, sfEvent *const event,
sfTexture_destroy(originalTexture);
originalTexture = sfTexture_copy(sfRenderTexture_getTexture(renderTexture));
break;
case TOOL_PREVIEW:
*action = ACTION_CHANGE_VISUALISATION;
break;

@ -51,7 +51,9 @@
#define IMAGELOADINGPATH "Vue/Ressources/GINPA_loading.jpg"
#define IMAGEHOURGLASSPATH "Vue/Ressources/Icones/hourglass.png"
#define MAPFILE "Donnees/map.png"
#define DATADIRECTORY "Donnees"
#define MAPFILE DATADIRECTORY"/map.png"
/* __________ */
@ -60,9 +62,8 @@
#define HEIGHT 640
#define BITSPERPIXEL 32
#define WINDOWNAME "GINPA Is Not a Position Analyst"
#define WINDOWNAME PROJECTDESC
#define DATADIRECTORY "Donnees"
/** @def OFFSETFORLINES
* @brief Un petit offset pour que les lignes aient une épaisseur (en pixels) !*/

@ -3,7 +3,7 @@
## Which dependencies to install ?
* git >= 2.11.0
* git 2.11.0
* gcc >= 4.9.2
* SFML 2.4.0
* CSFML 2.3
@ -32,5 +32,5 @@ _GINPA_ may compute incredible results after having parsed files logs, with line
Thanks to _Dalton Maag Ltd_ for its [font](https://www.fontsquirrel.com/fonts/aller).
Thanks to _Madebyolivier_ for its [icons pack](http://www.flaticon.com/packs/essential-set-2).
Thanks to _Guillaume Vareille_ for its [TinyFileDialogs code](https://sourceforge.net/projects/tinyfiledialogs/), which is very useful and easy to use.
Thanks to _Guillaume Vareille_ for its [TinyFileDialogs code](https://sourceforge.net/projects/tinyfiledialogs/), which is very useful and easy to use.
Thanks to _Freepik_ for its [footprints](http://www.flaticon.com/free-icon/footprints_120083#term=footprint&page=1&position=7%29) which inspired the _GINPA_'s logo designed by [NAERNON](https://github.com/NAERNON).