Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ae2d57c
)
started ship in the middle vertically (instead of the top of the ship in the middle)
author
Jason Woofenden
<jason@jasonwoof.com>
Mon, 26 Jun 2006 19:34:14 +0000
(19:34 +0000)
committer
Jason Woofenden
<jason@jasonwoof.com>
Mon, 26 Jun 2006 19:34:14 +0000
(19:34 +0000)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
ba1c8b7
..
0001c99
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-763,7
+763,7
@@
gameloop() {
reset_rocks();
screendx = SCREENDXMIN; screendy = 0;
reset_rocks();
screendx = SCREENDXMIN; screendy = 0;
- ship.x = XSIZE/2.2; ship.y = YSIZE/2;
+ ship.x = XSIZE/2.2; ship.y = YSIZE/2 - ship.w/2;
ship.dx = screendx; ship.dy = screendy;
ship.lives = 4;
ship.flags = MOVE|DRAW|COLLIDE;
ship.dx = screendx; ship.dy = screendy;
ship.lives = 4;
ship.flags = MOVE|DRAW|COLLIDE;