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
10d3751e
There was a problem fetching the pipeline summary.
Commit
10d3751e
authored
8 years ago
by
Montjoie Henri
Browse files
Options
Downloads
Patches
Plain Diff
ajout de l'etat actuel dans les parametres
parent
198e5b87
No related branches found
Branches containing commit
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
+3
-1
3 additions, 1 deletion
src/SDL_bis.c
src/controleur.c
+0
-1
0 additions, 1 deletion
src/controleur.c
src/structures.h
+1
-2
1 addition, 2 deletions
src/structures.h
with
4 additions
and
4 deletions
src/SDL_bis.c
+
3
−
1
View file @
10d3751e
...
...
@@ -3,10 +3,12 @@
#include
<SDL/SDL.h>
#include
<SDL/SDL_ttf.h>
#include
"SDL.h"
#include
"structures.h"
int
SDL_bis
()
{
int
quitter
=
0
;
EtatsJeu
etat
=
SAISIE_JOUEURS
;
SDL_Surface
*
ecran
=
NULL
;
SDL_Event
event
;
SDL_Surface
*
logo
=
NULL
;
...
...
@@ -61,7 +63,7 @@ int SDL_bis()
char
nom_joueur1
[
15
]
=
""
;
fgets
(
nom_joueur1
,
sizeof
(
nom_joueur1
),
stdin
);
char
nom_joueur2
[
15
]
=
""
;
ajouter_joueurs
(
nom_joueur1
,
nom_joueur2
);
//a coder par colin
ajouter_joueurs
(
nom_joueur1
,
nom_joueur2
,
&
etat
);
//a coder par colin
while
(
quitter
==
0
)
{
...
...
This diff is collapsed.
Click to expand it.
src/controleur.c
+
0
−
1
View file @
10d3751e
...
...
@@ -8,7 +8,6 @@
#include
"partie.h"
#include
"joueur.h"
#include
"affichageConsole2.h"
#include
"joueurList.h"
#include
"case.h"
#include
"personnage.h"
...
...
This diff is collapsed.
Click to expand it.
src/structures.h
+
1
−
2
View file @
10d3751e
...
...
@@ -51,8 +51,7 @@ typedef enum {faux, vrai} boolean;
* tout réunir dans l'état TOUR_JxPy. Dites moi ce que vous en pensez.
* En tout cas les premiers états jusqu'à CONFIGURATION devraient permettre de rendre la V2.
*/
typedef
enum
{
SAISIE_J1
,
SAISIE_J2
,
typedef
enum
{
SAISIE_JOUEURS
,
LANCEMENT
,
CONFIGURATION
,
TOUR_J1P1
,
...
...
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