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 (from parent 1:
e19c2c9
)
No good paused banner, so I took out the code.
author
Joshua Grams
<josh@qualdan.com>
Mon, 14 Mar 2005 20:45:04 +0000
(20:45 +0000)
committer
Joshua Grams
<josh@qualdan.com>
Mon, 14 Mar 2005 20:45:04 +0000
(20:45 +0000)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
0e0188a
..
43a993d
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-1019,18
+1019,6
@@
gameloop() {
if(keystate[SDLK_p] | keystate[SDLK_s]) {
if(!pausedown) {
paused = !paused;
if(keystate[SDLK_p] | keystate[SDLK_s]) {
if(!pausedown) {
paused = !paused;
- if(paused) {
- SDL_Rect src,dest;
- src.w = surf_b_variations->w;
- src.h = surf_b_variations->h;
- dest.w = src.w;
- dest.h = src.h;
- dest.x = (XSIZE-src.w)/2;
- dest.y = (YSIZE-src.h)/2;
- SDL_BlitSurface(surf_b_variations,&src,surf_screen,&dest);
- // Update the surface
- SDL_Flip(surf_screen);
- }
pausedown = 1;
}
} else {
pausedown = 1;
}
} else {