Skip to content
Snippets Groups Projects
Commit afc6fe54 authored by llebasca's avatar llebasca
Browse files

DS.h & personnage.h documentation + right headers in the main

parent f96ba925
No related branches found
No related tags found
4 merge requests!8Modele,!7Modele,!6Modele,!5Modele Version 1
......@@ -4,7 +4,7 @@
/*!
* \file DS.h
* \brief Header DS
* \brief DS Header File
* \authors Lucile
* \version 1
* \date 25/02/2021
......
......@@ -2,16 +2,32 @@
// Created by Lucile on 18/02/2021.
*/
/*!
* \file personnage.h
* \brief Character Header File
* \authors Lucile
* \version 1
* \date 25/02/2021
*
* Character structure definiton.
*
*/
#ifndef GAME_INSA_PROJECT_PERSONNAGE_H
#define GAME_INSA_PROJECT_PERSONNAGE_H
/*!
* \struct personnage
* \brief Character structure
*/
struct personnage {
int x_pers;
int y_pers;
int long_pers;
int larg_pers;
int speed_pers;
char * image_pers;
int x_pers; /**< Position : abscissa */
int y_pers; /**< Position : ordinate */
int long_pers; /**< Size : length */
int larg_pers; /**< Size : width */
int speed_pers; /**< Charater speed */
char * image_pers; /**< Source image of the character. */
};
#endif /*GAME_INSA_PROJECT_PERSONNAGE_H*/
......@@ -2,6 +2,8 @@
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include "map.h"
#include "DS.h"
#include "personnage.h"
#define WINDOW_WIDTH (1024)
#define WINDOW_HEIGHT (1024)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment