Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Mathodo2
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
MOULIAS Mattheo
Mathodo2
Commits
e9f5b6b8
Commit
e9f5b6b8
authored
2 years ago
by
SmallIshMink
Browse files
Options
Downloads
Patches
Plain Diff
Avant modification rotate screen
parent
08d29fcb
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
library/Display/Display.c
+1
-0
1 addition, 0 deletions
library/Display/Display.c
library/Display/Display.h
+2
-1
2 additions, 1 deletion
library/Display/Display.h
main.o
+0
-0
0 additions, 0 deletions
main.o
spacecorridor.exe
+0
-0
0 additions, 0 deletions
spacecorridor.exe
with
3 additions
and
1 deletion
library/Display/Display.c
+
1
−
0
View file @
e9f5b6b8
...
@@ -67,6 +67,7 @@ void refresh_graphics(SDL_Renderer *renderer, world_t *world,ressources_t *textu
...
@@ -67,6 +67,7 @@ void refresh_graphics(SDL_Renderer *renderer, world_t *world,ressources_t *textu
// on met à jour l'écran
// on met à jour l'écran
update_screen
(
renderer
);
update_screen
(
renderer
);
}
}
...
...
This diff is collapsed.
Click to expand it.
library/Display/Display.h
+
2
−
1
View file @
e9f5b6b8
...
@@ -38,7 +38,8 @@ struct ressources_s{
...
@@ -38,7 +38,8 @@ struct ressources_s{
SDL_Texture
*
finishLine
;
/*!< Texture liée à l'image de la ligne d'arrivée. */
SDL_Texture
*
finishLine
;
/*!< Texture liée à l'image de la ligne d'arrivée. */
TTF_Font
*
font
;
// Font
TTF_Font
*
font
;
// Font
SDL_Color
color
;
// Color
SDL_Color
color
;
// Color
/* A COMPLETER */
SDL_Texture
*
framebuffer
;
uint32_t
*
pixels
;
};
};
typedef
struct
ressources_s
ressources_t
;
typedef
struct
ressources_s
ressources_t
;
...
...
This diff is collapsed.
Click to expand it.
main.o
+
0
−
0
View file @
e9f5b6b8
No preview for this file type
This diff is collapsed.
Click to expand it.
spacecorridor.exe
+
0
−
0
View file @
e9f5b6b8
No preview for this file type
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