Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lemeilleurjeudumonde
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
tacticalrpg
lemeilleurjeudumonde
Commits
2aeeb25b
There was a problem fetching the pipeline summary.
Commit
2aeeb25b
authored
8 years ago
by
Montjoie Henri
Browse files
Options
Downloads
Patches
Plain Diff
correction d'une erreur dans la fonction ajouterunjoueur
parent
2a33f678
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/SDL_bis.c
+1
-1
1 addition, 1 deletion
src/SDL_bis.c
src/controleur.c
+1
-1
1 addition, 1 deletion
src/controleur.c
src/controleur.h
+1
-0
1 addition, 0 deletions
src/controleur.h
with
3 additions
and
2 deletions
src/SDL_bis.c
+
1
−
1
View file @
2aeeb25b
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
#include
<SDL/SDL_ttf.h>
#include
<SDL/SDL_ttf.h>
#include
"SDL.h"
#include
"SDL.h"
#include
"structures.h"
#include
"structures.h"
#include
"controleur.h"
...
@@ -88,7 +89,6 @@ int SDL_bis()
...
@@ -88,7 +89,6 @@ int SDL_bis()
SDL_BlitSurface
(
rectangle
,
NULL
,
ecran
,
&
pos_texte
);
SDL_BlitSurface
(
rectangle
,
NULL
,
ecran
,
&
pos_texte
);
SDL_Flip
(
ecran
);
SDL_Flip
(
ecran
);
while
(
etat
==
LANCEMENT
)
while
(
etat
==
LANCEMENT
)
{
{
SDL_WaitEvent
(
&
event
);
SDL_WaitEvent
(
&
event
);
...
...
This diff is collapsed.
Click to expand it.
src/controleur.c
+
1
−
1
View file @
2aeeb25b
...
@@ -37,7 +37,7 @@ void initJeu(){
...
@@ -37,7 +37,7 @@ void initJeu(){
Joueur
*
j
=
nouveauJoueur
();
Joueur
*
j
=
nouveauJoueur
();
if
(
j
!=
NULL
){
if
(
j
!=
NULL
){
setNomJoueur
(
j
,
nomDuJoueur
);
setNomJoueur
(
j
,
nomDuJoueur
);
if
(
addParticipant
(
partieGlobale
,
j
)){
if
(
addParticipant
(
partieGlobale
,
j
)
==
0
){
*
etat
=
LANCEMENT
;
*
etat
=
LANCEMENT
;
}
}
else
{
else
{
...
...
This diff is collapsed.
Click to expand it.
src/controleur.h
+
1
−
0
View file @
2aeeb25b
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
#define CONTROLEUR_H
#define CONTROLEUR_H
void
initJeu
();
void
initJeu
();
void
ajouterUnJoueur
(
char
*
nomDuJoueur
,
EtatsJeu
*
etat
);
#endif // CONTROLEUR_H
#endif // CONTROLEUR_H
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