Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
game_c
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
BOUHADOUN Kenza
game_c
Commits
edde3cca
Commit
edde3cca
authored
3 years ago
by
BOUHADOUN Kenza
Browse files
Options
Downloads
Patches
Plain Diff
Update joueur.c
parent
907625cc
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
joueur.c
+1
-2
1 addition, 2 deletions
joueur.c
with
1 addition
and
2 deletions
joueur.c
+
1
−
2
View file @
edde3cca
...
@@ -18,7 +18,7 @@ int score(game_t * game){
...
@@ -18,7 +18,7 @@ int score(game_t * game){
void
handle_event
(
SDL_Event
*
evenements
,
game_t
*
game
,
char
**
tab
){
void
handle_event
(
SDL_Event
*
evenements
,
game_t
*
game
,
char
**
tab
){
void
handle_event
(
SDL_Event
*
evenements
,
game_t
*
game
,
char
**
tab
,
SDL_Renderer
*
ecran
,
SDL_Texture
*
personnage
,
int
lpers
,
int
hpers
){
void
handle_event
(
SDL_Event
*
evenements
,
game_t
*
game
,
char
**
tab
,
SDL_Renderer
*
ecran
,
SDL_Texture
*
personnage
,
int
lpers
,
int
hpers
){
>>>>>>>
aad6ed212a0b181b6369881ce3891b5bb843e44f
game
->
gameover
=
false
;
game
->
gameover
=
false
;
SDL_PollEvent
(
evenements
);
SDL_PollEvent
(
evenements
);
...
@@ -149,7 +149,6 @@ void collision_brick_gch(game_t* game,char** map){
...
@@ -149,7 +149,6 @@ void collision_brick_gch(game_t* game,char** map){
game
->
joueur
->
x
+=
0
;
game
->
joueur
->
x
+=
0
;
}
}
}
}
<<<<<<<
HEAD
/*
/*
pos de joueur est en pixel 32 pour largeur et 32 pou Hauteur
pos de joueur est en pixel 32 pour largeur et 32 pou Hauteur
pour cela on arrive pas a detecter la pos exact sur la map
pour cela on arrive pas a detecter la pos exact sur la map
...
...
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