Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jumpNrun
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
wise2023_jumpnrun
jumpNrun
Compare revisions
c3a2a8b97ad6220188b7aff5002b8e6b23a67152 to 047205bd8c80f2a7041af37e53a1920c0555e5ae
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
wise2023_jumpnrun/jumpnrun
Select target project
No results found
047205bd8c80f2a7041af37e53a1920c0555e5ae
Select Git revision
Branches
main
Tags
Abgabe
Swap
Target
wise2023_jumpnrun/jumpnrun
Select target project
wise2023_jumpnrun/jumpnrun
1 result
c3a2a8b97ad6220188b7aff5002b8e6b23a67152
Select Git revision
Branches
main
Tags
Abgabe
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
output.c
+1
-1
1 addition, 1 deletion
output.c
rows.c
+3
-4
3 additions, 4 deletions
rows.c
title_screen.c
+1
-1
1 addition, 1 deletion
title_screen.c
with
5 additions
and
6 deletions
output.c
View file @
047205bd
#include
"output.h"
#include
"
hDateien/
output.h"
//V: renderer exists, enum row_type is correct and not renamed, correct y coordinates are transferred
//N: img corresponding to row_type is set to coordinates: x: 0 to 900 y: y to y+100 and displayed via renderer
...
...
This diff is collapsed.
Click to expand it.
rows.c
View file @
047205bd
#include
"rows.h"
#include
"hDateien/rows.h"
//Vorbedingung: -200<=y_pos<=1000
...
...
@@ -116,13 +115,13 @@ struct Row* init_row(struct Row *m){
int
p
;
// Ziellinie erscheint alle 100 Punkte
if
(
playerhighscore
+
(
player
->
y
/
ROW_SIZE
)
%
100
==
98
){
if
(
(
playerhighscore
+
(
player
->
y
/
ROW_SIZE
)
)
%
100
==
98
){
if
(
m
->
row_type
!=
grassDark
&&
m
->
row_type
!=
waterDarkSingle
&&
m
->
row_type
!=
waterDarkMultiple
){
n
=
grass
(
true
,
true
,
m
->
y_pos
-
ROW_SIZE
);
}
else
{
n
=
grass
(
false
,
true
,
m
->
y_pos
-
100
);
n
=
grass
(
false
,
true
,
m
->
y_pos
-
ROW_SIZE
);
}
// Nach einer Ziellinie kommt immer Gras
...
...
This diff is collapsed.
Click to expand it.
title_screen.c
View file @
047205bd
#include
"title_screen.h"
#include
"
hDateien/
title_screen.h"
/*
Vorbindung: Es existiert ein SDL_Renderer
Nachbedingung: /
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
Next