Menu

Tree [r144] /
 History

HTTPS access


File Date Author Commit
 BM_Game 2011-01-10 khurn [r144] dernière maj
 bin 2010-10-11 khurn [r1] First commit
 code 2011-01-10 khurn [r144] dernière maj
 doc 2011-01-10 menssan [r141] Doxygen
 ReadMe.txt 2011-01-10 khurn [r144] dernière maj
 makefile 2011-01-03 Khurn [r124] nettoyé

Read Me

# EVENAS Gwénaël 11004817
# FOUDIL Mehdi-Julien 10604759
# UCBL
# L3 Informatique LIF7 Groupe A 

					########## Super Boxman ##########

## Editeur de code ##
Geany.

## Compilateur: gcc ##
Nous avons choisit gcc plutôt que g++ car nous n'utilisons pas le passage de paramètres en référence

## Options de compilation du makefile ##
clean : efface les fichier *.o et l'éxécutable

lg : efface la console puis compile

cmp : donne le nombre de lignes de code du projet

## Option dans le makefile ##
mettre un '#' devant graphique ou texte pour compiler la version ncurses ou sdl

## Debugueur: GDB ##
Pour cela, on a ajoute les options -g au makefile
Necessite d'installer GDB (commande: sudo apt-get install gdb)
Rappel de la commande de lancement de GDB dans le terminal: gdb ./<programme>

## Profiler: Valgrind ##
Necessite d'installer valgrind (commande: sudo apt-get install valgrind)
Pour la commande: valgrind ./boxman_S, on obtient donc:

==1628== Memcheck, a memory error detector
==1628== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==1628== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info
==1628== Command: ./boxman_S
==1628== 
   ******************************
   * Boxman  -  projet de LIF 7 *
   ******************************
   *    utilisez les flèches    *
   *         pour jouer         *
   ******************************
   * ESC :               sortir *
   * F2  :       retour au menu *
   * F5  : recommencer la carte *
   ******************************
Au revoir
==1628== 
==1628== HEAP SUMMARY:
==1628==     in use at exit: 93,440 bytes in 1,365 blocks
==1628==   total heap usage: 16,886 allocs, 15,521 frees, 11,557,585 bytes allocated
==1628== 
==1628== LEAK SUMMARY:
==1628==    definitely lost: 26 bytes in 3 blocks
==1628==    indirectly lost: 104 bytes in 4 blocks
==1628==      possibly lost: 0 bytes in 0 blocks
==1628==    still reachable: 93,310 bytes in 1,358 blocks
==1628==         suppressed: 0 bytes in 0 blocks
==1628== Rerun with --leak-check=full to see details of leaked memory
==1628== 
==1628== For counts of detected and suppressed errors, rerun with: -v
==1628== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 717 from 14)

## Documentation Doxygen (format html) ##
Necessite d'installer doxygen (commande: sudo apt-get install doxygen)
Rappel de la commande de lancement de l'interface graphique: doxywizard
NB: L'indentation des structures n'est pas "optimale" (ex: int a; int b; au lieu de int a,b;) pour une meilleur extraction
des commentaires de la part de doxygen.

## Editeur de diagrammes Dia ##
Necessite d'installer Dia (commande: sudo apt-get install dia)
Le diagramme de dependances est le fichier nommé Boxman.dia situé dans le répertoire "doc".

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.