projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5dba611
)
- small eq'n fixes
author
Ryan Flegel
<rflegel@gmail.com>
Sat, 29 May 2004 01:29:00 +0000
(
01:29
+0000)
committer
Ryan Flegel
<rflegel@gmail.com>
Sat, 29 May 2004 01:29:00 +0000
(
01:29
+0000)
SVN-Revision: 1360
src/defines.h
patch
|
blob
|
history
diff --git
a/src/defines.h
b/src/defines.h
index
6b72166
..
c191e33
100644
(file)
--- a/
src/defines.h
+++ b/
src/defines.h
@@
-54,8
+54,8
@@
enum DyingType {
/* Screen-related stuff */
// +1 is needed because when tiles are wrapping around the screen there
// are two partial tiles on the screen
/* Screen-related stuff */
// +1 is needed because when tiles are wrapping around the screen there
// are two partial tiles on the screen
-#define VISIBLE_TILES_X
25 +1
-#define VISIBLE_TILES_Y
19 +1
+#define VISIBLE_TILES_X
(25 +1)
+#define VISIBLE_TILES_Y
(19 +1)
/* Sizes: */
/* Sizes: */
@@
-92,8
+92,8
@@
enum DyingType {
/* Size constraints: */
/* Size constraints: */
-#define X_OFFSCREEN_DISTANCE
screen->w/2
-#define Y_OFFSCREEN_DISTANCE
screen->h/2
+#define X_OFFSCREEN_DISTANCE
(screen->w/2)
+#define Y_OFFSCREEN_DISTANCE
(screen->h/2)
#define LEVEL_WIDTH 375
#define LEVEL_WIDTH 375