Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GAME INSA PROJECT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
3EII INFO LKCH
GAME INSA PROJECT
Commits
afc6fe54
Commit
afc6fe54
authored
4 years ago
by
llebasca
Browse files
Options
Downloads
Patches
Plain Diff
DS.h & personnage.h documentation + right headers in the main
parent
f96ba925
No related branches found
No related tags found
4 merge requests
!8
Modele
,
!7
Modele
,
!6
Modele
,
!5
Modele Version 1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
GAME/include/DS.h
+1
-1
1 addition, 1 deletion
GAME/include/DS.h
GAME/include/personnage.h
+22
-6
22 additions, 6 deletions
GAME/include/personnage.h
GAME/main.c
+2
-0
2 additions, 0 deletions
GAME/main.c
with
25 additions
and
7 deletions
GAME/include/DS.h
+
1
−
1
View file @
afc6fe54
...
...
@@ -4,7 +4,7 @@
/*!
* \file DS.h
* \brief Header
DS
* \brief
DS
Header
File
* \authors Lucile
* \version 1
* \date 25/02/2021
...
...
This diff is collapsed.
Click to expand it.
GAME/include/personnage.h
+
22
−
6
View file @
afc6fe54
...
...
@@ -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*/
This diff is collapsed.
Click to expand it.
GAME/main.c
+
2
−
0
View file @
afc6fe54
...
...
@@ -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)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment